MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetRotation

Method GetRotation

Source/Engine/Core/Math/Transform.cs:128–132  ·  view source on GitHub ↗

Gets rotation matrix (from Orientation). Rotation matrix

()

Source from the content-addressed store, hash-verified

126 /// </summary>
127 /// <returns>Rotation matrix</returns>
128 public Matrix GetRotation()
129 {
130 Matrix.RotationQuaternion(ref Orientation, out var result);
131 return result;
132 }
133
134 /// <summary>
135 /// Gets rotation matrix (from Orientation).

Callers

nothing calls this directly

Calls 1

RotationQuaternionMethod · 0.45

Tested by

no test coverage detected