En esta página

InfiniteGrid QML Type

Muestra una cuadrícula infinita. Más...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.5

Propiedades

Descripción detallada

Este ayudante implementa una rejilla infinita en el plano horizontal. La rejilla se desvanece cuando las líneas de la rejilla convergen o a la distancia del clip lejano, lo que ocurra primero.

La rejilla debe ser hija de SceneEnvironment.

View3D {
    environment: SceneEnvironment {
        backgroundMode: SceneEnvironment.SkyBox
        lightProbe: Texture {
            textureData: ProceduralSkyTextureData{}
        }
        InfiniteGrid {
            gridInterval: 100
        }
    }
    //...
 }

Documentación de propiedades

gridAxes : bool

Esta propiedad determina si los ejes X e Y están marcados. Si true, el eje X se marcará en rojo y el eje Y en verde. El valor por defecto es true.

gridInterval : real

Esta propiedad define la distancia entre las líneas de la cuadrícula. El valor por defecto es 1.0.

visible : bool

Esta propiedad determina si se muestra la rejilla. El valor por defecto es 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.