Condition Structure (Microsoft.DirectX.DirectInput)

Contains type-specific information for effects that are marked as DIEFT_CONDITION.A reference to an array of Dicondition structures for an effect is passed in the lpvTypeSpecificParams member of the Dieffect structure. The number of elements in the array must be either one, or equal to the number of axes associated with the effect.

Definition

Visual Basic Public Structure Condition
C# public struct Condition 
C++ public value class Condition sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
Condition Initializes a new instance of the object.
ToString Obtains a string representation of the current instance.

Properties

Property Description
DeadBand Region around LOffset in which the condition is not active, in the range from 0 through 10,000. In other words, the condition is not active between LOffset minus LDeadBand and LOffset plus LDeadBand.
NegativeCoefficient Coefficient constant on the negative side of the offset, in the range from -10,000 through 10,000. If the device does not support separate positive and negative coefficients, the value of LNegative
NegativeSaturation Maximum force output on the negative side of the offset, in the range from 0 through 10,000.If the device does not support force saturation, the value of this member is ignored.If the device does not support separate positive and negative saturation, the value of DwNegativeSaturation is ignored, and the value of DwPositiveSaturation is used as both the positive and negative saturation.
Offset Offset for the condition, in the range from -10,000 through 10,000.
PositiveCoefficient Coefficient constant on the positive side of the offset, in the range from -10,000 through 10,000.
PositiveSaturation Maximum force output on the positive side of the offset, in the range from 0 through 10,000.If the device does not support force TermSaturation, the value of this member is ignored.

Structure Information

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