Adds the specified offsets to the vertex positions of a Direct3DRMMesh object.
HRESULT Translate(
D3DVALUE tx,
D3DVALUE ty,
D3DVALUE tz
);
Parameters
tx, ty, and tz
Offsets that are added to the x-, y-, and z-coordinates respectively of each vertex position.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.