Go to: Synopsis. Return value. MEL examples.
unit
vector
unit is NOT undoable, NOT queryable, and NOT editable.
This command returns the normalized vector: a vector pointing in the same direction as the argument but with a length of one.vector | Normalized vector |
unit <<1,1,1>>; // Result: <<0.57735, 0.57735, 0.57735>> //