C# 클래스 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.
상속: TransformManagerInterface
파일 보기 프로젝트 열기: vmohan7/Navi 1 사용 예제들

공개 메소드들

메소드 설명
Reset ( ) : void

How to reset the position of the device

비공개 메소드들

메소드 설명
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

메소드 상세

Reset() 공개 메소드

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