|
A* Pathfinding Project
3.1.4
The A* Pathfinding Project for Unity 3D
|
RVO Example Scene Unit Controller. More...
Inheritance diagram for GroupController:
Collaboration diagram for GroupController:Public Member Functions | |
| Color | GetColor (float angle) |
| Color from an angle. | |
| void | Order () |
| void | Select (Vector2 _start, Vector2 _end) |
| void | Start () |
| void | Update () |
Public Attributes | |
| bool | adjustCamera = true |
| GUIStyle | selectionBox |
Private Member Functions | |
| void | OnGUI () |
Static Private Member Functions | |
| static Color | HSVToRGB (float h, float s, float v) |
| Converts an HSV color to an RGB color. | |
Private Attributes | |
| Camera | cam |
| Vector2 | end |
| const float | rad2Deg = 360.0f/ ((float)System.Math.PI*2) |
| Radians to degrees constant. | |
| List< RVOExampleAgent > | selection = new List<RVOExampleAgent>() |
| Simulator | sim |
| Vector2 | start |
| bool | wasDown = false |
RVO Example Scene Unit Controller.
Controls AIs and camera in the RVO example scene.
|
staticprivate |
Converts an HSV color to an RGB color.
According to the algorithm described at http://en.wikipedia.org/wiki/HSL_and_HSV
Here is the caller graph for this function: