- class QSkeleton#
Holds the data for a skeleton to be used with skinned meshes. More…
Synopsis#
Properties#
Methods#
def
__init__()
def
rootJoint()
Slots#
def
setRootJoint()
Signals#
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 seeQSkeletonLoader
.Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.Holds the root joint of the hierarchy of joints forming the skeleton.
- Access functions:
- __init__([parent=None])#
- Parameters:
parent –
QNode
Constructs a new
QSkeleton
withparent
.- rootJoint()#
- Return type:
QJoint
See also
setRootJoint()
Getter of property
rootJointᅟ
.- rootJointChanged(rootJoint)#
- Parameters:
rootJoint –
QJoint
Notification signal of property
rootJointᅟ
.- setRootJoint(rootJoint)#
- Parameters:
rootJoint –
QJoint
See also
rootJoint()
Setter of property
rootJointᅟ
.