このページでは

Qt3DCore::QArmature Class

class Qt3DCore::QArmature

スキニング変換行列を計算し、シェーダーに設定するために使用されます。詳細...

ヘッダー: #include <QArmature>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3DCore)
target_link_libraries(mytarget PRIVATE Qt6::3DCore)
qmake: QT += 3dcore
QML内: Armature
継承元: Qt3DCore::QComponent
ステータス: 非推奨

このクラスは非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

  • skeleton : Qt3DCore::QAbstractSkeleton*

パブリック関数

QArmature(Qt3DCore::QNode *parent = nullptr)
Qt3DCore::QAbstractSkeleton *skeleton() const

パブリックスロット

void setSkeleton(Qt3DCore::QAbstractSkeleton *skeleton)

シグナル

void skeletonChanged(Qt3DCore::QAbstractSkeleton *skeleton)

詳細な説明

Armature コンポーネントはエンティティによって集約され、スキニングされたメッシュを適切にレンダリングするために必要なスキニング変換行列のパレットを計算する機能を提供します。

スキニングされたメッシュの各頂点は、スケルトン内の最大 4 つのジョイントに関連付け(バインド)されています。 頂点に影響を与える各ジョイントについて、メッシュは、対応するジョイントの影響度を決定する重みも提供します。スキニングされた頂点の変換を行うために使用されるスキニングパレットは、Armature によって提供され、参照されるスケルトンに含まれるジョイントから計算されます。

ジョイントのローカル変換を更新すると、スキニング行列が再計算され、そのジョイントにバインドされているスキニングメッシュの頂点がそれに応じて移動します。

プロパティのドキュメント

skeleton : Qt3DCore::QAbstractSkeleton*

スキニング変換行列パレットの計算に使用されるスケルトンを保持します。

アクセス関数:

Qt3DCore::QAbstractSkeleton *skeleton() const
void setSkeleton(Qt3DCore::QAbstractSkeleton *skeleton)

通知シグナル:

void skeletonChanged(Qt3DCore::QAbstractSkeleton *skeleton)

メンバ関数のドキュメント

[explicit] QArmature::QArmature(Qt3DCore::QNode *parent = nullptr)

parent を使用して、新しいQArmatureを作成します。

© 2026 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.