[]
Creates a matrix that rotates around the y-axis.
public static Matrix4x4 RotationY(float radians)
| Type | Name | Description |
|---|---|---|
| float | radians | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin. |
| Type | Description |
|---|---|
| Matrix4x4 | The created rotation matrix. |
Creates a matrix that rotates around the y-axis.
public static Matrix4x4 RotationY(float radians, Vector3 centerPoint)
| Type | Name | Description |
|---|---|---|
| float | radians | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin. |
| Vector3 | centerPoint | The center point. |
| Type | Description |
|---|---|
| Matrix4x4 | The created rotation matrix. |