Get Prim Local to World Transform#

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

Installation#

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs#

Name

Type

Descripton

Default

Prim (inputs:prim)

target

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

None

Prim Path (inputs:primPath)

token

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

Use Path (inputs:usePath)

bool

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

True

Outputs#

Name

Type

Descripton

Default

Local Transform (outputs:localToWorldTransform)

matrixd[4]

The local to world transformation matrix for ‘Prim’

None

Metadata#

Name

Value

Unique ID

omni.graph.nodes.GetPrimLocalToWorldTransform

Version

2

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