This commit is contained in:
Quentin
2023-07-02 00:59:02 +02:00
committed by GitHub
parent f96356960a
commit 3bdd0796f4
56 changed files with 2804 additions and 24 deletions

View File

@ -0,0 +1,29 @@
# Class: input_float
## Inherit from 1 class: base_text_element
Class for representing an input field for editing a float value within the GUI.
## Functions (2)
### `get_value()`
- **Returns:**
- `float`: Get the value currently written inside the input field.
**Exemple Usage:**
```lua
float = input_float:get_value()
```
### `set_value(val)`
- **Parameters:**
- `val` (float): Set the value currently written inside the input field.
**Exemple Usage:**
```lua
input_float:set_value(val)
```