[]
Creates a matrix that rotates around an arbitary axis.
public static void RotationAxisRef(out Matrix4x4 result, ref Vector3 axis, float radians)
Public Shared Sub RotationAxisRef(ByRef result As Matrix4x4, ByRef axis As Vector3, radians As Single)
| Type | Name | Description |
|---|---|---|
| Matrix4x4 | result | When the method completes, contains the created rotation matrix. |
| Vector3 | axis | The axis around which to rotate. This parameter is assumed to be normalized. |
| float | radians | Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin. |