Click or drag to resize
Matrix4x4XGetRotation Method
Gets the rotation component of the matrix.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static Quaternion GetRotation(
	this Matrix4x4 matrix
)

Parameters

matrix
Type: Matrix4x4
A Matrix4x4.

Return Value

Type: Quaternion
The rotation component of the matrix.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Matrix4x4. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also