ObjectTarget represents 3D object targets that can be tracked by ObjectTrackerBaseBehaviour.
The size of ObjectTarget is determined by the obj file. You can change it by changing the object scale, which is default to 1.
ObjectTarget can be tracked by ObjectTrackerBaseBehaviour after a successful load into the ObjectTrackerBaseBehaviour explicitly using ObjectTrackerBaseBehaviour.LoadObjectTargetBehaviour or implicitly using ObjectTargetBaseBehaviour.Bind. ObjectTrackerBaseBehaviour.TargetLoad and ObjectTargetBaseBehaviour.TargetLoad event will be triggered after load.
The target id. A target id is a int number generated at runtime, it is valid (non-zero) only after a successful setup.
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.
The target name. Name is used to distinguish targets in a json file.
The meta data.
A set operation will set the data as string. It will erase previously set data or data from cloud.
The bounding box of object, it contains the 8 points of the box.
Scale of the ObjectTarget. Default value is 1.
Convert to Target.
static ObjectTarget FromTarget(Target target)¶
Convert Target to ObjectTarget.