Struct CubeRotation
Assembly: Sylves.dll
Syntax
public struct CubeRotation
Properties
Identity
Declaration
public static CubeRotation Identity { get; }
Property Value
IsReflection
Declaration
public bool IsReflection { get; }
Property Value
ReflectX
Declaration
public static CubeRotation ReflectX { get; }
Property Value
ReflectY
Declaration
public static CubeRotation ReflectY { get; }
Property Value
ReflectZ
Declaration
public static CubeRotation ReflectZ { get; }
Property Value
RotateXY
Declaration
public static CubeRotation RotateXY { get; }
Property Value
RotateXZ
Declaration
public static CubeRotation RotateXZ { get; }
Property Value
RotateYX
Declaration
public static CubeRotation RotateYX { get; }
Property Value
RotateYZ
Declaration
public static CubeRotation RotateYZ { get; }
Property Value
RotateZX
Declaration
public static CubeRotation RotateZX { get; }
Property Value
RotateZY
Declaration
public static CubeRotation RotateZY { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetRotations(bool)
Declaration
public static IEnumerable<CubeRotation> GetRotations(bool includeReflections)
Parameters
| Type |
Name |
Description |
| bool |
includeReflections |
|
Returns
Invert()
Declaration
public CubeRotation Invert()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(CubeRotation, CubeRotation)
Declaration
public static bool operator ==(CubeRotation a, CubeRotation b)
Parameters
Returns
implicit operator CubeRotation(CellRotation)
Declaration
public static implicit operator CubeRotation(CellRotation r)
Parameters
Returns
implicit operator CellRotation(CubeRotation)
Declaration
public static implicit operator CellRotation(CubeRotation r)
Parameters
Returns
operator !=(CubeRotation, CubeRotation)
Declaration
public static bool operator !=(CubeRotation a, CubeRotation b)
Parameters
Returns
operator *(CubeRotation, CubeBound)
Declaration
public static CubeBound operator *(CubeRotation rotation, CubeBound bound)
Parameters
Returns
operator *(CubeRotation, CubeCorner)
Declaration
public static CubeCorner operator *(CubeRotation r, CubeCorner corner)
Parameters
Returns
operator *(CubeRotation, CubeDir)
Declaration
public static CubeDir operator *(CubeRotation r, CubeDir dir)
Parameters
Returns
operator *(CubeRotation, CubeRotation)
Declaration
public static CubeRotation operator *(CubeRotation a, CubeRotation b)
Parameters
Returns
operator *(CubeRotation, Vector3)
Declaration
public static Vector3 operator *(CubeRotation r, Vector3 v)
Parameters
Returns
operator *(CubeRotation, Vector3Int)
Declaration
public static Vector3Int operator *(CubeRotation r, Vector3Int v)
Parameters
Returns