Class MirrorConstraint
Ensures that the generation is symmetric when x-axis mirrored.
If there are any tile constraints, they will not be mirrored.
Note
This class is available only in Tessera Pro
Inheritance
MirrorConstraint
Assembly: cs.temp.dll.dll
Syntax
public class MirrorConstraint : TesseraConstraint
Fields
axis
Declaration
public MirrorConstraint.Axis axis
Field Value
hasSymmetricTiles
Declaration
public bool hasSymmetricTiles
Field Value
symmetricTilesX
If hasSymmetricTiles, this set specifies tiles that look the same before and after x-reflection.
If hasSymmetricTiles is not set, this list is automatically inferred by inspecting the tile's paint.
Declaration
public List<TesseraTile> symmetricTilesX
Field Value
symmetricTilesY
If hasSymmetricTiles, this set specifies tiles that look the same before and after y-reflection.
If hasSymmetricTiles is not set, this list is automatically inferred by inspecting the tile's paint.
Declaration
public List<TesseraTile> symmetricTilesY
Field Value
symmetricTilesZ
If hasSymmetricTiles, this set specifies tiles that look the same before and after z-reflection.
If hasSymmetricTiles is not set, this list is automatically inferred by inspecting the tile's paint.
Declaration
public List<TesseraTile> symmetricTilesZ
Field Value
Methods
ReflectedEquals(FaceDetails, FaceDetails)
Declaration
public static bool ReflectedEquals(FaceDetails a, FaceDetails b)
Parameters
Returns
SetSymmetricTiles()
Declaration
public void SetSymmetricTiles()