Qt3DCore::QSkeleton Class
class Qt3DCore::QSkeletonAlmacena los datos de un esqueleto para su uso con mallas con texturas. Más...
| Encabezado: | #include <QSkeleton> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3DCore) target_link_libraries(mytarget PRIVATE Qt6::3DCore) |
| qmake: | QT += 3dcore |
| En QML: | Skeleton |
| Heredan de: | Qt3DCore::QAbstractSkeleton |
| Estado: | Obsoleto |
Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.
Propiedades
- rootJoint : Qt3DCore::QJoint*
Funciones públicas
Ranuras públicas
| void | setRootJoint(Qt3DCore::QJoint *rootJoint) |
Señales
| void | rootJointChanged(Qt3DCore::QJoint *rootJoint) |
Descripción detallada
Utiliza QSkeleton si deseas crear manualmente las articulaciones de un esqueleto para utilizarlo con mallas con piel. Esto resulta especialmente útil para quienes crean editores, herramientas o esqueletos dinámicos. Lo más habitual es que una aplicación de Qt 3D simplemente utilice un esqueleto y una malla con piel ya existentes, creados en una herramienta de creación de contenido digital como Blender. Para este caso de uso, consulta QSkeletonLoader.
Documentación de propiedades
rootJoint : Qt3DCore::QJoint*
Contiene la articulación raíz de la jerarquía de articulaciones que conforman el esqueleto.
Funciones de acceso:
| Qt3DCore::QJoint * | rootJoint() const |
| void | setRootJoint(Qt3DCore::QJoint *rootJoint) |
Señal del notificador:
| void | rootJointChanged(Qt3DCore::QJoint *rootJoint) |
Documentación de las funciones de miembro
QSkeleton::QSkeleton(Qt3DCore::QNode *parent = nullptr)
Crea un nuevo objeto `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.