QSkeleton Class
(Qt3DCore::QSkeleton)Holds the data for a skeleton to be used with skinned meshes. More...
Header: | #include <QSkeleton> |
qmake: | QT += 3dcore |
Since: | Qt 5.10 |
Instantiated By: | Skeleton |
Inherits: | Qt3DCore::QAbstractSkeleton |
Properties
- rootJoint : Qt3DCore::QJoint*
- 1 property inherited from Qt3DCore::QAbstractSkeleton
- 3 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
- 1 public function inherited from Qt3DCore::QAbstractSkeleton
- 13 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
void | setRootJoint(Qt3DCore::QJoint *rootJoint) |
- 3 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | rootJointChanged(Qt3DCore::QJoint *rootJoint) |
- 1 signal inherited from Qt3DCore::QAbstractSkeleton
- 4 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Static Public Members
const QMetaObject | staticMetaObject |
- 9 static public members inherited from QObject
Additional Inherited Members
- 1 protected function inherited from Qt3DCore::QAbstractSkeleton
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Detailed Description
Holds the data for a skeleton to be used with skinned meshes.
Use QSkeleton if you wish to manually create the joints of a skeleton for use with skinned meshes. This is mainly of use to people creating editors, tooling, or dynamic skeletons. It is more common that a Qt 3D application would simply consume an existing skeleton and skinned mesh as created in a digital content creation tool such as Blender. For this use case, please see QSkeletonLoader.
Property Documentation
rootJoint : Qt3DCore::QJoint*
Holds the root joint of the hierarchy of joints forming the skeleton.
Access functions:
Qt3DCore::QJoint * | rootJoint() const |
void | setRootJoint(Qt3DCore::QJoint *rootJoint) |
Notifier signal:
void | rootJointChanged(Qt3DCore::QJoint *rootJoint) |
Member Function Documentation
QSkeleton::QSkeleton(Qt3DCore::QNode *parent = nullptr)
Constructs a new QSkeleton with parent.
© 2019 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.