This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Unigine::Plugins::UltraleapBone Class

Header: #include <plugins/Unigine/Ultraleap/UnigineUltraleap.h>

This class represents a bone of a finger.

Notice
Ultraleap plugin must be loaded.

UltraleapBone Class

Перечисления (Enums)

TYPE#

ИмяОписание
TYPE_METACARPAL = 0Metacarpal bone.
TYPE_PROXIMAL = 1Proximal phalange bone.
TYPE_INTERMEDIATE = 2Intermediate phalange bone.
TYPE_DISTAL = 3Distal phalange bone. A bone at the tip of the finger.
NUM_TYPES = 4Total number of bone types.

Members


UltraleapFinger * getFinger ( ) const#

Returns the object for the finger.

Return value

The object for the finger.

UltraleapBone::TYPE getType ( ) const#

Returns the type of the bone.

Return value

The bone type. One of the Bone::TYPE_* values.

double getLength ( ) const#

Returns the length of the bone.

Return value

The length of the bone, in meters.

double getWidth ( ) const#

Returns the width of the bone, in meters.

Return value

The width of the bone, in meters.

Math::Vec3 getJointBeginPosition ( ) const#

Returns the coordinates of the end of the bone closest to the wrist (proximal).

Return value

The coordinates of the end of the bone closest to the wrist (proximal).

Math::Vec3 getJointEndPosition ( ) const#

Returns the coordinates of the end of the bone closest to the finger tip (distal).

Return value

The coordinates of the end of the bone closest to the finger tip (distal).

Math::Vec3 getCenter ( ) const#

Returns the coordinates of the center of the bone.

Return value

The coordinates of the center of the bone.

Math::vec3 getDirection ( ) const#

Returns the normalized direction of the bone from wrist to tip.

Return value

The normalized direction of the bone from wrist to tip.
Last update: 15.03.2023
Build: ()