Click or drag to resize

MatrixCreateFromAxisAngle Method

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

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static Matrix CreateFromAxisAngle(
	Vector3 axis,
	float angle
)

Parameters

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

Return Value

Type: Matrix
The rotation Matrix.
See Also