[]
Creates a skew/shear matrix by means of a translation vector, a rotation vector, and a rotation angle.
public static void SkewRef(out Matrix4x4 result, ref Vector3 transVec, ref Vector3 rotationVec, float radians)
Public Shared Sub SkewRef(ByRef result As Matrix4x4, ByRef transVec As Vector3, ByRef rotationVec As Vector3, radians As Single)
| Type | Name | Description |
|---|---|---|
| Matrix4x4 | result | The created skew/shear matrix. |
| Vector3 | transVec | The translation vector |
| Vector3 | rotationVec | The rotation vector |
| float | radians | The rotation angle, in radians. |
Shearing is performed in the direction of translation vector, where translation vector and rotation vector define the shearing plane. The effect is such that the skewed rotation vector has the specified angle with rotation itself.