Vector3Normalize Method (Vector3, Vector3) |
[This is preliminary documentation and is subject to change.]
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.
Namespace: VRageMathAssembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax public static void Normalize(
ref Vector3 value,
out Vector3 result
)
Parameters
- value
- Type: VRageMathVector3
Source vector. - result
- Type: VRageMathVector3
[OutAttribute] The normalized vector.
See Also