Click or drag to resize

MatrixCreateFromAxisAngle Method

Creates a new Matrix which contains the rotation moment around specified axis.

Namespace:  SampSharp.GameMode
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static Matrix CreateFromAxisAngle(
	Vector3 axis,
	float angle
)

Parameters

axis
Type: SampSharp.GameModeVector3
The axis of rotation.
angle
Type: SystemSingle
The angle of rotation in radians.

Return Value

Type: Matrix
The rotation Matrix.
See Also