[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.Skew

Skew Method

Skew(Vector3, Vector3, float)

Creates a skew/shear matrix by means of a translation vector, a rotation vector, and a rotation angle.

Declaration
public static Matrix4x4 Skew(Vector3 transVec, Vector3 rotationVec, float radians)
Parameters
Type Name Description
Vector3 transVec

The translation vector

Vector3 rotationVec

The rotation vector

float radians

The rotation angle, in radians.

Returns
Type Description
Matrix4x4

The created skew/shear matrix.

Remarks

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.