rotation(float3x3)
Extracts the rotation from a matrix.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
public static quaternion rotation(float3x3 m)
Parameters
Matrix to extract rotation from
Returns
Type | Description |
|---|---|
| quaternion | Extracted rotation |
Remarks
This method supports any type of rotation matrix: if the matrix has a non uniform scale you should use this method.