Class GraphUpdateShape
Public
Defines a shape for a Pathfinding.GraphUpdateObject.
The shape consists of a number of points which it can either calculate the convex hull of or use as a polygon directly.
A shape is essentially a 2D shape however it can be rotated arbitrarily. When a matrix and a list of points is specified in the constructor the matrix decides what direction is the 'up' direction. When checking if a point is contained in the shape, the point will be projected down on a plane where the 'up' direction is the normal and then it will check if the shape contains the point.
Inner Types
Public Methods
Public Variables
convex
Sets if the convex hull of the points should be calculated.
Public
minimumHeight
Public
points
Gets or sets the points of the polygon in the shape.
Public
Private/Protected Members
_convex
Private
_convexPoints
Private
_points
Private
forward
Private
origin
Private
right
Private
up
Private