rapid-render
    Preparing search index...

    Interface ParticleAttribute<T>

    Defines particle attribute animation

    interface ParticleAttribute<T extends number | Vec2 | Color> {
        damping?: number;
        delta?: T;
        end?: T;
        start: T;
    }

    Type Parameters

    • T extends number | Vec2 | Color

      Attribute type, can be number, vector or color

    Index

    Properties

    damping?: number

    Damping coefficient, controls attribute decay rate over time

    delta?: T

    Attribute change rate, automatically calculated from start and end if not specified

    end?: T

    Final attribute value, uses initial value if not specified

    start: T

    Initial attribute value