mirror of
https://github.com/Insality/druid
synced 2025-06-27 02:17:52 +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): Druid component to manage the size and positions with other containers relations to create a adaptable layouts.
- text_name (druid.text): Basic Druid text component. Text components by default have the text size adjusting.
- button (druid.button): Basic Druid input component. Handle input on node and provide different callbacks on touch events.
- 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)