Get Prim Direction Vector#

Given a prim, find its direction vectors (up vector, forward vector, right vector, etc.)

Installation#

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

Inputs#

Name

Type

Descripton

Default

Prim (inputs:prim)

target

The connection to the input prim - this attribute is used when ‘usePath’ is false

None

Prim Path (inputs:primPath)

token

The path of the input prim - this attribute is used when ‘usePath’ is true

Use Path (inputs:usePath)

bool

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

True

Outputs#

Name

Type

Descripton

Default

Backward Vector (outputs:backwardVector)

double[3]

The backward vector of the prim

None

Down Vector (outputs:downVector)

double[3]

The down vector of the prim

None

Forward Vector (outputs:forwardVector)

double[3]

The forward vector of the prim

None

Left Vector (outputs:leftVector)

double[3]

The left vector of the prim

None

Right Vector (outputs:rightVector)

double[3]

The right vector of the prim

None

Up Vector (outputs:upVector)

double[3]

The up vector of the prim

None

Metadata#

Name

Value

Unique ID

omni.graph.nodes.GetPrimDirectionVector

Version

2

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Get Prim Direction Vector

Categories

sceneGraph

Generated Class Name

OgnGetPrimDirectionVectorDatabase

Python Module

omni.graph.nodes