Microsoft DirectX 9.0 SDK Update (October 2004)

Envelope Structure

Language:

Note: This documentation is preliminary and is subject to change.

Used by the Dieffect structure to specify the optional TermEnvelope parameters for an effect. The TermSustain level for the envelope is represented by the dwMagnitude member of the Diperiodic structure and the lMagnitude member of the Diconstantforce structure. The sustain time is represented by dwDuration member of the Dieffect structure.

Definition

Visual Basic .NET Public Structure Envelope
C# public struct Envelope
Managed C++ public __value struct Envelope
JScript .NET In JScript .NET, you can use structures, but you cannot define your own.

Members Table

Method Description
Envelope Initializes a new instance of the object.
ToString Obtains a string representation of the current instance.
Property Description
AttackLevel 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.
AttackTime The time, in microseconds, to reach the TermSustain level.
FadeLevel 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.
FadeTime The time, in microseconds, to reach the fade level.

Structure Information

Namespace Microsoft.DirectX.DirectInput
Assembly Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll)
Strong Name Microsoft.DirectX.DirectInput,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center