Vertices Engine
v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
|
An encapsulation of the accelerometer's current state. More...
Public Member Functions | |
AccelerometerState (Vector3 acceleration, bool isActive) | |
Initializes a new AccelerometerState. | |
override string | ToString () |
Returns a string containing the values of the Acceleration and IsActive properties. | |
Properties | |
Vector3 | Acceleration [get] |
Gets the accelerometer's current value in G-force. | |
bool | IsActive [get] |
Gets whether or not the accelerometer is active and running. | |
An encapsulation of the accelerometer's current state.
VerticesEngine.Input.AccelerometerState.AccelerometerState | ( | Vector3 | acceleration, |
bool | isActive ) |
Initializes a new AccelerometerState.
acceleration | The current acceleration (in G-force) of the accelerometer. |
isActive | Whether or not the accelerometer is active. |
override string VerticesEngine.Input.AccelerometerState.ToString | ( | ) |
Returns a string containing the values of the Acceleration and IsActive properties.