QSkeleton#
Holds the data for a skeleton to be used with skinned meshes. More…
Synopsis#
Properties#
Functions#
def
rootJoint
()
Slots#
def
setRootJoint
(rootJoint)
Signals#
def
rootJointChanged
(rootJoint)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
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
.
- class PySide6.Qt3DCore.Qt3DCore.QSkeleton([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QSkeleton
with parent
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DCore.Qt3DCore.QSkeleton.rootJoint: PySide6.Qt3DCore.Qt3DCore.QJoint#
Holds the root joint of the hierarchy of joints forming the skeleton.
- Access functions:
rootJoint
()setRootJoint
(rootJoint)Signal
rootJointChanged
(rootJoint)
- PySide6.Qt3DCore.Qt3DCore.QSkeleton.rootJoint()#
- Return type:
See also
Getter of property rootJoint
.
- PySide6.Qt3DCore.Qt3DCore.QSkeleton.rootJointChanged(rootJoint)#
- Parameters:
rootJoint –
PySide6.Qt3DCore.Qt3DCore.QJoint
Notification signal of property rootJoint
.
- PySide6.Qt3DCore.Qt3DCore.QSkeleton.setRootJoint(rootJoint)#
- Parameters:
rootJoint –
PySide6.Qt3DCore.Qt3DCore.QJoint
See also
Setter of property rootJoint
.