Click or drag to resize

ThemeSetConstant Method

Sets the theme's constant to constant at name in node_type.

Does nothing if the theme does not have node_type.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetConstant(
	string name,
	string nodeType,
	int constant
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.Theme.SetConstant(System.String,System.String,System.Int32)"]

nodeType
Type: SystemString

[Missing <param name="nodeType"/> documentation for "M:Godot.Theme.SetConstant(System.String,System.String,System.Int32)"]

constant
Type: SystemInt32

[Missing <param name="constant"/> documentation for "M:Godot.Theme.SetConstant(System.String,System.String,System.Int32)"]

See Also