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

Inputs

Name

Type

Descripton

Default

Prim (inputs:prim)

target

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

None

Prim Path (inputs:primPath)

path

Path of the prim with the material to be read.

Outputs

Name

Type

Descripton

Default

Material Path (outputs:material)

path

The material of the input prim

None

Material (outputs:materialPrim)

target

The prim containing the material of the input prim

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.ReadPrimMaterial

Version

2

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

tests

uiName

Read Prim Material

Categories

sceneGraph

Generated Class Name

OgnReadPrimMaterialDatabase

Python Module

omni.graph.nodes