Method OnStart
OnStart()
Starts the subsystem, that is, starts detecting images in the scene. imageLibrary must not be null.
Declaration
protected override void OnStart()
Overrides
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRImageTrackingSubsystem, UnityEngine.XR.ARSubsystems.XRImageTrackingSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRImageTrackingSubsystem.Provider>.OnStart()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if imageLibrary is null. |