omni::connect::core::isLight

Defined in omni/connect/core/LightCompatibility.h

bool omni::connect::core::isLight(const pxr::UsdPrim &prim)

Determines if a UsdPrim is a UsdLuxLight[API].

Parameters

prim – The prim to check for a light API

Returns

True if the prim is a UsdLuxLight[API]