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, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

Prim Path (primPath)

path

Path of the prim to be assigned a material.

prim

target

Prim to be assigned a material.

Material Path (materialPath)

path

The path of the material to be assigned to the prim

material

target

The material to be assigned to the prim

execIn

execution

Input execution

Outputs

Name

Type

Description

Default

execOut

execution

Output execution