MdlEntity#
- class omni.mdl.neuraylib.MdlEntity#
Bases:
pybind11_object
Maps between USD shade nodes and the MDL representation of a shade node.
Identified by the USD Prim Path, different components can access this entity in a scene.
Methods
__init__
(*args, **kwargs)getMdlModule
(self)Handle to the module that contains the entities definition.
valid
(self)Get the state of entity.
Attributes
Name of the neuray database scope of the ISceneRenderer in which this entity is stored in.
Name of the material or function within its module along with its parameter list attached.
The USD Prim Path that identifies this entity in the scene.
- __init__(*args, **kwargs)#
- getMdlModule( ) omni.mdl.neuraylib._neuraylib.MdlModule #
Handle to the module that contains the entities definition.
This can change during the lifetime of the object. Since this is module is not ‘created’ here, don’t call `destroy` on it.
- valid(self: omni.mdl.neuraylib._neuraylib.MdlEntity) bool #
Get the state of entity. It is valid if a module a simple name is assigned.
- property dbScopeName#
Name of the neuray database scope of the ISceneRenderer in which this entity is stored in.
This can NOT change during the lifetime of the object.
- property simpleNameWithSignature#
Name of the material or function within its module along with its parameter list attached. This can change during the lifetime of the object.
- property uniquePrimPath#
The USD Prim Path that identifies this entity in the scene.
This can NOT change during the lifetime of the object.