/// <summary> /// Sends a request to the Cdm for the given address and page. Optionally a world space location can be added /// which will be available in the returned request. Method OnCdmPoolGraphAdded() is called when request /// is fullfilled /// </summary> /// <param name="id">Address id</param> /// <param name="page">Page of data</param> /// <param name="location">Optional locaation in world space that this will be near</param> public void GetAddressData(string id, int page, Vector3 location = default(Vector3)) { int edgeCountFrom = 0; int edgeCountTo = 0; CdmHelpers.GetFromToForPage(PageSize, page, out edgeCountFrom, out edgeCountTo); CdmCore.GetGraphFragment(id, NodeType.Addr, edgeCountFrom, edgeCountTo, OnGetNodeFailed, location); }