HeightFieldShape QML Type▲
-
Import Statement: import QtQuick3DPhysics
-
Since: Qt 6.4
-
Inherits: CollisionShape
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.