Share via


Effect.Gain Property (Microsoft.DirectX.DirectInput)

The gain to be applied to the effect, in the range from 0 through 10,000. The gain is a scaling factor applied to all magnitudes of the effect and its envelope.

Definition

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

Property Value

System.Int32

This property is read/write.