Get Prim Local to World Transform

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

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

primPath

token

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

usePath

bool

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

True

prim

target

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

Outputs

Name

Type

Description

Default

localToWorldTransform

matrixd[4]

the local to world transformation matrix for the prim