docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ARCoreSettings

    Holds settings that are used to configure the Unity ARCore Plugin.

    Inheritance
    object
    Object
    ScriptableObject
    ARCoreSettings
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.XR.ARCore
    Assembly: Unity.XR.ARCore.Editor.dll
    Syntax
    [Serializable]
    [XRConfigurationData("ARCore", "UnityEditor.XR.ARCore.ARCoreSettings")]
    public class ARCoreSettings : ScriptableObject

    Properties

    currentSettings

    The ARCoreSettings for the Project.

    Declaration
    public static ARCoreSettings currentSettings { get; set; }
    Property Value
    Type Description
    ARCoreSettings
    Remarks

    The current settings object, if one exists, is saved in the Project's XR Settings folder. You can also view and modify these settings in the XR Plug-in Management section of your Project Settings window.

    depth

    Specifies whether depth is required or optional for this app.

    Declaration
    public ARCoreSettings.Requirement depth { get; set; }
    Property Value
    Type Description
    ARCoreSettings.Requirement
    Remarks

    Set to Required if the app should only be downloadable by devices with depth support.

    ignoreGradleVersion

    Whether to validate the Gradle version during a Player build.

    Declaration
    public bool ignoreGradleVersion { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    When building an Android Player with ARCore enabled, this ARCore package checks the Gradle version and warns if it determines the Gradle version to be too low. You can suppress this check (and resulting warning notification) by setting ignoreGradleVersion to true.

    requirement

    Specifies whether ARCore is required or optional for this app.

    Declaration
    public ARCoreSettings.Requirement requirement { get; set; }
    Property Value
    Type Description
    ARCoreSettings.Requirement
    Remarks

    Set to Required if the app should only be downloadable by devices with ARCore support.

    Methods

    GetOrCreateSettings()

    Gets the currently selected settings, or creates a default one if no ARCoreSettings has been set in Project Settings.

    Declaration
    public static ARCoreSettings GetOrCreateSettings()
    Returns
    Type Description
    ARCoreSettings

    The ARCore settings to use for the current Player build.

    Remarks

    The current settings object, if one exists, is saved in the Project's XR Settings folder. You can also view and modify these settings in the XR Plug-in Management section of your Project Settings window.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)