mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Use code markup for default values/overrides
Sync with godotengine/godot#35357. Fixes #3071.
This commit is contained in:
@@ -42,71 +42,71 @@ Tutorials
|
||||
Properties
|
||||
----------
|
||||
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`anchor_bottom<class_Control_property_anchor_bottom>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`anchor_left<class_Control_property_anchor_left>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`anchor_right<class_Control_property_anchor_right>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`anchor_top<class_Control_property_anchor_top>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | :ref:`focus_mode<class_Control_property_focus_mode>` | 0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_neighbour_bottom<class_Control_property_focus_neighbour_bottom>` | NodePath("") |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_neighbour_left<class_Control_property_focus_neighbour_left>` | NodePath("") |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_neighbour_right<class_Control_property_focus_neighbour_right>` | NodePath("") |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_neighbour_top<class_Control_property_focus_neighbour_top>` | NodePath("") |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_next<class_Control_property_focus_next>` | NodePath("") |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_previous<class_Control_property_focus_previous>` | NodePath("") |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`GrowDirection<enum_Control_GrowDirection>` | :ref:`grow_horizontal<class_Control_property_grow_horizontal>` | 1 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`GrowDirection<enum_Control_GrowDirection>` | :ref:`grow_vertical<class_Control_property_grow_vertical>` | 1 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`String<class_String>` | :ref:`hint_tooltip<class_Control_property_hint_tooltip>` | "" |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`margin_bottom<class_Control_property_margin_bottom>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`margin_left<class_Control_property_margin_left>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`margin_right<class_Control_property_margin_right>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`margin_top<class_Control_property_margin_top>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`CursorShape<enum_Control_CursorShape>` | :ref:`mouse_default_cursor_shape<class_Control_property_mouse_default_cursor_shape>` | 0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`MouseFilter<enum_Control_MouseFilter>` | :ref:`mouse_filter<class_Control_property_mouse_filter>` | 0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`rect_clip_content<class_Control_property_rect_clip_content>` | false |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_global_position<class_Control_property_rect_global_position>` | |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_min_size<class_Control_property_rect_min_size>` | Vector2( 0, 0 ) |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_pivot_offset<class_Control_property_rect_pivot_offset>` | Vector2( 0, 0 ) |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_position<class_Control_property_rect_position>` | Vector2( 0, 0 ) |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`rect_rotation<class_Control_property_rect_rotation>` | 0.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_scale<class_Control_property_rect_scale>` | Vector2( 1, 1 ) |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_size<class_Control_property_rect_size>` | Vector2( 0, 0 ) |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`int<class_int>` | :ref:`size_flags_horizontal<class_Control_property_size_flags_horizontal>` | 1 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`size_flags_stretch_ratio<class_Control_property_size_flags_stretch_ratio>` | 1.0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`int<class_int>` | :ref:`size_flags_vertical<class_Control_property_size_flags_vertical>` | 1 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Theme<class_Theme>` | :ref:`theme<class_Control_property_theme>` | |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+-----------------+
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`anchor_bottom<class_Control_property_anchor_bottom>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`anchor_left<class_Control_property_anchor_left>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`anchor_right<class_Control_property_anchor_right>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`anchor_top<class_Control_property_anchor_top>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | :ref:`focus_mode<class_Control_property_focus_mode>` | ``0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_neighbour_bottom<class_Control_property_focus_neighbour_bottom>` | ``NodePath("")`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_neighbour_left<class_Control_property_focus_neighbour_left>` | ``NodePath("")`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_neighbour_right<class_Control_property_focus_neighbour_right>` | ``NodePath("")`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_neighbour_top<class_Control_property_focus_neighbour_top>` | ``NodePath("")`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_next<class_Control_property_focus_next>` | ``NodePath("")`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`focus_previous<class_Control_property_focus_previous>` | ``NodePath("")`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`GrowDirection<enum_Control_GrowDirection>` | :ref:`grow_horizontal<class_Control_property_grow_horizontal>` | ``1`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`GrowDirection<enum_Control_GrowDirection>` | :ref:`grow_vertical<class_Control_property_grow_vertical>` | ``1`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`String<class_String>` | :ref:`hint_tooltip<class_Control_property_hint_tooltip>` | ``""`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`margin_bottom<class_Control_property_margin_bottom>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`margin_left<class_Control_property_margin_left>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`margin_right<class_Control_property_margin_right>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`margin_top<class_Control_property_margin_top>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`CursorShape<enum_Control_CursorShape>` | :ref:`mouse_default_cursor_shape<class_Control_property_mouse_default_cursor_shape>` | ``0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`MouseFilter<enum_Control_MouseFilter>` | :ref:`mouse_filter<class_Control_property_mouse_filter>` | ``0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`rect_clip_content<class_Control_property_rect_clip_content>` | ``false`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_global_position<class_Control_property_rect_global_position>` | |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_min_size<class_Control_property_rect_min_size>` | ``Vector2( 0, 0 )`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_pivot_offset<class_Control_property_rect_pivot_offset>` | ``Vector2( 0, 0 )`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_position<class_Control_property_rect_position>` | ``Vector2( 0, 0 )`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`rect_rotation<class_Control_property_rect_rotation>` | ``0.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_scale<class_Control_property_rect_scale>` | ``Vector2( 1, 1 )`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`rect_size<class_Control_property_rect_size>` | ``Vector2( 0, 0 )`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`size_flags_horizontal<class_Control_property_size_flags_horizontal>` | ``1`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`size_flags_stretch_ratio<class_Control_property_size_flags_stretch_ratio>` | ``1.0`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`size_flags_vertical<class_Control_property_size_flags_vertical>` | ``1`` |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Theme<class_Theme>` | :ref:`theme<class_Control_property_theme>` | |
|
||||
+--------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -632,7 +632,7 @@ Property Descriptions
|
||||
- :ref:`float<class_float>` **anchor_bottom**
|
||||
|
||||
+-----------+--------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+--------------+
|
||||
| *Getter* | get_anchor() |
|
||||
+-----------+--------------+
|
||||
@@ -646,7 +646,7 @@ Anchors the bottom edge of the node to the origin, the center, or the end of its
|
||||
- :ref:`float<class_float>` **anchor_left**
|
||||
|
||||
+-----------+--------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+--------------+
|
||||
| *Getter* | get_anchor() |
|
||||
+-----------+--------------+
|
||||
@@ -660,7 +660,7 @@ Anchors the left edge of the node to the origin, the center or the end of its pa
|
||||
- :ref:`float<class_float>` **anchor_right**
|
||||
|
||||
+-----------+--------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+--------------+
|
||||
| *Getter* | get_anchor() |
|
||||
+-----------+--------------+
|
||||
@@ -674,7 +674,7 @@ Anchors the right edge of the node to the origin, the center or the end of its p
|
||||
- :ref:`float<class_float>` **anchor_top**
|
||||
|
||||
+-----------+--------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+--------------+
|
||||
| *Getter* | get_anchor() |
|
||||
+-----------+--------------+
|
||||
@@ -688,7 +688,7 @@ Anchors the top edge of the node to the origin, the center or the end of its par
|
||||
- :ref:`FocusMode<enum_Control_FocusMode>` **focus_mode**
|
||||
|
||||
+-----------+-----------------------+
|
||||
| *Default* | 0 |
|
||||
| *Default* | ``0`` |
|
||||
+-----------+-----------------------+
|
||||
| *Setter* | set_focus_mode(value) |
|
||||
+-----------+-----------------------+
|
||||
@@ -704,7 +704,7 @@ The focus access mode for the control (None, Click or All). Only one Control can
|
||||
- :ref:`NodePath<class_NodePath>` **focus_neighbour_bottom**
|
||||
|
||||
+-----------+----------------------------+
|
||||
| *Default* | NodePath("") |
|
||||
| *Default* | ``NodePath("")`` |
|
||||
+-----------+----------------------------+
|
||||
| *Setter* | set_focus_neighbour(value) |
|
||||
+-----------+----------------------------+
|
||||
@@ -720,7 +720,7 @@ Tells Godot which node it should give keyboard focus to if the user presses the
|
||||
- :ref:`NodePath<class_NodePath>` **focus_neighbour_left**
|
||||
|
||||
+-----------+----------------------------+
|
||||
| *Default* | NodePath("") |
|
||||
| *Default* | ``NodePath("")`` |
|
||||
+-----------+----------------------------+
|
||||
| *Setter* | set_focus_neighbour(value) |
|
||||
+-----------+----------------------------+
|
||||
@@ -736,7 +736,7 @@ Tells Godot which node it should give keyboard focus to if the user presses the
|
||||
- :ref:`NodePath<class_NodePath>` **focus_neighbour_right**
|
||||
|
||||
+-----------+----------------------------+
|
||||
| *Default* | NodePath("") |
|
||||
| *Default* | ``NodePath("")`` |
|
||||
+-----------+----------------------------+
|
||||
| *Setter* | set_focus_neighbour(value) |
|
||||
+-----------+----------------------------+
|
||||
@@ -752,7 +752,7 @@ Tells Godot which node it should give keyboard focus to if the user presses the
|
||||
- :ref:`NodePath<class_NodePath>` **focus_neighbour_top**
|
||||
|
||||
+-----------+----------------------------+
|
||||
| *Default* | NodePath("") |
|
||||
| *Default* | ``NodePath("")`` |
|
||||
+-----------+----------------------------+
|
||||
| *Setter* | set_focus_neighbour(value) |
|
||||
+-----------+----------------------------+
|
||||
@@ -768,7 +768,7 @@ Tells Godot which node it should give keyboard focus to if the user presses the
|
||||
- :ref:`NodePath<class_NodePath>` **focus_next**
|
||||
|
||||
+-----------+-----------------------+
|
||||
| *Default* | NodePath("") |
|
||||
| *Default* | ``NodePath("")`` |
|
||||
+-----------+-----------------------+
|
||||
| *Setter* | set_focus_next(value) |
|
||||
+-----------+-----------------------+
|
||||
@@ -786,7 +786,7 @@ If this property is not set, Godot will select a "best guess" based on surroundi
|
||||
- :ref:`NodePath<class_NodePath>` **focus_previous**
|
||||
|
||||
+-----------+---------------------------+
|
||||
| *Default* | NodePath("") |
|
||||
| *Default* | ``NodePath("")`` |
|
||||
+-----------+---------------------------+
|
||||
| *Setter* | set_focus_previous(value) |
|
||||
+-----------+---------------------------+
|
||||
@@ -804,7 +804,7 @@ If this property is not set, Godot will select a "best guess" based on surroundi
|
||||
- :ref:`GrowDirection<enum_Control_GrowDirection>` **grow_horizontal**
|
||||
|
||||
+-----------+-----------------------------+
|
||||
| *Default* | 1 |
|
||||
| *Default* | ``1`` |
|
||||
+-----------+-----------------------------+
|
||||
| *Setter* | set_h_grow_direction(value) |
|
||||
+-----------+-----------------------------+
|
||||
@@ -820,7 +820,7 @@ Controls the direction on the horizontal axis in which the control should grow i
|
||||
- :ref:`GrowDirection<enum_Control_GrowDirection>` **grow_vertical**
|
||||
|
||||
+-----------+-----------------------------+
|
||||
| *Default* | 1 |
|
||||
| *Default* | ``1`` |
|
||||
+-----------+-----------------------------+
|
||||
| *Setter* | set_v_grow_direction(value) |
|
||||
+-----------+-----------------------------+
|
||||
@@ -836,7 +836,7 @@ Controls the direction on the vertical axis in which the control should grow if
|
||||
- :ref:`String<class_String>` **hint_tooltip**
|
||||
|
||||
+-----------+--------------------+
|
||||
| *Default* | "" |
|
||||
| *Default* | ``""`` |
|
||||
+-----------+--------------------+
|
||||
| *Setter* | set_tooltip(value) |
|
||||
+-----------+--------------------+
|
||||
@@ -850,7 +850,7 @@ Changes the tooltip text. The tooltip appears when the user's mouse cursor stays
|
||||
- :ref:`float<class_float>` **margin_bottom**
|
||||
|
||||
+-----------+-------------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+-------------------+
|
||||
| *Setter* | set_margin(value) |
|
||||
+-----------+-------------------+
|
||||
@@ -868,7 +868,7 @@ Margins are often controlled by one or multiple parent :ref:`Container<class_Con
|
||||
- :ref:`float<class_float>` **margin_left**
|
||||
|
||||
+-----------+-------------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+-------------------+
|
||||
| *Setter* | set_margin(value) |
|
||||
+-----------+-------------------+
|
||||
@@ -886,7 +886,7 @@ Margins are often controlled by one or multiple parent :ref:`Container<class_Con
|
||||
- :ref:`float<class_float>` **margin_right**
|
||||
|
||||
+-----------+-------------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+-------------------+
|
||||
| *Setter* | set_margin(value) |
|
||||
+-----------+-------------------+
|
||||
@@ -904,7 +904,7 @@ Margins are often controlled by one or multiple parent :ref:`Container<class_Con
|
||||
- :ref:`float<class_float>` **margin_top**
|
||||
|
||||
+-----------+-------------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+-------------------+
|
||||
| *Setter* | set_margin(value) |
|
||||
+-----------+-------------------+
|
||||
@@ -922,7 +922,7 @@ Margins are often controlled by one or multiple parent :ref:`Container<class_Con
|
||||
- :ref:`CursorShape<enum_Control_CursorShape>` **mouse_default_cursor_shape**
|
||||
|
||||
+-----------+---------------------------------+
|
||||
| *Default* | 0 |
|
||||
| *Default* | ``0`` |
|
||||
+-----------+---------------------------------+
|
||||
| *Setter* | set_default_cursor_shape(value) |
|
||||
+-----------+---------------------------------+
|
||||
@@ -940,7 +940,7 @@ The default cursor shape for this control. Useful for Godot plugins and applicat
|
||||
- :ref:`MouseFilter<enum_Control_MouseFilter>` **mouse_filter**
|
||||
|
||||
+-----------+-------------------------+
|
||||
| *Default* | 0 |
|
||||
| *Default* | ``0`` |
|
||||
+-----------+-------------------------+
|
||||
| *Setter* | set_mouse_filter(value) |
|
||||
+-----------+-------------------------+
|
||||
@@ -956,7 +956,7 @@ Controls whether the control will be able to receive mouse button input events t
|
||||
- :ref:`bool<class_bool>` **rect_clip_content**
|
||||
|
||||
+-----------+--------------------------+
|
||||
| *Default* | false |
|
||||
| *Default* | ``false`` |
|
||||
+-----------+--------------------------+
|
||||
| *Setter* | set_clip_contents(value) |
|
||||
+-----------+--------------------------+
|
||||
@@ -984,7 +984,7 @@ The node's global position, relative to the world (usually to the top-left corne
|
||||
- :ref:`Vector2<class_Vector2>` **rect_min_size**
|
||||
|
||||
+-----------+--------------------------------+
|
||||
| *Default* | Vector2( 0, 0 ) |
|
||||
| *Default* | ``Vector2( 0, 0 )`` |
|
||||
+-----------+--------------------------------+
|
||||
| *Setter* | set_custom_minimum_size(value) |
|
||||
+-----------+--------------------------------+
|
||||
@@ -1000,7 +1000,7 @@ The minimum size of the node's bounding rectangle. If you set it to a value grea
|
||||
- :ref:`Vector2<class_Vector2>` **rect_pivot_offset**
|
||||
|
||||
+-----------+-------------------------+
|
||||
| *Default* | Vector2( 0, 0 ) |
|
||||
| *Default* | ``Vector2( 0, 0 )`` |
|
||||
+-----------+-------------------------+
|
||||
| *Setter* | set_pivot_offset(value) |
|
||||
+-----------+-------------------------+
|
||||
@@ -1015,11 +1015,11 @@ By default, the node's pivot is its top-left corner. When you change its :ref:`r
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **rect_position**
|
||||
|
||||
+-----------+-----------------+
|
||||
| *Default* | Vector2( 0, 0 ) |
|
||||
+-----------+-----------------+
|
||||
| *Getter* | get_position() |
|
||||
+-----------+-----------------+
|
||||
+-----------+---------------------+
|
||||
| *Default* | ``Vector2( 0, 0 )`` |
|
||||
+-----------+---------------------+
|
||||
| *Getter* | get_position() |
|
||||
+-----------+---------------------+
|
||||
|
||||
The node's position, relative to its parent. It corresponds to the rectangle's top-left corner. The property is not affected by :ref:`rect_pivot_offset<class_Control_property_rect_pivot_offset>`.
|
||||
|
||||
@@ -1030,7 +1030,7 @@ The node's position, relative to its parent. It corresponds to the rectangle's t
|
||||
- :ref:`float<class_float>` **rect_rotation**
|
||||
|
||||
+-----------+-----------------------------+
|
||||
| *Default* | 0.0 |
|
||||
| *Default* | ``0.0`` |
|
||||
+-----------+-----------------------------+
|
||||
| *Setter* | set_rotation_degrees(value) |
|
||||
+-----------+-----------------------------+
|
||||
@@ -1045,13 +1045,13 @@ The node's rotation around its pivot, in degrees. See :ref:`rect_pivot_offset<cl
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **rect_scale**
|
||||
|
||||
+-----------+------------------+
|
||||
| *Default* | Vector2( 1, 1 ) |
|
||||
+-----------+------------------+
|
||||
| *Setter* | set_scale(value) |
|
||||
+-----------+------------------+
|
||||
| *Getter* | get_scale() |
|
||||
+-----------+------------------+
|
||||
+-----------+---------------------+
|
||||
| *Default* | ``Vector2( 1, 1 )`` |
|
||||
+-----------+---------------------+
|
||||
| *Setter* | set_scale(value) |
|
||||
+-----------+---------------------+
|
||||
| *Getter* | get_scale() |
|
||||
+-----------+---------------------+
|
||||
|
||||
The node's scale, relative to its :ref:`rect_size<class_Control_property_rect_size>`. Change this property to scale the node around its :ref:`rect_pivot_offset<class_Control_property_rect_pivot_offset>`.
|
||||
|
||||
@@ -1061,11 +1061,11 @@ The node's scale, relative to its :ref:`rect_size<class_Control_property_rect_si
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **rect_size**
|
||||
|
||||
+-----------+-----------------+
|
||||
| *Default* | Vector2( 0, 0 ) |
|
||||
+-----------+-----------------+
|
||||
| *Getter* | get_size() |
|
||||
+-----------+-----------------+
|
||||
+-----------+---------------------+
|
||||
| *Default* | ``Vector2( 0, 0 )`` |
|
||||
+-----------+---------------------+
|
||||
| *Getter* | get_size() |
|
||||
+-----------+---------------------+
|
||||
|
||||
The size of the node's bounding rectangle, in pixels. :ref:`Container<class_Container>` nodes update this property automatically.
|
||||
|
||||
@@ -1076,7 +1076,7 @@ The size of the node's bounding rectangle, in pixels. :ref:`Container<class_Cont
|
||||
- :ref:`int<class_int>` **size_flags_horizontal**
|
||||
|
||||
+-----------+-------------------------+
|
||||
| *Default* | 1 |
|
||||
| *Default* | ``1`` |
|
||||
+-----------+-------------------------+
|
||||
| *Setter* | set_h_size_flags(value) |
|
||||
+-----------+-------------------------+
|
||||
@@ -1092,7 +1092,7 @@ Tells the parent :ref:`Container<class_Container>` nodes how they should resize
|
||||
- :ref:`float<class_float>` **size_flags_stretch_ratio**
|
||||
|
||||
+-----------+--------------------------+
|
||||
| *Default* | 1.0 |
|
||||
| *Default* | ``1.0`` |
|
||||
+-----------+--------------------------+
|
||||
| *Setter* | set_stretch_ratio(value) |
|
||||
+-----------+--------------------------+
|
||||
@@ -1108,7 +1108,7 @@ If the node and at least one of its neighbours uses the :ref:`SIZE_EXPAND<class_
|
||||
- :ref:`int<class_int>` **size_flags_vertical**
|
||||
|
||||
+-----------+-------------------------+
|
||||
| *Default* | 1 |
|
||||
| *Default* | ``1`` |
|
||||
+-----------+-------------------------+
|
||||
| *Setter* | set_v_size_flags(value) |
|
||||
+-----------+-------------------------+
|
||||
|
||||
Reference in New Issue
Block a user