Skip to content

InputIcon

Inherits: HBoxContainer

Properties

Type Name Default
InputIconManager input_icons
Label label
Texture[] textures []
TextureRect[] texture_rects []
Node[] internal_children []
String text ""
String path ""
int show_only 0
int force_type 0
String force_mapping ""
int max_width 40

Property Descriptions

input_icons

InputIconManager input_icons

Note

There is currently no description for this property. Please help us by contributing one!

label

Label label

Note

There is currently no description for this property. Please help us by contributing one!

textures

Texture[] textures = []

Note

There is currently no description for this property. Please help us by contributing one!

texture_rects

TextureRect[] texture_rects = []

Note

There is currently no description for this property. Please help us by contributing one!

internal_children

Node[] internal_children = []

Note

There is currently no description for this property. Please help us by contributing one!

text

String text = ""

Optional text to display next to the icon(s)

path

String path = ""

Icon path can be either an action name defined in the action map, or an input path (e.g. "joypad/south", "key/a", etc.).

show_only

int show_only = 0

Whether or not an icon should be displayed

force_type

int force_type = 0

Force the icon to always show the given type of icon

force_mapping

String force_mapping = ""

Force using the given icon mapping for a particular device

max_width

int max_width = 40

The maximum width of each icon texture