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 입니다.


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