Entry 6353

DeviceMotion

   

Submitted by anonymous on Aug. 25, 2010 at 3:26 a.m.
Language: C#. Code size: 402 bytes.

public static void startDeviceMotion();

public static void stopDeviceMotion();

public static void resetDeviceMotion();

// Defaults to 1/30
public static void setDeviceMotionInterval( double interval );

// defaults to false and returns a normalized quaternion.
// If true, it will return a vector3 of actual gyro velocity
public static void setReturnRawGyroData( bool returnRawGyroData );

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).