Skeleton QML Type
定义骨骼动画层次结构。更多...
| Import Statement: | import QtQuick3D |
| Inherits: |
详细说明
骨骼定义了如何使用骨骼动画对模型进行动画处理。它包含一个由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 - 简单蒙皮示例#skeleton-and-joint-hierarchy。
© 2026 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.