A* Pathfinding Project
3.6.8
The A* Pathfinding Project for Unity 3D
|
Public Member Functions | |
void | AddInt (float factor, bool inside, int id) |
bool | Contains (Vector3 p) |
Returns if this VO contains the point p. | |
void | Draw (Color c) |
bool | FinalInts (Vector3 target, Vector3 closeEdgeConstraint, bool drawGizmos, out Vector3 closest) |
float | ScoreContains (Vector3 p) |
Returns if this VO contains the point p. | |
Static Public Member Functions | |
static | operator HalfPlane (VO vo) |
Public Attributes | |
float | angle |
Angle as Cos (a) | |
Vector3 | direction |
Direction of the VO, should be normalized. | |
List< IntersectionPair > | ints1 = new List<IntersectionPair>() |
List< IntersectionPair > | ints2 = new List<IntersectionPair>() |
List< IntersectionPair > | ints3 = new List<IntersectionPair>() |
float | limit |
Distance from origin to start of cone. | |
Vector3 | nLeft |
Vector3 | origin |
Origin of the VO cone. | |
Vector3 | pLeft |
Vector3 | pRight |
Private Attributes | |
Vector3 | nRight |
void AddInt | ( | float | factor, |
bool | inside, | ||
int | id | ||
) |
bool Contains | ( | Vector3 | p | ) |
Returns if this VO contains the point p.
void Draw | ( | Color | c | ) |
bool FinalInts | ( | Vector3 | target, |
Vector3 | closeEdgeConstraint, | ||
bool | drawGizmos, | ||
out Vector3 | closest | ||
) |
float ScoreContains | ( | Vector3 | p | ) |
Returns if this VO contains the point p.
float angle |
Angle as Cos (a)
Vector3 direction |
Direction of the VO, should be normalized.
List<IntersectionPair> ints1 = new List<IntersectionPair>() |
List<IntersectionPair> ints2 = new List<IntersectionPair>() |
List<IntersectionPair> ints3 = new List<IntersectionPair>() |
float limit |
Distance from origin to start of cone.
Vector3 nLeft |
|
private |
Vector3 origin |
Origin of the VO cone.
Vector3 pLeft |
Vector3 pRight |