EasyARSettings Class¶
Description¶
EasyAR Sense Unity Plugin settings.
Enums¶
public enum EasyARSettings.ARCoreType |
ARCore SDK configuration. |
Classes¶
public class EasyARSettings.TargetGizmoConfig |
Gizmos configuration for target. |
public class EasyARSettings.Permission |
Configuration for AndroidManifest. |
Fields¶
LicenseKey¶
- C#
public string LicenseKey
EasyAR Sense License Key. Used for validation of EasyAR Sense functions. Please visit https://www.easyar.com for more details.
InitializeOnStartup¶
- C#
public bool InitializeOnStartup
Initialize EasyAR Sense on startup. EasyAR initialize does not result extra resource usages, so usually you can keep this option on.
Permissions¶
- C#
public EasyARSettings.Permission Permissions
Configuration for application permissions. Permissions must be turned on for the feature in use.
GizmoConfig¶
- C#
public EasyARSettings.TargetGizmoConfig GizmoConfig
Gizmos configuration for ImageTarget and ObjectTarget .
GlobalSpatialMapServiceConfig¶
- C#
public SparseSpatialMapWorkerFrameFilter.SpatialMapServiceConfig GlobalSpatialMapServiceConfig
Global spatial map service config.
GlobalCloudRecognizerServiceConfig¶
- C#
public CloudRecognizerFrameFilter.CloudRecognizerServiceConfig GlobalCloudRecognizerServiceConfig
Global cloud recognizer service config.
GlobalCloudLocalizerServeiceConfig¶
- C#
public CloudSpatialMapLocalizerFrameFilter.CloudLocalizerServiceConfig GlobalCloudLocalizerServeiceConfig
Global cloud localizer serveice config (used in Cloud SpatialMap).
GenerateXMLDoc¶
- C#
public bool GenerateXMLDoc
Generate XML document when script reload to make intelliSense for API document work.
ARCoreSDK¶
- C#
public EasyARSettings.ARCoreType ARCoreSDK
ARCore SDK configuration. If you are using AR Foundation, use EasyARSettings.ARCoreType.ARFoundationOrOptional to let the plugin decide which one to use, or use EasyARSettings.ARCoreType.External . If other ARCore SDK distributions is desired, use EasyARSettings.ARCoreType.External .
DisableARCore¶
- C#
public bool DisableARCore
Disable ARCore. This option is generally used in Unity 2019 when you do not want to deal with build fail caused by Gradle version if ARCore is not used. Disable ARCore will make EasyAR ARCore wrapper fail to run, and will make EasyAR World Sensing features like Sparse Spatial Map and Dense Spatial Map fail to run on devices where EasyAR Motion Tracking is not available but ARCore is available. See https://developers.google.com/ar/develop/unity/android-11-build#unity_20193_and_20194 to make ARCore work in Unity 2019.4.
Verify32bitOnlyARCoreWhenBuild¶
- C#
public bool Verify32bitOnlyARCoreWhenBuild
Warn 32-bit-only ARCore-enabled build. ARCore has removed support for 32-bit-only ARCore-enabled apps running on 64-bit devices. Support for 32-bit apps running on 32-bit devices is unaffected. 32-bit-only ARCore-enabled apps that are not updated may crash when attempting to start an (ARCore) AR session. See https://developers.google.com/ar/64bit for further details.
VerifyLicenseWhenBuild¶
- C#
public bool VerifyLicenseWhenBuild
Verify license when build Unity Project. When this option is on, license key will be verified during Unity build process and build will fail if license key is invalid on the platform or the license key does not contain package name / bundle identifier setup in the Unity Player Settings. Turn off this option if you setup license in a difference place, or if you need to change package name or bundle identifier after Unity build process.
Properties¶
Instance¶
- C#
public static EasyARSettings Instance { get; }
Global settings instance.