mwg API
    Preparing search index...

    Interface FloatingTextOptions

    interface FloatingTextOptions {
        color?: number;
        duration?: number;
        hold?: number;
        rise?: number;
        size?: number;
        text: string;
    }

    Hierarchy (View Summary)

    Index
    color?: number
    duration?: number

    seconds it takes to fully rise and fade; defaults to 0.8

    hold?: number

    The fraction of the lifetime the text stays fully opaque before it starts fading, 0 to 1. Defaults to 0 - a straight fade across the whole life, the pre-existing behaviour. 0.5 is the classic damage-number curve: readable for half its time, then gone.

    rise?: number

    total pixels it rises over its lifetime; defaults to 24

    size?: number
    text: string