In This Topic
Creates a matrix that rotates around an arbitary axis.
Syntax
'Declaration
Public Shared Sub RotationAxisRef( _
ByRef As Matrix4x4, _
ByRef As Vector3, _
ByVal As System.Single _
)
public static void RotationAxisRef(
out Matrix4x4 ,
ref Vector3 ,
System.float
)
Parameters
- result
- When the method completes, contains the created rotation matrix.
- axis
- The axis around which to rotate. This parameter is assumed to be normalized.
- radians
- Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
See Also