Skeleton QML Type

定义骨骼动画层次结构。更多

Import Statement: import QtQuick3D
Inherits:

Node

详细说明

骨骼定义了如何使用骨骼动画制作模型的动画。它包含Joint 节点的层次结构。每个关节都可以为骨骼动画进行转换。

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

另请参阅 Joint::skeletonRoot,Model::skeleton, 和Qt Quick 3D - Simple Skinning Example#skeleton-and-joint-hierarchy

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.