QSkeleton Class

( Qt3DCore::QSkeleton )

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

頭: #include <QSkeleton>
qmake: QT += 3dcore
Since: Qt 5.10
實例化: Skeleton
繼承: Qt3DCore::QAbstractSkeleton

特性

公共函數

QSkeleton (Qt3DCore::QNode * parent = nullptr)
Qt3DCore::QJoint * rootJoint () const

公共槽

void setRootJoint (Qt3DCore::QJoint * rootJoint )

信號

void rootJointChanged (Qt3DCore::QJoint * rootJoint )

靜態公共成員

const QMetaObject staticMetaObject

額外繼承成員

詳細描述

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

使用 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 .

特性文檔編製

rootJoint : Qt3DCore::QJoint *

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

訪問函數:

Qt3DCore::QJoint * rootJoint () const
void setRootJoint (Qt3DCore::QJoint * rootJoint )

通知程序信號:

void rootJointChanged (Qt3DCore::QJoint * rootJoint )

成員函數文檔編製

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

構造新的 QSkeleton with parent .