Microsoft DirectX 9.0

ID3DXAnimationController::SetTrackAnimationTime Method

Sets the animation time for this track.


HRESULT SetTrackAnimationTime(      

    DWORD Track,     DOUBLE AnimTime );


[in] Track whose time is being set.
[in] Set the local time in this track.

Return Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be one of the following values.

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.
E_OUTOFMEMORYMicrosoft?Direct3D?could not allocate sufficient memory to complete the call.


Animation tracks are designed in local time. One or more tracks are then combined in the mixer. This method sets the time for this track to be started within the mixer.

© 2002 Microsoft Corporation. All rights reserved.