Skip to content

@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

PropertyTypeDescriptionDefined in
targetId?number | nullId of the tracked target this anchor follows (matches ImageTargetReference.id).components/ImageTargetAnchor.ts:6
targetUrl?stringOptional canonical URL of the target image, used as a fallback identifier.components/ImageTargetAnchor.ts:8