W3cubDocs

/Qt

Skeleton QML Type

Defines a skeletal animation hierarchy. More...

Import Statement: import QtQuick3D
Inherits:

Node

Detailed Description

A skeleton defines how a model can be animated using skeletal animation. It contains a hierarchy of Joint nodes. Each joint can be transformed for a skinning animation.

Skeleton {
    id: qmlskeleton
    Joint {
        id: joint0
        index: 0
        skeletonRoot: qmlskeleton
        Joint {
            id: joint1
            index: 1
            skeletonRoot: qmlskeleton
        }
    }
}

See also Joint::skeletonRoot, Model::skeleton, and Qt Quick 3D - Simple Skinning Example#skeleton-and-joint-hierarchy.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtquick3d-skeleton.html