IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QSkeleton Class

Holds the data for a skeleton to be used with skinned meshes.

This class was introduced in Qt 5.10.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QSkeleton Class

  • Header: QSkeleton

  • Since: Qt 5.10

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3dcore)

    target_link_libraries(mytarget PRIVATE Qt6::3dcore)

  • qmake: QT += 3dcore

  • Inherited By:

  • Instantiated By: qml-qt3d-core-skeleton.xml

  • Inherits: Qt3DCore::QAbstractSkeleton

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.

Property Documentation

 

rootJoint : Qt3DCore::QJoint*

Holds the root joint of the hierarchy of joints forming the skeleton.

Access functions:

  • *rootJoint() const

  • void setRootJoint( *rootJoint)

Notifier signal:

  • void rootJointChanged( *rootJoint)

Member Function Documentation

 

QSkeleton::QSkeleton(Qt3DCore::QNode *parent = nullptr)

Constructs a new QSkeleton with parent.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+