sfml.js
    Preparing search index...

    Enumeration SensorType

    传感器类型。

    Index

    Enumeration Members

    Accelerometer: 0

    Measures the raw acceleration (m/s^2)

    Gravity: 3

    Measures the direction and intensity of gravity, independent of device acceleration (m/s^2)

    Gyroscope: 1

    Measures the raw rotation rates (radians/s)

    Magnetometer: 2

    Measures the ambient magnetic field (micro-teslas)

    Orientation: 5

    Measures the absolute 3D orientation (radians)

    UserAcceleration: 4

    Measures the direction and intensity of device acceleration, independent of the gravity (m/s^2)