MatrixRotationAxis Method (Vector3, Single)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Creates a matrix that rotates around an arbitary axis.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Matrix RotationAxis(
	Vector3 axis,
	float angle
)

Parameters

axis
Type: RageVector3
The axis around which to rotate.
angle
Type: SystemSingle
Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin.

Return Value

Type: Matrix
The created rotation matrix.
See Also

Reference