IDirect3DRMFrame::AddTransform
HRESULT AddTransform(D3DRMCOMBINETYPE rctCombine,
D3DRMMATRIX4D rmMatrix);
Transforms the local coordinates of the frame by the given affine transformation according to the value of the rctCombine parameter.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
rctCombine
Member of the D3DRMCOMBINETYPE enumerated type that specifies how to combine the new transformation with any current transformation.
rmMatrix
Member of the D3DRMMATRIX4D array that defines the transformation matrix to be combined.
Although a 4-by-4 matrix is given, the last column must be the transpose of [0 0 0 1] for the transformation to be affine.
The specified transformation changes the matrix only for the frame identified by this IDirect3DRMFrame interface.