GCMotion Class |
public sealed class GCMotion
The GCMotion type exposes the following members.
| Name | Description | |
|---|---|---|
| acceleration | Acceleration converted to the Unity coordinate system. | |
| accelerationRaw | Acceleration as returned by Apple Game Controller Framework. | |
| attitude | Attitude converted to the Unity coordinate system. | |
| attitudeRaw | Attitude as returned by Apple Game Controller Framework. | |
| eventTimeDelta | The time that has elapsed since the previous motion event and the latest motion event. | |
| gravity | Gravity converted to the Unity coordinate system. | |
| gravityRaw | Gravity as returned by Apple Game Controller Framework. | |
| hasAttitude | Determines whether attitude is available. | |
| hasGravityAndUserAcceleration | Determines whether gravity and user acceleration are available. | |
| hasRotationRate | Determines whether rotation rate is available. | |
| lastEventTimestamp | The timestamp of the latest motion event that was received. | |
| rotationRate | Rotation rate converted to the Unity coordinate system. The value has been converted to degrees per second and multiplied by the time delta from the last motion event. | |
| rotationRateRaw | Rotation rate as returned by Apple Game Controller Framework. | |
| sensorsActive | Gets and sets whether the motion sensors are active. Check sensorsRequireManualActivation to determine if the motion sensors need to be activated manually. | |
| sensorsRequireManualActivation | Returns true if motion sensors require manual activation to function. If true, set sensorsActive to enable or disable motion sensors. | |
| userAcceleration | User acceleration converted to the Unity coordinate system. | |
| userAccelerationRaw | User acceleration as returned by Apple Game Controller Framework. |