HeightFieldShape QML Type

Height field shape. More...

Import Statement: import QtQuick3DPhysics
Since: Qt 6.4
Inherits:

CollisionShape

Properties

Detailed Description

This is the height-field shape.

Property Documentation

extents : vector3d

This property defines the extents of the height field. The default value is (100, 100, 100) when the heightMap is square. When the heightMap is non-square, the default value is reduced along the x- or z-axis so the height field will keep the aspect ratio of the image.


heightMap : url

This property defines the location of the heightMap file.


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