InfiniteGrid QML Type
無限のグリッドを表示します。詳細...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.5 |
プロパティ
- gridAxes : bool
- gridInterval : real
- visible : bool
詳細な説明
このヘルパーは、水平面上に無限のグリッドを実装します。グリッドは、グリッド線が収束するか、またはクリップ距離の限界に達した時点で、いずれか早い方が発生した時点でフェードアウトします。
このグリッドは、SceneEnvironment の子要素である必要があります。
View3D {
environment: SceneEnvironment {
backgroundMode: SceneEnvironment.SkyBox
lightProbe: Texture {
textureData: ProceduralSkyTextureData{}
}
InfiniteGrid {
gridInterval: 100
}
}
//...
}プロパティのドキュメント
gridAxes : bool
このプロパティは、X軸とY軸に目盛を表示するかどうかを指定します。true の場合、X軸は赤、Y軸は緑で表示されます。デフォルト値はtrue です。
gridInterval : real
このプロパティは、グリッド線間の間隔を定義します。デフォルト値は1.0 です。
visible : bool
このプロパティは、グリッドを表示するかどうかを決定します。デフォルト値はtrue です。
© 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.