[]
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)
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.