Make Transformation Matrix from TRS

Make a transformation matrix that performs a translation, rotation (in euler angles), and scale in that order

Installation

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

Inputs

Name

Type

Descripton

Default

Rotation Order (inputs:rotationOrder)

token

The order the rotation should be applied

XYZ

Metadata

allowedTokens = XYZ,XZY,YXZ,YZX,ZXY,ZYX

Rotation (inputs:rotationXYZ)

vectord[3]

The desired orientation in euler angles XYZ

[0, 0, 0]

Scale (inputs:scale)

vectord[3]

The desired scaling factor about the X, Y, and Z axis respectively

[1, 1, 1]

Translation (inputs:translation)

vectord[3]

The desired translation as a vector

[0, 0, 0]

Outputs

Name

Type

Descripton

Default

Transform (outputs:transform)

matrixd[4]

The computed transformation matrix

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.MakeTransform

Version

2

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Make Transformation Matrix from TRS

Categories

math:operator

Generated Class Name

OgnMakeTransformDatabase

Python Module

omni.graph.nodes