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::QSkeletonQt3DCore::QSkeletonLoader

状态:已废弃

属性

公共功能

int jointCount() const

信号

void jointCountChanged(int jointCount)

详细说明

请勿直接使用该类。如果从文件加载骨架数据(最有可能),请使用QSkeletonLoader ;如果自己创建骨架和蒙皮网格数据(主要用于创建编辑器或工具的人员),请使用QSkeleton

属性文档

[read-only] jointCount : const int

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

访问功能:

int jointCount() const

通知信号

void jointCountChanged(int jointCount)

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