C# Class VertexNavigation, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
Afficher le fichier Open project: bi3mer/gmap377_leathGloves_inc Class Usage Examples

Méthodes publiques

Свойство Type Description
flyingVerticeHeight float
showFlyingNodes bool
showGroundNodes bool
verticeHeight float

Private Properties

Свойство Type Description
addConnectingVerts void
connectVerts void
increaseArraySize void

Méthodes publiques

Méthode Description
OnDrawGizmos ( ) : void

Raises the draw gizmos event to draw the available nodes.

Start ( ) : void
buildTable ( ) : void

Map 3d sphere to 2d coordinated system

getMovesTriangle ( int triangleIndex, int &output ) : void

Gets the moves from a triangle index.

getMovesVertex ( int vertexIndex ) : List

Gets the moves for a given vertex index.

getVertex ( int vertexIndex ) : Vertice,

get a vertex from the index of an vertex

killTable ( ) : void

Kills the baked movement table.

modifyVerticeHeights ( ) : void
printMoves ( ) : void

Print occurrences per number of moves in vertex

setAverageVerticeLength ( ) : void

Private Methods

Méthode Description
addConnectingVerts ( int triangleIndex, int vertexIndex, int &output ) : void
connectVerts ( int>.Dictionary knownPositions, int verts ) : void
increaseArraySize ( int indices ) : void

Increases the size of the plans array.

Method Details

OnDrawGizmos() public méthode

Raises the draw gizmos event to draw the available nodes.
public OnDrawGizmos ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

buildTable() public méthode

Map 3d sphere to 2d coordinated system
public buildTable ( ) : void
Résultat void

getMovesTriangle() public méthode

Gets the moves from a triangle index.
public getMovesTriangle ( int triangleIndex, int &output ) : void
triangleIndex int Triangle index.
output int
Résultat void

getMovesVertex() public méthode

Gets the moves for a given vertex index.
public getMovesVertex ( int vertexIndex ) : List
vertexIndex int Vertex index.
Résultat List

getVertex() public méthode

get a vertex from the index of an vertex
public getVertex ( int vertexIndex ) : Vertice,
vertexIndex int Vertex index.
Résultat Vertice,

killTable() public méthode

Kills the baked movement table.
public killTable ( ) : void
Résultat void

modifyVerticeHeights() public méthode

public modifyVerticeHeights ( ) : void
Résultat void

printMoves() public méthode

Print occurrences per number of moves in vertex
public printMoves ( ) : void
Résultat void

setAverageVerticeLength() public méthode

public setAverageVerticeLength ( ) : void
Résultat void

Property Details

flyingVerticeHeight public_oe property

public float flyingVerticeHeight
Résultat float

showFlyingNodes public_oe property

public bool showFlyingNodes
Résultat bool

showGroundNodes public_oe property

public bool showGroundNodes
Résultat bool

verticeHeight public_oe property

public float verticeHeight
Résultat float