-
Notifications
You must be signed in to change notification settings - Fork 0
ARC Setup Manager (Script Reference)
Giorgio edited this page Jul 7, 2021
·
4 revisions
Manages the session settings for markers and scanning actions. Exposes UnityEvents related to the multiuser session workflow.
There must be one ARCSetupManager
only for the current session to avoid unexpected behaviours.
public static ARCSetupManager manager |
The manager singleton reference. |
public ARCCapturePhaseEvents captureEvents |
Reference to the events of the capture phase. |
public ARCReceivingPhaseEvents networkEvents |
Reference to the networking events. |
public ARCScanningPhaseEvents scanEvents |
Reference to the events of the scanning phase. |
public ARCSessionEvents sessionEvents |
Reference to the events of the Session Reference Frame creation. |
public void CaptureImage() |
Capture an image from the current input stream from the camera on the device screen. |
public void ClearCapturedImages() |
Clear all currently captured images and start anew. |
public void SubmitCapturedImages() |
Confirm currently captured images and switch to the scanning phase. |
public void RetryScanning() |
Restart the scanning phase if the scanning phase is finished but the Session Reference Frame hasn't been created yet. |
public void CancelScanning() |
Stops the scanning phase and return to idle state. |
public void ClearSession() |
Destroy the current Session Reference Frame. Must be called when a session ends or is interrupted. |
© 2021 Giorgio Liggio