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