Click or drag to resize

Color Constructor (Color, Single)

Constructs a color from an existing color and an alpha value.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Color(
	Color c,
	float a = 1f
)

Parameters

c
Type: GodotColor
The color to construct from. Only its RGB values are used.
a (Optional)
Type: SystemSingle
The color's alpha (transparency) value, typically on the range of 0 to 1. Default: 1.
See Also