Class CubeRotation
Inheritance
System.Object
CubeRotation
Assembly: Sylves.dll
Syntax
public sealed class CubeRotation : ValueType
Properties
Identity
Declaration
public static CubeRotation Identity { get; }
Property Value
IsReflection
Declaration
public bool IsReflection { get; }
Property Value
Type |
Description |
System.Boolean |
|
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 |
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
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
Returns
Type |
Description |
System.Boolean |
|
Implicit(CellRotation to CubeRotation)
Declaration
public static implicit operator CubeRotation(CellRotation r)
Parameters
Returns
Implicit(CubeRotation to CellRotation)
Declaration
public static implicit operator CellRotation(CubeRotation r)
Parameters
Returns
Inequality(CubeRotation, CubeRotation)
Declaration
public static bool operator !=(CubeRotation a, CubeRotation b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Multiply(CubeRotation, CubeBound)
Declaration
public static CubeBound operator *(CubeRotation rotation, CubeBound bound)
Parameters
Returns
Multiply(CubeRotation, CubeCorner)
Declaration
public static CubeCorner operator *(CubeRotation r, CubeCorner corner)
Parameters
Returns
Multiply(CubeRotation, CubeDir)
Declaration
public static CubeDir operator *(CubeRotation r, CubeDir dir)
Parameters
Returns
Multiply(CubeRotation, CubeRotation)
Declaration
public static CubeRotation operator *(CubeRotation a, CubeRotation b)
Parameters
Returns
Multiply(CubeRotation, Vector3)
Declaration
public static Vector3 operator *(CubeRotation r, Vector3 v)
Parameters
Returns
Multiply(CubeRotation, Vector3Int)
Declaration
public static Vector3Int operator *(CubeRotation r, Vector3Int v)
Parameters
Returns