Vector3.Normalize Method
Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector.
Overload List
Name | Description |
---|---|
Vector3.Normalize () | Turns the current vector into a unit vector. The result is a vector one unit in length pointing in the same direction as the original vector. |
Vector3.Normalize (Vector3) | Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector. |
Vector3.Normalize (Vector3, Vector3) | Creates a unit vector from the specified vector, writing the result to a user-specified variable. The result is a vector one unit in length pointing in the same direction as the original vector. |
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace