ImageTargetParameters Class

This type is an EasyAR Sense API in C#: ImageTargetParameters . Some descriptions may not apply to Unity environment on this page.

Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.

Description

ImageTargetParameters represents the parameters to create a ImageTarget .


Methods

image

C#

public virtual Image image()

Gets image.

setImage

C#

public virtual void setImage( Image image)

Sets image.

name

C#

public virtual string name()

Gets target name. It can be used to distinguish targets.

setName

C#

public virtual void setName(string name)

Sets target name.

uid

C#

public virtual string uid()

Gets the target uid. A target uid is useful in cloud based algorithms. If no cloud is used, you can set this uid in the json config as an alternative method to distinguish from targets.

setUid

C#

public virtual void setUid(string uid)

Sets target uid.

meta

C#

public virtual string meta()

Gets meta data.

setMeta

C#

public virtual void setMeta(string meta)

Sets meta data。

scale

C#

public virtual float scale()

Gets the scale of image. The value is the physical image width divided by 1 meter. The default value is 1.

setScale

C#

public virtual void setScale(float scale)

Sets the scale of image. The value is the physical image width divided by 1 meter. The default value is 1.

It is needed to set the model scale in rendering engine separately.