This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
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
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine::VRHand Class

Header: #include <UnigineVRHandTracking.h>

VRHand Class

Enums

TYPE#

NameDescription
TYPE_LEFT = 0Left hand.
TYPE_RIGHT = 1Right hand.
NUM_TYPES = 2Total number of hand types.

Members

VRHand::TYPE getType() const#

Returns the current type of the hand: left or right.

Return value

Current type of the hand: left or right.

Ptr<VRBone> getRootBone() const#

Returns the current root bone of the hand — the corresponding wrist bone.

Return value

Current root bone of the hand — the corresponding wrist bone.

bool isHoldingController() const#

Returns the current value indicating if the controller is held in the hand. Not supported by Varjo.

Return value

true if the controller is held in the hand; otherwise false.

bool isActive() const#

Returns the current value indicating if the controller is active.

Return value

true if the controller is active; otherwise false.

Ptr<VRBone> getBone ( VRBone::TYPE type ) #

Returns the bone of the specified type for the current hand.

Arguments

Return value

Bone of the specified type.

void renderVisualizer ( ) const#

Renders the visualizer.
Last update: 2024-10-16
Build: ()