Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Input.Accelerometer Class Reference

A static encapsulation of accelerometer input to provide games with a polling-based accelerometer system. More...

Static Public Member Functions

static void Initialize ()
 Initializes the Accelerometer for the current game. This method can only be called once per game.
 
static AccelerometerState GetState ()
 Gets the current state of the accelerometer.
 

Detailed Description

A static encapsulation of accelerometer input to provide games with a polling-based accelerometer system.

Member Function Documentation

◆ GetState()

static AccelerometerState VerticesEngine.Input.Accelerometer.GetState ( )
static

Gets the current state of the accelerometer.

Returns
A new AccelerometerState with the current state of the accelerometer.

The documentation for this class was generated from the following file: