BBMOD_Terrain.from_heightmap

A function defined in BBMOD_Terrain.gml

from_heightmap(_sprite[, _subimage])

Description

Initializes terrain height from a sprite.

Arguments

Name Type Description
_sprite Asset.GMSprite The heightmap sprite.
_subimage Real The subimage to use for the heightmap. Defaults to 0.

Returns

Struct.BBMOD_Terrain Returns self.

Do you find this page helpful?

Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.