IDirect3DRMInterpolator::AttachObject

Connects an object to the interpolator.


HRESULT AttachObject(
LPDIRECT3DRMOBJECT lpD3DRMObject
)

Parameters

lpD3DRMObject

Address of the Direct3DRMObject object to be attached to the interpolator.

Return Values

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

Remarks

The attached object can be another interpolator or an object of type x where the interpolator is of type xInterpolator. For example, a Viewport can be attached to a ViewportInterpolator. The interpolator types are:

·FrameInterpolator

·LightInterpolator

·MaterialInterpolator

·MeshInterpolator

·TextureInterpolator

·ViewportInterpolator