このページでは

MorphTarget QML Type

モーフターゲットのプロパティを定義します。詳細...

Import Statement: import QtQuick3D
Inherits:

Object3D

プロパティ

詳細な説明

各MorphTarget は、頂点アニメーションのモーフィングターゲットです。モーフィングの程度は、weight プロパティを変更することで制御されます。

MorphTarget {
    id: morphtarget0
    attributes: MorphTarget.Position | MorphTarget.Normal
    weight: 0.5
}

モーフィングの例では、モーフィングターゲットの使用方法を示しています。

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

attributes : enumeration

現在のモーフターゲットの属性セットを指定します。モーフィングで頂点属性をアニメーション化するには、メッシュにそれらのターゲット属性が含まれており、かつモーフターゲットでそれらの属性が有効になっている必要があります。

モーフターゲットの属性は、以下の値を論理和(OR)で組み合わせることで指定されます:

定数説明
MorphTarget.Position頂点位置をアニメーション化します
MorphTarget.Normal法線ベクトルをアニメーション化します
MorphTarget.Tangent接線ベクトルをアニメーション化する
MorphTarget.Binormalバイ法線ベクトルをアニメーション化します
MorphTarget.TexCoord0テクスチャ座標 0 のベクトルをアニメーション化します
MorphTarget.TexCoord1テクスチャ座標1のベクトルをアニメーション化します
MorphTarget.Color頂点カラーベクトルをアニメーション化します

weight : real

現在のモーフターゲットの重みを指定します。重みとは、線形補間に使用される乗数です。重みが 1 の場合、このターゲットが完全に適用されます。重みが 0 の場合、このターゲットは影響を与えません。

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