Share via


AnimationController.GetCurrentTrackEvent(Int32,EventType) Method (Microsoft.DirectX.Direct3D)

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.