Class EasyARSettings
- 名前空間
- easyar
- アセンブリ
- EasyAR.Sense.dll
EasyAR Sense Unityプラグインの設定情報。
public class EasyARSettings : ScriptableObject
- 継承
-
EasyARSettings
フィールド
ARCoreSDK
ARCore SDK設定。AR Foundationを使用している場合、ARFoundationOrOptionalを使用してプラグインに使用するARCoreディストリビューションを自動的に決定させるか、Externalを使用することができる。他のARCore SDKディストリビューションを使用したい場合は、Externalに設定する必要がある。
[Tooltip("ARCore SDK configuration. If you are using AR Foundation, use ARFoundationOrOptional to let the plugin decide which one to use, or use External. If other ARCore SDK distributions is desired, use External.")]
public EasyARSettings.ARCoreType ARCoreSDK
AREngineSDK
AREngine SDK設定。EasyAR AREngineInteropおよびそれと共に配布されるAREngineを使用する場合は、AREngineInteropに設定する。他のAREngineディストリビューションを使用する場合は、Externalに設定する必要がある。AREngineをアプリにバンドルしたくない場合は、Disabledに設定する必要がある。
[Tooltip("AREngine SDK configuration. Set it to AREngineInterop if you want to use EasyAR AREngineInterop with AREngine SDK distribution along with plugin, External if other AREngine distributions is desired, Disabled if you do not want AREngine to appear in your app.")]
public EasyARSettings.AREngineType AREngineSDK
GizmoConfig
[Tooltip("Gizmos configuration for ImageTarget and ObjectTarget.")]
public EasyARSettings.TargetGizmoConfig GizmoConfig
GlobalCloudRecognizerServiceConfig
グローバルクラウド認識サーバー設定。
[Tooltip("Global cloud Recognition service config.")]
public APIKeyAccessData GlobalCloudRecognizerServiceConfig
GlobalMegaBlockLocalizationServiceConfig
グローバルMega Blockローカライズサーバー設定。
[Tooltip("Global Mega Block localization service config.")]
public APIKeyAccessData GlobalMegaBlockLocalizationServiceConfig
GlobalMegaLandmarkLocalizationServiceConfig
グローバルMega Landmarkローカライズサーバー設定。
[Tooltip("Global Mega Landmark localization service config.")]
public APIKeyAccessData GlobalMegaLandmarkLocalizationServiceConfig
GlobalSpatialMapServiceConfig
グローバルスパースマップサーバー設定。
[Tooltip("Global spatial map service config.")]
public FixedAddressAPIKeyAccessData GlobalSpatialMapServiceConfig
InitializeOnStartup
起動時にEasyARを初期化する。EasyARの初期化は追加の顕著なリソース消費を引き起こさないため、通常このオプションを有効にしておくことができる。
[Tooltip("Initialize EasyAR Sense on startup. EasyAR initialize does not result extra resource usages, so usually you can keep this option on.")]
public bool InitializeOnStartup
LicenseKey
EasyAR Senseライセンスキー。EasyAR Sense内部の各種機能が利用可能かどうかを検証するために使用される。詳細は https://www.easyar.cn を参照。
[Tooltip("EasyAR Sense License Key. Used for validation of EasyAR Sense functions. Please visit https://www.easyar.com for more details.")]
[SerializeField]
[TextArea(1, 4)]
public string LicenseKey
UnityXR
Unity XR Frameworkに関連する設定項目。
[Tooltip("Configuration options related to the Unity XR Framework.")]
public EasyARSettings.UnityXROptions UnityXR
Verify32bitOnlyARCoreWhenBuild
32ビットのみでARCoreを使用するアプリをビルドする際に警告を生成する。ARCoreは、64ビットデバイス上の32ビットライブラリのみのARCoreアプリのサポートを終了した。32ビットデバイス上の32ビットアプリは影響を受けない。更新されていない32ビットライブラリのみのARCoreアプリは、(ARCoreの)ARセッションを開始しようとするとクラッシュする可能性がある。詳細は https://developers.google.com/ar/64bit を参照。
[Tooltip("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.")]
public bool Verify32bitOnlyARCoreWhenBuild
VerifyLicenseWhenBuild
Unityプロジェクトのビルド時にライセンスキーを検証する。このオプションが有効な場合、Unityプロジェクトのビルドプロセスでライセンスキーが検証され、ライセンスがビルドプラットフォームで無効であるか、Unity Player Settingsで設定されたパッケージ名が含まれていない場合、ビルドプロセスは失敗する。別の場所で設定されたライセンスキーを使用する必要がある場合、またはUnityビルドプロセスの後にパッケージ名を変更する必要がある場合は、このオプションを無効にすることができる。
[Tooltip("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.")]
[SerializeField]
public bool VerifyLicenseWhenBuild
WorkaroundForUnity
Workaround for Unity.
public EasyARSettings.Workaround WorkaroundForUnity
プロパティ
Instance
グローバルEasyARSettings設定。
public static EasyARSettings Instance { get; }
LibVariants
public EasyARSettings.LibVariantConfig LibVariants { get; }
Permissions
現在のアプリの権限設定。カメラを使用する場合はカメラ権限を有効にしてください。その他の権限は、LibVariantsの設定およびMega機能が有効かどうかに基づいて自動的に有効または無効になる。
public EasyARSettings.Permission Permissions { get; }
UseBundledONNXRuntime
バンドルされたONNXランタイムを使用するかどうか。
LibVariantsのAndroid設定がFullの場合、ONNXが必要です。バンドルされたバージョンを使用するか、ONNX公式から更新バージョンを取得することを推奨する。非バンドルバージョンを使用する場合は、falseに設定できる。
public bool UseBundledONNXRuntime { get; }