OptionalcolorFrom: stringOptionalcolorTo: stringOptionalposition: gradientPositionEnumOptionalstopFrom: numberOptionalstopTo: numberOptionalshape: gradientShapeEnumOptionalcolorHex color at the center of the gradient
OptionalcolorHex color at the outer edge of the gradient
OptionalpositionWhere the center of the gradient sits on the canvas
OptionalstopHow far from the center the first color is still pure, as a percentage
OptionalstopHow far from the center the second color becomes pure, as a percentage
OptionalshapeWhether the gradient spreads as a circle or stretches into an ellipse with the canvas
Feeds
babylon.scene.twoColorRadialGradientBackground: the two colors, where the gradient spreads from, its shape and where each color stops.