C# Class Pathfinding.RVO.RVOQuadtree

Show file Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
DebugDraw ( ) : void
GetNodeIndex ( ) : int
Insert ( Agent agent ) : void
Query ( Vector2 p, float radius, Agent agent ) : void
SetBounds ( Rect r ) : void

Private Methods

Method Description
DebugDrawRec ( int i, Rect r ) : void
QueryRec ( int i, Vector2 p, float radius, Agent agent, Rect r ) : float

Method Details

Clear() public method

public Clear ( ) : void
return void

DebugDraw() public method

public DebugDraw ( ) : void
return void

GetNodeIndex() public method

public GetNodeIndex ( ) : int
return int

Insert() public method

public Insert ( Agent agent ) : void
agent Agent
return void

Query() public method

public Query ( Vector2 p, float radius, Agent agent ) : void
p UnityEngine.Vector2
radius float
agent Agent
return void

SetBounds() public method

public SetBounds ( Rect r ) : void
r UnityEngine.Rect
return void