IDirect3DRMFrame::AddScale

HRESULT AddScale(D3DRMCOMBINETYPE rctCombine, D3DVALUE rvX,

D3DVALUE rvY, D3DVALUE rvZ);

Scales a frame's local transformation by (rvX, rvY, rvZ).

·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 scale with any current frame transformation.

rvX, rvY, and rvZ

Define the scale factors in the x, y, and z directions.

The specified transformation changes the matrix only for the frame identified by this IDirect3DRMFrame interface.