Sur cette page

Qt3DCore::QSkeleton Class

class Qt3DCore::QSkeleton

Contient les données d'un squelette à utiliser avec des maillages en peau. Plus...

En-tête : #include <QSkeleton>
CMake : find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake : QT += 3dcore
En QML : Skeleton
Hérite : Qt3DCore::QAbstractSkeleton
Statut : Déclassé

Propriétés

Fonctions publiques

QSkeleton(Qt3DCore::QNode *parent = nullptr)
Qt3DCore::QJoint *rootJoint() const

Emplacements publics

void setRootJoint(Qt3DCore::QJoint *rootJoint)

Signaux

void rootJointChanged(Qt3DCore::QJoint *rootJoint)

Description détaillée

Utilisez QSkeleton si vous souhaitez créer manuellement les articulations d'un squelette à utiliser avec des maillages en peau. Cette fonction est principalement utile aux personnes qui créent des éditeurs, des outils ou des squelettes dynamiques. Il est plus courant qu'une application Qt 3D consomme simplement un squelette existant et un skinned mesh créés dans un outil de création de contenu numérique tel que Blender. Pour ce cas d'utilisation, veuillez consulter QSkeletonLoader.

Documentation sur les propriétés

rootJoint : Qt3DCore::QJoint*

Détient l'articulation racine de la hiérarchie des articulations formant le squelette.

Fonctions d'accès :

Qt3DCore::QJoint *rootJoint() const
void setRootJoint(Qt3DCore::QJoint *rootJoint)

Signal de notification :

void rootJointChanged(Qt3DCore::QJoint *rootJoint)

Fonction membre Documentation

QSkeleton::QSkeleton(Qt3DCore::QNode *parent = nullptr)

Construit un nouveau QSkeleton avec 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.