このページでは

Skin QML Type

スキニングアニメーションを定義します。詳細...

Import Statement: import QtQuick3D
Inherits:

Object3D

プロパティ

詳細な説明

スキンとは、スケルトンアニメーションを用いてモデルをどのようにアニメーション化できるかを定義するものです。スキンには、Nodeのリストと、オプションとしてInverse Bind Pose Matricesのリストが含まれます。各Node のトランスフォームは、リスト内の対応するインデックスを持つボーンのトランスフォームとなります。

Skin {
    id: skin0
    joints: [
        node0,
        node1,
        node2
    ]
    inverseBindPoses: [
        Qt.matrix4x4(...),
        Qt.matrix4x4(...),
        Qt.matrix4x4(...)
    ]
}

注: Skeleton およびJoint は非推奨となります。

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

inverseBindPoses : List<matrix4x4>

このプロパティには、スキニングアニメーションに使用される逆バインドポーズ行列のリストが含まれています。各 inverseBindPose 行列は、Skin::joints 内の対応するノードのグローバルトランスフォームの逆行列を意味し、初期設定として使用されます。

注:この プロパティはオプションのプロパティです。つまり、行列の一部またはすべてが設定されていない場合、単位行列の値が使用されます。

joints : List<QtQuick3D::Node>

このプロパティには、ジョイントの階層構造に使用されるノードのリストが含まれています。リスト内の順序がジョイントのインデックスとなり、これは `SkinSemantic `custom geometry attribute で使用されます。

注:値 「undefined」は 無視されます。また、存在しないノードが指定された場合、結果は予測不能となります。

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

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