omni::connect::core::createColorTemperatureAttr

Defined in omni/connect/core/LightCompatibility.h

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

Author the color temperature attribute for a prim with UsdLuxLight[API] applied.

Parameters
  • prim – The UsdLuxLight[API] prim to author the attribute

  • value – The float value to author the attribute

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