C# 클래스 ManusMachina.Glove

파일 보기 프로젝트 열기: ManusVR/Manus-Unity 1 사용 예제들

공개 메소드들

메소드 설명
Glove ( GLOVE_HAND gh ) : UnityEngine

Constructor for Glove class

Recenter ( ) : void

Resets the forward orientation of the Glove.

SetVibration ( float power ) : int

Set the ouput power of the vibration motor.

비공개 메소드들

메소드 설명
ManusToUnity ( GLOVE_QUATERNION q ) : Quaternion

Converts a Quaternion from Manus to Unity format

ManusToUnity ( GLOVE_VECTOR v ) : Vector3

Converts a Vector from Manus to Unity format

ManusToUnity ( Transform &unity, GLOVE_POSE manus ) : void

Convert Manus Pose to Unity Transform

메소드 상세

Glove() 공개 메소드

Constructor for Glove class
public Glove ( GLOVE_HAND gh ) : UnityEngine
gh GLOVE_HAND Left or right glove
리턴 UnityEngine

Recenter() 공개 메소드

Resets the forward orientation of the Glove.
public Recenter ( ) : void
리턴 void

SetVibration() 공개 메소드

Set the ouput power of the vibration motor.
public SetVibration ( float power ) : int
power float The power of the vibration motor ranging from 0 to 1 (ex. 0.5 = 50% power).
리턴 int