Class FaceDetails
Records the painted colors for a single face of one cube in a TesseraTile
Assembly: Tessera.dll
Syntax
[Serializable]
public class FaceDetails
Fields
bottom
Declaration
Field Value
bottomLeft
Declaration
Field Value
bottomRight
Declaration
Field Value
center
Declaration
Field Value
faceType
Declaration
Field Value
hexBottomRightAndRight
Declaration
public int hexBottomRightAndRight
Field Value
hexLeftAndBottomLeft
Declaration
public int hexLeftAndBottomLeft
Field Value
hexRightAndTopRight
Declaration
public int hexRightAndTopRight
Field Value
hexTopLeftAndLeft
Declaration
public int hexTopLeftAndLeft
Field Value
left
Declaration
Field Value
meshEdgeHash1
Declaration
[NonSerialized]
public int meshEdgeHash1
Field Value
meshEdgeHash2
Declaration
[NonSerialized]
public int meshEdgeHash2
Field Value
right
Declaration
Field Value
top
Declaration
Field Value
topLeft
Declaration
Field Value
topRight
Declaration
Field Value
Properties
this[SubFaceTuple]
Declaration
public int this[SubFaceTuple subFace] { get; set; }
Parameters
Property Value
hexBottomLeft
Declaration
public int hexBottomLeft { get; set; }
Property Value
hexBottomLeftAndBottomRight
Declaration
public int hexBottomLeftAndBottomRight { get; set; }
Property Value
hexBottomRight
Declaration
public int hexBottomRight { get; set; }
Property Value
hexCenter
Declaration
public int hexCenter { get; set; }
Property Value
hexLeft
Declaration
public int hexLeft { get; set; }
Property Value
hexRight
Declaration
public int hexRight { get; set; }
Property Value
hexTopLeft
Declaration
public int hexTopLeft { get; set; }
Property Value
hexTopRight
Declaration
public int hexTopRight { get; set; }
Property Value
hexTopRightAndTopLeft
Declaration
public int hexTopRightAndTopLeft { get; set; }
Property Value
Methods
IsEquivalent(FaceDetails)
Checks if two FaceDetails have the same values.
This is an exact match, with no reflection built in.
See TesseraPalette.Match for a fuzzier match.
Declaration
public bool IsEquivalent(FaceDetails other)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides