C# Class GyroManager, Navi

This class extends TransformManagerInterface and is responsbile for informing the system of the current pose of the device. In this case, it uses the gyro to set rotational data.
Inheritance: TransformManagerInterface
显示文件 Open project: vmohan7/Navi Class Usage Examples

Public Methods

Method Description
Reset ( ) : void

How to reset the position of the device

Private Methods

Method Description
ComputeRotation ( ) : Quaternion
ResetOrientation ( ) : void

Method to approraitiatly rotate the device and screen orientation

Update ( ) : void

Gets gyro data and uses it to update rotation relative to reset position

Method Details

Reset() public method

How to reset the position of the device
public Reset ( ) : void
return void