// Copyright (c) 2014-2015 Robert Rouhani and other contributors (see CONTRIBUTORS file). // Licensed under the MIT License - https://raw.github.com/Robmaister/SharpNav/master/LICENSE namespace SharpNav.Pathfinding { /// /// A link is formed between two polygons in a TiledNavMesh /// public class Link { /// /// Entity links to external entity. /// public const int External = unchecked((int)0x80000000); /// /// Doesn't link to anything. /// public const int Null = unchecked((int)0xffffffff); /// /// Gets or sets the neighbor reference (the one it's linked to) /// public int Reference { get; set; } /// /// Gets or sets the index of next link /// public int Next { get; set; } /// /// Gets or sets the index of polygon edge /// public int Edge { get; set; } /// /// Gets or sets the polygon side /// public BoundarySide Side { get; set; } /// /// Gets or sets the minimum Vector3 of the bounding box /// public int BMin { get; set; } /// /// Gets or sets the maximum Vector3 of the bounding box /// public int BMax { get; set; } } }