QSkeleton#
Holds the data for a skeleton to be used with skinned meshes. More…
Synopsis#
Functions#
def
rootJoint
()
Slots#
def
setRootJoint
(rootJoint)
Signals#
def
rootJointChanged
(rootJoint)
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
.
- PySide6.Qt3DCore.Qt3DCore.QSkeleton.rootJoint()#
- Return type
Holds the root joint of the hierarchy of joints forming the skeleton.
- PySide6.Qt3DCore.Qt3DCore.QSkeleton.rootJointChanged(rootJoint)#
- Parameters
rootJoint –
PySide6.Qt3DCore.Qt3DCore.QJoint
- PySide6.Qt3DCore.Qt3DCore.QSkeleton.setRootJoint(rootJoint)#
- Parameters
rootJoint –
PySide6.Qt3DCore.Qt3DCore.QJoint
Holds the root joint of the hierarchy of joints forming the skeleton.