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)

setSource(QUrl)

See also

source().


source() → QUrl

See also

setSource().


status() → Status

TODO

Signals

createJointsEnabledChanged(bool)

TODO


rootJointChanged(QJoint)

TODO


sourceChanged(QUrl)

TODO


statusChanged(Status)

TODO