Method | Description | |
---|---|---|
GetValue ( Type Sensor ) : Vector3f |
Get the current sensor value
|
|
IsAvailable ( Type Sensor ) : bool |
Check if a sensor is available on the underlying platform
|
|
SetEnabled ( Type Sensor, bool Enabled ) : void |
Enable or disable a sensor
|
Method | Description | |
---|---|---|
sfSensor_getValue ( Type Sensor ) : Vector3f | ||
sfSensor_isAvailable ( Type Sensor ) : bool | ||
sfSensor_setEnabled ( Type Sensor, bool Enabled ) : void |
public static GetValue ( Type Sensor ) : Vector3f | ||
Sensor | Type | Sensor to check |
return | Vector3f |
public static IsAvailable ( Type Sensor ) : bool | ||
Sensor | Type | Sensor to check |
return | bool |
public static SetEnabled ( Type Sensor, bool Enabled ) : void | ||
Sensor | Type | Sensor to check |
Enabled | bool | True to enable, false to disable |
return | void |