Class VisionOSLoader
Manages the lifecycle of VisionOS subsystems.
Inherited Members
Namespace: UnityEngine.XR.VisionOS
Assembly: Unity.XR.VisionOS.dll
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
CreateHandSubsystem()
Declaration
public void CreateHandSubsystem()
Deinitialize()
Destroys each subsystem.
Declaration
public override bool Deinitialize()
Returns
Type | Description |
---|---|
bool | Always returns |
Overrides
DestroyHandSubsystem()
Declaration
public void DestroyHandSubsystem()
Initialize()
Initializes the loader.
Declaration
public override bool Initialize()
Returns
Type | Description |
---|---|
bool |
|
Overrides
Start()
This method does nothing for managed subsystems. Subsystems must be started individually.
Declaration
public override bool Start()
Returns
Type | Description |
---|---|
bool | Returns |
Overrides
StartHandSubsystem()
Declaration
public void StartHandSubsystem()
Stop()
This method does nothing for managed subsystems. Subsystems must be stopped individually.
Declaration
public override bool Stop()
Returns
Type | Description |
---|---|
bool | Returns |
Overrides
StopHandSubsystem()
Declaration
public void StopHandSubsystem()