Search Results for

    Show / Hide Table of Contents

    Struct HexRotation

    Represents rotations / reflections of a hexagon

    Note

    This class is available only in Tessera Pro

    Inherited Members
    ValueType.ToString()
    Namespace: Tessera
    Assembly: Tessera.dll
    Syntax
    public struct HexRotation

    Properties

    All

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

    Identity

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

    IsReflection

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

    ReflectForwardLeft

    Declaration
    public static HexRotation ReflectForwardLeft { get; }
    Property Value
    Type Description
    HexRotation

    ReflectForwardRight

    Declaration
    public static HexRotation ReflectForwardRight { get; }
    Property Value
    Type Description
    HexRotation

    ReflectX

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

    ReflectZ

    Declaration
    public static HexRotation ReflectZ { get; }
    Property Value
    Type Description
    HexRotation

    RotateCCW

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

    Rotation

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

    Methods

    Equals(object)

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

    GetHashCode()

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

    Invert()

    Declaration
    public HexRotation Invert()
    Returns
    Type Description
    HexRotation

    Rotate60(int)

    Declaration
    public static HexRotation Rotate60(int i)
    Parameters
    Type Name Description
    int i
    Returns
    Type Description
    HexRotation

    Operators

    operator ==(HexRotation, HexRotation)

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

    implicit operator HexRotation(CellRotation)

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

    implicit operator CellRotation(HexRotation)

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

    operator !=(HexRotation, HexRotation)

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

    operator *(HexRotation, int)

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

    operator *(HexRotation, HexPrismFaceDir)

    Declaration
    public static HexPrismFaceDir operator *(HexRotation rotation, HexPrismFaceDir faceDir)
    Parameters
    Type Name Description
    HexRotation rotation
    HexPrismFaceDir faceDir
    Returns
    Type Description
    HexPrismFaceDir

    operator *(HexRotation, HexRotation)

    Declaration
    public static HexRotation operator *(HexRotation a, HexRotation b)
    Parameters
    Type Name Description
    HexRotation a
    HexRotation b
    Returns
    Type Description
    HexRotation
    In this article
    Back to top Generated by DocFX