omni::connect::core::createColorAttr

Defined in omni/connect/core/LightCompatibility.h

void omni::connect::core::createColorAttr(pxr::UsdLuxLight &prim, const pxr::GfVec3f &value, pxr::UsdTimeCode time = pxr::UsdTimeCode::Default())

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

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

  • value – The GfVec3f value to author the attribute

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