A function defined in BBMOD_Terrain.gml
from_heightmap(_sprite[, _subimage])
Initializes terrain height from a sprite.
Name | Type | Description |
---|---|---|
_sprite | Asset.GMSprite |
The heightmap sprite. |
_subimage | Real |
The subimage to use for the heightmap. Defaults to 0. |
Struct.BBMOD_Terrain
Returns self
.
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.