@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / ImageTargetAnchorOptions
Type Alias: ImageTargetAnchorOptions
ts
type ImageTargetAnchorOptions = {
targetId?: number | null;
targetUrl?: string;
};Defined in: components/ImageTargetAnchor.ts:4
Optional initializer for ImageTargetAnchor.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
targetId? | number | null | Id of the tracked target this anchor follows (matches ImageTargetReference.id). | components/ImageTargetAnchor.ts:6 |
targetUrl? | string | Optional canonical URL of the target image, used as a fallback identifier. | components/ImageTargetAnchor.ts:8 |

