Bitbybit Docs
    Preparing search index...

    Class SceneMultiColorLinearGradientDto (Inputs.BabylonScene)

    Feeds babylon.scene.multiColorLinearGradientBackground: the colors, one stop each, and the direction the gradient runs in.

    Index

    Constructors

    Properties

    Constructors

    Properties

    colors: string[]

    The hex colors in order; the list must be as long as stops

    ["#1a1c1f", "#93aacd"]
    
    stops: number[]

    Where each color is pure, as percentages along the gradient, one per color

    [0, 100]
    

    Which way the gradient runs, such as to the top or to the bottom right

    toTop