AnimationController.GetCurrentTrackEvent Method

Language:

Returns an event handle to the event that is currently running on the specified animation track.

Definition

Visual Basic Public Function GetCurrentTrackEvent( _
    ByVal track As Integer, _
    ByVal eventType As EventType _
) As Integer
C# public int GetCurrentTrackEvent(
    int track,
    EventType eventType
);
C++ public:
int GetCurrentTrackEvent(
    int track,
    EventType eventType
);
JScript public function GetCurrentTrackEvent(
    track : int,
    eventType : EventType
) : int;

Parameters

track System.Int32
Track identifier.
eventType Microsoft.DirectX.Direct3D.EventType
Type of event to query.

Return Value

System.Int32
Event currently running on the specified track. If no event is running on the specified track, a value of 0 is returned.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center