A* Pathfinding Project  3.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Enumerations Properties Groups Pages
GroupController Class Reference

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< RVOExampleAgentselection = new List<RVOExampleAgent>()
 
Simulator sim
 
Vector2 start
 
bool wasDown = false
 

Detailed Description

RVO Example Scene Unit Controller.

Controls AIs and camera in the RVO example scene.

Member Function Documentation

static Color HSVToRGB ( float  h,
float  s,
float  v 
)
staticprivate

Converts an HSV color to an RGB color.

According to the algorithm described at http://en.wikipedia.org/wiki/HSL_and_HSV

Author
Wikipedia
Returns
the RGB representation of the color.

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: