usdrt/scenegraph/usd/usdLux/meshLightAPI.h

In directory: usdrt/scenegraph/usd/usdLux

Source file: usdrt/scenegraph/usd/usdLux/meshLightAPI.h

Classes

  • usdrt::UsdLuxMeshLightAPI: This is the preferred API schema to apply to Mesh type prims when adding light behaviors to a mesh. At its base, this API schema has the built-in behavior of applying LightAPI to the mesh and overriding the default materialSyncMode to allow the emission/glow of the bound material to affect the color of the light. But, it additionally serves as a hook for plugins to attach additional properties to "mesh lights" through the creation of API schemas which are authored to auto-apply to MeshLightAPI.

Namespaces