This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/docs/lua/classes/input_float.md
2023-07-02 00:59:02 +02:00

507 B

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:

float = input_float:get_value()

set_value(val)

  • Parameters:
    • val (float): Set the value currently written inside the input field.

Exemple Usage:

input_float:set_value(val)