Share via


ConstantForce.Magnitude Property (Microsoft.DirectX.DirectInput)

The magnitude of the effect, in the range from -10,000 through 10,000. If an TermEnvelope is applied to this effect, the value represents the magnitude of the TermSustain. If no envelope is applied, the value represents the amplitude of the entire effect.

Definition

Visual Basic Public Property Magnitude As Integer
C# public int Magnitude { get; set; }
C++ public:
property int Magnitude {
        int get();
        void set(int value);
}
JScript public function get Magnitude() : int
public function set Magnitude(int);

Property Value

System.Int32

This property is read/write.