Show / Hide Table of Contents

Class CubeRotation

Inheritance
System.Object
CubeRotation
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public sealed class CubeRotation : ValueType

Properties

Identity

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

IsReflection

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

ReflectX

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

ReflectY

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

ReflectZ

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

RotateXY

Declaration
public static CubeRotation RotateXY { get; }
Property Value
Type Description
CubeRotation

RotateXZ

Declaration
public static CubeRotation RotateXZ { get; }
Property Value
Type Description
CubeRotation

RotateYX

Declaration
public static CubeRotation RotateYX { get; }
Property Value
Type Description
CubeRotation

RotateYZ

Declaration
public static CubeRotation RotateYZ { get; }
Property Value
Type Description
CubeRotation

RotateZX

Declaration
public static CubeRotation RotateZX { get; }
Property Value
Type Description
CubeRotation

RotateZY

Declaration
public static CubeRotation RotateZY { get; }
Property Value
Type Description
CubeRotation

Methods

Equals(Object)

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

GetHashCode()

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

GetRotations(Boolean)

Declaration
public static IEnumerable<CubeRotation> GetRotations(bool includeReflections)
Parameters
Type Name Description
System.Boolean includeReflections
Returns
Type Description
System.Collections.Generic.IEnumerable<CubeRotation>

Invert()

Declaration
public CubeRotation Invert()
Returns
Type Description
CubeRotation

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Operators

Equality(CubeRotation, CubeRotation)

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

Implicit(CellRotation to CubeRotation)

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

Implicit(CubeRotation to CellRotation)

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

Inequality(CubeRotation, CubeRotation)

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

Multiply(CubeRotation, CubeBound)

Declaration
public static CubeBound operator *(CubeRotation rotation, CubeBound bound)
Parameters
Type Name Description
CubeRotation rotation
CubeBound bound
Returns
Type Description
CubeBound

Multiply(CubeRotation, CubeCorner)

Declaration
public static CubeCorner operator *(CubeRotation r, CubeCorner corner)
Parameters
Type Name Description
CubeRotation r
CubeCorner corner
Returns
Type Description
CubeCorner

Multiply(CubeRotation, CubeDir)

Declaration
public static CubeDir operator *(CubeRotation r, CubeDir dir)
Parameters
Type Name Description
CubeRotation r
CubeDir dir
Returns
Type Description
CubeDir

Multiply(CubeRotation, CubeRotation)

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

Multiply(CubeRotation, Vector3)

Declaration
public static Vector3 operator *(CubeRotation r, Vector3 v)
Parameters
Type Name Description
CubeRotation r
Vector3 v
Returns
Type Description
Vector3

Multiply(CubeRotation, Vector3Int)

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