C# Class Pathfinding.RichFunnel

Inheritance: RichPathPart
Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
exactEnd UnityEngine.Vector3
exactStart UnityEngine.Vector3
funnelSimplificationMode FunnelSimplification

Public Methods

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

Private Methods

Method Description
FindWalls ( int nodeIndex, List wallBuffer, Vector3 position, float range ) : void

Method Details

BuildFunnelCorridor() public method

public BuildFunnelCorridor ( List nodes, int start, int end ) : void
nodes List
start int
end int
return void

FindNextCorners() public method

public FindNextCorners ( Vector3 origin, int startIndex, List funnelPath, int numCorners, bool &lastCorner ) : bool
origin UnityEngine.Vector3
startIndex int
funnelPath List
numCorners int
lastCorner bool
return bool

FindWalls() public method

public FindWalls ( List wallBuffer, float range ) : void
wallBuffer List
range float
return void

Initialize() public method

public Initialize ( RichPath path, IFunnelGraph graph ) : RichFunnel
path RichPath
graph IFunnelGraph
return RichFunnel

OnEnterPool() public method

public OnEnterPool ( ) : void
return void

RichFunnel() public method

public RichFunnel ( ) : UnityEngine
return UnityEngine

SimplifyPath() public method

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
return void

SimplifyPath2() public static method

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
return void

SimplifyPath3() public static method

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
return void

Update() public method

public Update ( Vector3 position, List buffer, int numCorners, bool &lastCorner, bool &requiresRepath ) : Vector3
position UnityEngine.Vector3
buffer List
numCorners int
lastCorner bool
requiresRepath bool
return UnityEngine.Vector3

UpdateFunnelCorridor() public method

public UpdateFunnelCorridor ( int splitIndex, TriangleMeshNode prefix ) : void
splitIndex int
prefix TriangleMeshNode
return void

Property Details

exactEnd public_oe property

public Vector3,UnityEngine exactEnd
return UnityEngine.Vector3

exactStart public_oe property

public Vector3,UnityEngine exactStart
return UnityEngine.Vector3

funnelSimplificationMode public_oe property

public FunnelSimplification funnelSimplificationMode
return FunnelSimplification