Class VisionOSLoader
Manages the lifecycle of VisionOS subsystems.
Inherited Members
XRLoaderHelper.WasAssignedToBuildTarget(BuildTargetGroup)
XRLoaderHelper.WasUnassignedFromBuildTarget(BuildTargetGroup)
Namespace: UnityEngine.XR.VisionOS
Assembly: solution.dll
Syntax
public class VisionOSLoader : XRLoaderHelper
Properties
| Name | Description |
|---|---|
| anchorSubsystem | The XRAnchorSubsystem whose lifecycle is managed by this loader. |
| imageTrackingSubsystem | The XRImageTrackingSubsystem whose lifecycle is managed by this loader. |
| inputSubsystem | The XRInputSubsystem whose lifecycle is managed by this loader. |
| meshSubsystem | The XRMeshSubsystem whose lifecycle is managed by this loader. |
| planeSubsystem | The XRPlaneSubsystem whose lifecycle is managed by this loader. |
| sessionSubsystem | The XRSessionSubsystem whose lifecycle is managed by this loader. |
Methods
| Name | Description |
|---|---|
| Deinitialize() | Destroys each subsystem. |
| Initialize() | Initializes the loader. |
| Start() | This method does nothing for managed subsystems. Subsystems must be started individually. |
| Stop() | This method does nothing for managed subsystems. Subsystems must be stopped individually. |