Click or drag to resize

ColorDarkened Method

Returns a new color resulting from making this color darker by the specified ratio (on the range of 0 to 1).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Color Darkened(
	float amount
)

Parameters

amount
Type: SystemSingle
The ratio to darken by.

Return Value

Type: Color
The darkened color.
See Also