Class SquareFaceExtensions
Inheritance
SquareFaceExtensions
Assembly: Tessera.dll
Syntax
public static class SquareFaceExtensions
Methods
Forward(SquareDir)
Declaration
public static Vector3Int Forward(this SquareDir dir)
Parameters
Type |
Name |
Description |
SquareDir |
dir |
|
Returns
Type |
Description |
Vector3Int |
The normal vector for a given face.
|
GetSide(SquareDir)
Declaration
public static int GetSide(this SquareDir dir)
Parameters
Type |
Name |
Description |
SquareDir |
dir |
|
Returns
Inverted(SquareDir)
Declaration
public static SquareDir Inverted(this SquareDir dir)
Parameters
Type |
Name |
Description |
SquareDir |
dir |
|
Returns
Type |
Description |
SquareDir |
Returns the face dir with the opposite normal vector.
|