예제 #1
0
 /// <summary>
 /// Get the changes (added, updated, and removed) planes since the last call to <see cref="GetChanges(Allocator)"/>.
 /// </summary>
 /// <param name="defaultPointCloud">
 /// The default point cloud. This should be used to initialize the returned <c>NativeArray</c>s for backwards compatibility.
 /// See <see cref="TrackableChanges{T}.TrackableChanges(void*, int, void*, int, void*, int, T, int, Allocator)"/>.
 /// </param>
 /// <param name="allocator">An <c>Allocator</c> to use when allocating the returned <c>NativeArray</c>s.</param>
 /// <returns>
 /// <see cref="TrackableChanges{T}"/> describing the reference points that have been added, updated, and removed
 /// since the last call to <see cref="GetChanges(Allocator)"/>. The changes should be allocated using
 /// <paramref name="allocator"/>.
 /// </returns>
 public abstract TrackableChanges <XRPointCloud> GetChanges(XRPointCloud defaultPointCloud, Allocator allocator);
예제 #2
0
 /// <summary>
 /// Get the changes (added, updated, and removed) planes since the last call to <see cref="GetChanges(Allocator)"/>.
 /// </summary>
 /// <param name="defaultPointCloud">
 /// The default reference point. This should be used to initialize the returned <c>NativeArray</c>s for backwards compatibility.
 /// See <see cref="TrackableChanges{T}.TrackableChanges(void*, int, void*, int, void*, int, T, int, Allocator)"/>.
 /// </param>
 /// <param name="allocator">An <c>Allocator</c> to use when allocating the returned <c>NativeArray</c>s.</param>
 /// <returns>
 /// <see cref="TrackableChanges{T}"/> describing the reference points that have been added, updated, and removed
 /// since the last call to <see cref="GetChanges(Allocator)"/>. The changes should be allocated using
 /// <paramref name="allocator"/>.
 /// </returns>
 public virtual TrackableChanges <XRPointCloud> GetChanges(
     XRPointCloud defaultPointCloud,
     Allocator allocator)
 {
     return(default(TrackableChanges <XRPointCloud>));
 }