Struct ModelTile
Actual tiles used internally.
There's a many-to-one relationship between ModelTile and TesseraTile
due to rotations and "big" tile support.
Assembly: Tessera.dll
Syntax
Constructors
ModelTile(TesseraTileBase, CellRotation, Vector3Int)
Declaration
public ModelTile(TesseraTileBase tile, CellRotation rotation, Vector3Int offset)
Parameters
Type |
Name |
Description |
TesseraTileBase |
tile |
|
CellRotation |
rotation |
|
Vector3Int |
offset |
|
Properties
Offset
Declaration
public Vector3Int Offset { get; set; }
Property Value
Type |
Description |
Vector3Int |
|
Rotation
Declaration
public CellRotation Rotation { get; set; }
Property Value
Type |
Description |
CellRotation |
|
Tile
Declaration
public TesseraTileBase Tile { get; set; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Equals(ModelTile)
Declaration
public bool Equals(ModelTile other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides