QSkeletonLoader露
- PyQt5.Qt3DCore.QSkeletonLoader
Inherits from QAbstractSkeleton.
Description露
Used to load a skeleton of joints from file.
Use SkeletonLoader if you wish to load a whole skeleton from file rather than creating the joints yourself using Skeleton and Joints. Creating a skeleton and binding the vertices of a mesh to the skeleton is most easily performed in a 3D digital content creation tool such as Blender. The resulting skeleton and mesh can then be exported in a suitable format such as glTF 2 for consumption by Qt 3D.
Enums露
- Status
This enum identifies the status of skeleton.
Member
Value
Description
Error 2
An error occurred while loading the skeleton
NotReady 0
The skeleton has not been loaded yet
Ready 1
The skeleton was successfully loaded
Methods露
- __init__(parent: QNode = None)
Constructs a new QSkeletonLoader with parent.
- __init__(QUrl, parent: QNode = None)
Constructs a new QSkeletonLoader with parent and sets the source.
- isCreateJointsEnabled() → bool
TODO
- rootJoint() → QJoint
TODO
- sceneChangeEvent(QSceneChange)
TODO
- setCreateJointsEnabled(bool)
See also
- source() → QUrl
See also
- status() → Status
TODO