OmniGraph Node omni.graph.nodes.Normalize¶
omni.graph.nodes.Normalize Properties¶
Name |
Value |
---|---|
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 |
omni.graph.nodes.Normalize Description¶
Normalize the input vector. If the input vector has a magnitude of zero, the null vector is returned.
omni.graph.nodes.Normalize Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:vector |
[‘double[2]’, ‘double[2][]’, ‘double[3]’, ‘double[3][]’, ‘double[4]’, ‘double[4][]’, ‘float[2]’, ‘float[2][]’, ‘float[3]’, ‘float[3][]’, ‘float[4]’, ‘float[4][]’, ‘half[2]’, ‘half[2][]’, ‘half[3]’, ‘half[3][]’, ‘half[4]’, ‘half[4][]’] |
None |
Y |
Vector to normalize |
uiName |
Vector |
omni.graph.nodes.Normalize Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:result |
[‘double[2]’, ‘double[2][]’, ‘double[3]’, ‘double[3][]’, ‘double[4]’, ‘double[4][]’, ‘float[2]’, ‘float[2][]’, ‘float[3]’, ‘float[3][]’, ‘float[4]’, ‘float[4][]’, ‘half[2]’, ‘half[2][]’, ‘half[3]’, ‘half[3][]’, ‘half[4]’, ‘half[4][]’] |
None |
Y |
Normalized vector |
uiName |
Result |