Sensor.IsAvailable Method

SFML.Net

SensorIsAvailable Method
Check if a sensor is available on the underlying platform

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public static bool IsAvailable(
	SensorType Sensor
)
Public Shared Function IsAvailable ( 
	Sensor As SensorType
) As Boolean
public:
static bool IsAvailable(
	SensorType Sensor
)
static member IsAvailable : 
        Sensor : SensorType -> bool 

Parameters

Sensor
Type: SFML.WindowSensorType
Sensor to check

Return Value

Type: Boolean
True if the sensor is available, false otherwise
See Also