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 when seen from above.
Checks if point is inside the node in graph space.
Deserializes the node data from a byte array.
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.
Serialized the node data to a byte array.
Returns the edge which is shared with other.
Set the position of this node to the average of its 3 vertices.
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.
Checks if this node has a connection to the specified node.
Checks if point is inside the node when seen from above.
Used to deserialize references to other nodes e.g connections.
Destroys the node.
Holds various bitpacked variables.
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.
Max number of tags - 1.
Internal unique index.
Penalty cost for walking on this node.
Removes any connection from this node to the specified node.
Used to serialize references to other nodes e.g connections.
Inform the system that the node's connectivity has changed.
Node tag.
True if the node is traversable.
All connections from this node.
Position of the node in world space.
Private/Protected Members
Closest point on the node when seen from above.
Hierarchical Node that contains this node.
Some internal bookkeeping.
Temporary flag for internal purposes.
Temporary flag for internal purposes.
Holds INavmeshHolder references for all graph indices to be able to access them in a performant manner.
Bitpacked field holding several pieces of data.