omni::connect::core::createDistantAngleAttr

Defined in omni/connect/core/LightCompatibility.h

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

Author the distant angle attribute for a UsdLuxDistantLight prim.

Parameters
  • prim – The UsdLuxDistantLight prim to author the attribute

  • value – The float value to author the attribute

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