このページでは

InfiniteGrid QML Type

無限グリッドを表示します。もっと見る...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.5

プロパティ

詳しい説明

このヘルパーは水平面に無限グリッドを実装する。グリッドは、グリッド線が収束するか、遠いクリップの距離のどちらか先に来たときにフェードアウトします。

グリッドは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.