本页内容

Qt3DCore::QAbstractSkeleton Class

class Qt3DCore::QAbstractSkeleton

骨骼包含带贴图网格的关节。更多...

标题: #include <QAbstractSkeleton>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake: QT += 3dcore
在 QML 中: AbstractSkeleton
继承自: Qt3DCore::QNode
被继承自:

Qt3DCore::QSkeleton 以及Qt3DCore::QSkeletonLoader

状态: 已弃用

该类已弃用。我们强烈建议不要在新代码中使用它。

属性

公共函数

int jointCount() const

信号

void jointCountChanged(int jointCount)

详细说明

请勿直接使用此类。若从文件加载骨骼数据(最常见的情况),应使用 `QSkeletonLoader `;若自行创建骨骼和蒙皮网格数据(主要面向编辑器或工具开发者),则应使用 `QSkeleton `。

属性文档

[read-only] jointCount : int

存储骨架中包含的关节数量

访问函数:

int jointCount() const

通知器信号:

void jointCountChanged(int jointCount)

© 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.