DirectX SDK

D3DMATRIX

The D3DMATRIX type describes a matrix for such methods as Direct3DDevice7.MultiplyTransform, Direct3DDevice7.GetTransform, and Direct3DDevice7.SetTransform.

Type D3DMATRIX
    rc11 As Single
    rc12 As Single
    rc13 As Single
    rc14 As Single
    rc21 As Single
    rc22 As Single
    rc23 As Single
    rc24 As Single
    rc31 As Single
    rc32 As Single
    rc33 As Single
    rc34 As Single
    rc41 As Single
    rc42 As Single
    rc43 As Single
    rc44 As Single
End Type

Remarks

In Direct3D, the rc34 element of a projection matrix cannot be a negative number. If your application needs to use a negative value in this location, it should scale the entire projection matrix by -1, instead.

See Also

Direct3DDevice7.MultiplyTransform, Direct3DDevice7.GetTransform, and Direct3DDevice7.SetTransform