Class ARKitSettings
Holds settings that are used to configure the ARKit XR Plugin.
Inherited Members
Namespace: UnityEditor.XR.ARKit
Syntax
[Serializable]
[XRConfigurationData("ARKit", "UnityEditor.XR.ARKit.ARKitSettings")]
public class ARKitSettings : ScriptableObject
Properties
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 |
faceTracking
Installs ARKit Face Tracking package when set to true and ARKit Face Tracking is not already installed. False indicates that ARKit Face Tracking is not currently installed.
Declaration
public bool faceTracking { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
requirement
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 requirement { get; set; }
Property Value
Type | Description |
---|---|
ARKitSettings.Requirement |
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. |