Export (0) Print
Expand All

D3DMATRIX

Describes a matrix.


typedef struct _D3DMATRIX {
    union {
        struct {
            float        _11, _12, _13, _14;
            float        _21, _22, _23, _24;
            float        _31, _32, _33, _34;
            float        _41, _42, _43, _44;

        };
        float m[4][4];
    };
} D3DMATRIX;

Derived types: *LPD3DMATRIX

Members

ItemDescription

_ij

An array of floats that represent a 4x4 matrix, where i is the row number and j is the column number. For example, _34 means the same as [a34], the component in the third row and fourth column.

 

Remarks

In Direct3D, the _34 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.

Requirements

Header

D3D9Types.h

See also

GetTransform
MultiplyTransform
SetTransform
SetTransform
D3DXMATRIX
Transforms (Direct3D 9)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft