C# Класс VertexNavigation, gmap377_leathGloves_inc

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
flyingVerticeHeight float
showFlyingNodes bool
showGroundNodes bool
verticeHeight float

Private Properties

Свойство Тип Описание
addConnectingVerts void
connectVerts void
increaseArraySize void

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

OnDrawGizmos() публичный Метод

Raises the draw gizmos event to draw the available nodes.
public OnDrawGizmos ( ) : void
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

buildTable() публичный Метод

Map 3d sphere to 2d coordinated system
public buildTable ( ) : void
Результат void

getMovesTriangle() публичный Метод

Gets the moves from a triangle index.
public getMovesTriangle ( int triangleIndex, int &output ) : void
triangleIndex int Triangle index.
output int
Результат void

getMovesVertex() публичный Метод

Gets the moves for a given vertex index.
public getMovesVertex ( int vertexIndex ) : List
vertexIndex int Vertex index.
Результат List

getVertex() публичный Метод

get a vertex from the index of an vertex
public getVertex ( int vertexIndex ) : Vertice,
vertexIndex int Vertex index.
Результат Vertice,

killTable() публичный Метод

Kills the baked movement table.
public killTable ( ) : void
Результат void

modifyVerticeHeights() публичный Метод

public modifyVerticeHeights ( ) : void
Результат void

printMoves() публичный Метод

Print occurrences per number of moves in vertex
public printMoves ( ) : void
Результат void

setAverageVerticeLength() публичный Метод

public setAverageVerticeLength ( ) : void
Результат void

Описание свойств

flyingVerticeHeight публичное свойство

public float flyingVerticeHeight
Результат float

showFlyingNodes публичное свойство

public bool showFlyingNodes
Результат bool

showGroundNodes публичное свойство

public bool showGroundNodes
Результат bool

verticeHeight публичное свойство

public float verticeHeight
Результат float