Click or drag to resize

ColorItem Property

Access color components using their index.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32

Property Value

Type: Single
`[0]` is equivalent to `.r`, `[1]` is equivalent to `.g`, `[2]` is equivalent to `.b`, `[3]` is equivalent to `.a`.
See Also