omni::connect::core::createIntensityAttr

Defined in omni/connect/core/LightCompatibility.h

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

Author the intensity 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