![]() |
![]() |
![]() |
Describes an animation track and specifies blending weight, speed, and position for the track at a given time.
Syntax
typedef struct _D3DXTRACK_DESC { D3DXPRIORITY_TYPE Priority; FLOAT Weight; FLOAT Speed; DOUBLE Position; BOOL Enable; } D3DXTRACK_DESC, *LPD3DXTRACK_DESC;
Members
- Priority
- Priority type, as defined in D3DXPRIORITY_TYPE.
- Weight
- Weight value. The weight determines the proportion of this track to blend with other tracks.
- Speed
- Speed value. This is used similarly to a multiplier to scale the period of the track.
- Position
- Time position of the track, in the local timeframe of its current animation set.
- Enable
- Track enable/disable. To enable, set to TRUE. To disable, set to FALSE.
Remarks
Tracks with the same priority are blended together, and the two resulting values are then blended using the priority blend factor. A track must have an animation set (stored separately) associated with it.
Structure Information
Header d3dx9anim.h Minimum operating systems Windows 98