Fandom

CraftStudio Wiki

Scripting Reference/MapRenderer

< Scripting Reference

56pages on
this wiki
Add New Page
Comments0 Share

MapRenderer:GetMap, MapRenderer:SetMapEdit

[Map] MapRenderer:GetMap()
MapRenderer:SetMap( [Map] map, [boolean] replace tile set=true )

Gets or sets the map to display. You can find a map to display with CraftStudio.FindAsset.

MapRenderer:GetTileSet, MapRenderer:SetTileSetEdit

[TileSet] MapRenderer:GetTileSet()
MapRenderer:SetTileSet( [TileSet] tile set )

Gets or sets the tile set to use for map rendering. You can find a tile set to display with CraftStudio.FindAsset .

MapRenderer:GetOpacity, MapRenderer:SetOpacityEdit

[number] MapRenderer:GetOpacity()
MapRenderer:SetOpacity( [number] opacity )

Gets or sets the map renderer's opacity (between 0.0 and 1.0)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.