HeightFieldGeometry QML Type

高さフィールドのジオメトリ。詳細...

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

Geometry

プロパティ

詳細説明

このヘルパーは高さフィールドのジオメトリを実装する。グレースケール画像からサーフェスを定義する。水平面の任意の点におけるサーフェスのy座標は、画像の対応する点のピクセル値によって決まります。画像のx軸とy軸は、それぞれジオメトリのx軸とz軸に沿う。

プロパティの説明

extents : vector3d

このプロパティは、height-field の範囲、つまりジオメトリを常に含むのに十分な大きさのボックスの寸法を定義します。画像が正方形の場合、デフォルト値は (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.