Microsoft DirectX 8.1 (Visual Basic)

DIENVELOPE

Describes parameters for an envelope in the DIEFFECT type.

Type DIENVELOPE
    lAttackLevel As Long
    lAttackTime As Long
    lFadeLevel As Long
    lFadeTime As Long
End Type

Members

lAttackLevel
Amplitude for the start of the envelope, relative to the baseline (offset), in the range 0 to 10,000. If the effect's type-specific data does not specify a baseline, then the amplitude is relative to zero.
lAttackTime
The time, in microseconds, to reach the sustain level.
lFadeLevel
Amplitude for the end of the envelope, relative to the baseline, in the range 0 to 10,000. If the effect's type-specific data does not specify a baseline, then the amplitude is relative to zero.
lFadeTime
The time, in microseconds, to reach the fade level.