@lightningjs/renderer
    Preparing search index...

    Interface RadialGradientProps

    Properties of the RadialGradient shader

    interface RadialGradientProps {
        colors: number[];
        h: number;
        pivot: [number, number];
        stops: number[];
        w: number;
    }
    Index

    Properties

    Properties

    colors: number[]

    Array of colors to be used in the RadialGradient shader

    [0xff000000, 0xffffffff]
    
    h: number

    radial height of the RadialGradientEffect if not defined uses the width value

    from the center to the outer edge of the gradient

    pivot: [number, number]

    center point of where the RadialGradientEffect is drawn

    stops: number[]

    Array of color stops

    w: number

    radial width of the RadialGradientEffect

    from the center to the outer edge of the gradient