C#: Properties are not wrapped. use Set and Get with the names below. The class itself
is registered as GeomFillRadial in Godot.
A gradient from the middle of a shape to its edge.
From code
The code used to generate this page's thumbnail.
var fill := GeomFillRadial.new()
fill.inner = EMBER
fill.outer = PINK
var disc := GeomDisc2D.new()
disc.position = c
disc.radius = r
disc.fill = fill
add_child(disc) var fill = Geom.Resources.FillRadial();
fill.Set("inner", EMBER);
fill.Set("outer", PINK);
var disc = Geom.Nodes.Disc2D();
disc.Position = c;
disc.Set("radius", r);
disc.Set("fill", fill);
AddChild(disc); Properties
Property descriptions
Color inner = Color(1, 1, 1, 1)
At the center.
Color outer = Color(1, 1, 1, 0)
At the edge. For a ring or arc, the outside of the wall.