InstanceListEntry QML Type
InstanceList でインスタンスを指定する。
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.2 |
| Inherits: |
プロパティ
- color : color
- customData : vector4d
- eulerRotation : vector3d
- position : vector3d
- rotation : quaternion
- scale : vector3d
詳細な説明
InstanceListEntry QML型は、インスタンスリスト内の1つのインスタンスを指定するために使用します。
すべてのプロパティはバインディングとアニメーションを持つことができます。プロパティを変更すると、インスタンステーブル全体が再計算されて GPU にアップロードされるため、多くのメンバーを持つインスタンスリストではコストがかかります。
プロパティのドキュメント
color : color
このプロパティはインスタンスの色を指定する。
customData : vector4d
このプロパティはインスタンスのカスタムデータを指定します。これはデフォルトでは使用されませんが、INSTANCE_DATA としてカスタムマテリアルの頂点シェーダで使用できるようになります。
eulerRotation : vector3d
このプロパティは、インスタンスの回転をオイラーベクトルとして指定します。
position : vector3d
このプロパティは、インスタンスの位置を指定する。
rotation : quaternion
このプロパティは、インスタンスの回転を四元数で指定する。
scale : vector3d
このプロパティは、インスタンスのスケールを、x、y、z軸に沿ったスケールファクターを含むベクトルとして指定します。
© 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.