navcat docs
    Preparing search index...

    Function getPolyWallSegments

    • Returns the wall segments of a polygon, optionally including portal segments.

      If segmentRefs is requested, then all polygon segments will be returned. Otherwise only the wall segments are returned.

      A segment that is normally a portal will be included in the result set as a wall if the filter results in the neighbor polygon becoming impassable.

      Parameters

      • navMesh: NavMesh

        The navigation mesh

      • nodeRef: number

        The reference ID of the polygon

      • filter: QueryFilter

        The query filter to apply

      • includePortals: boolean

        Whether to include portal segments in the result

      Returns PolyWallSegmentsResult