Show / Hide Table of Contents

Class HexDirExtensions

Inheritance
System.Object
HexDirExtensions
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public static class HexDirExtensions : Object

Methods

Forward(FTHexDir)

Declaration
public static Vector3 Forward(this FTHexDir dir)
Parameters
Type Name Description
FTHexDir dir
Returns
Type Description
Vector3

The normal vector for a given face.

Forward(PTHexDir)

Declaration
public static Vector3 Forward(this PTHexDir dir)
Parameters
Type Name Description
PTHexDir dir
Returns
Type Description
Vector3

The normal vector for a given face.

GetPosition(FTHexCorner)

Declaration
public static Vector3 GetPosition(this FTHexCorner corner)
Parameters
Type Name Description
FTHexCorner corner
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
Type Name Description
PTHexCorner corner
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
Type Name Description
FTHexDir dir
Returns
Type Description
FTHexDir

Returns the face dir with the opposite normal vector.

Inverted(PTHexDir)

Declaration
public static PTHexDir Inverted(this PTHexDir dir)
Parameters
Type Name Description
PTHexDir dir
Returns
Type Description
PTHexDir

Returns the face dir with the opposite normal vector.

In This Article
Back to top Generated by DocFX