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, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

Matrix (matrix)

matrixd[4], matrixd[4][], matrixd[3], matrixd[3][]

The transformation matrix to be applied

Vector (vector)

vectord[3], vectord[3][], vectorf[3], vectorf[3][], vectorh[3], vectorh[3][]

The row vector(s) to be translated

Outputs

Name

Type

Description

Default

Result (result)

vectord[3], vectord[3][], vectorf[3], vectorf[3][], vectorh[3], vectorh[3][]

The transformed row vector(s)