C# Class VertexNavigation, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
显示文件 Open project: bi3mer/gmap377_leathGloves_inc Class Usage Examples

Public Properties

Property Type Description
flyingVerticeHeight float
showFlyingNodes bool
showGroundNodes bool
verticeHeight float

Private Properties

Property Type Description
addConnectingVerts void
connectVerts void
increaseArraySize void

Public Methods

Method 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

Method 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 method

Raises the draw gizmos event to draw the available nodes.
public OnDrawGizmos ( ) : void
return void

Start() public method

public Start ( ) : void
return void

buildTable() public method

Map 3d sphere to 2d coordinated system
public buildTable ( ) : void
return void

getMovesTriangle() public method

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

getMovesVertex() public method

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

getVertex() public method

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

killTable() public method

Kills the baked movement table.
public killTable ( ) : void
return void

modifyVerticeHeights() public method

public modifyVerticeHeights ( ) : void
return void

printMoves() public method

Print occurrences per number of moves in vertex
public printMoves ( ) : void
return void

setAverageVerticeLength() public method

public setAverageVerticeLength ( ) : void
return void

Property Details

flyingVerticeHeight public_oe property

public float flyingVerticeHeight
return float

showFlyingNodes public_oe property

public bool showFlyingNodes
return bool

showGroundNodes public_oe property

public bool showGroundNodes
return bool

verticeHeight public_oe property

public float verticeHeight
return float