Fetch anchors that match the TrackableType according to the current Configuration.
This method queries for anchors may be detected according to the current Configuration.Anchors may be returned in batches. If incrementalResultsCallback is not null, then this delegate is invoked whenever results become available prior to the completion of the entire operation. New anchors are appended to anchors . The delegate receives a reference to anchors and the starting index of the anchors that have been added. The parameters are:
anchors: The same List provided by anchors .
index: The starting index of the newly available anchors
This is similar to calling OVRAnchor.FetchTrackablesAsync(List<OVRAnchor>,IEnumerable<TrackableType>,Action<List<OVRAnchor>,int>) with an array of TrackableType. You can get the trackables associated with a TrackerConfiguration with TrackerConfiguration.GetTrackableTypes.
ParametersanchorsContainer to store the results. The list is cleared before adding any anchors.
incrementalResultsCallback(Optional) A callback invoked when incremental results are available.
ReturnsReturns an
OVRTask that can be used to track the asynchronous fetch.
ExceptionsArgumentNullExceptionThrown if anchors is null.