IDirect3DRMWrap::ApplyRelative

HRESULT ApplyRelative(LPDIRECT3DRMFRAME frame,

LPDIRECT3DRMOBJECT mesh);

Applies the wrap to the vertices of the object, first transforming each vertex by the frame's world transformation and the wrap's reference frame's inverse world transformation.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

frame

Direct3DRMFrame object containing the object to wrap.

mesh

Direct3DRMWrap object to apply.