HeightFieldGeometry QML Type

높이 필드 지오메트리입니다. 더 보기...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.4
Inherits:

Geometry

속성

상세 설명

이 헬퍼는 하이트 필드 지오메트리를 구현합니다. 그레이스케일 이미지로 구축된 표면을 정의합니다. 수평면의 지정된 지점에서 서페이스의 y 좌표는 이미지의 해당 지점에 있는 픽셀 값에 의해 결정됩니다. 이미지의 x축과 y축은 각각 지오메트리의 x축과 z축을 따라 이동합니다.

속성 문서

extents : vector3d

이 속성은 높이 필드의 범위, 즉 지오메트리를 항상 포함할 수 있을 만큼 큰 상자의 치수를 정의합니다. 기본값은 이미지가 정사각형일 때 (100, 100, 100)입니다.


smoothShading : bool

이 속성은 높이 맵이 부드러운 음영으로 표시될지, 아니면 맵의 사각형 사이에 딱딱한 각도로 표시될지를 정의합니다.

기본값은 true 이며, 이는 부드러운 음영이 켜져 있음을 의미합니다.


source : QUrl

이 속성은 높이 맵 이미지의 URL을 정의합니다.


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