Struct SubFaceTuple
Each face of a tessera tile is split up into several sub faces that are independently paintable.
There's 9 for a square face - one center, 4 corners and 4 "dirs".
The corner / dir values come from Sylves.SquareCellType, and similarly for faces with another number of sides.
SubFaceTuple is used for address a specific subface.
It's an improvement on the earlier enum SubFace, which covers the same thing and has yet to be deprecated.
Assembly: Tessera.dll
Syntax
public struct SubFaceTuple
Constructors
SubFaceTuple(SubFaceType, int)
Declaration
public SubFaceTuple(SubFaceType type, int value)
Parameters
Fields
type
Declaration
Field Value
value
Declaration
Field Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Equals(SubFaceTuple)
Declaration
public bool Equals(SubFaceTuple other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Rotate(Connection)
Declaration
public SubFaceTuple Rotate(Connection connection)
Parameters
Type |
Name |
Description |
Connection |
connection |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(SubFaceTuple, SubFaceTuple)
Declaration
public static bool operator ==(SubFaceTuple a, SubFaceTuple b)
Parameters
Returns
operator !=(SubFaceTuple, SubFaceTuple)
Declaration
public static bool operator !=(SubFaceTuple a, SubFaceTuple b)
Parameters
Returns