You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/EasyARDemo/Assets/EasyAR/Scripts/Resource/EasyARSettings.cs

45 lines
1.7 KiB

//================================================================================================================================
//
// Copyright (c) 2015-2019 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved.
// EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China
// and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd.
//
//================================================================================================================================
using System;
using UnityEngine;
namespace easyar
{
[CreateAssetMenu(menuName = "EasyAR/Settings")]
public class EasyARSettings : ScriptableObject
{
[HideInInspector, SerializeField]
[TextArea(1, 10)]
public string LicenseKey;
public TargetGizmoConfig GizmoConfig = new TargetGizmoConfig();
public CloudRecognizerFrameFilter.CloudRecognizerServiceConfig GlobalCloudRecognizerServiceConfig = new CloudRecognizerFrameFilter.CloudRecognizerServiceConfig();
[Serializable]
public class TargetGizmoConfig
{
public ImageTargetConfig ImageTarget = new ImageTargetConfig();
public ObjectTargetConfig ObjectTarget = new ObjectTargetConfig();
[Serializable]
public class ImageTargetConfig
{
public bool EnableImageFile = true;
public bool EnableTargetDataFile = true;
public bool EnableTarget = true;
}
[Serializable]
public class ObjectTargetConfig
{
public bool Enable = true;
}
}
}
}