[]
Creates a skew/shear matrix by means of a translation vector, a rotation vector, and a rotation angle.
public static Matrix4x4 Skew(Vector3 transVec, Vector3 rotationVec, float radians)
Public Shared Function Skew(transVec As Vector3, rotationVec As Vector3, radians As Single) As Matrix4x4
| Type | Name | Description |
|---|---|---|
| Vector3 | transVec | The translation vector |
| Vector3 | rotationVec | The rotation vector |
| float | radians | The rotation angle, in radians. |
| Type | Description |
|---|---|
| Matrix4x4 | The created skew/shear matrix. |
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.