Table of Contents

Class ImageTargetParameters

Namespace
easyar
Assembly
EasyAR.Sense.dll

ImageTargetParameters represents the parameters required to create `ImageTarget`_.

public class ImageTargetParameters : RefBase, IDisposable
Inheritance
ImageTargetParameters
Implements
Inherited Members

Constructors

ImageTargetParameters()

public ImageTargetParameters()

Methods

Clone()

public ImageTargetParameters Clone()

image()

Gets the image.

public virtual Image image()

meta()

Gets meta data.

public virtual string meta()

name()

Gets the target name. The name is used to distinguish targets.

public virtual string name()

scale()

Image scale. Its value is the ratio of the physical size of the image width to 1 meter. The default value is 1.

public virtual float scale()

setImage(Image)

Sets the image.

public virtual void setImage(Image image)

Parameters

image

setMeta(string)

Sets meta data.

public virtual void setMeta(string meta)

Parameters

meta

setName(string)

Sets the target name.

public virtual void setName(string name)

Parameters

name

setScale(float)

Sets the image scale. Its value is the ratio of the physical size of the image width to 1 meter. The default value is 1. This model scale also needs to be set separately in the rendering engine.

public virtual void setScale(float scale)

Parameters

scale

setUid(string)

Sets the target uid.

public virtual void setUid(string uid)

Parameters

uid

uid()

Gets the target uid. The target uid is used in cloud recognition algorithms. When cloud recognition is not integrated, you can set this uid in the json configuration and use it in your own code as another way to distinguish targets.

public virtual string uid()