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.