Type alias TagInstance<C, S>

TagInstance<C, S>: RequiredTag<C, S> & Partial<{
    initialConfig: TagConfig<C>;
    mediaPlane: ImagePlane | VideoPlane;
    mediaVisible: boolean;
    model: {
        object?: TagGLTFObject;
        promise: Promise<TagGLTFObject>;
    };
    pause: (() => void);
    play: (() => void);
    screenPosition: {
        leftPercent: number;
        topPercent: number;
    } | null;
    tag3DContentSvelte: {
        css3DInstance: NonNullable<Create3DDomContainerReturnType>;
        currentNormal: Vector3;
        dispose: (() => void);
        domContainer: NonNullable<Create3DDomContainerReturnType>;
        initialNormal: Vector3;
        svelteApp: TagContentSvelte;
    };
    temporaryState: {
        visible: boolean;
    };
    zIndex?: number;
}> & {
    changeData: ((data) => void);
    destroy: (() => void);
    disable: (() => void);
    enable: (() => void);
    fold: (() => void);
    hooks: Subscribe<TagEvents<C>>;
    state: {
        unfolded: boolean;
        visible?: boolean;
    };
    unfold: (() => void);
}

Type Parameters