omni::connect::core::createShapingConeAngleAttr

Defined in omni/connect/core/LightCompatibility.h

void omni::connect::core::createShapingConeAngleAttr(pxr::UsdLuxShapingAPI &prim, float value, pxr::UsdTimeCode time = pxr::UsdTimeCode::Default())

Author the cone angle attribute for a prim with UsdLuxShapingAPI applied.

Parameters
  • prim – The UsdLuxShapingAPI prim to author the attribute

  • value – The float value to author the attribute

  • time – The time at which the attribute value is written