OmniGraph Node omni.graph.nodes.WritePrimMaterial¶
omni.graph.nodes.WritePrimMaterial Properties¶
Name |
Value |
---|---|
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 |
__exclusions |
tests |
Generated Class Name |
OgnWritePrimMaterialDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.WritePrimMaterial Description¶
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.
omni.graph.nodes.WritePrimMaterial Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:execIn |
execution |
None |
Y |
Input execution |
inputs:materialPath |
path |
Y |
The path of the material to be assigned to the prim |
|
uiName |
Material Path |
|||
inputs:primPath |
path |
Y |
Path of the prim to be assigned a material. |
|
uiName |
Prim Path |
omni.graph.nodes.WritePrimMaterial Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:execOut |
execution |
None |
Y |
Output execution |