Class GridBrush.BrushCell
Brush Cell stores the data to be painted in a grid cell.
Inherited Members
Namespace: UnityEditor.Tilemaps
Assembly: Unity.2D.Tilemap.Editor.dll
Syntax
[Serializable]
public class GridBrush.BrushCell
Properties
color
Color to tint the tile when painting.
Declaration
public Color color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
matrix
The transform matrix of the brush cell.
Declaration
public Matrix4x4 matrix { get; set; }
Property Value
| Type | Description |
|---|---|
| Matrix4x4 |
tile
Tile to be placed when painting.
Declaration
public TileBase tile { get; set; }
Property Value
| Type | Description |
|---|---|
| TileBase |
Methods
GetHashCode()
Returns a HashCode for the BrushCell based on its contents.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A HashCode for the BrushCell based on its contents. |