/// <description> /// Add a link to this NavMesh between two points. /// </description> public int AddLink(Point3F from, Point3F to, uint flags = 0) { from.Alloc(); to.Alloc(); InternalUnsafeMethods.AddLink__Args _args = new InternalUnsafeMethods.AddLink__Args() { from = from.internalStructPtr, to = to.internalStructPtr, flags = flags, }; int _engineResult = InternalUnsafeMethods.AddLink()(ObjectPtr, _args); from.Free(); to.Free(); return(_engineResult); }