InstanceListEntry QML Type

InstanceList でインスタンスを指定する

Import Statement: import QtQuick3D
Since: Qt 6.2
Inherits:

Object3D

プロパティ

詳細な説明

InstanceListEntry QML型は、インスタンスリスト内の1つのインスタンスを指定するために使用します。

すべてのプロパティはバインディングとアニメーションを持つことができます。プロパティを変更すると、インスタンステーブル全体が再計算されて GPU にアップロードされるため、多くのメンバーを持つインスタンスリストではコストがかかります。

プロパティの説明

color : color

このプロパティはインスタンスの色を指定します。


customData : vector4d

このプロパティはインスタンスのカスタムデータを指定します。これはデフォルトでは使用されませんが、INSTANCE_DATA としてカスタムマテリアルの頂点シェーダで使用できるようになります。


eulerRotation : vector3d

このプロパティはインスタンスの回転をオイラーベクトルとして指定します。


position : vector3d

このプロパティはインスタンスの位置を指定します。


rotation : quaternion

このプロパティは、インスタンスの回転をクォータニオンとして指定します。


scale : vector3d

このプロパティは、インスタンスのスケールを、x, y, z 軸に沿ったスケールファクターを含むベクトルとして指定します。


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