Tidy Tile Mapper‎ > ‎Runtime API‎ > ‎BlockMap‎ > ‎


Returns the Material assigned to the named Background.

Here is the use-case in which I employ this (as the definition below seems a bit odd):

Upon loading a BlockMap into the Block Editor window, I iterate through the Material list assigned to the BlockMap's Backgrounds, and am thus able to populate the Material swatch window - from which you paint your Backgrounds.


Material GetBackgroundMaterial(string name)

Return value Description
Material The material correlated to this named Background.

Argument DataType Description
name string The name of the background (named after its Material) from which you wish to fetch the Material.