[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.SkewRef

SkewRef Method

SkewRef(out Matrix4x4, ref Vector3, ref Vector3, float)

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

Declaration
public static void SkewRef(out Matrix4x4 result, ref Vector3 transVec, ref Vector3 rotationVec, float radians)
Parameters
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.

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.