D3DXEVENT_DESC Structure
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXEVENT_DESC Structure


Describes an animation event.

Syntax

typedef struct D3DXEVENT_DESC {

    D3DXEVENT_TYPE      Type;
    UINT                Track;
    DOUBLE              StartTime;
    DOUBLE              Duration;
    D3DXTRANSITION_TYPE Transition;
	
    union
    {
    FLOAT  Weight;
    FLOAT  Speed;
    DOUBLE Position;
    BOOL   Enable;
    }
	
} D3DXEVENT_DESC, *LPD3DXEVENT_DESC;

Members

Type - Event type, as defined in D3DXEVENT_TYPE.

Track - Event track identifier.

StartTime - Start time of the event in global time.

Duration - Duration of the event in global time.

Transition - Transition style of the event, as defined in D3DXTRANSITION_TYPE.

Weight - Track weight for the event.

Speed - Track speed for the event.

Position - Track position for the event.

Enable - Enable flag.

Structure Information

Headerd3dx9anim.h
Minimum Operating SystemWindows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.