Class TrackingSubsystem<TTrackable, TSubsystem, TSubsystemDescriptor, TProvider>
Base class for subsystems that detect and track things in the physical environment.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public abstract class TrackingSubsystem<TTrackable, TSubsystem, TSubsystemDescriptor, TProvider> : SubsystemWithProvider<TSubsystem, TSubsystemDescriptor, TProvider>, ISubsystem where TTrackable : struct, ITrackable where TSubsystem : SubsystemWithProvider, new() where TSubsystemDescriptor : SubsystemDescriptorWithProvider where TProvider : SubsystemProvider<TSubsystem>
Type Parameters
Name | Description |
---|---|
TTrackable | The trackable's data, often a blittable type to inter-operate with native code. |
TSubsystem | Concrete subsystem deriving from TrackingSubsystem. |
TSubsystemDescriptor | The subsystem descriptor for the underlying subsystem. |
TProvider | Provider type for the TrackingSubsystem-derived subsystem. |
Methods
Name | Description |
---|---|
GetChanges(Allocator) | Retrieves a set of changes (additions, updates, and removals) since the last time GetChanges(Allocator) was called. This is typically called once per frame to update the derived class's internal state. |