OmniGraph Node omni.graph.nodes.MakeTransformLookAt

omni.graph.nodes.MakeTransformLookAt Properties

Name

Value

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Make Transformation Matrix Look At

__categories

math:operator

Generated Class Name

OgnMakeTransformLookAtDatabase

Python Module

omni.graph.nodes

omni.graph.nodes.MakeTransformLookAt Description

Make a transformation matrix from eye, center world-space position and an up vector. Forward vector is negative Z direction computed from eye-center and normalized. Up is positive Y direction. Right is the positive X direction.

omni.graph.nodes.MakeTransformLookAt Inputs

Name

Type

Default

Required?

Descripton

inputs:center

vectord[3]

[0, 0, 0]

Y

The desired center position in world-space

__default

[0, 0, 0]

inputs:eye

vectord[3]

[1, 0, 0]

Y

The desired look at position in world-space

__default

[1, 0, 0]

inputs:up

vectord[3]

[0, 1, 0]

Y

The desired up vector

__default

[0, 1, 0]

omni.graph.nodes.MakeTransformLookAt Outputs

Name

Type

Default

Required?

Descripton

outputs:transform

matrixd[4]

None

Y

The resulting transformation matrix