Write Prim Material
Given a path to a prim and a path to a material on the current USD stage, assigns the material to the prim. Gives an error if the given prim or material can not be found.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Exec In (inputs:execIn) |
|
Signal to the graph that this node is ready to be executed. |
None |
Material (inputs:material) |
|
The material to be assigned to the prim |
None |
Material Path (inputs:materialPath) |
|
The path of the material to be assigned to the prim |
|
Prim (inputs:prim) |
|
Prim to be assigned a material. |
None |
Prim Path (inputs:primPath) |
|
Path of the prim to be assigned a material. |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Exec Out (outputs:execOut) |
|
Signal to the graph that execution can continue downstream. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.WritePrimMaterial |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
tests |
uiName |
Write Prim Material |
Categories |
sceneGraph |
Generated Class Name |
OgnWritePrimMaterialDatabase |
Python Module |
omni.graph.nodes |