Bitbybit Docs
    Preparing search index...

    Interface DrawnTag (Inputs.Draw)

    A drawn tag. Drawing a tag produces the tag itself rather than a mesh, because a tag is rendered as an HTML overlay positioned from the scene rather than as geometry in it. The drawing entry points still declare a mesh, which is the type every drawable output is described by, so a drawn tag reaches a caller through that declaration.

    interface DrawnTag {
        metadata?: DrawnTagMeta;
        text: string;
        position: Point3;
        colour: string;
        size: number;
        adaptDepth: boolean;
        needsUpdate?: boolean;
        id?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    metadata?: DrawnTagMeta
    text: string

    Text of the tag

    position: Point3

    Position of the tag

    colour: string

    Colour of the tag

    size: number

    Text size

    adaptDepth: boolean

    Make tags that are further away smaller

    needsUpdate?: boolean

    Indicates if tag needs updating

    id?: string

    Unique id of the tag