Class MetaOpenXRSessionSubsystem
The Meta-OpenXR implementation of the XRSessionSubsystem. Do not create this directly. Use the SubsystemManager instead.
Inheritance
SubsystemWithProvider<XRSessionSubsystem, XRSessionSubsystemDescriptor, XRSessionSubsystem.Provider>
MetaOpenXRSessionSubsystem
Implements
Inherited Members
SubsystemWithProvider<XRSessionSubsystem, XRSessionSubsystemDescriptor, XRSessionSubsystem.Provider>.subsystemDescriptor
Namespace: UnityEngine.XR.OpenXR.Features.Meta
Assembly: Unity.XR.MetaOpenXR.dll
Syntax
[Preserve]
public sealed class MetaOpenXRSessionSubsystem : XRSessionSubsystem, ISubsystem
Constructors
MetaOpenXRSessionSubsystem()
Do not call this directly. Call create on a valid XRSessionSubsystemDescriptor instead.
Declaration
public MetaOpenXRSessionSubsystem()
Methods
OnDestroy()
Clears the reference to this instance so that it is not used after the subsystem is destroyed.
Declaration
protected override void OnDestroy()
Overrides
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<UnityEngine.XR.ARSubsystems.XRSessionSubsystem, UnityEngine.XR.ARSubsystems.XRSessionSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRSessionSubsystem.Provider>.OnDestroy()
TryRequestSceneCapture()
Attempts to initiate Meta scene capture.
Declaration
public bool TryRequestSceneCapture()
Returns
| Type | Description |
|---|---|
| bool |