Table of Contents

Class EasyARSettings

Espaço de nomes
easyar
Assembly
EasyAR.Sense.dll

Informações de configuração do Plugin EasyAR Sense Unity.

public class EasyARSettings : ScriptableObject
Herança
EasyARSettings

Campos

ARCoreSDK

Configuração do SDK ARCore. Se estiver usando AR Foundation, você pode usar ARFoundationOrOptional para permitir que o plugin decida automaticamente a distribuição do ARCore a ser usada, ou usar External. Se desejar usar outra distribuição do SDK ARCore, defina como 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

Configuração do SDK AREngine. Para usar o EasyAR AREngineInterop e o AREngine distribuído com ele, defina como AREngineInterop. Para usar outra distribuição do AREngine, defina como External. Se você não deseja que o AREngine seja empacotado no aplicativo, defina como 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

Configuração de ImageTarget e ObjectTarget para Gizmos.

[Tooltip("Gizmos configuration for ImageTarget and ObjectTarget.")]
public EasyARSettings.TargetGizmoConfig GizmoConfig

GlobalCloudRecognizerServiceConfig

Configuração do servidor global de reconhecimento de nuvem.

[Tooltip("Global cloud Recognition service config.")]
public APIKeyAccessData GlobalCloudRecognizerServiceConfig

GlobalMegaBlockLocalizationServiceConfig

Configuração do servidor de localização global Mega Block.

[Tooltip("Global Mega Block localization service config.")]
public APIKeyAccessData GlobalMegaBlockLocalizationServiceConfig

GlobalMegaLandmarkLocalizationServiceConfig

Configuração do servidor de localização global Mega Landmark.

[Tooltip("Global Mega Landmark localization service config.")]
public APIKeyAccessData GlobalMegaLandmarkLocalizationServiceConfig

GlobalSpatialMapServiceConfig

Configuração do servidor global de mapa esparso.

[Tooltip("Global spatial map service config.")]
public FixedAddressAPIKeyAccessData GlobalSpatialMapServiceConfig

InitializeOnStartup

Inicializa o EasyAR na inicialização. A inicialização do EasyAR não causa consumo de recursos significativo adicional, portanto, geralmente esta opção pode permanecer ativada.

[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

Chave de Licença do EasyAR Sense. Usada para verificar se várias funcionalidades internas do EasyAR Sense estão disponíveis. Consulte https://www.easyar.cn para mais detalhes.

[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

Itens de configuração relacionados ao Unity XR Framework.

[Tooltip("Configuration options related to the Unity XR Framework.")]
public EasyARSettings.UnityXROptions UnityXR

Verify32bitOnlyARCoreWhenBuild

Gera um aviso ao compilar aplicativos somente de 32 bits que usam ARCore. O ARCore removeu o suporte para aplicativos ARCore com bibliotecas somente de 32 bits em dispositivos de 64 bits. Aplicativos de 32 bits em dispositivos de 32 bits não são afetados. Aplicativos ARCore com bibliotecas somente de 32 bits não atualizados podem falhar ao tentar iniciar uma sessão AR (do ARCore). Para detalhes, consulte 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

Verifica a License Key ao compilar o projeto Unity. Quando esta opção está ativada, o processo de compilação do projeto Unity verificará a License Key. Se a licença for inválida na plataforma de compilação ou não incluir o nome do pacote definido nas Configurações do Player do Unity, a compilação falhará. Se precisar usar uma license key configurada em outro lugar ou precisar modificar o nome do pacote após o processo de compilação do Unity, você pode desativar esta opção.

[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

Propriedades

Instance

Configurações globais do EasyARSettings.

public static EasyARSettings Instance { get; }

LibVariants

Configuração de variantes da biblioteca EasyAR Sense. Para recomendações de configuração, consulte Android e IOS.

public EasyARSettings.LibVariantConfig LibVariants { get; }

Permissions

Configuração de permissões do aplicativo atual. Certifique-se de ativar a permissão da câmera ao usar a câmera. Outras permissões serão ativadas ou desativadas automaticamente com base na configuração de LibVariants e se os recursos Mega estão ativados.

public EasyARSettings.Permission Permissions { get; }

UseBundledONNXRuntime

Se deve usar o runtime ONNX empacotado.

Quando a configuração Android de LibVariants for Full, o ONNX é necessário. Recomenda-se usar a versão empacotada ou obter uma versão mais recente do site oficial do ONNX. Ao usar uma versão não empacotada, defina como false.

public bool UseBundledONNXRuntime { get; }