Click or drag to resize

GradientAddPoint Method

Adds the specified color to the end of the ramp, with the specified offset.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddPoint(
	float offset,
	Color color
)

Parameters

offset
Type: SystemSingle

[Missing <param name="offset"/> documentation for "M:Godot.Gradient.AddPoint(System.Single,Godot.Color)"]

color
Type: GodotColor

[Missing <param name="color"/> documentation for "M:Godot.Gradient.AddPoint(System.Single,Godot.Color)"]

See Also