Class TriangleMeshNode Extends MeshNode
Node represented by a triangle.
Public Methods
Closest point on the surface of this node to the point p.
Closest point on the surface of this node when seen from above.
Checks if point is inside the node.
Checks if point is inside the node in graph space.
Deserializes node data (for example when loading graphs from file).
Calls the delegate with all connections and respective costs from this node.
Get a vertex of this node.
Return a number specifying an index in the source vertex array.
Number of corner vertices that this node has.
Return a number identifying a vertex.
Returns all 3 vertices of this node in world space.
Returns all 3 vertices of this node in graph space.
Open the node.
A random point on the surface of the node.
Serializes node data (for example when saving graphs to file).
Returns the edge which is shared with other.
Set the position of this node to the average of its 3 vertices.
Internal method to update the G score.
Public Static Methods
Sets the internal navmesh holder for a given graph index.
Public Variables
Internal vertex index for the first vertex.
Internal vertex index for the second vertex.
Internal vertex index for the third vertex.
Inherited Public Members
Add a connection from this node to the specified node.
Add a connection from this node to the specified node.
Connected component that contains the node.
Remove all connections from this node.
All connections from this node.
Checks if this node has a connection to the specified node.
Checks if point is inside the node.
Used to deserialize references to other nodes e.g connections.
Holds various bitpacked variables.
Internal method to run a flood fill in order to recalculate the Area property.
Calls the delegate with all connections from this node.
Hash code used for checking if the gizmos need to be updated.
Add a portal from this node to the specified node.
Graph which this node belongs to.
Graph which contains this node.
Max number of graphs-1.
Internal unique index.
Open the node cooperatively.
Penalty cost for walking on this node.
Position of the node in world space.
Recalculates all connection costs from this node.
Removes any connection from this node to the specified node.
Used to serialize references to other nodes e.g connections.
Node tag.
True if the node can be traversed.
Private/Protected Members
Holds INavmeshHolder references for all graph indices to be able to access them in a performant manner.
Closest point on the node when seen from above.
Destroys the node.
Bitpacked field holding several pieces of data.
Temporary flag for internal purposes.
Temporary flag for internal purposes.