omni::connect::core::createEnableColorTemperatureAttr

Defined in omni/connect/core/LightCompatibility.h

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

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

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

  • value – The bool value to author the attribute

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