Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
-
Type: D3DXPRIORITY_TYPE
-
Priority type, as defined in D3DXPRIORITY_TYPE.
-
Weight
-
Type: FLOAT
-
Weight value. The weight determines the proportion of this track to blend with other tracks.
-
Speed
-
Type: FLOAT
-
Speed value. This is used similarly to a multiplier to scale the period of the track.
-
Position
-
Type: DOUBLE
-
Time position of the track, in the local timeframe of its current animation set.
-
Enable
-
Type: BOOL
-
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.
Requirements
Requirement | Value |
---|---|
Header |
|
See also