Joint QML Type

スケルタルアニメーション階層のノードを定義します。詳細...

Import Statement: import QtQuick3D
Inherits:

Node

プロパティ

詳細説明

ジョイントは、Skeleton 内部のトランスフォーム可能なノードで、スケルトン アニメーションに使用されます。スケルトンのボーン間のジョイントとして見ることができるため、「ジョイント」と呼ばれています。

すべてのジョイントはスケルトンの内部に含まれていなければならず、各ジョイントはそのスケルトンを指すskeletonRoot を持っていなければなりません。

Skeleton {
    id: qmlskeleton
    Joint {
        id: joint0
        index: 0
        skeletonRoot: qmlskeleton
        Joint {
            id: joint1
            index: 1
            skeletonRoot: qmlskeleton
        }
    }
}

プロパティ ドキュメント

index : int

このジョイントのインデックスを指定します。このインデックス値はJointSemantic custom geometry attribute で使用されます。

注: インデックス値は、同じSkeleton 内で一意でなければなりません。

注: 負の値を割り当てることはできません。

QQuick3DGeometry::addAttribute およびQt Quick 3D - シンプルなスキニングの例も参照してください


skeletonRoot : Skeleton

このジョイントを含むSkeleton を指定します。

注意: Skeleton 内のすべてのJointは、同じ skeletonRoot を持っている必要があります。そうでない場合、アニメーションは壊れてしまいます。

Skeletonも参照してください


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