Click or drag to resize

QuaternionCreateFromRotationMatrix Method

Creates a new Quaternion from the specified Matrix.

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

Parameters

matrix
Type: SampSharp.Entities.SAMPMatrix
The rotation matrix.

Return Value

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