Class XRPointCloudSubsystem
An abstract class that provides a generic API for low-level point cloud detection features.
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemWithProvider
XRPointCloudSubsystem
Inherited Members
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem.Provider>.OnCreate()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem.Provider>.OnStart()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem.Provider>.OnStop()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem.Provider>.OnDestroy()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem.Provider>.subsystemDescriptor
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem.Provider>.provider
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.Start()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.OnStart()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.Stop()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.OnStop()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.Destroy()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.OnDestroy()
UnityEngine.SubsystemsImplementation.SubsystemWithProvider.running
Syntax
public class XRPointCloudSubsystem : TrackingSubsystem<XRPointCloud, XRPointCloudSubsystem, XRPointCloudSubsystemDescriptor, XRPointCloudSubsystem.Provider>, ISubsystem
Methods
GetChanges(Allocator)
Get the changes to point clouds (added, updated, and removed) since the last call to GetChanges(Allocator).
Declaration
public override TrackableChanges<XRPointCloud> GetChanges(Allocator allocator)
Parameters
Type |
Name |
Description |
Unity.Collections.Allocator |
allocator |
An Allocator to use when allocating the returned NativeArray s.
|
Returns
Overrides
UnityEngine.XR.ARSubsystems.TrackingSubsystem<UnityEngine.XR.ARSubsystems.XRPointCloud, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRPointCloudSubsystem.Provider>.GetChanges(Unity.Collections.Allocator)
GetPointCloudData(TrackableId, Allocator)
Retrieve point cloud data (positions, confidence values, and identifiers)
for the point cloud with the given trackableId
.
Declaration
public XRPointCloudData GetPointCloudData(TrackableId trackableId, Allocator allocator)
Parameters
Type |
Name |
Description |
TrackableId |
trackableId |
The point cloud for which to retrieve data.
|
Unity.Collections.Allocator |
allocator |
The allocator to use when creating the NativeArray s in the returned XRPointCloudData. Allocator.Temp is not supported; use Allocator.TempJob if you need temporary memory.
|
Returns