In questa pagina

Qt3DCore::QSkeleton Class

class Qt3DCore::QSkeleton

Contiene i dati relativi a uno scheletro da utilizzare con le mesh con skin. Maggiori informazioni...

Intestazione: #include <QSkeleton>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake: QT += 3dcore
In QML: Skeleton
Eredita da: Qt3DCore::QAbstractSkeleton
Stato: Obsoleto

Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.

Proprietà

Funzioni pubbliche

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

Slot pubblici

void setRootJoint(Qt3DCore::QJoint *rootJoint)

Segnali

void rootJointChanged(Qt3DCore::QJoint *rootJoint)

Descrizione dettagliata

Utilizzate QSkeleton se desiderate creare manualmente le articolazioni di uno scheletro da utilizzare con le mesh skinned. Ciò è utile soprattutto per chi crea editor, strumenti o scheletri dinamici. È più comune che un'applicazione Qt 3D utilizzi semplicemente uno scheletro e una mesh skinned esistenti, creati con uno strumento di creazione di contenuti digitali come Blender. Per questo caso d'uso, consultare QSkeletonLoader.

Documentazione sulle proprietà

rootJoint : Qt3DCore::QJoint*

Contiene il giunto radice della gerarchia dei giunti che formano lo scheletro.

Funzioni di accesso:

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

Segnale di notifica:

void rootJointChanged(Qt3DCore::QJoint *rootJoint)

Documentazione delle funzioni membro

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

Crea un nuovo oggetto QSkeleton con ` 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.