OmniGraph Node omni.graph.nodes.ReadPrimMaterial

omni.graph.nodes.ReadPrimMaterial Properties

Name

Value

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

tests

uiName

Read Prim Material

__categories

sceneGraph

__exclusions

tests

Generated Class Name

OgnReadPrimMaterialDatabase

Python Module

omni.graph.nodes

omni.graph.nodes.ReadPrimMaterial Description

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.

omni.graph.nodes.ReadPrimMaterial Inputs

Name

Type

Default

Required?

Descripton

inputs:primPath

path

Y

Path of the prim with the material to be read.

uiName

Prim Path

omni.graph.nodes.ReadPrimMaterial Outputs

Name

Type

Default

Required?

Descripton

outputs:material

path

None

Y

The material of the inputed prim