Class ARKitSettings
Holds settings that are used to configure the Apple ARKit XR Plug-in.
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: UnityEditor.XR.ARKit
Assembly: Unity.XR.ARKit.Editor.dll
Syntax
[Serializable]
[XRConfigurationData("Apple ARKit", "UnityEditor.XR.ARKit.ARKitSettings")]
public class ARKitSettings : ScriptableObject
Properties
currentSettings
Get or set the ARKitSettings to use for the Player build.
Declaration
public static ARKitSettings currentSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| ARKitSettings |
faceTracking
If true, includes ARKit Face Tracking functionality. If false, doesn't include ARKit Face Tracking functionality.
Declaration
public bool faceTracking { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
requirement
Determines whether ARKit is required for this app. If set to Required, the app can only be downloaded on devices with ARKit support.
Declaration
public ARKitSettings.Requirement requirement { get; set; }
Property Value
| Type | Description |
|---|---|
| ARKitSettings.Requirement |
Methods
GetOrCreateSettings()
Gets the currently selected settings, or creates default settings if no ARKitSettings have been set in Player Settings.
Declaration
public static ARKitSettings GetOrCreateSettings()
Returns
| Type | Description |
|---|---|
| ARKitSettings | The ARKit settings to use for the current Player build. |