Read Prim Material

Given a path to a prim on the current USD stage, outputs the material of the prim. Gives an error if the given prim 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 with the material to be read.

prim

target

The prim with the material to be read. If both this and primPath inputs are set, this input takes priority.

Outputs

Name

Type

Description

Default

Material Path (material)

path

The material of the input prim

Material (materialPrim)

target

The prim containing the material of the input prim