Annotations Plugin for ThreePipe
    Preparing search index...

    Interface Annotation

    interface Annotation {
        anchor: AnnotationAnchor;
        data?: Record<string, any>;
        id: string;
        text: string;
        title: string;
        view: AnnotationView | null;
    }
    Index
    data?: Record<string, any>

    Values of the app (a price, a product id…) for AnnotationsPlugin.renderCardContent. Plain JSON: saved with the annotation (viewer config, .glb) and loaded as is. The default card never shows it. Change it with AnnotationsPlugin.update (a new object, undoable), not in place.

    id: string
    text: string

    Plain text with line breaks. bold, italic, label and bare https:// links are shown formatted

    title: string
    view: AnnotationView | null

    Camera view to go to when the annotation is opened. null: the camera stays