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 |
Layer Identifier (inputs:layerIdentifier) |
|
Identifier of the USD layer to export data to. Identifier can be empty, “<Session Layer>”, “<Root Layer>” or the identifier of a sublayer. If empty or invalid, data will be exported to the current layer. |
|
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 |
State#
Name |
Type |
Descripton |
Default |
---|---|---|---|
Layer Identifier (state:layerIdentifier) |
|
The prefetched layer Identifier. |
None |
Metadata#
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.WritePrimMaterial |
Version |
2 |
Extension |
omni.graph.nodes |
Has State? |
True |
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 |