Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
D3DXEVENT_DESC

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

Type: D3DXEVENT_TYPE

Event type, as defined in D3DXEVENT_TYPE.

Track

Type: UINT

Event track identifier.

StartTime

Type: DOUBLE

Start time of the event in global time.

Duration

Type: DOUBLE

Duration of the event in global time.

Transition

Type: D3DXTRANSITION_TYPE

Transition style of the event, as defined in D3DXTRANSITION_TYPE.

Weight

Type: FLOAT

Track weight for the event.

Speed

Type: FLOAT

Track speed for the event.

Position

Type: DOUBLE

Track position for the event.

Enable

Type: BOOL

Enable flag.

Requirements

Header

D3dx9anim.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft