Table of Contents

Class EasyARSettings.TargetGizmoConfig.ImageTargetConfig

命名空间
easyar
程序集
EasyAR.Sense.dll

ImageTargetGizmos配置。

[Serializable]
public class EasyARSettings.TargetGizmoConfig.ImageTargetConfig
继承
EasyARSettings.TargetGizmoConfig.ImageTargetConfig

字段

EnableImageFile

开启Source类型为ImageTargetController.ImageFileSourceData的target的Gizmos。打开这个将会在Unity Editor中加载图像文件并显示对应gizmo,如果场景中该类target过多,可能会影响编辑器中的启动性能。在设备上运行时,Unity运行时的性能不会受到影响。

[Tooltip("Enable Gizmos of target which ImageTargetController.Source is type of ImageTargetController.ImageFileSourceData. Enable this option will load image file and display gizmo in Unity Editor, the startup performance of the Editor will be affected if there are too much target of this kind in the scene, but the Unity runtime will not be affected when running on devices.")]
public bool EnableImageFile

EnableTarget

开启Source类型为ImageTargetController.TargetSourceData的target的Gizmos。打开这个将会在Unity Editor中显示对应gizmo,如果场景中该类target过多,可能会影响编辑器中的启动性能。在设备上运行时,Unity运行时的性能不会受到影响。

[Tooltip("Enable Gizmos of target which ImageTargetController.Source is type of ImageTargetController.TargetSourceData. Enable this option will display gizmo in Unity Editor, the startup performance of the Editor will be affected if there are too much target of this kind in the scene, but the Unity runtime will not be affected when running on devices.")]
public bool EnableTarget

EnableTargetDataFile

开启Source类型为ImageTargetController.TargetDataFileSourceData的target的Gizmos。打开这个将会在Unity Editor中加载target数据文件并显示显示对应gizmo,如果场景中该类target过多,可能会影响编辑器中的启动性能。在设备上运行时,Unity运行时的性能不会受到影响。

[Tooltip("Enable Gizmos of target which ImageTargetController.Source is type of ImageTargetController.TargetDataFileSourceData. Enable this option will target data file and display gizmo in Unity Editor, the startup performance of the Editor will be affected if there are too much target of this kind in the scene, but the Unity runtime will not be affected when running on devices.")]
public bool EnableTargetDataFile

EnableTexture2D

开启Source类型为ImageTargetController.Texture2DSourceData的target的Gizmos。打开这个将会在Unity Editor中显示对应gizmo,如果场景中该类target过多,可能会影响编辑器中的启动性能。在设备上运行时,Unity运行时的性能不会受到影响。

[Tooltip("Enable Gizmos of target which ImageTargetController.Source is type of ImageTargetController.Texture2DSourceData. Enable this option will display gizmo in Unity Editor, the startup performance of the Editor will be affected if there are too much target of this kind in the scene, but the Unity runtime will not be affected when running on devices.")]
public bool EnableTexture2D