Structure

FFENVELOPE

Used by the FFEFFECT structure to specify the optional envelope parameters for an effect.

Declaration

struct FFENVELOPE

Overview

The sustain level for the envelope is represented by the dwMagnitude member of the FFPERIODIC structure and the lMagnitude member of the FFCONSTANTFORCE structure. The sustain time is represented by dwDuration member of the FFEFFECT structure

Topics

Instance Properties

var dwAttackLevel: DWORD

Amplitude for the start of the envelope, relative to the baseline, in the range from 0 through 10,000. If the effect's type-specific data does not specify a baseline, the amplitude is relative to 0.

var dwAttackTime: DWORD

The time, in microseconds, to reach the sustain level.

var dwFadeLevel: DWORD

Amplitude for the end of the envelope, relative to the baseline, in the range from 0 through 10,000. If the effect's type-specific data does not specify a baseline, the amplitude is relative to 0.

var dwFadeTime: DWORD

The time, in microseconds, to reach the fade level.

var dwSize: DWORD

Size, in bytes, of this structure. This member must be initialized before the structure is used.

See Also