Qt3DCore::QSkeleton Class
class Qt3DCore::QSkeletonEnthält die Daten für ein Skelett, das mit Skinned-Meshes verwendet wird. Mehr...
| Header: | #include <QSkeleton> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3DCore) target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
| qmake: | QT += 3dcore |
| In QML: | Skeleton |
| Erbt von: | Qt3DCore::QAbstractSkeleton |
| Status: | Veraltet |
Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Eigenschaften
- rootJoint : Qt3DCore::QJoint*
Öffentliche Funktionen
Öffentliche Slots
| void | setRootJoint(Qt3DCore::QJoint *rootJoint) |
Signale
| void | rootJointChanged(Qt3DCore::QJoint *rootJoint) |
Ausführliche Beschreibung
Verwenden Sie „QSkeleton“, wenn Sie die Gelenke eines Skeletts für die Verwendung mit Skinned Meshes manuell erstellen möchten. Dies ist vor allem für Entwickler von Editoren, Werkzeugen oder dynamischen Skeletten von Nutzen. In der Regel nutzt eine „ Qt 3D “-Anwendung einfach ein vorhandenes Skelett und ein Skinned Mesh, wie sie in einem Tool zur Erstellung digitaler Inhalte wie Blender erstellt wurden. Für diesen Anwendungsfall siehe bitte QSkeletonLoader.
Dokumentation zu den Eigenschaften
rootJoint : Qt3DCore::QJoint*
Enthält das Stammgelenk der Hierarchie der Gelenke, aus denen das Skelett besteht.
Zugriffsfunktionen:
| Qt3DCore::QJoint * | rootJoint() const |
| void | setRootJoint(Qt3DCore::QJoint *rootJoint) |
Notifier-Signal:
| void | rootJointChanged(Qt3DCore::QJoint *rootJoint) |
Dokumentation der Mitgliedsfunktionen
QSkeleton::QSkeleton(Qt3DCore::QNode *parent = nullptr)
Erstellt ein neues QSkeleton mit „ parent “.
© 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.