D3DXEVENT_DESC
Describes an animation event.
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.
Requirements
Header: Declared in D3dx9anim.h.