Wiki
Clone wikiRtsPlayMakerActions / Action / PaintTile
Paint Tile
Paint tile using a brush (or erase tile if no brush is specified).
Refer to Brushes section of user guide for further information regarding brushes.
This action replicates functionality of Brush.Paint.
Remarks
When painting multiple tiles in sequence you should consider using the Begin Bulk Edit and End Bulk Edit actions to improve performance.
Input Variables
- Tile System Component : Rotorz.Tile.TileSystem
- Tile system of which to edit.
- Brush (Optional) : Rotorz.Tile.Brush
- The brush; a value of
null
indicates that tile should be erased. - Row Index : int
- Zero-based row of tile to paint.
- Column Index : int
- Zero-based column of tile to paint.
- Variation Index : int
- Zero-based index of desired tile variation. Specify -1 for randomisation.
Updated