mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
2.3 KiB
2.3 KiB
druid.widget.property_vector3 API
at /druid/widget/properties_panel/properties/property_vector3.lua
Functions
Fields
- root
- container
- text_name
- button
- druid
- selected_x
- selected_y
- selected_z
- rich_input_x
- rich_input_y
- rich_input_z
- value
- on_change
init
property_vector3:init()
set_text_property
property_vector3:set_text_property(text)
-
Parameters:
text
(string):
-
Returns:
- `` (druid.widget.property_vector3):
set_value
property_vector3:set_value(x, y, z)
-
Parameters:
x
(number):y
(number):z
(number):
-
Returns:
- `` (druid.widget.property_vector3):
Fields
- root (node)
- container (druid.container): The component used for managing the size and positions with other containers relations to create a adaptable layouts
- text_name (druid.text): The component to handle text behaviour over a GUI Text node, mainly used to automatically adjust text size to fit the text area
- button (druid.button): Druid component to make clickable node with various interaction callbacks
- druid (druid.instance): The Druid Factory used to create components
- selected_x (node)
- selected_y (node)
- selected_z (node)
- rich_input_x (druid.rich_input): The component that handles a rich text input field, it's a wrapper around the druid.input component
- rich_input_y (druid.rich_input): The component that handles a rich text input field, it's a wrapper around the druid.input component
- rich_input_z (druid.rich_input): The component that handles a rich text input field, it's a wrapper around the druid.input component
- value (unknown)
- on_change (unknown)