IDirect3DRMFrame::AddTranslation
HRESULT AddTranslation(D3DRMCOMBINETYPE rctCombine, D3DVALUE rvX,
D3DVALUE rvY, D3DVALUE rvZ);
Adds a translation by (rvX, rvY, rvZ) to a frame's local coordinate system.
·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 translation with any current translation.
rvX, rvY, and rvZ
Define the position changes in the x, y, and z directions.
The specified translation changes the matrix only for the frame identified by this IDirect3DRMFrame interface.