Class ARCoreSettings
Holds settings that are used to configure the Unity ARCore Plugin.
Inherited Members
Namespace: UnityEditor.XR.ARCore
Syntax
[Serializable]
[XRConfigurationData("ARCore", "UnityEditor.XR.ARCore.ARCoreSettings")]
public class ARCoreSettings : ScriptableObject
Properties
currentSettings
Get or set the ARCoreSettings that will be used for the player build.
Declaration
public static ARCoreSettings currentSettings { get; set; }
Property Value
Type | Description |
---|---|
ARCoreSettings |
depth
Determines whether depth is required for this app: will make app only downloadable by devices with depth support if set to Required.
Declaration
public ARCoreSettings.Requirement depth { get; set; }
Property Value
Type | Description |
---|---|
ARCoreSettings.Requirement |
requirement
Determines whether ARCore is required for this app: will make app only downloadable by devices with ARCore support if set to Required.
Declaration
public ARCoreSettings.Requirement requirement { get; set; }
Property Value
Type | Description |
---|---|
ARCoreSettings.Requirement |
Methods
GetOrCreateSettings()
Gets the currently selected settings, or create a default one if no ARCoreSettings has been set in Player Settings.
Declaration
public static ARCoreSettings GetOrCreateSettings()
Returns
Type | Description |
---|---|
ARCoreSettings | The ARCore settings to use for the current Player build. |