Class MeshNode Extends GraphNode

Public Abstract

Public Methods

AddPartialConnection (node, cost, ...)

Add a connection from this node to the specified node.

ClearConnections (alsoReverse=true)

Remove all connections between this node and other nodes.

Closest point on the surface of this node when seen from above.

True if this node contains a connection to the given node.

Used to deserialize references to other nodes e.g connections.

Hash code used for checking if the gizmos need to be updated.

GetVertex (i)

Get a vertex of this node.

Number of corner vertices that this node has.

Removes any connection from this node to the specified node.

Used to serialize references to other nodes e.g connections.

Public Variables

connections

All connections from this node.

Public

Inherited Public Members

Area

Connected component that contains the node.

Public
Connect (lhs, rhs, cost, directionality=…)

Adds a connection between two nodes.

ContainsPoint (point)

Checks if point is inside the node when seen from above.

DecodeVariantPosition (pathNodeIndex, fractionAlongEdge)

The position of the path node during the search.

Deserializes the node data from a byte array.

Destroy ()

Destroys the node.

Destroyed
Public
DestroyedNodeIndex
Public Static
Disconnect (lhs, rhs)

Removes the connection between two nodes.

Flags

Holds various bitpacked variables.

Public
GetConnections (action, [data], [connectionFilter])

Calls the delegate with all connections from...

GetPortal (other, left, right, [backwards])

Add a portal from this node to the specified node.

Graph

Graph which this node belongs to.

Public
GraphIndex

Graph which contains this node.

Public
InvalidGraphIndex
Public Static
InvalidNodeIndex
Public Static
MaxGraphIndex

Max number of graphs-1.

Public Static
MaxHierarchicalNodeIndex
Public Static
MaxTagIndex

Max number of tags - 1.

Public Static
NodeIndex

Internal unique index.

Public
Penalty

Penalty cost for walking on this node.

Public

A random point on the surface of the node.

Serialized the node data to a byte array.

Inform the system that the node's connectivity has changed.

The surface area of the node in square world units.

Tag

Node tag.

Public
Walkable

True if the node is traversable.

Public
position

Position of the node in world space.

Public

Private/Protected Members

HierarchicalNodeIndex

Hierarchical Node that contains this node.

Internal
IsHierarchicalNodeDirty

Some internal bookkeeping.

Internal
PathNodeVariants

How many path node variants should be created for each node.

Internal
TemporaryFlag1

Temporary flag for internal purposes.

Internal
TemporaryFlag2

Temporary flag for internal purposes.

Internal
flags

Bitpacked field holding several pieces of data.

Protected