Struct HeightMapShape

Height map shape for 3D physics (Bullet only).

struct HeightMapShape ;

Height map shape resource, which can be added to a PhysicsBody or Area.

Properties

NameTypeDescription
mapData[get, set] PoolArray!(float)Height map data, pool array must be of mapWidth * mapDepth size.
mapDepth[get, set] longDepth of the height map data. Changing this will resize the mapData.
mapWidth[get, set] longWidth of the height map data. Changing this will resize the mapData.

Methods

NameDescription
getMapData
getMapDepth
getMapWidth
setMapData
setMapDepth
setMapWidth