Click or drag to resize

ThemeGetConstant Method

Returns the constant at name if the theme has node_type.

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

Parameters

name
Type: SystemString

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

nodeType
Type: SystemString

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

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.Theme.GetConstant(System.String,System.String)"]

See Also