Microsoft DirectX 8.0 |
Defines an envelope segment used by an envelope-following parameter.
Syntax
typedef struct _MP_ENVELOPE { REFERENCE_TIME rtStart; REFERENCE_TIME rtEnd; MP_DATA valStart; MP_DATA valEnd; MP_CURVE_TYPE iCurve; MP_FLAGS flags; } MP_ENVELOPE;
Members
- rtStart
- Start time of the segment, relative to the time stamp on the first buffer, in 100-nanosecond units.
- rtEnd
- Stop time of the segment, relative to the time stamp on the first buffer, in 100-nanosecond units.
- valStart
- Initial value of the parameter, at the start of the segment.
- valEnd
- Final value of the parameter, at the end of the segment.
- iCurve
- Member of the MP_CURVE_TYPE enumerated type that specifies the curve followed by the parameter.
- flags
- Bitwise combination of envelope flags.