C# Класс Pathfinding.RichFunnel

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

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

Свойство Тип Описание
exactEnd UnityEngine.Vector3
exactStart UnityEngine.Vector3
funnelSimplificationMode FunnelSimplification

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

Метод Описание
BuildFunnelCorridor ( List nodes, int start, int end ) : void
FindNextCorners ( Vector3 origin, int startIndex, List funnelPath, int numCorners, bool &lastCorner ) : bool
FindWalls ( List wallBuffer, float range ) : void
Initialize ( RichPath path, IFunnelGraph graph ) : RichFunnel
OnEnterPool ( ) : void
RichFunnel ( ) : UnityEngine
SimplifyPath ( IRaycastableGraph graph, List nodes, int start, int end, List result, Vector3 startPoint, Vector3 endPoint ) : void
SimplifyPath2 ( IRaycastableGraph rcg, List nodes, int start, int end, List result, Vector3 startPoint, Vector3 endPoint ) : void
SimplifyPath3 ( IRaycastableGraph rcg, List nodes, int start, int end, List result, Vector3 startPoint, Vector3 endPoint, int depth ) : void
Update ( Vector3 position, List buffer, int numCorners, bool &lastCorner, bool &requiresRepath ) : Vector3
UpdateFunnelCorridor ( int splitIndex, TriangleMeshNode prefix ) : void

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

Метод Описание
FindWalls ( int nodeIndex, List wallBuffer, Vector3 position, float range ) : void

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

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

public BuildFunnelCorridor ( List nodes, int start, int end ) : void
nodes List
start int
end int
Результат void

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

public FindNextCorners ( Vector3 origin, int startIndex, List funnelPath, int numCorners, bool &lastCorner ) : bool
origin UnityEngine.Vector3
startIndex int
funnelPath List
numCorners int
lastCorner bool
Результат bool

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

public FindWalls ( List wallBuffer, float range ) : void
wallBuffer List
range float
Результат void

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

public Initialize ( RichPath path, IFunnelGraph graph ) : RichFunnel
path RichPath
graph IFunnelGraph
Результат RichFunnel

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

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

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

public RichFunnel ( ) : UnityEngine
Результат UnityEngine

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

public SimplifyPath ( IRaycastableGraph graph, List nodes, int start, int end, List result, Vector3 startPoint, Vector3 endPoint ) : void
graph IRaycastableGraph
nodes List
start int
end int
result List
startPoint UnityEngine.Vector3
endPoint UnityEngine.Vector3
Результат void

SimplifyPath2() публичный статический Метод

public static SimplifyPath2 ( IRaycastableGraph rcg, List nodes, int start, int end, List result, Vector3 startPoint, Vector3 endPoint ) : void
rcg IRaycastableGraph
nodes List
start int
end int
result List
startPoint UnityEngine.Vector3
endPoint UnityEngine.Vector3
Результат void

SimplifyPath3() публичный статический Метод

public static SimplifyPath3 ( IRaycastableGraph rcg, List nodes, int start, int end, List result, Vector3 startPoint, Vector3 endPoint, int depth ) : void
rcg IRaycastableGraph
nodes List
start int
end int
result List
startPoint UnityEngine.Vector3
endPoint UnityEngine.Vector3
depth int
Результат void

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

public Update ( Vector3 position, List buffer, int numCorners, bool &lastCorner, bool &requiresRepath ) : Vector3
position UnityEngine.Vector3
buffer List
numCorners int
lastCorner bool
requiresRepath bool
Результат UnityEngine.Vector3

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

public UpdateFunnelCorridor ( int splitIndex, TriangleMeshNode prefix ) : void
splitIndex int
prefix TriangleMeshNode
Результат void

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

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

public Vector3,UnityEngine exactEnd
Результат UnityEngine.Vector3

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

public Vector3,UnityEngine exactStart
Результат UnityEngine.Vector3

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

public FunnelSimplification funnelSimplificationMode
Результат FunnelSimplification