Returns a new color resulting from making this color lighter
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 Lightened(
float amount
)
Parameters
- amount
- Type: SystemSingle
The ratio to lighten by.
Return Value
Type:
ColorThe darkened color.
See Also