Bitbybit Docs
    Preparing search index...

    Interface Text3DOptions

    Options for the 3D text used inside dimension annotations: the font, size, alignment and thickness of a label. Dimension text is real geometry rather than a screen overlay, so it needs the same settings any other 3D text does.

    interface Text3DOptions {
        text: string;
        position: Vector3;
        size?: number;
        fontWeight?: number;
        color?: string;
        backgroundColor?: string;
        backgroundOpacity?: number;
        backgroundStroke?: boolean;
        backgroundStrokeThickness?: number;
        backgroundRadius?: number;
        stableSize?: boolean;
        billboardMode?: boolean;
        alwaysOnTop?: boolean;
        name?: string;
    }
    Index

    Properties

    text: string
    position: Vector3
    size?: number
    fontWeight?: number
    color?: string
    backgroundColor?: string
    backgroundOpacity?: number
    backgroundStroke?: boolean
    backgroundStrokeThickness?: number
    backgroundRadius?: number
    stableSize?: boolean
    billboardMode?: boolean
    alwaysOnTop?: boolean
    name?: string