Class FaceDetails
Records the painted colors for a single face of one cube in a TesseraTile
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class FaceDetails : IEnumerable<(Vector2Int, int)>, IEnumerable
Fields
bottom
Declaration
Field Value
bottomLeft
Declaration
Field Value
bottomRight
Declaration
Field Value
center
Declaration
Field Value
left
Declaration
Field Value
right
Declaration
Field Value
top
Declaration
Field Value
topLeft
Declaration
Field Value
topRight
Declaration
Field Value
Properties
Item[Vector2Int]
Declaration
public int this[Vector2Int p] { get; set; }
Parameters
Type |
Name |
Description |
Vector2Int |
p |
|
Property Value
Methods
GetEnumerator()
Declaration
public IEnumerator<(Vector2Int, int)> GetEnumerator()
Returns
RotateBy(Rotation)
Declaration
public FaceDetails RotateBy(Rotation r)
Parameters
Type |
Name |
Description |
Rotation |
r |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements