OmniGraph Node omni.graph.nodes.GetPrimLocalToWorldTransform

omni.graph.nodes.GetPrimLocalToWorldTransform Properties

Name

Value

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Get Prim Local to World Transform

__categories

sceneGraph

Generated Class Name

OgnGetPrimLocalToWorldTransformDatabase

Python Module

omni.graph.nodes

omni.graph.nodes.GetPrimLocalToWorldTransform Description

Given a path to a prim on the current USD stage, return the the transformation matrix. that transforms a vector from the local frame to the global frame

omni.graph.nodes.GetPrimLocalToWorldTransform Inputs

Name

Type

Default

Required?

Descripton

inputs:prim

bundle

None

The prim used as the local coordinate system when ‘usePath’ is false

inputs:primPath

token

Y

The path of the prim used as the local coordinate system when ‘usePath’ is true

inputs:usePath

bool

True

Y

When true, the ‘primPath’ attribute is used as the path to the prim being read, otherwise it will read the connection at the ‘prim’ attribute

__default

true

omni.graph.nodes.GetPrimLocalToWorldTransform Outputs

Name

Type

Default

Required?

Descripton

outputs:localToWorldTransform

matrixd[4]

None

Y

the local to world transformation matrix for the prim