Class ARKitSettings
Holds settings that are used to configure the Apple ARKit XR Plug-in.
Inherited Members
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
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. |