Terrain Engine 2D  1.10
A 2D Block Engine
TerrainEngine2D.GridSelectorImageSetter Class Reference

Sets the image of the GridSelector More...

Inheritance diagram for TerrainEngine2D.GridSelectorImageSetter:

Public Member Functions

void SetImageToDefault ()
 Sets the Grid Selector to its default image More...
 
void SetImageToBlock (BlockInfo blockInfo, Material material, byte blockType, byte layer, float zLayerOrder)
 Set the Grid Selector's image to the current selected block More...
 

Detailed Description

Sets the image of the GridSelector

Member Function Documentation

◆ SetImageToBlock()

void TerrainEngine2D.GridSelectorImageSetter.SetImageToBlock ( BlockInfo  blockInfo,
Material  material,
byte  blockType,
byte  layer,
float  zLayerOrder 
)

Set the Grid Selector's image to the current selected block

Parameters
blockInfoThe information of the current selected block
materialThe material of the current layer
blockTypeThe type of block
layerThe layer of the block
zLayerOrderThe z order of the layer

◆ SetImageToDefault()

void TerrainEngine2D.GridSelectorImageSetter.SetImageToDefault ( )

Sets the Grid Selector to its default image


The documentation for this class was generated from the following file: