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 public Color Darkened(
float amount
)
Parameters
- amount
- Type: SystemSingle
The ratio to darken by.
Return Value
Type:
ColorThe darkened color.
See Also