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.