Unigine.VRBone Class
VRBone Class
Enums
TYPE#
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.
Last update:
2024-10-16
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)