Class EasyARSettings
- 네임스페이스
- easyar
- 어셈블리
- EasyAR.Sense.dll
EasyAR Sense Unity Plugin의 구성 정보.
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
ImageTarget 와 ObjectTarget의 Gizmos 구성.
[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 앱은 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; }