This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine.VRBone Class

VRBone Class

枚举

TYPE#

Name描述
PALM = 0Palm bone.
WRIST = 1Wrist bone.
THUMB_METACARPAL = 2Thumb metacarpal bone.
THUMB_PROXIMAL = 3Thumb proximal bone.
THUMB_DISTAL = 4Thumb distal bone.
THUMB_TIP = 5Thumb tip bone.
INDEX_METACARPAL = 6Index finger metacarpal bone.
INDEX_PROXIMAL = 7Index finger proximal bone.
INDEX_INTERMEDIATE = 8Index finger intermediate bone.
INDEX_DISTAL = 9Index finger distal bone.
INDEX_TIP = 10Index finger tip bone.
MIDDLE_METACARPAL = 11Middle finger metacarpal bone.
MIDDLE_PROXIMAL = 12Middle finger proximal bone.
MIDDLE_INTERMEDIATE = 13Middle finger intermediate bone.
MIDDLE_DISTAL = 14Middle finger distal bone.
MIDDLE_TIP = 15Middle finger tip bone.
RING_METACARPAL = 16Ring finger metacarpal bone.
RING_PROXIMAL = 17Ring finger proximal bone.
RING_INTERMEDIATE = 18Ring finger intermediate bone.
RING_DISTAL = 19Ring finger distal bone.
RING_TIP = 20Ring finger tip bone.
LITTLE_METACARPAL = 21Little finger metacarpal bone.
LITTLE_PROXIMAL = 22Little finger proximal bone.
LITTLE_INTERMEDIATE = 23Little finger intermediate bone.
LITTLE_DISTAL = 24Little finger distal bone.
LITTLE_TIP = 25Little finger tip bone.
NUM_TYPES = 26Total number of hand bones.

Properties

string Name#

The hand bone name.

VRBone.TYPE Type#

The hand bone type.

bool IsTransformValid#

The value indicating if the bone transformation is valid.

bool IsVelocityValid#

The value indicating if the bone velocity is valid.

mat4 Transform#

The transformation of the bone in local coordinates relative to the parent node.

mat4 WorldTransform#

The transformation of the bone in world coordinates.

vec3 WorldLinearVelocity#

The linear velocity of the bone.

vec3 WorldAngularVelocity#

The angular velocity of the bone.

vec3 WorldAngularAcceleration#

The angular acceleration of the bone.

float Radius#

The radius of the bone.

VRBone Parent#

The parent of the bone.

int NumChildren#

The total number of children for the bone.

Members


VRBone GetChild ( int i ) #

Returns the child hand bone by its index.

Arguments

  • int i - Child index.

Return value

Hand bone.

void RenderBasis ( ) #

Enables the visualizer for the basis of each hand bone. This option requires the bone visualizer to be enabled.

void RenderVelocity ( ) #

Enables the visualizer for the velocity vectors of each hand bone. This option requires the bone visualizer to be enabled.

void RenderVisualizer ( vec4 color ) #

Enables the bone visualizer. This option requires the visualizer mode to be enabled.

Arguments

  • vec4 color - Visualizer color.

The information on this page is valid for UNIGINE 2.19.1 SDK.

Last update: 2024-12-13
Build: ()