docs.unity3d.com
    Show / Hide Table of Contents

    Class ARCoreSessionSubsystem

    The ARCore implementation of the XRSessionSubsystem. Do not create this directly. Use the SubsystemManager instead.

    Inheritance
    Object
    XRSubsystem<XRSessionSubsystemDescriptor>
    XRSessionSubsystem
    ARCoreSessionSubsystem
    Inherited Members
    XRSessionSubsystem.GetAvailabilityAsync()
    XRSessionSubsystem.InstallAsync()
    XRSessionSubsystem.OnStart()
    XRSessionSubsystem.Reset()
    XRSessionSubsystem.OnStop()
    XRSessionSubsystem.OnDestroyed()
    XRSessionSubsystem.DetermineConfiguration(Feature)
    XRSessionSubsystem.Update(XRSessionUpdateParams)
    XRSessionSubsystem.GetConfigurationDescriptors(Allocator)
    XRSessionSubsystem.OnApplicationPause()
    XRSessionSubsystem.OnApplicationResume()
    XRSessionSubsystem.nativePtr
    XRSessionSubsystem.sessionId
    XRSessionSubsystem.currentConfiguration
    XRSessionSubsystem.requestedFeatures
    XRSessionSubsystem.trackingState
    XRSessionSubsystem.requestedTrackingMode
    XRSessionSubsystem.currentTrackingMode
    XRSessionSubsystem.configurationChooser
    XRSessionSubsystem.notTrackingReason
    XRSessionSubsystem.matchFrameRateEnabled
    XRSessionSubsystem.matchFrameRateRequested
    XRSessionSubsystem.frameRate
    XRSessionSubsystem.provider
    XRSubsystem<XRSessionSubsystemDescriptor>.OnDestroy()
    XRSubsystem<XRSessionSubsystemDescriptor>.Start()
    XRSubsystem<XRSessionSubsystemDescriptor>.Stop()
    XRSubsystem<XRSessionSubsystemDescriptor>.running
    Namespace: UnityEngine.XR.ARCore
    Syntax
    [Preserve]
    public sealed class ARCoreSessionSubsystem : XRSessionSubsystem

    Methods

    CreateProvider()

    Creates the provider interface.

    Declaration
    protected override XRSessionSubsystem.Provider CreateProvider()
    Returns
    Type Description
    XRSessionSubsystem.Provider

    The provider interface for ARCore

    Overrides
    XRSessionSubsystem.CreateProvider()

    SetConfigurationDirty()

    Notifies that there has been a change in the ARCore configuration object which triggers beforeSetConfiguration.

    Declaration
    public void SetConfigurationDirty()

    Events

    beforeSetConfiguration

    Event that is triggered right before the configuration is set on the session. Allows changes to be made to the configuration before it is set.

    Declaration
    public event Action<ARCoreBeforeSetConfigurationEventArgs> beforeSetConfiguration
    Event Type
    Type Description
    Action<ARCoreBeforeSetConfigurationEventArgs>
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, November 7, 2022
    Terms of use