Class NodeLink3Node Extends PointNode

Public

Public Methods

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

Add a portal from this node to the specified node.

Public
NodeLink3Node (active)
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
connections
Public
ContainsConnection (node)

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

Public
DeserializeNode (ctx)

Deserializes node data (for example when loading graphs from file).

Public
DeserializeReferences (ctx)

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

Public
Destroyed
Public
Flags

Holds various bitpacked variables.

Public
FloodFill (stack, region)

Internal method to run a flood fill in order to recalculate the Area property.

Public
gameObject

GameObject this node was created from (if any).

Public
GetConnections (action)

Calls the delegate with all connections and respective costs from this node.

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
MaxAreaIndex
Public
MaxGraphIndex

Max number of graphs-1.

Public
NodeIndex

Internal unique index.

Public
Open (path, pathNode, handler)

Open the node.

Public
OpenCooperative (path, pathNode, handler)

Open the node cooperatively.

Public
Penalty

Penalty cost for walking on this node.

Public
position

Position of the node in world space.

Public
RandomPointOnSurface ()

A random point on the surface of the node.

Public
RecalculateConnectionCosts ()

Recalculates all connection costs from this node.

Public
RemoveConnection (node)

Removes any connection from this node to the specified node.

Public
SerializeNode (ctx)

Serializes node data (for example when saving graphs to file).

Public
SerializeReferences (ctx)

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

Public
SetPosition (value)
Public
SurfaceArea ()

The surface area of the node in square world units.

Public
Tag

Node tag.

Public
UpdateRecursiveG (path, pathNode, handler)

Internal method to update the G score.

Public
Walkable

True if the node can be traversed.

Public

Private/Protected Members

Destroy ()

Destroys the node.

Package
flags

Bitpacked field holding several pieces of data.

Protected
GetOtherInternal (a)
Private
TemporaryFlag1

Temporary flag for internal purposes.

Package
TemporaryFlag2

Temporary flag for internal purposes.

Package