class ARObjectDetectionManager
(Niantic.Lightship.AR.ObjectDetection.ARObjectDetectionManager)
Overview
The manager for the object detection subsystem.
class ARObjectDetectionManager: SubsystemLifecycleManager< XRObjectDetectionSubsystem, XRObjectDetectionSubsystemDescriptor, XRObjectDetectionSubsystem.Provider > {
public:
// fields
bool IsMetadataAvailable => subsystem?.IsMetadataAvailable ?? false;
// properties
uint??? TargetFrameRate;
IReadOnlyList<string> CategoryNames;
Action<ARObjectDetectionModelEventArgs> MetadataInitialized;
// events
event ObjectDetectionsUpdated();
// methods
bool TryGetDetectedObjects(out XRDetectedObject[] results);
protected:
// methods
override void OnBeforeStart();
override void OnDisable();
};
Detailed Documentation
The manager for the object detection subsystem.
Fields
IsMetadataAvailable
bool IsMetadataAvailable => subsystem?.IsMetadataAvailable ?? false
True if the underlying subsystem has finished initialization.
This is an experimental API. Experimental features are subject to breaking changes, not officially supported, and may be deprecated without notice.