Bitbybit Docs
    Preparing search index...

    Class SceneTwoColorLinearGradientDto (Inputs.BabylonScene)

    Feeds babylon.scene.twoColorLinearGradientBackground: the two colors, the direction the gradient runs in and where each color stops.

    Index

    Constructors

    Properties

    colorFrom: string

    Hex color the gradient starts with

    #1a1c1f
    
    colorTo: string

    Hex color the gradient ends with

    #93aacd
    

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

    toBottom
    
    stopFrom: number

    Where the first color is still pure, as a percentage along the gradient

    0
    

    0

    100

    1

    stopTo: number

    Where the second color becomes pure, as a percentage along the gradient

    100
    

    0

    100

    1