Class ARKitSettings
Holds settings that are used to configure the ARKit XR Plugin.
Inheritance
Namespace: UnityEditor.XR.ARKit
Syntax
public class ARKitSettings : ScriptableObject
Properties
ARKitFaceTrackingEnabled
Determines whether ARKit FaceTracking is enabled for this app. Will make app use TrueDepth camera APIs when enabled (which requires privacy policy during submission)./>.
Declaration
public bool ARKitFaceTrackingEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ARKitRequirement
Determines whether ARKit is required for this app: will make app only downloadable by devices with ARKit support if set to Required.
Declaration
public ARKitSettings.Requirement ARKitRequirement { get; set; }
Property Value
Type | Description |
---|---|
ARKitSettings.Requirement |
currentSettings
Get or set the ARKitSettings that will be used for the player build.
Declaration
public static ARKitSettings currentSettings { get; set; }
Property Value
Type | Description |
---|---|
ARKitSettings |
Methods
GetOrCreateSettings()
Gets the currently selected settings, or create a default one if no ARKitSettings has been set in Player Settings.
Declaration
public static ARKitSettings GetOrCreateSettings()
Returns
Type | Description |
---|---|
ARKitSettings | The ARKit settings to use for the current Player build. |