Show / Hide Table of Contents

Struct SquareRotation

Represents rotations / reflections of a square

Inherited Members
ValueType.ToString()
Namespace: Tessera
Assembly: cs.temp.dll.dll
Syntax
public struct SquareRotation

Properties

All

Declaration
public static SquareRotation[] All { get; }
Property Value
Type Description
SquareRotation[]

Identity

Declaration
public static SquareRotation Identity { get; }
Property Value
Type Description
SquareRotation

IsReflection

Declaration
public bool IsReflection { get; }
Property Value
Type Description
Boolean

ReflectX

Declaration
public static SquareRotation ReflectX { get; }
Property Value
Type Description
SquareRotation

ReflectY

Declaration
public static SquareRotation ReflectY { get; }
Property Value
Type Description
SquareRotation

RotateCCW

Declaration
public static SquareRotation RotateCCW { get; }
Property Value
Type Description
SquareRotation

Rotation

Declaration
public int Rotation { get; }
Property Value
Type Description
Int32

Methods

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
ValueType.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ValueType.GetHashCode()

Invert()

Declaration
public SquareRotation Invert()
Returns
Type Description
SquareRotation

Rotate90(Int32)

Declaration
public static SquareRotation Rotate90(int i)
Parameters
Type Name Description
Int32 i
Returns
Type Description
SquareRotation

Operators

Equality(SquareRotation, SquareRotation)

Declaration
public static bool operator ==(SquareRotation a, SquareRotation b)
Parameters
Type Name Description
SquareRotation a
SquareRotation b
Returns
Type Description
Boolean

Implicit(CellRotation to SquareRotation)

Declaration
public static implicit operator SquareRotation(CellRotation r)
Parameters
Type Name Description
CellRotation r
Returns
Type Description
SquareRotation

Implicit(SquareRotation to CellRotation)

Declaration
public static implicit operator CellRotation(SquareRotation r)
Parameters
Type Name Description
SquareRotation r
Returns
Type Description
CellRotation

Inequality(SquareRotation, SquareRotation)

Declaration
public static bool operator !=(SquareRotation a, SquareRotation b)
Parameters
Type Name Description
SquareRotation a
SquareRotation b
Returns
Type Description
Boolean

Multiply(SquareRotation, BoundsInt)

Declaration
public static BoundsInt operator *(SquareRotation r, BoundsInt bounds)
Parameters
Type Name Description
SquareRotation r
BoundsInt bounds
Returns
Type Description
BoundsInt

Multiply(SquareRotation, Int32)

Declaration
public static int operator *(SquareRotation a, int side)
Parameters
Type Name Description
SquareRotation a
Int32 side
Returns
Type Description
Int32

Multiply(SquareRotation, SquareFaceDir)

Declaration
public static SquareFaceDir operator *(SquareRotation rotation, SquareFaceDir faceDir)
Parameters
Type Name Description
SquareRotation rotation
SquareFaceDir faceDir
Returns
Type Description
SquareFaceDir

Multiply(SquareRotation, SquareRotation)

Declaration
public static SquareRotation operator *(SquareRotation a, SquareRotation b)
Parameters
Type Name Description
SquareRotation a
SquareRotation b
Returns
Type Description
SquareRotation

Multiply(SquareRotation, Vector3Int)

Declaration
public static Vector3Int operator *(SquareRotation r, Vector3Int v)
Parameters
Type Name Description
SquareRotation r
Vector3Int v
Returns
Type Description
Vector3Int
Back to top Generated by DocFX