HeightFieldGeometry QML Type
높이 필드 지오메트리. 더 보기...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.4 |
| Inherits: |
속성
- extents : vector3d
- smoothShading : bool
- source : url
상세 설명
이 헬퍼는 높이 필드 지오메트리를 구현합니다. 이 헬퍼는 그레이스케일 이미지를 기반으로 표면을 정의합니다. 수평면상의 특정 지점에서 표면의 y좌표는 이미지의 해당 지점에 있는 픽셀 값에 의해 결정됩니다. 이미지의 x축과 y축은 각각 지오메트리의 x축과 z축을 따라가게 됩니다.
속성 설명
extents : vector3d
이 속성은 높이 필드의 범위를 정의하며, 즉 지오메트리를 항상 포함할 수 있을 만큼 충분히 큰 상자의 크기를 나타냅니다. 이미지가 정사각형일 경우 기본값은 (100, 100, 100)입니다.
smoothShading : bool
이 속성은 높이 맵을 부드러운 음영 처리로 표시할지, 아니면 맵의 사각형들 사이에 날카로운 각도가 생기도록 표시할지 여부를 정의합니다.
기본값은 ` true`이며, 이는 부드러운 음영이 활성화되어 있음을 의미합니다.
source : url
이 속성은 높이 맵 이미지의 URL을 지정합니다.
© 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.