Create an identity rotation.
| Parameter | Description |
|---|---|
| direction | The direction to use. This cannot be zero length. |
Create a rotation with the specified direction.
| Parameter | Description |
|---|---|
| angle | The rotation angle specified, in radians. |
void The rotation represented by the specified angle.
Create a rotation with the specified angle. NOTE: This cannot be used by Burst as the constructor makes an engine call to ensure the resultant direction is deterministic.
| Parameter | Description |
|---|---|
| rotation | The Quaternion rotation to use. |
| transformPlane | The transform plane to use. |
void The 2D rotation extracted from the specified Quaternion.
Create a rotation with the specified UnityEngine.Quaternion.