docs.unity3d.com
    Show / Hide Table of Contents

    Class ARCoreCameraSubsystem

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

    Inheritance
    Object
    XRCameraSubsystem
    ARCoreCameraSubsystem
    Inherited Members
    XRCameraSubsystem.GetTextureDescriptors(Allocator)
    XRCameraSubsystem.OnBeforeBackgroundRender(Int32)
    XRCameraSubsystem.TryGetIntrinsics(XRCameraIntrinsics)
    XRCameraSubsystem.GetConfigurations(Allocator)
    XRCameraSubsystem.TryGetLatestFrame(XRCameraParams, XRCameraFrame)
    XRCameraSubsystem.GetMaterialKeywords(List<String>, List<String>)
    XRCameraSubsystem.TryGetLatestImage(XRCpuImage)
    XRCameraSubsystem.TryAcquireLatestCpuImage(XRCpuImage)
    XRCameraSubsystem.Register(XRCameraSubsystemCinfo)
    XRCameraSubsystem.currentCamera
    XRCameraSubsystem.requestedCamera
    XRCameraSubsystem.autoFocusEnabled
    XRCameraSubsystem.autoFocusRequested
    XRCameraSubsystem.currentLightEstimation
    XRCameraSubsystem.requestedLightEstimation
    XRCameraSubsystem.cameraMaterial
    XRCameraSubsystem.currentConfiguration
    XRCameraSubsystem.invertCulling
    XRCameraSubsystem.permissionGranted
    Namespace: UnityEngine.XR.ARCore
    Syntax
    [Preserve]
    public sealed class ARCoreCameraSubsystem : XRCameraSubsystem

    Properties

    backgroundShaderName

    The name for the background shader based on the current render pipeline.

    Declaration
    public static string backgroundShaderName { get; }
    Property Value
    Type Description
    String

    The name for the background shader based on the current render pipeline. Or, null if the current render pipeline is incompatible with the set of shaders.

    Remarks

    The value for the GraphicsSettings.currentRenderPipeline is not expected to change within the lifetime of the application.

    Methods

    CreateProvider()

    Create the ARCore camera functionality provider for the camera subsystem.

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

    Returns a new instance of XRCameraSubsystem.Provider specific to ARCore.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023