D3DRMCOMBINETYPE

Specifies how to combine two matrices.

typedef enum _D3DRMCOMBINETYPE{

D3DRMCOMBINE_REPLACE,

D3DRMCOMBINE_BEFORE,

D3DRMCOMBINE_AFTER

} D3DRMCOMBINETYPE;

Values

D3DRMCOMBINE_REPLACE

The supplied matrix replaces the frame's current matrix.

D3DRMCOMBINE_BEFORE

The supplied matrix is multiplied with the frame's current matrix and precedes the current matrix in the calculation.

D3DRMCOMBINE_AFTER

The supplied matrix is multiplied with the frame's current matrix and follows the current matrix in the calculation.

Remarks

The order of the supplied and current matrices when they are multiplied together is important because matrix multiplication is not commutative.

See Also

IDirect3DRMFrame::AddRotation, IDirect3DRMFrame::AddScale, IDirect3DRMFrame::AddTransform, IDirect3DRMFrame::AddTranslation