Normalize#

Normalize the input vector. If the input vector has a magnitude of zero, the null vector is returned.

Installation#

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs#

Name

Type

Description

Default

Vector (vector)

double[2], float[2], half[2], double[3], float[3], half[3], double[4], float[4], half[4], double[2][], float[2][], half[2][], double[3][], float[3][], half[3][], double[4][], float[4][], half[4][]

Vector to normalize

Outputs#

Name

Type

Description

Default

Result (result)

double[2], float[2], half[2], double[3], float[3], half[3], double[4], float[4], half[4], double[2][], float[2][], half[2][], double[3][], float[3][], half[3][], double[4][], float[4][], half[4][]

Normalized vector