SdlSensorPointerEx extension
Methods
-
close(
) → void sensor -
Available on Pointer<
Close a sensor previously opened with SDL_OpenSensor().SdlSensor> , provided by the SdlSensorPointerEx extension -
getId(
) → int sensor -
Available on Pointer<
Get the instance ID of a sensor.SdlSensor> , provided by the SdlSensorPointerEx extension -
getName(
) → String? sensor -
Available on Pointer<
Get the implementation dependent name of a sensor.SdlSensor> , provided by the SdlSensorPointerEx extension -
getNonPortableType(
) → int sensor -
Available on Pointer<
Get the platform dependent type of a sensor.SdlSensor> , provided by the SdlSensorPointerEx extension -
getProperties(
) → int sensor -
Available on Pointer<
Get the properties associated with a sensor.SdlSensor> , provided by the SdlSensorPointerEx extension -
getType(
) → int sensor -
Available on Pointer<
Get the type of a sensor.SdlSensor> , provided by the SdlSensorPointerEx extension -
sdlGetData(
SdlxSensorData data, {int numValues = 6}) → bool sensor -
Available on Pointer<
Get the current state of an opened sensor.SdlSensor> , provided by the SdlSensorPointerEx extension