MatrixRotationAxis Method (Vector3, Single, Matrix)

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 void RotationAxis(
	ref Vector3 axis,
	float angle,
	out Matrix result
)

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.
result
Type: RageMatrix
When the method completes, contains the created rotation matrix.
See Also

Reference