geom

GeomFillAngularGeom.Resources.FillAngular

Inherits: Resource

C#: Properties are not wrapped. use Set and Get with the names below. The class itself is registered as GeomFillAngular in Godot.

A gradient that travels around a shape's sweep.

From code

The code used to generate this page's thumbnail.

var fill := GeomFillAngular.new()
fill.start = EMBER
fill.end = PINK
var disc := GeomDisc2D.new()
disc.position = c
disc.rotation = TAU * 0.75
disc.radius = r
disc.fill = fill
add_child(disc)
var fill = Geom.Resources.FillAngular();
fill.Set("start", EMBER);
fill.Set("end", PINK);
var disc = Geom.Nodes.Disc2D();
disc.Position = c;
disc.Rotation = Mathf.Tau * 0.75f;
disc.Set("radius", r);
disc.Set("fill", fill);
AddChild(disc);

Properties

Color end Color(1, 1, 1, 0)
Color start Color(1, 1, 1, 1)

Property descriptions

Color end = Color(1, 1, 1, 0)

Where the sweep ends.

Color start = Color(1, 1, 1, 1)

Where the sweep begins.