Class NodeLink3Node Extends PointNode

Public

Public Methods

GetOther (a)
Public
GetPortal (other, left, right)

Add a portal from this node to the specified node.

Public
NodeLink3Node (astar)
Public

Public Variables

link
portalA
Public
portalB
Public

Inherited Public Members

AddConnection (node, cost)

Add a connection from this node to the specified node.

Public
Area

Connected component that contains the node.

Public
ClearConnections (alsoReverse)

Remove all connections from this node.

Public
ClosestPointOnNode (p)

Closest point on the surface of this node to the point p.

Public
ContainsConnection (node)

Checks if this node has a connection to the specified node.

Public
ContainsPoint (point)

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

Public
ContainsPoint (point)

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

Public
ContainsPointInGraphSpace (point)

Checks if point is inside the node in graph space.

Public
DeserializeNode (ctx)

Deserializes the node data from a byte array.

Public
DeserializeReferences (ctx)

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

Public
Destroy ()

Destroys the node.

Public
Destroyed
Public
Flags

Holds various bitpacked variables.

Public
GetConnections (action)

Calls the delegate with all connections from this node.

Public
GetGizmoHashCode ()

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

Public
Graph

Graph which this node belongs to.

Public
GraphIndex

Graph which contains this node.

Public
MaxGraphIndex

Max number of graphs-1.

Public Static
MaxHierarchicalNodeIndex
Public Static
MaxTagIndex

Max number of tags - 1.

Public Static
NodeIndex

Internal unique index.

Public
Open (path, pathNode, handler)

Open the node.

Public
Penalty

Penalty cost for walking on this node.

Public
RandomPointOnSurface ()

A random point on the surface of the node.

Public
RemoveConnection (node)

Removes any connection from this node to the specified node.

Public
SerializeNode (ctx)

Serialized the node data to a byte array.

Public
SerializeReferences (ctx)

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

Public
SetConnectivityDirty ()

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

Public
SetPosition (value)
Public
SurfaceArea ()

The surface area of the node in square world units.

Public
Tag

Node tag.

Public
UpdateRecursiveG (path, pathNode, handler)
Public
Walkable

True if the node is traversable.

Public
connections

All connections from this node.

Public
gameObject

GameObject this node was created from (if any).

Public
position

Position of the node in world space.

Public

Private/Protected Members

GetOtherInternal (a)
Private
HierarchicalNodeIndex

Hierarchical Node that contains this node.

Internal
IsHierarchicalNodeDirty

Some internal bookkeeping.

Internal
TemporaryFlag1

Temporary flag for internal purposes.

Internal
TemporaryFlag2

Temporary flag for internal purposes.

Internal
flags

Bitpacked field holding several pieces of data.

Protected