navcat docs
    Preparing search index...

    Function getNodeByRef

    • Gets a navigation mesh node by its reference. Note that navmesh nodes are pooled and may be reused on removing then adding tiles, so do not store node objects.

      Parameters

      • navMesh: NavMesh

        the navigation mesh

      • nodeRef: number

        the node reference

      Returns NavMeshNode

      the navigation mesh node