[]
Creates a matrix that rotates around the y-axis.
public static void RotationYRef(out Matrix4x4 result, float radians)
Type | Name | Description |
---|---|---|
Matrix4x4 | result | When the method completes, contains the created rotation matrix. |
float | radians | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis toward the origin. |
Creates a matrix for rotating points around the Y axis from a center point.
public static void RotationYRef(out Matrix4x4 result, float radians, ref Vector3 centerPoint)
Type | Name | Description |
---|---|---|
Matrix4x4 | result | When the method completes, contains the created rotation matrix. |
float | radians | The amount, in radians, by which to rotate around the Y-axis. |
Vector3 | centerPoint | The center point. |