GyroscopeResult Struct¶
This type is an EasyAR Sense API in C#: GyroscopeResult . Some descriptions may not apply to Unity environment on this page.
Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.
Description¶
Gyroscope reading.
The positive direction of x-axis is from the device center to its right side of the screen.
The positive direction of y-axis is from the device center to its top side of the screen.
The positive direction of z-axis is from the device center perpendicular to the screen outward.
The x, y, z values represent the angular speed around the corresponding axis in radians/second.
The rotation is positive in counter-clockwise, looking from the positive location on the axis at the device.
The unit of timestamp is second.