Microsoft DirectX 8.1 (C++) |
The IAMTimelineTransable.GetTransAtTime2 method retrieves the transition nearest to the specified time, according to specified boundary conditions.
Syntax
object.GetTransAtTime2(
ppObj As AMTimelineObj,
Time As Double,
SearchDirection As Long
)
Parameters
ppObj
The AMTimelineObj object that receives the transition.
Time
Time from which to begin the search, in seconds.
SearchDirection
Member of the DEXTERF_TRACK_SEARCH_FLAGS enumerated type that specifies the boundary conditions for the search.
Error Codes
If the method fails, an error is raised, and Err.Number is set to the following value:
Value | Description |
E_INVALIDARG | Invalid argument. |
See Also