Normalize
Normalize the input vector (or array of input vectors). If the input vector has a magnitude of zero, the null vector is returned. The inputs will be copied into the output attribute before the normalization is performed on said output (i.e. the input vector(s) are not mutated in-place).
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Vector (inputs:vector) |
|
Input vector (or an array of input vectors) to normalize. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Result (outputs:result) |
|
Copy of the input vector (or array of vectors) after applying the corresponding normalization operations. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.Normalize |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Normalize |
Categories |
math:operator |
Generated Class Name |
OgnNormalizeDatabase |
Python Module |
omni.graph.nodes |