C# Class ManusMachina.Glove

Afficher le fichier Open project: ManusVR/Manus-Unity Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

Glove() public méthode

Constructor for Glove class
public Glove ( GLOVE_HAND gh ) : UnityEngine
gh GLOVE_HAND Left or right glove
Résultat UnityEngine

Recenter() public méthode

Resets the forward orientation of the Glove.
public Recenter ( ) : void
Résultat void

SetVibration() public méthode

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).
Résultat int