C# Class Pathfinding.RVO.Simulator

Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Methods

Method Description
AddAgent ( IAgent agent ) : IAgent
AddAgent ( Vector3 position ) : IAgent
AddObstacle ( ObstacleVertex v ) : ObstacleVertex
AddObstacle ( Vector3 a, Vector3 b, float height ) : ObstacleVertex
AddObstacle ( Vector3 vertices, float height ) : ObstacleVertex
AddObstacle ( Vector3 vertices, float height, Matrix4x4 matrix ) : ObstacleVertex
ClearAgents ( ) : void
GetAgents ( ) : List
GetObstacles ( ) : List
OnDestroy ( ) : void
RemoveAgent ( IAgent agent ) : void
RemoveObstacle ( ObstacleVertex v ) : void
Simulator ( int workers, bool doubleBuffering ) : UnityEngine
Update ( ) : void
UpdateObstacle ( ObstacleVertex obstacle, Vector3 vertices, Matrix4x4 matrix ) : void
UpdateObstacles ( ) : void

Private Methods

Method Description
CleanObstacles ( ) : void
ScheduleCleanObstacles ( ) : void

Method Details

AddAgent() public method

public AddAgent ( IAgent agent ) : IAgent
agent IAgent
return IAgent

AddAgent() public method

public AddAgent ( Vector3 position ) : IAgent
position UnityEngine.Vector3
return IAgent

AddObstacle() public method

public AddObstacle ( ObstacleVertex v ) : ObstacleVertex
v ObstacleVertex
return ObstacleVertex

AddObstacle() public method

public AddObstacle ( Vector3 a, Vector3 b, float height ) : ObstacleVertex
a UnityEngine.Vector3
b UnityEngine.Vector3
height float
return ObstacleVertex

AddObstacle() public method

public AddObstacle ( Vector3 vertices, float height ) : ObstacleVertex
vertices UnityEngine.Vector3
height float
return ObstacleVertex

AddObstacle() public method

public AddObstacle ( Vector3 vertices, float height, Matrix4x4 matrix ) : ObstacleVertex
vertices UnityEngine.Vector3
height float
matrix UnityEngine.Matrix4x4
return ObstacleVertex

ClearAgents() public method

public ClearAgents ( ) : void
return void

GetAgents() public method

public GetAgents ( ) : List
return List

GetObstacles() public method

public GetObstacles ( ) : List
return List

OnDestroy() public method

public OnDestroy ( ) : void
return void

RemoveAgent() public method

public RemoveAgent ( IAgent agent ) : void
agent IAgent
return void

RemoveObstacle() public method

public RemoveObstacle ( ObstacleVertex v ) : void
v ObstacleVertex
return void

Simulator() public method

public Simulator ( int workers, bool doubleBuffering ) : UnityEngine
workers int
doubleBuffering bool
return UnityEngine

Update() public method

public Update ( ) : void
return void

UpdateObstacle() public method

public UpdateObstacle ( ObstacleVertex obstacle, Vector3 vertices, Matrix4x4 matrix ) : void
obstacle ObstacleVertex
vertices UnityEngine.Vector3
matrix UnityEngine.Matrix4x4
return void

UpdateObstacles() public method

public UpdateObstacles ( ) : void
return void