RampForce Structure

Language:

Contains type-specific information for effects that are marked as DIEFT_RAMPFORCE. The structure describes a ramp force effect.A reference to a single Dirampforce structure for an effect is passed in the lpvTypeSpecificParams member of the Dieffect structure.

Definition

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

Members Table

Method Description
RampForce Initializes a new instance of the object.
ToString Obtains a string representation of the current instance.
Property Description
End Magnitude at the end of the effect, in the range from -10,000 through 10,000.
Start Magnitude at the start of the effect, in the range from -10,000 through 10,000.

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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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