QSkeleton Class

class Qt3DCore::QSkeleton

スキニングされたメッシュで使用するスケルトンのデータを保持します。詳細...

ヘッダー #include <QSkeleton>
CMakeの find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake QT += 3dcore
QML で Skeleton
を継承しています: Qt3DCore::QAbstractSkeleton
ステータス非推奨

プロパティ

パブリック機能

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

パブリックスロット

void setRootJoint(Qt3DCore::QJoint *rootJoint)

シグナル

void rootJointChanged(Qt3DCore::QJoint *rootJoint)

詳細説明

スキニングされたメッシュで使用するスケルトンのジョイントを手動で作成する場合は、QSkeleton を使用します。これは主に、エディタ、ツーリング、またはダイナミック スケルトンを作成する場合に使用します。Qt 3D アプリケーションが、Blender のようなデジタルコンテンツ作成ツールで作成された既存のスケルトンとスキニングメッシュを単純に利用する方が一般的です。このユースケースについては、QSkeletonLoader を参照してください。

プロパティ・ドキュメンテーション

rootJoint : Qt3DCore::QJoint*

スケルトンを形成するジョイント階層のルートジョイントを保持します。

アクセス関数:

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

通知シグナル:

void rootJointChanged(Qt3DCore::QJoint *rootJoint)

メンバ関数ドキュメント

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

新しい QSkeleton をparent で構築します。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.