Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 |
Результат | Vector3f |
public static IsAvailable ( Type Sensor ) : bool | ||
Sensor | Type | Sensor to check |
Результат | bool |
public static SetEnabled ( Type Sensor, bool Enabled ) : void | ||
Sensor | Type | Sensor to check |
Enabled | bool | True to enable, false to disable |
Результат | void |