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