@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / ImageTargetAnchor
Class: ImageTargetAnchor
Defined in: components/ImageTargetAnchor.ts:18
Marks an entity as an anchor for an image-tracking target. The image tracking system reveals the entity when the referenced target is found and hides it when the target is lost.
Extends
Constructors
Constructor
ts
new ImageTargetAnchor(options?): ImageTargetAnchor;Defined in: components/ImageTargetAnchor.ts:24
Parameters
| Parameter | Type |
|---|---|
options? | ImageTargetAnchorOptions |
Returns
ImageTargetAnchor
Overrides
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
targetId | number | null | Tracked target id this anchor follows. null when unbound. | components/ImageTargetAnchor.ts:20 |
targetUrl? | string | Canonical target image URL, retained as a fallback identifier. | components/ImageTargetAnchor.ts:22 |

