InfiniteGrid QML Type
Affiche une grille infinie. Plus d'informations...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.5 |
Propriétés
- gridAxes : bool
- gridInterval : real
- visible : bool
Description détaillée
Cette aide met en œuvre une grille infinie dans le plan horizontal. La grille s'efface lorsque les lignes de la grille convergent ou à la distance du clip le plus éloigné, selon ce qui se produit en premier.
La grille doit être un enfant de SceneEnvironment.
View3D { environment: SceneEnvironment { backgroundMode: SceneEnvironment.SkyBox lightProbe: Texture { textureData: ProceduralSkyTextureData{} } InfiniteGrid { gridInterval: 100 } } //... }
Documentation des propriétés
gridAxes : bool
Cette propriété détermine si les axes X et Y sont marqués. Si true, l'axe des X sera rouge et l'axe des Y vert. La valeur par défaut est true.
gridInterval : real
Cette propriété définit la distance entre les lignes de la grille. La valeur par défaut est 1.0.
visible : bool
Cette propriété détermine si la grille est affichée. La valeur par défaut est 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.