Transform Vector
Applies a transformation matrix to a row vector, returning the result. returns ‘Vector’ * ‘Matrix’. If the vector is one dimension smaller than the matrix (eg a 4x4 matrix and a 3d vector), the last component of the vector will be treated as a 1. The result is then projected back to a 3-vector. Supports mixed array inputs, eg a single matrix and an array of vectors.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Matrix (inputs:matrix) |
|
The transformation matrix to be applied |
None |
Vector (inputs:vector) |
|
The row vector(s) to be translated |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Vector (outputs:result) |
|
The transformed row vector(s) |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.TransformVector |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Transform Vector |
Categories |
math:operator |
Generated Class Name |
OgnTransformVectorDatabase |
Python Module |
omni.graph.nodes |