A* Pathfinding Project  3.8.5
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
ObstacleVertex Class Reference

One vertex in an obstacle. More...

Detailed Description

One vertex in an obstacle.

This is a linked list and one vertex can therefore be used to reference the whole obstacle

A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited
The Pro version can be bought here

Public Attributes

bool convex
 Specifies if this is a convex or concave vertex.
 
Vector2 dir
 
float height
 Height of the obstacle in this vertex.
 
bool ignore
 
RVOLayer layer = RVOLayer.DefaultObstacle
 Collision layer for this obstacle.
 
ObstacleVertex next
 Next vertex in the obstacle.
 
Vector3 position
 Position of the vertex.
 
ObstacleVertex prev
 Previous vertex in the obstacle.
 
bool split = false
 True if this vertex was created by the KDTree for internal reasons.
 

Member Data Documentation

bool convex

Specifies if this is a convex or concave vertex.

Note
Not used at the moment
Vector2 dir
float height

Height of the obstacle in this vertex.

bool ignore
RVOLayer layer = RVOLayer.DefaultObstacle

Collision layer for this obstacle.

Next vertex in the obstacle.

Vector3 position

Position of the vertex.

Previous vertex in the obstacle.

bool split = false

True if this vertex was created by the KDTree for internal reasons.

Note
Not used at the moment

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