Class TrianglePrismCellDirExtensions
Inheritance
System.Object
TrianglePrismCellDirExtensions
Assembly: Sylves.dll
Syntax
public static class TrianglePrismCellDirExtensions : Object
Methods
Forward(FSTrianglePrismDir)
Declaration
public static Vector3 Forward(this FSTrianglePrismDir dir)
Parameters
Returns
Type |
Description |
Vector3 |
The normal vector for a given face.
|
Inverted(FSTrianglePrismDir)
Declaration
public static FSTrianglePrismDir Inverted(this FSTrianglePrismDir dir)
Parameters
Returns
IsAxial(FSTrianglePrismDir)
Declaration
public static bool IsAxial(this FSTrianglePrismDir dir)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Up(FSTrianglePrismDir)
Declaration
public static Vector3Int Up(this FSTrianglePrismDir dir)
Parameters
Returns
Type |
Description |
Vector3Int |
Returns (0, 0, 1) vector for most faces, and returns (0, 1, 0) for the top/bottom faces.
|