Class SylvesConversions
Utilities for converting legacy Tessera enumerations to Sylves equivalents
Inheritance
SylvesConversions
Assembly: Tessera.dll
Syntax
public static class SylvesConversions
Methods
CubeOffset(Vector3Int)
Declaration
public static Vector3Int CubeOffset(Vector3Int o)
Parameters
Type |
Name |
Description |
Vector3Int |
o |
|
Returns
Type |
Description |
Vector3Int |
|
CubeOrientedFace(OrientedFace)
Declaration
public static SylvesOrientedFace CubeOrientedFace(OrientedFace x)
Parameters
Returns
HexOffset(Vector3Int)
Declaration
public static Vector3Int HexOffset(Vector3Int o)
Parameters
Type |
Name |
Description |
Vector3Int |
o |
|
Returns
Type |
Description |
Vector3Int |
|
HexOrientedFace(OrientedFace)
Declaration
public static SylvesOrientedFace HexOrientedFace(OrientedFace x)
Parameters
Returns
SquareOffset(Vector3Int)
Declaration
public static Vector3Int SquareOffset(Vector3Int o)
Parameters
Type |
Name |
Description |
Vector3Int |
o |
|
Returns
Type |
Description |
Vector3Int |
|
SquareOrientedFace(OrientedFace)
Declaration
public static SylvesOrientedFace SquareOrientedFace(OrientedFace x)
Parameters
Returns
TriangleOffset(Vector3Int)
Declaration
public static Vector3Int TriangleOffset(Vector3Int o)
Parameters
Type |
Name |
Description |
Vector3Int |
o |
|
Returns
Type |
Description |
Vector3Int |
|
TrianglePrismOrientedFace(OrientedFace)
Declaration
public static SylvesOrientedFace TrianglePrismOrientedFace(OrientedFace x)
Parameters
Returns
UndoCubeOffset(Vector3Int)
Declaration
public static Vector3Int UndoCubeOffset(Vector3Int o)
Parameters
Type |
Name |
Description |
Vector3Int |
o |
|
Returns
Type |
Description |
Vector3Int |
|
UndoCubeOrientedFace(SylvesOrientedFace)
Declaration
public static OrientedFace UndoCubeOrientedFace(SylvesOrientedFace x)
Parameters
Returns
UndoHexOffset(Vector3Int)
Declaration
public static Vector3Int UndoHexOffset(Vector3Int o)
Parameters
Type |
Name |
Description |
Vector3Int |
o |
|
Returns
Type |
Description |
Vector3Int |
|
UndoHexOrientedFace(SylvesOrientedFace)
Declaration
public static OrientedFace UndoHexOrientedFace(SylvesOrientedFace x)
Parameters
Returns
UndoSquareOffset(Vector3Int)
Declaration
public static Vector3Int UndoSquareOffset(Vector3Int o)
Parameters
Type |
Name |
Description |
Vector3Int |
o |
|
Returns
Type |
Description |
Vector3Int |
|
UndoSquareOrientedFace(SylvesOrientedFace)
Declaration
public static OrientedFace UndoSquareOrientedFace(SylvesOrientedFace x)
Parameters
Returns
UndoTriangleOffset(Vector3Int)
Declaration
public static Vector3Int UndoTriangleOffset(Vector3Int o)
Parameters
Type |
Name |
Description |
Vector3Int |
o |
|
Returns
Type |
Description |
Vector3Int |
|
UndoTrianglePrismOrientedFace(SylvesOrientedFace)
Declaration
public static OrientedFace UndoTrianglePrismOrientedFace(SylvesOrientedFace x)
Parameters
Returns