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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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