IDirect3DRMInterpolator::SetIndex

Sets the interpolator's internal index (time) to the specified value. If other interpolators are attached to the interpolator, this method recursively synchronizes their indices to the same value.


HRESULT SetIndex(
D3DVALUE d3dVal
)

Parameters

d3dVal

The time to set for the interpolator's internal index.

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

Every key stored in an interpolator has an index value. When a key is recorded (by calling a method), the key is stamped with the current interpolator index value. The key's index value does not change after being stamped.