Sensor.SetEnabled Method

SFML.Net

SensorSetEnabled Method
Enable or disable a sensor

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public static void SetEnabled(
	SensorType Sensor,
	bool Enabled
)
Public Shared Sub SetEnabled ( 
	Sensor As SensorType,
	Enabled As Boolean
)
public:
static void SetEnabled(
	SensorType Sensor, 
	bool Enabled
)
static member SetEnabled : 
        Sensor : SensorType * 
        Enabled : bool -> unit 

Parameters

Sensor
Type: SFML.WindowSensorType
Sensor to check
Enabled
Type: SystemBoolean
True to enable, false to disable
See Also