Class VisionOSLoader
Manages the lifecycle of VisionOS subsystems.
Inherited Members
Namespace: UnityEngine.XR.VisionOS
Syntax
public class VisionOSLoader : XRLoaderHelper
Properties
anchorSubsystem
The XRAnchorSubsystem whose lifecycle is managed by this loader.
Declaration
public XRAnchorSubsystem anchorSubsystem { get; }
Property Value
| Type | Description |
|---|---|
| XRAnchorSubsystem |
imageTrackingSubsystem
The XRImageTrackingSubsystem whose lifecycle is managed by this loader.
Declaration
public XRImageTrackingSubsystem imageTrackingSubsystem { get; }
Property Value
| Type | Description |
|---|---|
| XRImageTrackingSubsystem |
inputSubsystem
The XRInputSubsystem whose lifecycle is managed by this loader.
Declaration
public XRInputSubsystem inputSubsystem { get; }
Property Value
| Type | Description |
|---|---|
| XRInputSubsystem |
meshSubsystem
The XRMeshSubsystem whose lifecycle is managed by this loader.
Declaration
public XRMeshSubsystem meshSubsystem { get; }
Property Value
| Type | Description |
|---|---|
| XRMeshSubsystem |
planeSubsystem
The XRPlaneSubsystem whose lifecycle is managed by this loader.
Declaration
public XRPlaneSubsystem planeSubsystem { get; }
Property Value
| Type | Description |
|---|---|
| XRPlaneSubsystem |
sessionSubsystem
The XRSessionSubsystem whose lifecycle is managed by this loader.
Declaration
public XRSessionSubsystem sessionSubsystem { get; }
Property Value
| Type | Description |
|---|---|
| XRSessionSubsystem |
Methods
Deinitialize()
Destroys each subsystem.
Declaration
public override bool Deinitialize()
Returns
| Type | Description |
|---|---|
| Boolean | Always returns |
Overrides
Initialize()
Initializes the loader.
Declaration
public override bool Initialize()
Returns
| Type | Description |
|---|---|
| Boolean |
|
Overrides
Start()
This method does nothing for managed subsystems. Subsystems must be started individually.
Declaration
public override bool Start()
Returns
| Type | Description |
|---|---|
| Boolean | Returns |
Overrides
Stop()
This method does nothing for managed subsystems. Subsystems must be stopped individually.
Declaration
public override bool Stop()
Returns
| Type | Description |
|---|---|
| Boolean | Returns |