Click or drag to resize

QuaternionCreateFromRotationMatrix Method

Creates a new Quaternion from the specified Matrix.

Namespace:  SampSharp.GameMode
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static Quaternion CreateFromRotationMatrix(
	Matrix matrix
)

Parameters

matrix
Type: SampSharp.GameModeMatrix
The rotation matrix.

Return Value

Type: Quaternion
A quaternion composed from the rotation part of the matrix.
See Also