docs.unity.cn
    Show / Hide Table of Contents

    Class ARCoreSessionSubsystem

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

    Inheritance
    Object
    XRSessionSubsystem
    ARCoreSessionSubsystem
    Inherited Members
    XRSessionSubsystem.GetAvailabilityAsync()
    XRSessionSubsystem.InstallAsync()
    XRSessionSubsystem.Reset()
    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
    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

    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 © 2020 Unity Technologies
    Generated by DocFX
    on 12 February 2021