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
| Name | Type | Description |
|---|---|---|
mapData[get, set]
|
PoolArray!(float) | Height map data, pool array must be of mapWidth * mapDepth size.
|
mapDepth[get, set]
|
long | Depth of the height map data. Changing this will resize the mapData.
|
mapWidth[get, set]
|
long | Width of the height map data. Changing this will resize the mapData.
|
Methods
| Name | Description |
|---|---|
getMapData
|
|
getMapDepth
|
|
getMapWidth
|
|
setMapData
|
|
setMapDepth
|
|
setMapWidth
|