?/TD> |
Microsoft DirectX 9.0 |
Sets the animation time for this track.
Syntax
HRESULT SetTrackAnimationTime(
DWORD Track, DOUBLE AnimTime );
Parameters
- Track
- [in] Track whose time is being set.
- AnimTime
- [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_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value. E_OUTOFMEMORY Microsoft?Direct3D?could not allocate sufficient memory to complete the call.
Remarks
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.