Vector3DominantAxisProjection Method (Vector3, Vector3) |
[This is preliminary documentation and is subject to change.]
Calculates a vector that is equal to the projection of the input vector to the coordinate axis that corresponds
to the original vector's largest value. The result is saved into a user-specified variable.
Namespace: VRageMathAssembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax public static void DominantAxisProjection(
ref Vector3 value1,
out Vector3 result
)
Parameters
- value1
- Type: VRageMathVector3
Source vector. - result
- Type: VRageMathVector3
[OutAttribute] The projected vector.
See Also