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

GetBackgroundMesh

Retrieves the mesh that has been constructed for the desired Background.

This is sometimes handy, as you may wish to create a prefab from this Mesh (to ship out in an Asset Bundle) or such.

Definition:

Mesh GetBackgroundMesh(string name)

Return value Description
Mesh The Background mesh that has been constructed for this Background.

Argument DataType Description
name string The name of the Background to retrieve (named after the material from which it was constructed).

Comments