ControlGetColor Method |
Returns a color from assigned Theme with given name and associated with Control of given node_type.
func _ready(): modulate = get_color("font_color", "Button") #get the color defined for button fonts
Namespace: Godot
public Color GetColor( string name, string nodeType = "" )
[Missing <param name="name"/> documentation for "M:Godot.Control.GetColor(System.String,System.String)"]
[Missing <param name="nodeType"/> documentation for "M:Godot.Control.GetColor(System.String,System.String)"]
[Missing <returns> documentation for "M:Godot.Control.GetColor(System.String,System.String)"]