C# Класс ManusMachina.Glove

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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