OptionalcolorFrom: stringOptionalcolorTo: stringOptionaldirection: gradientDirectionEnumOptionalstopFrom: numberOptionalstopTo: numberOptionalcolorHex color the gradient starts with
OptionalcolorHex color the gradient ends with
OptionaldirectionWhich way the gradient runs, such as to the top or to the bottom right
OptionalstopWhere the first color is still pure, as a percentage along the gradient
OptionalstopWhere the second color becomes pure, as a percentage along the gradient
Feeds
babylon.scene.twoColorLinearGradientBackground: the two colors, the direction the gradient runs in and where each color stops.