Export (0) Print
Expand All

Accelerometer.GetState Method

XNA Game Studio 3.1
Ee515043.note(en-us,XNAGameStudio.31).gifNote
This method is available only when developing for Zune.
Gets the current state of the accelerometer.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static AccelerometerState GetState ()

Return Value

State of the device's accelerometer.

Community Additions

ADD
Show:
© 2014 Microsoft