Joint QML Type

Define model's joint hierarchy. More...

Import Statement: import QtQuick3D 1.0
Inherits:

Node

Properties

Detailed Description

All the joints must be described below Skeleton and they are used for skeletal animation.

 Skeleton {
     id: qmlskeleton
     Joint {
         id: joint_0
         index: 0
         skeletonRoot: qmlskelgon
         Joint {
             id: joint_1
             index: 1
             skeletonRoot: qmlskelgon
         }
     }
 }

Property Documentation

index : int

Specifies the joint index.

Note: It must be a unique value in the same Skeleton.

Note: A Model using the Skeleton containing this Joint must have proper joint indexes as an input attribute.

See also Model::inverseBindPoses and Qt Quick 3D - Simple Skinning Example.


skeletonRoot : Skeleton

Specifies Skeleton which contains this joint.

Note: All the Joints in the Skeleton should have the same skeletonRoot. If not, the animation will be broken.

See also Skeleton.