Class HexDirExtensions
Inheritance
System.Object
HexDirExtensions
Assembly: Sylves.dll
Syntax
public static class HexDirExtensions : Object
Methods
Forward(FTHexDir)
Declaration
public static Vector3 Forward(this FTHexDir dir)
Parameters
Returns
Type |
Description |
Vector3 |
The normal vector for a given face.
|
Forward(PTHexDir)
Declaration
public static Vector3 Forward(this PTHexDir dir)
Parameters
Returns
Type |
Description |
Vector3 |
The normal vector for a given face.
|
GetPosition(FTHexCorner)
Declaration
public static Vector3 GetPosition(this FTHexCorner corner)
Parameters
Returns
Type |
Description |
Vector3 |
The position of a corner in a unit hexcentered on the origin.
|
GetPosition(PTHexCorner)
Declaration
public static Vector3 GetPosition(this PTHexCorner corner)
Parameters
Returns
Type |
Description |
Vector3 |
The position of a corner in a unit hexcentered on the origin.
|
Inverted(FTHexDir)
Declaration
public static FTHexDir Inverted(this FTHexDir dir)
Parameters
Returns
Type |
Description |
FTHexDir |
Returns the face dir with the opposite normal vector.
|
Inverted(PTHexDir)
Declaration
public static PTHexDir Inverted(this PTHexDir dir)
Parameters
Returns
Type |
Description |
PTHexDir |
Returns the face dir with the opposite normal vector.
|