[This is preliminary documentation and is subject to change.]
Creates a matrix that rotates around an arbitary axis.
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
public static Matrix RotationAxis( Vector3 axis, float angle )
Public Shared Function RotationAxis ( axis As Vector3, angle As Single ) As Matrix
public: static Matrix RotationAxis( Vector3 axis, float angle )
- Type: RageVector3
The axis around which to rotate.
- Type: SystemSingle
Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.
Return ValueType: Matrix
The created rotation matrix.