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 |
---|---|
XRAnchor |
imageTrackingSubsystem
The XRImageTrackingSubsystem whose lifecycle is managed by this loader.
Declaration
public XRImageTrackingSubsystem imageTrackingSubsystem { get; }
Property Value
Type | Description |
---|---|
XRImage |
inputSubsystem
The XRInput
Declaration
public XRInputSubsystem inputSubsystem { get; }
Property Value
Type | Description |
---|---|
XRInput |
meshSubsystem
The XRMesh
Declaration
public XRMeshSubsystem meshSubsystem { get; }
Property Value
Type | Description |
---|---|
XRMesh |
planeSubsystem
The XRPlaneSubsystem whose lifecycle is managed by this loader.
Declaration
public XRPlaneSubsystem planeSubsystem { get; }
Property Value
Type | Description |
---|---|
XRPlane |
sessionSubsystem
The XRSessionSubsystem whose lifecycle is managed by this loader.
Declaration
public XRSessionSubsystem sessionSubsystem { get; }
Property Value
Type | Description |
---|---|
XRSession |
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()