mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Sync classref with current source
This commit is contained in:
@@ -114,6 +114,8 @@ Methods
|
||||
+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`nearest_po2<class_@GDScript_method_nearest_po2>` **(** :ref:`int<class_int>` value **)** |
|
||||
+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`ord<class_@GDScript_method_ord>` **(** :ref:`String<class_String>` char **)** |
|
||||
+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Variant<class_Variant>` | :ref:`parse_json<class_@GDScript_method_parse_json>` **(** :ref:`String<class_String>` json **)** |
|
||||
+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`polar2cartesian<class_@GDScript_method_polar2cartesian>` **(** :ref:`float<class_float>` r, :ref:`float<class_float>` th **)** |
|
||||
@@ -785,6 +787,10 @@ Returns the nearest larger power of 2 for integer ``value``.
|
||||
nearest_po2(4) # Returns 4
|
||||
nearest_po2(5) # Returns 8
|
||||
|
||||
.. _class_@GDScript_method_ord:
|
||||
|
||||
- :ref:`int<class_int>` **ord** **(** :ref:`String<class_String>` char **)**
|
||||
|
||||
.. _class_@GDScript_method_parse_json:
|
||||
|
||||
- :ref:`Variant<class_Variant>` **parse_json** **(** :ref:`String<class_String>` json **)**
|
||||
|
||||
@@ -23,13 +23,15 @@ Base dialog for user notification.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------+-------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`dialog_autowrap<class_AcceptDialog_property_dialog_autowrap>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`dialog_hide_on_ok<class_AcceptDialog_property_dialog_hide_on_ok>` | true |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`dialog_text<class_AcceptDialog_property_dialog_text>` | "" |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-------+
|
||||
+-----------------------------+-------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`dialog_autowrap<class_AcceptDialog_property_dialog_autowrap>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`dialog_hide_on_ok<class_AcceptDialog_property_dialog_hide_on_ok>` | true |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`String<class_String>` | :ref:`dialog_text<class_AcceptDialog_property_dialog_text>` | "" |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`String<class_String>` | window_title | **O:** "Alert!" |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-----------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -21,11 +21,13 @@ Proxy texture for simple frame-based animations.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+------------------------------------------------------+-----+
|
||||
| :ref:`float<class_float>` | :ref:`fps<class_AnimatedTexture_property_fps>` | 4.0 |
|
||||
+---------------------------+------------------------------------------------------+-----+
|
||||
| :ref:`int<class_int>` | :ref:`frames<class_AnimatedTexture_property_frames>` | 1 |
|
||||
+---------------------------+------------------------------------------------------+-----+
|
||||
+---------------------------+------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+---------------------------+------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`fps<class_AnimatedTexture_property_fps>` | 4.0 |
|
||||
+---------------------------+------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`frames<class_AnimatedTexture_property_frames>` | 1 |
|
||||
+---------------------------+------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -54,7 +56,7 @@ Description
|
||||
|
||||
The playback of the animation is controlled by the :ref:`fps<class_AnimatedTexture_property_fps>` property as well as each frame's optional delay (see :ref:`set_frame_delay<class_AnimatedTexture_method_set_frame_delay>`). The animation loops, i.e. it will restart at frame 0 automatically after playing the last frame.
|
||||
|
||||
``AnimatedTexture`` currently requires all frame textures to have the same size, otherwise the bigger ones will be cropped to match the smallest one.
|
||||
``AnimatedTexture`` currently requires all frame textures to have the same size, otherwise the bigger ones will be cropped to match the smallest one. Also, it doesn't support :ref:`AtlasTexture<class_AtlasTexture>`. Each frame needs to be separate image.
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -153,7 +153,7 @@ Blend an input. This is only useful for nodes created for an :ref:`AnimationNode
|
||||
|
||||
- :ref:`float<class_float>` **blend_node** **(** :ref:`String<class_String>` name, :ref:`AnimationNode<class_AnimationNode>` node, :ref:`float<class_float>` time, :ref:`bool<class_bool>` seek, :ref:`float<class_float>` blend, :ref:`FilterAction<enum_AnimationNode_FilterAction>` filter=0, :ref:`bool<class_bool>` optimize=true **)**
|
||||
|
||||
Blend another animaiton node (in case this node contains children animation nodes). This function is only useful if you inherit from :ref:`AnimationRootNode<class_AnimationRootNode>` instead, else editors will not display your node for addition.
|
||||
Blend another animation node (in case this node contains children animation nodes). This function is only useful if you inherit from :ref:`AnimationRootNode<class_AnimationRootNode>` instead, else editors will not display your node for addition.
|
||||
|
||||
.. _class_AnimationNode_method_get_caption:
|
||||
|
||||
|
||||
@@ -18,6 +18,13 @@ Brief Description
|
||||
|
||||
Playback control for AnimationNodeStateMachine.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+-------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | resource_local_to_scene | **O:** true |
|
||||
+-------------------------+-------------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
||||
@@ -119,6 +119,8 @@ Notifies when an animation starts playing.
|
||||
|
||||
- **caches_cleared** **(** **)**
|
||||
|
||||
Notifies when the caches have been cleared, either automatically, or manually via :ref:`clear_caches<class_AnimationPlayer_method_clear_caches>`.
|
||||
|
||||
Enumerations
|
||||
------------
|
||||
|
||||
@@ -350,7 +352,7 @@ Clears all queued, unplayed animations.
|
||||
|
||||
- :ref:`String<class_String>` **find_animation** **(** :ref:`Animation<class_Animation>` animation **)** const
|
||||
|
||||
Returns the name of ``animation`` or empty string if not found.
|
||||
Returns the name of ``animation`` or an empty string if not found.
|
||||
|
||||
.. _class_AnimationPlayer_method_get_animation:
|
||||
|
||||
@@ -380,6 +382,8 @@ Gets the actual playing speed of current animation or 0 if not playing. This spe
|
||||
|
||||
- :ref:`PoolStringArray<class_PoolStringArray>` **get_queue** **(** **)**
|
||||
|
||||
Returns a list of the animation names that are currently queued to play.
|
||||
|
||||
.. _class_AnimationPlayer_method_has_animation:
|
||||
|
||||
- :ref:`bool<class_bool>` **has_animation** **(** :ref:`String<class_String>` name **)** const
|
||||
|
||||
@@ -88,6 +88,8 @@ Methods
|
||||
+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`size<class_Array_method_size>` **(** **)** |
|
||||
+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`slice<class_Array_method_slice>` **(** :ref:`int<class_int>` begin, :ref:`int<class_int>` end, :ref:`int<class_int>` step=1, :ref:`bool<class_bool>` deep=False **)** |
|
||||
+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`sort<class_Array_method_sort>` **(** **)** |
|
||||
+-------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`sort_custom<class_Array_method_sort_custom>` **(** :ref:`Object<class_Object>` obj, :ref:`String<class_String>` func **)** |
|
||||
@@ -319,6 +321,12 @@ Shuffles the array such that the items will have a random order. This method use
|
||||
|
||||
Returns the number of elements in the array.
|
||||
|
||||
.. _class_Array_method_slice:
|
||||
|
||||
- :ref:`Array<class_Array>` **slice** **(** :ref:`int<class_int>` begin, :ref:`int<class_int>` end, :ref:`int<class_int>` step=1, :ref:`bool<class_bool>` deep=False **)**
|
||||
|
||||
Duplicates the subset described in the function and returns it in an array, deeply copying the array if ``deep`` is true. Lower and upper index are inclusive, with the ``step`` describing the change between indices while slicing.
|
||||
|
||||
.. _class_Array_method_sort:
|
||||
|
||||
- void **sort** **(** **)**
|
||||
|
||||
@@ -26,6 +26,8 @@ Properties
|
||||
+-------------------------------+-------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`filter_clip<class_AtlasTexture_property_filter_clip>` | false |
|
||||
+-------------------------------+-------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+-------------------------------+-------------------------------------------------------------+---------------------+
|
||||
| :ref:`Rect2<class_Rect2>` | :ref:`margin<class_AtlasTexture_property_margin>` | Rect2( 0, 0, 0, 0 ) |
|
||||
+-------------------------------+-------------------------------------------------------------+---------------------+
|
||||
| :ref:`Rect2<class_Rect2>` | :ref:`region<class_AtlasTexture_property_region>` | Rect2( 0, 0, 0, 0 ) |
|
||||
@@ -34,9 +36,7 @@ Properties
|
||||
Description
|
||||
-----------
|
||||
|
||||
:ref:`Texture<class_Texture>` resource aimed at managing big textures files that pack multiple smaller textures. Consists of a :ref:`Texture<class_Texture>`, a margin that defines the border width,
|
||||
|
||||
and a region that defines the actual area of the AtlasTexture.
|
||||
:ref:`Texture<class_Texture>` resource aimed at managing big textures files that pack multiple smaller textures. Consists of a :ref:`Texture<class_Texture>`, a margin that defines the border width, and a region that defines the actual area of the AtlasTexture.
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -23,27 +23,29 @@ Base class for different kinds of buttons.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`ActionMode<enum_BaseButton_ActionMode>` | :ref:`action_mode<class_BaseButton_property_action_mode>` | 1 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`button_mask<class_BaseButton_property_button_mask>` | 1 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`disabled<class_BaseButton_property_disabled>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | :ref:`enabled_focus_mode<class_BaseButton_property_enabled_focus_mode>` | 2 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`ButtonGroup<class_ButtonGroup>` | :ref:`group<class_BaseButton_property_group>` | |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`keep_pressed_outside<class_BaseButton_property_keep_pressed_outside>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`pressed<class_BaseButton_property_pressed>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`ShortCut<class_ShortCut>` | :ref:`shortcut<class_BaseButton_property_shortcut>` | |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`shortcut_in_tooltip<class_BaseButton_property_shortcut_in_tooltip>` | true |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`toggle_mode<class_BaseButton_property_toggle_mode>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`ActionMode<enum_BaseButton_ActionMode>` | :ref:`action_mode<class_BaseButton_property_action_mode>` | 1 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`button_mask<class_BaseButton_property_button_mask>` | 1 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`disabled<class_BaseButton_property_disabled>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | :ref:`enabled_focus_mode<class_BaseButton_property_enabled_focus_mode>` | 2 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 2 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`ButtonGroup<class_ButtonGroup>` | :ref:`group<class_BaseButton_property_group>` | |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`keep_pressed_outside<class_BaseButton_property_keep_pressed_outside>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`pressed<class_BaseButton_property_pressed>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`ShortCut<class_ShortCut>` | :ref:`shortcut<class_BaseButton_property_shortcut>` | |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`shortcut_in_tooltip<class_BaseButton_property_shortcut_in_tooltip>` | true |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`toggle_mode<class_BaseButton_property_toggle_mode>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -23,9 +23,11 @@ Base class for box containers.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------------+---------------------------------------------------------+---+
|
||||
| :ref:`AlignMode<enum_BoxContainer_AlignMode>` | :ref:`alignment<class_BoxContainer_property_alignment>` | 0 |
|
||||
+-----------------------------------------------+---------------------------------------------------------+---+
|
||||
+-----------------------------------------------+---------------------------------------------------------+----------+
|
||||
| :ref:`AlignMode<enum_BoxContainer_AlignMode>` | :ref:`alignment<class_BoxContainer_property_alignment>` | 0 |
|
||||
+-----------------------------------------------+---------------------------------------------------------+----------+
|
||||
| :ref:`MouseFilter<enum_Control_MouseFilter>` | mouse_filter | **O:** 1 |
|
||||
+-----------------------------------------------+---------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+27
-11
@@ -23,17 +23,19 @@ Standard themed Button.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
| :ref:`TextAlign<enum_Button_TextAlign>` | :ref:`align<class_Button_property_align>` | 1 |
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`clip_text<class_Button_property_clip_text>` | false |
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`flat<class_Button_property_flat>` | false |
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`icon<class_Button_property_icon>` | |
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_Button_property_text>` | "" |
|
||||
+-----------------------------------------+---------------------------------------------------+-------+
|
||||
+-----------------------------------------+-------------------------------------------------------+-------+
|
||||
| :ref:`TextAlign<enum_Button_TextAlign>` | :ref:`align<class_Button_property_align>` | 1 |
|
||||
+-----------------------------------------+-------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`clip_text<class_Button_property_clip_text>` | false |
|
||||
+-----------------------------------------+-------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`expand_icon<class_Button_property_expand_icon>` | false |
|
||||
+-----------------------------------------+-------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`flat<class_Button_property_flat>` | false |
|
||||
+-----------------------------------------+-------------------------------------------------------+-------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`icon<class_Button_property_icon>` | |
|
||||
+-----------------------------------------+-------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_Button_property_text>` | "" |
|
||||
+-----------------------------------------+-------------------------------------------------------+-------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
@@ -117,6 +119,20 @@ Text alignment policy for the button's text, use one of the ``ALIGN_*`` constant
|
||||
|
||||
When this property is enabled, text that is too large to fit the button is clipped, when disabled the Button will always be wide enough to hold the text.
|
||||
|
||||
.. _class_Button_property_expand_icon:
|
||||
|
||||
- :ref:`bool<class_bool>` **expand_icon**
|
||||
|
||||
+-----------+------------------------+
|
||||
| *Default* | false |
|
||||
+-----------+------------------------+
|
||||
| *Setter* | set_expand_icon(value) |
|
||||
+-----------+------------------------+
|
||||
| *Getter* | is_expand_icon() |
|
||||
+-----------+------------------------+
|
||||
|
||||
When enabled, the button's icon will expand/shrink to fit the button's size while keeping its aspect.
|
||||
|
||||
.. _class_Button_property_flat:
|
||||
|
||||
- :ref:`bool<class_bool>` **flat**
|
||||
|
||||
@@ -18,6 +18,13 @@ Brief Description
|
||||
|
||||
Group of Buttons.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+-------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | resource_local_to_scene | **O:** true |
|
||||
+-------------------------+-------------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
||||
@@ -399,7 +399,7 @@ The camera's offset, useful for looking around or camera shake animations.
|
||||
|
||||
The horizontal offset of the camera, relative to the drag margins.
|
||||
|
||||
**Note:** Offset H is used only to force offset relative to margins. It's not updated in any way if drag margins are enabled and can be used to set inital offset.
|
||||
**Note:** Offset H is used only to force offset relative to margins. It's not updated in any way if drag margins are enabled and can be used to set initial offset.
|
||||
|
||||
.. _class_Camera2D_property_offset_v:
|
||||
|
||||
|
||||
@@ -23,13 +23,15 @@ This texture gives access to the camera texture provided by a :ref:`CameraFeed<c
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`camera_feed_id<class_CameraTexture_property_camera_feed_id>` | 0 |
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`camera_is_active<class_CameraTexture_property_camera_is_active>` | false |
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+-------+
|
||||
| :ref:`FeedImage<enum_CameraServer_FeedImage>` | :ref:`which_feed<class_CameraTexture_property_which_feed>` | 0 |
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+-------+
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`camera_feed_id<class_CameraTexture_property_camera_feed_id>` | 0 |
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`camera_is_active<class_CameraTexture_property_camera_is_active>` | false |
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+----------+
|
||||
| :ref:`FeedImage<enum_CameraServer_FeedImage>` | :ref:`which_feed<class_CameraTexture_property_which_feed>` | 0 |
|
||||
+-----------------------------------------------+------------------------------------------------------------------------+----------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -0,0 +1,154 @@
|
||||
:github_url: hide
|
||||
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the CharFXTransform.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
.. _class_CharFXTransform:
|
||||
|
||||
CharFXTransform
|
||||
===============
|
||||
|
||||
**Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`absolute_index<class_CharFXTransform_property_absolute_index>` | 0 |
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`character<class_CharFXTransform_property_character>` | 0 |
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`color<class_CharFXTransform_property_color>` | Color( 0, 0, 0, 1 ) |
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`elapsed_time<class_CharFXTransform_property_elapsed_time>` | 0.0 |
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | :ref:`env<class_CharFXTransform_property_env>` | {} |
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`offset<class_CharFXTransform_property_offset>` | Vector2( 0, 0 ) |
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`relative_index<class_CharFXTransform_property_relative_index>` | 0 |
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`visible<class_CharFXTransform_property_visible>` | true |
|
||||
+-------------------------------------+----------------------------------------------------------------------+---------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Variant<class_Variant>` | :ref:`get_value_or<class_CharFXTransform_method_get_value_or>` **(** :ref:`String<class_String>` key, :ref:`Variant<class_Variant>` default_value **)** |
|
||||
+-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_CharFXTransform_property_absolute_index:
|
||||
|
||||
- :ref:`int<class_int>` **absolute_index**
|
||||
|
||||
+-----------+---------------------------+
|
||||
| *Default* | 0 |
|
||||
+-----------+---------------------------+
|
||||
| *Setter* | set_absolute_index(value) |
|
||||
+-----------+---------------------------+
|
||||
| *Getter* | get_absolute_index() |
|
||||
+-----------+---------------------------+
|
||||
|
||||
.. _class_CharFXTransform_property_character:
|
||||
|
||||
- :ref:`int<class_int>` **character**
|
||||
|
||||
+-----------+----------------------+
|
||||
| *Default* | 0 |
|
||||
+-----------+----------------------+
|
||||
| *Setter* | set_character(value) |
|
||||
+-----------+----------------------+
|
||||
| *Getter* | get_character() |
|
||||
+-----------+----------------------+
|
||||
|
||||
.. _class_CharFXTransform_property_color:
|
||||
|
||||
- :ref:`Color<class_Color>` **color**
|
||||
|
||||
+-----------+---------------------+
|
||||
| *Default* | Color( 0, 0, 0, 1 ) |
|
||||
+-----------+---------------------+
|
||||
| *Setter* | set_color(value) |
|
||||
+-----------+---------------------+
|
||||
| *Getter* | get_color() |
|
||||
+-----------+---------------------+
|
||||
|
||||
.. _class_CharFXTransform_property_elapsed_time:
|
||||
|
||||
- :ref:`float<class_float>` **elapsed_time**
|
||||
|
||||
+-----------+-------------------------+
|
||||
| *Default* | 0.0 |
|
||||
+-----------+-------------------------+
|
||||
| *Setter* | set_elapsed_time(value) |
|
||||
+-----------+-------------------------+
|
||||
| *Getter* | get_elapsed_time() |
|
||||
+-----------+-------------------------+
|
||||
|
||||
.. _class_CharFXTransform_property_env:
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **env**
|
||||
|
||||
+-----------+------------------------+
|
||||
| *Default* | {} |
|
||||
+-----------+------------------------+
|
||||
| *Setter* | set_environment(value) |
|
||||
+-----------+------------------------+
|
||||
| *Getter* | get_environment() |
|
||||
+-----------+------------------------+
|
||||
|
||||
.. _class_CharFXTransform_property_offset:
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **offset**
|
||||
|
||||
+-----------+-------------------+
|
||||
| *Default* | Vector2( 0, 0 ) |
|
||||
+-----------+-------------------+
|
||||
| *Setter* | set_offset(value) |
|
||||
+-----------+-------------------+
|
||||
| *Getter* | get_offset() |
|
||||
+-----------+-------------------+
|
||||
|
||||
.. _class_CharFXTransform_property_relative_index:
|
||||
|
||||
- :ref:`int<class_int>` **relative_index**
|
||||
|
||||
+-----------+---------------------------+
|
||||
| *Default* | 0 |
|
||||
+-----------+---------------------------+
|
||||
| *Setter* | set_relative_index(value) |
|
||||
+-----------+---------------------------+
|
||||
| *Getter* | get_relative_index() |
|
||||
+-----------+---------------------------+
|
||||
|
||||
.. _class_CharFXTransform_property_visible:
|
||||
|
||||
- :ref:`bool<class_bool>` **visible**
|
||||
|
||||
+-----------+-----------------------+
|
||||
| *Default* | true |
|
||||
+-----------+-----------------------+
|
||||
| *Setter* | set_visibility(value) |
|
||||
+-----------+-----------------------+
|
||||
| *Getter* | is_visible() |
|
||||
+-----------+-----------------------+
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_CharFXTransform_method_get_value_or:
|
||||
|
||||
- :ref:`Variant<class_Variant>` **get_value_or** **(** :ref:`String<class_String>` key, :ref:`Variant<class_Variant>` default_value **)**
|
||||
|
||||
@@ -18,6 +18,15 @@ Brief Description
|
||||
|
||||
Binary choice user interface widget.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------+-------------+-------------+
|
||||
| :ref:`TextAlign<enum_Button_TextAlign>` | align | **O:** 0 |
|
||||
+-----------------------------------------+-------------+-------------+
|
||||
| :ref:`bool<class_bool>` | toggle_mode | **O:** true |
|
||||
+-----------------------------------------+-------------+-------------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
|
||||
@@ -18,6 +18,15 @@ Brief Description
|
||||
|
||||
Checkable button.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------+-------------+-------------+
|
||||
| :ref:`TextAlign<enum_Button_TextAlign>` | align | **O:** 0 |
|
||||
+-----------------------------------------+-------------+-------------+
|
||||
| :ref:`bool<class_bool>` | toggle_mode | **O:** true |
|
||||
+-----------------------------------------+-------------+-------------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ Properties
|
||||
+---------------------------+----------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`edit_alpha<class_ColorPickerButton_property_edit_alpha>` | true |
|
||||
+---------------------------+----------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | toggle_mode | **O:** true |
|
||||
+---------------------------+----------------------------------------------------------------+---------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -74,6 +76,10 @@ Signals
|
||||
|
||||
Emitted when the color changes.
|
||||
|
||||
.. _class_ColorPickerButton_signal_picker_created:
|
||||
|
||||
- **picker_created** **(** **)**
|
||||
|
||||
.. _class_ColorPickerButton_signal_popup_closed:
|
||||
|
||||
- **popup_closed** **(** **)**
|
||||
|
||||
@@ -20,6 +20,15 @@ Brief Description
|
||||
|
||||
Dialog for confirmation of actions.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+---------------+----------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | rect_min_size | **O:** Vector2( 200, 70 ) |
|
||||
+-------------------------------+---------------+----------------------------+
|
||||
| :ref:`String<class_String>` | window_title | **O:** "Please Confirm..." |
|
||||
+-------------------------------+---------------+----------------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
||||
@@ -1053,7 +1053,7 @@ Method Descriptions
|
||||
|
||||
Virtual method to be implemented by the user. Returns whether :ref:`_gui_input<class_Control_method__gui_input>` should not be called for children controls outside this control's rectangle. Input will be clipped to the Rect of this ``Control``. Similar to :ref:`rect_clip_content<class_Control_property_rect_clip_content>`, but doesn't affect visibility.
|
||||
|
||||
If not overriden, defaults to ``false``.
|
||||
If not overridden, defaults to ``false``.
|
||||
|
||||
.. _class_Control_method__get_minimum_size:
|
||||
|
||||
@@ -1061,7 +1061,7 @@ If not overriden, defaults to ``false``.
|
||||
|
||||
Virtual method to be implemented by the user. Returns the minimum size for this control. Alternative to :ref:`rect_min_size<class_Control_property_rect_min_size>` for controlling minimum size via code. The actual minimum size will be the max value of these two (in each axis separately).
|
||||
|
||||
If not overriden, defaults to :ref:`Vector2.ZERO<class_Vector2_constant_ZERO>`.
|
||||
If not overridden, defaults to :ref:`Vector2.ZERO<class_Vector2_constant_ZERO>`.
|
||||
|
||||
.. _class_Control_method__gui_input:
|
||||
|
||||
@@ -1341,7 +1341,7 @@ Returns the tooltip, which will appear when the cursor is resting over this cont
|
||||
|
||||
- void **grab_click_focus** **(** **)**
|
||||
|
||||
Creates an :ref:`InputEventMouseButton<class_InputEventMouseButton>` that attempts to click the control. If the event is received, the control aquires focus.
|
||||
Creates an :ref:`InputEventMouseButton<class_InputEventMouseButton>` that attempts to click the control. If the event is received, the control acquires focus.
|
||||
|
||||
::
|
||||
|
||||
@@ -1414,7 +1414,7 @@ Returns ``true`` if icon with given ``name`` has a valid override in this ``Cont
|
||||
|
||||
Virtual method to be implemented by the user. Returns whether the given ``point`` is inside this control.
|
||||
|
||||
If not overriden, default behavior is checking if the point is within control's Rect.
|
||||
If not overridden, default behavior is checking if the point is within control's Rect.
|
||||
|
||||
**Node:** If you want to check if a point is inside the control, you can use ``get_rect().has_point(point)``.
|
||||
|
||||
@@ -1456,7 +1456,7 @@ Sets the anchor identified by ``margin`` constant from :ref:`Margin<enum_@Global
|
||||
|
||||
If ``keep_margin`` is ``true``, margins aren't updated after this operation.
|
||||
|
||||
If ``push_opposite_anchor`` is ``true`` and the opposite anchor overlaps this anchor, the opposite one will have its value overriden. For example, when setting left anchor to 1 and the right anchor has value of 0.5, the right anchor will also get value of 1. If ``push_opposite_anchor`` was ``false``, the left anchor would get value 0.5.
|
||||
If ``push_opposite_anchor`` is ``true`` and the opposite anchor overlaps this anchor, the opposite one will have its value overridden. For example, when setting left anchor to 1 and the right anchor has value of 0.5, the right anchor will also get value of 1. If ``push_opposite_anchor`` was ``false``, the left anchor would get value 0.5.
|
||||
|
||||
.. _class_Control_method_set_anchor_and_margin:
|
||||
|
||||
|
||||
@@ -21,25 +21,27 @@ Directional light from a distance, as from the Sun.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_bias_split_scale<class_DirectionalLight_property_directional_shadow_bias_split_scale>` | 0.25 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`directional_shadow_blend_splits<class_DirectionalLight_property_directional_shadow_blend_splits>` | false |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`ShadowDepthRange<enum_DirectionalLight_ShadowDepthRange>` | :ref:`directional_shadow_depth_range<class_DirectionalLight_property_directional_shadow_depth_range>` | 0 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_max_distance<class_DirectionalLight_property_directional_shadow_max_distance>` | 100.0 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`ShadowMode<enum_DirectionalLight_ShadowMode>` | :ref:`directional_shadow_mode<class_DirectionalLight_property_directional_shadow_mode>` | 2 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_normal_bias<class_DirectionalLight_property_directional_shadow_normal_bias>` | 0.8 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_split_1<class_DirectionalLight_property_directional_shadow_split_1>` | 0.1 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_split_2<class_DirectionalLight_property_directional_shadow_split_2>` | 0.2 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_split_3<class_DirectionalLight_property_directional_shadow_split_3>` | 0.5 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+-------+
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_bias_split_scale<class_DirectionalLight_property_directional_shadow_bias_split_scale>` | 0.25 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`directional_shadow_blend_splits<class_DirectionalLight_property_directional_shadow_blend_splits>` | false |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`ShadowDepthRange<enum_DirectionalLight_ShadowDepthRange>` | :ref:`directional_shadow_depth_range<class_DirectionalLight_property_directional_shadow_depth_range>` | 0 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_max_distance<class_DirectionalLight_property_directional_shadow_max_distance>` | 100.0 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`ShadowMode<enum_DirectionalLight_ShadowMode>` | :ref:`directional_shadow_mode<class_DirectionalLight_property_directional_shadow_mode>` | 2 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_normal_bias<class_DirectionalLight_property_directional_shadow_normal_bias>` | 0.8 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_split_1<class_DirectionalLight_property_directional_shadow_split_1>` | 0.1 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_split_2<class_DirectionalLight_property_directional_shadow_split_2>` | 0.2 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | :ref:`directional_shadow_split_3<class_DirectionalLight_property_directional_shadow_split_3>` | 0.5 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | shadow_bias | **O:** 0.1 |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+------------+
|
||||
|
||||
Enumerations
|
||||
------------
|
||||
|
||||
@@ -21,29 +21,29 @@ Brief Description
|
||||
Methods
|
||||
-------
|
||||
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_feature_name<class_EditorFeatureProfile_method_get_feature_name>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_class_disabled<class_EditorFeatureProfile_method_is_class_disabled>` **(** :ref:`String<class_String>` class_name **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_class_editor_disabled<class_EditorFeatureProfile_method_is_class_editor_disabled>` **(** :ref:`String<class_String>` class_name **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_class_property_disabled<class_EditorFeatureProfile_method_is_class_property_disabled>` **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` arg1 **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_feature_disabled<class_EditorFeatureProfile_method_is_feature_disabled>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`load_from_file<class_EditorFeatureProfile_method_load_from_file>` **(** :ref:`String<class_String>` path **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`save_to_file<class_EditorFeatureProfile_method_save_to_file>` **(** :ref:`String<class_String>` path **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_disable_class<class_EditorFeatureProfile_method_set_disable_class>` **(** :ref:`String<class_String>` class_name, :ref:`bool<class_bool>` disable **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_disable_class_editor<class_EditorFeatureProfile_method_set_disable_class_editor>` **(** :ref:`String<class_String>` class_name, :ref:`bool<class_bool>` disable **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_disable_class_property<class_EditorFeatureProfile_method_set_disable_class_property>` **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` property, :ref:`bool<class_bool>` arg2 **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_disable_feature<class_EditorFeatureProfile_method_set_disable_feature>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature, :ref:`bool<class_bool>` disable **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_feature_name<class_EditorFeatureProfile_method_get_feature_name>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature **)** |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_class_disabled<class_EditorFeatureProfile_method_is_class_disabled>` **(** :ref:`String<class_String>` class_name **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_class_editor_disabled<class_EditorFeatureProfile_method_is_class_editor_disabled>` **(** :ref:`String<class_String>` class_name **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_class_property_disabled<class_EditorFeatureProfile_method_is_class_property_disabled>` **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` property **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_feature_disabled<class_EditorFeatureProfile_method_is_feature_disabled>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`load_from_file<class_EditorFeatureProfile_method_load_from_file>` **(** :ref:`String<class_String>` path **)** |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`save_to_file<class_EditorFeatureProfile_method_save_to_file>` **(** :ref:`String<class_String>` path **)** |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_disable_class<class_EditorFeatureProfile_method_set_disable_class>` **(** :ref:`String<class_String>` class_name, :ref:`bool<class_bool>` disable **)** |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_disable_class_editor<class_EditorFeatureProfile_method_set_disable_class_editor>` **(** :ref:`String<class_String>` class_name, :ref:`bool<class_bool>` disable **)** |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_disable_class_property<class_EditorFeatureProfile_method_set_disable_class_property>` **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` property, :ref:`bool<class_bool>` disable **)** |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_disable_feature<class_EditorFeatureProfile_method_set_disable_feature>` **(** :ref:`Feature<enum_EditorFeatureProfile_Feature>` feature, :ref:`bool<class_bool>` disable **)** |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Enumerations
|
||||
------------
|
||||
@@ -101,7 +101,7 @@ Method Descriptions
|
||||
|
||||
.. _class_EditorFeatureProfile_method_is_class_property_disabled:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_class_property_disabled** **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` arg1 **)** const
|
||||
- :ref:`bool<class_bool>` **is_class_property_disabled** **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` property **)** const
|
||||
|
||||
.. _class_EditorFeatureProfile_method_is_feature_disabled:
|
||||
|
||||
@@ -125,7 +125,7 @@ Method Descriptions
|
||||
|
||||
.. _class_EditorFeatureProfile_method_set_disable_class_property:
|
||||
|
||||
- void **set_disable_class_property** **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` property, :ref:`bool<class_bool>` arg2 **)**
|
||||
- void **set_disable_class_property** **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` property, :ref:`bool<class_bool>` disable **)**
|
||||
|
||||
.. _class_EditorFeatureProfile_method_set_disable_feature:
|
||||
|
||||
|
||||
@@ -21,23 +21,29 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`Access<enum_EditorFileDialog_Access>` | :ref:`access<class_EditorFileDialog_property_access>` | 0 |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`current_dir<class_EditorFileDialog_property_current_dir>` | "res://" |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`current_file<class_EditorFileDialog_property_current_file>` | "" |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`current_path<class_EditorFileDialog_property_current_path>` | "res://" |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`disable_overwrite_warning<class_EditorFileDialog_property_disable_overwrite_warning>` | false |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`DisplayMode<enum_EditorFileDialog_DisplayMode>` | :ref:`display_mode<class_EditorFileDialog_property_display_mode>` | 0 |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`Mode<enum_EditorFileDialog_Mode>` | :ref:`mode<class_EditorFileDialog_property_mode>` | 4 |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`show_hidden_files<class_EditorFileDialog_property_show_hidden_files>` | false |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------+
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`Access<enum_EditorFileDialog_Access>` | :ref:`access<class_EditorFileDialog_property_access>` | 0 |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_dir<class_EditorFileDialog_property_current_dir>` | "res://" |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_file<class_EditorFileDialog_property_current_file>` | "" |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_path<class_EditorFileDialog_property_current_path>` | "res://" |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`bool<class_bool>` | dialog_hide_on_ok | **O:** false |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`disable_overwrite_warning<class_EditorFileDialog_property_disable_overwrite_warning>` | false |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`DisplayMode<enum_EditorFileDialog_DisplayMode>` | :ref:`display_mode<class_EditorFileDialog_property_display_mode>` | 0 |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`Mode<enum_EditorFileDialog_Mode>` | :ref:`mode<class_EditorFileDialog_property_mode>` | 4 |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`bool<class_bool>` | resizable | **O:** true |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`show_hidden_files<class_EditorFileDialog_property_show_hidden_files>` | false |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`String<class_String>` | window_title | **O:** "Save a File" |
|
||||
+-------------------------------------------------------+---------------------------------------------------------------------------------------------+----------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -18,6 +18,13 @@ Brief Description
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+---------------------------+--------------+
|
||||
| :ref:`bool<class_bool>` | scroll_horizontal_enabled | **O:** false |
|
||||
+-------------------------+---------------------------+--------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ Methods
|
||||
+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Control<class_Control>` | :ref:`get_base_control<class_EditorInterface_method_get_base_control>` **(** **)** |
|
||||
+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_current_path<class_EditorInterface_method_get_current_path>` **(** **)** const |
|
||||
+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Node<class_Node>` | :ref:`get_edited_scene_root<class_EditorInterface_method_get_edited_scene_root>` **(** **)** |
|
||||
+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`EditorSettings<class_EditorSettings>` | :ref:`get_editor_settings<class_EditorInterface_method_get_editor_settings>` **(** **)** |
|
||||
@@ -89,6 +91,10 @@ Edits the given :ref:`Resource<class_Resource>`.
|
||||
|
||||
Returns the main container of Godot editor's window. You can use it, for example, to retrieve the size of the container and place your controls accordingly.
|
||||
|
||||
.. _class_EditorInterface_method_get_current_path:
|
||||
|
||||
- :ref:`String<class_String>` **get_current_path** **(** **)** const
|
||||
|
||||
.. _class_EditorInterface_method_get_edited_scene_root:
|
||||
|
||||
- :ref:`Node<class_Node>` **get_edited_scene_root** **(** **)**
|
||||
|
||||
@@ -30,7 +30,7 @@ Methods
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`add_lines<class_EditorSpatialGizmo_method_add_lines>` **(** :ref:`PoolVector3Array<class_PoolVector3Array>` lines, :ref:`Material<class_Material>` material, :ref:`bool<class_bool>` billboard=false **)** |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`add_mesh<class_EditorSpatialGizmo_method_add_mesh>` **(** :ref:`ArrayMesh<class_ArrayMesh>` mesh, :ref:`bool<class_bool>` billboard=false, :ref:`RID<class_RID>` skeleton, :ref:`Material<class_Material>` material=null **)** |
|
||||
| void | :ref:`add_mesh<class_EditorSpatialGizmo_method_add_mesh>` **(** :ref:`ArrayMesh<class_ArrayMesh>` mesh, :ref:`bool<class_bool>` billboard=false, :ref:`SkinReference<class_SkinReference>` skeleton, :ref:`Material<class_Material>` material=null **)** |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`add_unscaled_billboard<class_EditorSpatialGizmo_method_add_unscaled_billboard>` **(** :ref:`Material<class_Material>` material, :ref:`float<class_float>` default_scale=1 **)** |
|
||||
+-----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
@@ -91,7 +91,7 @@ Adds lines to the gizmo (as sets of 2 points), with a given material. The lines
|
||||
|
||||
.. _class_EditorSpatialGizmo_method_add_mesh:
|
||||
|
||||
- void **add_mesh** **(** :ref:`ArrayMesh<class_ArrayMesh>` mesh, :ref:`bool<class_bool>` billboard=false, :ref:`RID<class_RID>` skeleton, :ref:`Material<class_Material>` material=null **)**
|
||||
- void **add_mesh** **(** :ref:`ArrayMesh<class_ArrayMesh>` mesh, :ref:`bool<class_bool>` billboard=false, :ref:`SkinReference<class_SkinReference>` skeleton, :ref:`Material<class_Material>` material=null **)**
|
||||
|
||||
.. _class_EditorSpatialGizmo_method_add_unscaled_billboard:
|
||||
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
:github_url: hide
|
||||
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the EditorVCSInterface.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
.. _class_EditorVCSInterface:
|
||||
|
||||
EditorVCSInterface
|
||||
==================
|
||||
|
||||
**Inherits:** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
Version Control System (VCS) interface which reads and writes to the local VCS in use.
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`commit<class_EditorVCSInterface_method_commit>` **(** :ref:`String<class_String>` msg **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`get_file_diff<class_EditorVCSInterface_method_get_file_diff>` **(** :ref:`String<class_String>` file_path **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`get_is_vcs_intialized<class_EditorVCSInterface_method_get_is_vcs_intialized>` **(** **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | :ref:`get_modified_files_data<class_EditorVCSInterface_method_get_modified_files_data>` **(** **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_project_name<class_EditorVCSInterface_method_get_project_name>` **(** **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_vcs_name<class_EditorVCSInterface_method_get_vcs_name>` **(** **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`initialize<class_EditorVCSInterface_method_initialize>` **(** :ref:`String<class_String>` project_root_path **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_addon_ready<class_EditorVCSInterface_method_is_addon_ready>` **(** **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`shut_down<class_EditorVCSInterface_method_shut_down>` **(** **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`stage_file<class_EditorVCSInterface_method_stage_file>` **(** :ref:`String<class_String>` file_path **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`unstage_file<class_EditorVCSInterface_method_unstage_file>` **(** :ref:`String<class_String>` file_path **)** |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
Used by the editor to display VCS extracted information in the editor. The implementation of this API is included in VCS addons, which are essentially GDNative plugins that need to be put into the project folder. These VCS addons are scripts which are attached (on demand) to the object instance of ``EditorVCSInterface``. All the functions listed below, instead of performing the task themselves, they call the internally defined functions in the VCS addons to provide a plug-n-play experience.
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_EditorVCSInterface_method_commit:
|
||||
|
||||
- void **commit** **(** :ref:`String<class_String>` msg **)**
|
||||
|
||||
Creates a version commit if the addon is initialized, else returns without doing anything. Uses the files which have been staged previously, with the commit message set to a value as provided as in the argument.
|
||||
|
||||
.. _class_EditorVCSInterface_method_get_file_diff:
|
||||
|
||||
- :ref:`Array<class_Array>` **get_file_diff** **(** :ref:`String<class_String>` file_path **)**
|
||||
|
||||
Returns an :ref:`Array<class_Array>` of :ref:`Dictionary<class_Dictionary>` objects containing the diff output from the VCS in use, if a VCS addon is initialized, else returns an empty :ref:`Array<class_Array>` object. The diff contents also consist of some contextual lines which provide context to the observed line change in the file.
|
||||
|
||||
Each :ref:`Dictionary<class_Dictionary>` object has the line diff contents under the keys:
|
||||
|
||||
- ``"content"`` to store a :ref:`String<class_String>` containing the line contents
|
||||
|
||||
- ``"status"`` to store a :ref:`String<class_String>` which contains ``"+"`` in case the content is a line addition but it stores a ``"-"`` in case of deletion and an empty string in the case the line content is neither an addition nor a deletion.
|
||||
|
||||
- ``"new_line_number"`` to store an integer containing the new line number of the line content.
|
||||
|
||||
- ``"line_count"`` to store an integer containing the number of lines in the line content.
|
||||
|
||||
- ``"old_line_number"`` to store an integer containing the old line number of the line content.
|
||||
|
||||
- ``"offset"`` to store the offset of the line change since the first contextual line content.
|
||||
|
||||
.. _class_EditorVCSInterface_method_get_is_vcs_intialized:
|
||||
|
||||
- :ref:`bool<class_bool>` **get_is_vcs_intialized** **(** **)**
|
||||
|
||||
Returns ``true`` if the VCS addon has been initialized, else returns ``false``.
|
||||
|
||||
.. _class_EditorVCSInterface_method_get_modified_files_data:
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **get_modified_files_data** **(** **)**
|
||||
|
||||
Returns a :ref:`Dictionary<class_Dictionary>` containing the path of the detected file change mapped to an integer signifying what kind of a change the corresponding file has experienced.
|
||||
|
||||
The following integer values are being used to signify that the detected file is:
|
||||
|
||||
- ``0``: New to the VCS working directory
|
||||
|
||||
- ``1``: Modified
|
||||
|
||||
- ``2``: Renamed
|
||||
|
||||
- ``3``: Deleted
|
||||
|
||||
- ``4``: Typechanged
|
||||
|
||||
.. _class_EditorVCSInterface_method_get_project_name:
|
||||
|
||||
- :ref:`String<class_String>` **get_project_name** **(** **)**
|
||||
|
||||
Return the project name of the VCS working directory
|
||||
|
||||
.. _class_EditorVCSInterface_method_get_vcs_name:
|
||||
|
||||
- :ref:`String<class_String>` **get_vcs_name** **(** **)**
|
||||
|
||||
Return the name of the VCS if the VCS has been initialized, else return an empty string.
|
||||
|
||||
.. _class_EditorVCSInterface_method_initialize:
|
||||
|
||||
- :ref:`bool<class_bool>` **initialize** **(** :ref:`String<class_String>` project_root_path **)**
|
||||
|
||||
Initialize the VCS addon if not already. Uses the argument value as the path to the working directory of the project. Creates the initial commit if required. Returns ``true`` if no failure occurs, else returns ``false``.
|
||||
|
||||
.. _class_EditorVCSInterface_method_is_addon_ready:
|
||||
|
||||
- :ref:`bool<class_bool>` **is_addon_ready** **(** **)**
|
||||
|
||||
Returns ``true`` if the addon is ready to respond to function calls, else returns ``false``.
|
||||
|
||||
.. _class_EditorVCSInterface_method_shut_down:
|
||||
|
||||
- :ref:`bool<class_bool>` **shut_down** **(** **)**
|
||||
|
||||
Shuts down the VCS addon to allow cleanup code to run on call. Returns ``true`` is no failure occurs, else returns ``false``.
|
||||
|
||||
.. _class_EditorVCSInterface_method_stage_file:
|
||||
|
||||
- void **stage_file** **(** :ref:`String<class_String>` file_path **)**
|
||||
|
||||
Stage the file which should be committed when :ref:`commit<class_EditorVCSInterface_method_commit>` is called. Argument should contain the absolute path.
|
||||
|
||||
.. _class_EditorVCSInterface_method_unstage_file:
|
||||
|
||||
- void **unstage_file** **(** :ref:`String<class_String>` file_path **)**
|
||||
|
||||
Unstage the file which was staged previously to be committed, so that it is no longer committed when :ref:`commit<class_EditorVCSInterface_method_commit>` is called. Argument should contain the absolute path.
|
||||
|
||||
@@ -271,7 +271,7 @@ enum **GlowBlendMode**:
|
||||
|
||||
enum **ToneMapper**:
|
||||
|
||||
- **TONE_MAPPER_LINEAR** = **0** --- Linear tonemapper operator. Reads the linear data and performs an exposure adjustment.
|
||||
- **TONE_MAPPER_LINEAR** = **0** --- Linear tonemapper operator. Reads the linear data and passes it on unmodified.
|
||||
|
||||
- **TONE_MAPPER_REINHARDT** = **1** --- Reinhardt tonemapper operator. Performs a variation on rendered pixels' colors by this formula: ``color = color / (1 + color)``.
|
||||
|
||||
|
||||
@@ -21,23 +21,27 @@ Dialog for selecting files or directories in the filesystem.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Access<enum_FileDialog_Access>` | :ref:`access<class_FileDialog_property_access>` | 0 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_dir<class_FileDialog_property_current_dir>` | "res://" |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_file<class_FileDialog_property_current_file>` | "" |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_path<class_FileDialog_property_current_path>` | "res://" |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`PoolStringArray<class_PoolStringArray>` | :ref:`filters<class_FileDialog_property_filters>` | PoolStringArray( ) |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Mode<enum_FileDialog_Mode>` | :ref:`mode<class_FileDialog_property_mode>` | 4 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`mode_overrides_title<class_FileDialog_property_mode_overrides_title>` | true |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`show_hidden_files<class_FileDialog_property_show_hidden_files>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+---------------------+
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`Access<enum_FileDialog_Access>` | :ref:`access<class_FileDialog_property_access>` | 0 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_dir<class_FileDialog_property_current_dir>` | "res://" |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_file<class_FileDialog_property_current_file>` | "" |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`String<class_String>` | :ref:`current_path<class_FileDialog_property_current_path>` | "res://" |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`bool<class_bool>` | dialog_hide_on_ok | **O:** false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`PoolStringArray<class_PoolStringArray>` | :ref:`filters<class_FileDialog_property_filters>` | PoolStringArray( ) |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`Mode<enum_FileDialog_Mode>` | :ref:`mode<class_FileDialog_property_mode>` | 4 |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`mode_overrides_title<class_FileDialog_property_mode_overrides_title>` | true |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`show_hidden_files<class_FileDialog_property_show_hidden_files>` | false |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
| :ref:`String<class_String>` | window_title | **O:** "Save a File" |
|
||||
+-----------------------------------------------+-----------------------------------------------------------------------------+----------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+15
-11
@@ -21,17 +21,21 @@ GraphEdit is an area capable of showing various GraphNodes. It manages connectio
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`right_disconnects<class_GraphEdit_property_right_disconnects>` | false |
|
||||
+-------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`scroll_offset<class_GraphEdit_property_scroll_offset>` | Vector2( 0, 0 ) |
|
||||
+-------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`int<class_int>` | :ref:`snap_distance<class_GraphEdit_property_snap_distance>` | 20 |
|
||||
+-------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`use_snap<class_GraphEdit_property_use_snap>` | true |
|
||||
+-------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`zoom<class_GraphEdit_property_zoom>` | 1.0 |
|
||||
+-------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
+------------------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 2 |
|
||||
+------------------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | rect_clip_content | **O:** true |
|
||||
+------------------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`right_disconnects<class_GraphEdit_property_right_disconnects>` | false |
|
||||
+------------------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`scroll_offset<class_GraphEdit_property_scroll_offset>` | Vector2( 0, 0 ) |
|
||||
+------------------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`int<class_int>` | :ref:`snap_distance<class_GraphEdit_property_snap_distance>` | 20 |
|
||||
+------------------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`use_snap<class_GraphEdit_property_use_snap>` | true |
|
||||
+------------------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`zoom<class_GraphEdit_property_zoom>` | 1.0 |
|
||||
+------------------------------------------+----------------------------------------------------------------------+-----------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -189,6 +189,8 @@ Property Descriptions
|
||||
| *Getter* | is_comment() |
|
||||
+-----------+--------------------+
|
||||
|
||||
If ``true``, the GraphNode is a comment node.
|
||||
|
||||
.. _class_GraphNode_property_offset:
|
||||
|
||||
- :ref:`Vector2<class_Vector2>` **offset**
|
||||
|
||||
@@ -21,9 +21,11 @@ Grid container used to arrange elements in a grid like layout.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------+------------------------------------------------------+---+
|
||||
| :ref:`int<class_int>` | :ref:`columns<class_GridContainer_property_columns>` | 1 |
|
||||
+-----------------------+------------------------------------------------------+---+
|
||||
+----------------------------------------------+------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`columns<class_GridContainer_property_columns>` | 1 |
|
||||
+----------------------------------------------+------------------------------------------------------+----------+
|
||||
| :ref:`MouseFilter<enum_Control_MouseFilter>` | mouse_filter | **O:** 1 |
|
||||
+----------------------------------------------+------------------------------------------------------+----------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
@@ -577,12 +577,14 @@ Returns the offset where the image's mipmap with index ``mipmap`` is stored in t
|
||||
|
||||
- :ref:`Color<class_Color>` **get_pixel** **(** :ref:`int<class_int>` x, :ref:`int<class_int>` y **)** const
|
||||
|
||||
Returns the color of the pixel at ``(x, y)`` if the image is locked. If the image is unlocked it always returns a :ref:`Color<class_Color>` with the value ``(0, 0, 0, 1.0)``.
|
||||
Returns the color of the pixel at ``(x, y)`` if the image is locked. If the image is unlocked, it always returns a :ref:`Color<class_Color>` with the value ``(0, 0, 0, 1.0)``. This is the same as :ref:`get_pixelv<class_Image_method_get_pixelv>`, but two integer arguments instead of a Vector2 argument.
|
||||
|
||||
.. _class_Image_method_get_pixelv:
|
||||
|
||||
- :ref:`Color<class_Color>` **get_pixelv** **(** :ref:`Vector2<class_Vector2>` src **)** const
|
||||
|
||||
Returns the color of the pixel at ``src`` if the image is locked. If the image is unlocked, it always returns a :ref:`Color<class_Color>` with the value ``(0, 0, 0, 1.0)``. This is the same as :ref:`get_pixel<class_Image_method_get_pixel>`, but with a Vector2 argument instead of two integer arguments.
|
||||
|
||||
.. _class_Image_method_get_rect:
|
||||
|
||||
- :ref:`Image<class_Image>` **get_rect** **(** :ref:`Rect2<class_Rect2>` rect **)** const
|
||||
@@ -693,7 +695,7 @@ Resizes the image to the nearest power of 2 for the width and height. If ``squar
|
||||
|
||||
- :ref:`Error<enum_@GlobalScope_Error>` **save_exr** **(** :ref:`String<class_String>` path, :ref:`bool<class_bool>` grayscale=false **)** const
|
||||
|
||||
Saves the image as an EXR file to ``path``. If grayscale is true and the image has only one channel, it will be saved explicitely as monochrome rather than one red channel. This function will return :ref:`@GlobalScope.ERR_UNAVAILABLE<class_@GlobalScope_constant_ERR_UNAVAILABLE>` if Godot was compiled without the TinyEXR module.
|
||||
Saves the image as an EXR file to ``path``. If grayscale is true and the image has only one channel, it will be saved explicitly as monochrome rather than one red channel. This function will return :ref:`@GlobalScope.ERR_UNAVAILABLE<class_@GlobalScope_constant_ERR_UNAVAILABLE>` if Godot was compiled without the TinyEXR module.
|
||||
|
||||
.. _class_Image_method_save_png:
|
||||
|
||||
|
||||
@@ -21,11 +21,13 @@ A :ref:`Texture<class_Texture>` based on an :ref:`Image<class_Image>`.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------------------+-----------------------------------------------------------------+-----+
|
||||
| :ref:`float<class_float>` | :ref:`lossy_quality<class_ImageTexture_property_lossy_quality>` | 0.7 |
|
||||
+-------------------------------------------+-----------------------------------------------------------------+-----+
|
||||
| :ref:`Storage<enum_ImageTexture_Storage>` | :ref:`storage<class_ImageTexture_property_storage>` | 0 |
|
||||
+-------------------------------------------+-----------------------------------------------------------------+-----+
|
||||
+-------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 7 |
|
||||
+-------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`lossy_quality<class_ImageTexture_property_lossy_quality>` | 0.7 |
|
||||
+-------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`Storage<enum_ImageTexture_Storage>` | :ref:`storage<class_ImageTexture_property_storage>` | 0 |
|
||||
+-------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -376,7 +376,7 @@ Returns ``true`` when the user stops pressing the action event, meaning it's ``t
|
||||
|
||||
- :ref:`bool<class_bool>` **is_action_pressed** **(** :ref:`String<class_String>` action **)** const
|
||||
|
||||
Returns ``true`` if you are pressing the action event. Note that if an action has multiple buttons asigned and more than one of them is pressed, releasing one button will release the action, even if some other button assigned to this action is still pressed.
|
||||
Returns ``true`` if you are pressing the action event. Note that if an action has multiple buttons assigned and more than one of them is pressed, releasing one button will release the action, even if some other button assigned to this action is still pressed.
|
||||
|
||||
.. _class_Input_method_is_joy_button_pressed:
|
||||
|
||||
@@ -437,6 +437,10 @@ Sets a custom mouse cursor image, which is only visible inside the game window.
|
||||
|
||||
``hotspot`` must be within ``image``'s size.
|
||||
|
||||
**Note:** :ref:`AnimatedTexture<class_AnimatedTexture>`\ s aren't supported as custom mouse cursors. If using an :ref:`AnimatedTexture<class_AnimatedTexture>`, only the first frame will be displayed.
|
||||
|
||||
**Note:** Only images imported with the **Lossless**, **Lossy** or **Uncompressed** compression modes are supported. The **Video RAM** compression mode can't be used for custom cursors.
|
||||
|
||||
.. _class_Input_method_set_default_cursor_shape:
|
||||
|
||||
- void **set_default_cursor_shape** **(** :ref:`CursorShape<enum_Input_CursorShape>` shape=0 **)**
|
||||
|
||||
@@ -32,6 +32,8 @@ Properties
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`fixed_icon_size<class_ItemList_property_fixed_icon_size>` | Vector2( 0, 0 ) |
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 2 |
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`IconMode<enum_ItemList_IconMode>` | :ref:`icon_mode<class_ItemList_property_icon_mode>` | 1 |
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`float<class_float>` | :ref:`icon_scale<class_ItemList_property_icon_scale>` | 1.0 |
|
||||
@@ -40,6 +42,8 @@ Properties
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`int<class_int>` | :ref:`max_text_lines<class_ItemList_property_max_text_lines>` | 1 |
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | rect_clip_content | **O:** true |
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`same_column_width<class_ItemList_property_same_column_width>` | false |
|
||||
+---------------------------------------------+-----------------------------------------------------------------------+-----------------+
|
||||
| :ref:`SelectMode<enum_ItemList_SelectMode>` | :ref:`select_mode<class_ItemList_property_select_mode>` | 0 |
|
||||
|
||||
+25
-21
@@ -21,27 +21,31 @@ Displays plain text in a line or wrapped inside a rectangle. For formatted text,
|
||||
Properties
|
||||
----------
|
||||
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`Align<enum_Label_Align>` | :ref:`align<class_Label_property_align>` | 0 |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`autowrap<class_Label_property_autowrap>` | false |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`clip_text<class_Label_property_clip_text>` | false |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`lines_skipped<class_Label_property_lines_skipped>` | 0 |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`max_lines_visible<class_Label_property_max_lines_visible>` | -1 |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`percent_visible<class_Label_property_percent_visible>` | 1.0 |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_Label_property_text>` | "" |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`uppercase<class_Label_property_uppercase>` | false |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`VAlign<enum_Label_VAlign>` | :ref:`valign<class_Label_property_valign>` | 0 |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`visible_characters<class_Label_property_visible_characters>` | -1 |
|
||||
+----------------------------------+--------------------------------------------------------------------+-------+
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`Align<enum_Label_Align>` | :ref:`align<class_Label_property_align>` | 0 |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`autowrap<class_Label_property_autowrap>` | false |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`clip_text<class_Label_property_clip_text>` | false |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`lines_skipped<class_Label_property_lines_skipped>` | 0 |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`max_lines_visible<class_Label_property_max_lines_visible>` | -1 |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`MouseFilter<enum_Control_MouseFilter>` | mouse_filter | **O:** 2 |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`percent_visible<class_Label_property_percent_visible>` | 1.0 |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | size_flags_vertical | **O:** 4 |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_Label_property_text>` | "" |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`uppercase<class_Label_property_uppercase>` | false |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`VAlign<enum_Label_VAlign>` | :ref:`valign<class_Label_property_valign>` | 0 |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`visible_characters<class_Label_property_visible_characters>` | -1 |
|
||||
+----------------------------------------------+--------------------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -18,6 +18,13 @@ Brief Description
|
||||
|
||||
A :ref:`Texture<class_Texture>` capable of storing many smaller textures with offsets.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------+-------+----------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+-----------------------+-------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
||||
+75
-45
@@ -21,37 +21,45 @@ Control that provides single-line string editing.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`Align<enum_LineEdit_Align>` | :ref:`align<class_LineEdit_property_align>` | 0 |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`caret_blink<class_LineEdit_property_caret_blink>` | false |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`caret_blink_speed<class_LineEdit_property_caret_blink_speed>` | 0.65 |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`caret_position<class_LineEdit_property_caret_position>` | 0 |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`clear_button_enabled<class_LineEdit_property_clear_button_enabled>` | false |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`context_menu_enabled<class_LineEdit_property_context_menu_enabled>` | true |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`editable<class_LineEdit_property_editable>` | true |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`expand_to_text_length<class_LineEdit_property_expand_to_text_length>` | false |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | :ref:`focus_mode<class_LineEdit_property_focus_mode>` | 2 |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`max_length<class_LineEdit_property_max_length>` | 0 |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`placeholder_alpha<class_LineEdit_property_placeholder_alpha>` | 0.6 |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`placeholder_text<class_LineEdit_property_placeholder_text>` | "" |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`secret<class_LineEdit_property_secret>` | false |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`secret_character<class_LineEdit_property_secret_character>` | "*" |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_LineEdit_property_text>` | "" |
|
||||
+------------------------------------------+-----------------------------------------------------------------------------+-------+
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`Align<enum_LineEdit_Align>` | :ref:`align<class_LineEdit_property_align>` | 0 |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`caret_blink<class_LineEdit_property_caret_blink>` | false |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`caret_blink_speed<class_LineEdit_property_caret_blink_speed>` | 0.65 |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`caret_position<class_LineEdit_property_caret_position>` | 0 |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`clear_button_enabled<class_LineEdit_property_clear_button_enabled>` | false |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`context_menu_enabled<class_LineEdit_property_context_menu_enabled>` | true |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`editable<class_LineEdit_property_editable>` | true |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`expand_to_text_length<class_LineEdit_property_expand_to_text_length>` | false |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 2 |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`max_length<class_LineEdit_property_max_length>` | 0 |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`CursorShape<enum_Control_CursorShape>` | mouse_default_cursor_shape | **O:** 1 |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`placeholder_alpha<class_LineEdit_property_placeholder_alpha>` | 0.6 |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`placeholder_text<class_LineEdit_property_placeholder_text>` | "" |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`right_icon<class_LineEdit_property_right_icon>` | |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`secret<class_LineEdit_property_secret>` | false |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`secret_character<class_LineEdit_property_secret_character>` | "*" |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`selecting_enabled<class_LineEdit_property_selecting_enabled>` | true |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`shortcut_keys_enabled<class_LineEdit_property_shortcut_keys_enabled>` | true |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_LineEdit_property_text>` | "" |
|
||||
+----------------------------------------------+-----------------------------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -317,20 +325,6 @@ If ``false``, existing text cannot be modified and new text cannot be added.
|
||||
|
||||
If ``true``, the ``LineEdit`` width will increase to stay longer than the :ref:`text<class_LineEdit_property_text>`. It will **not** compress if the :ref:`text<class_LineEdit_property_text>` is shortened.
|
||||
|
||||
.. _class_LineEdit_property_focus_mode:
|
||||
|
||||
- :ref:`FocusMode<enum_Control_FocusMode>` **focus_mode**
|
||||
|
||||
+-----------+-----------------------+
|
||||
| *Default* | 2 |
|
||||
+-----------+-----------------------+
|
||||
| *Setter* | set_focus_mode(value) |
|
||||
+-----------+-----------------------+
|
||||
| *Getter* | get_focus_mode() |
|
||||
+-----------+-----------------------+
|
||||
|
||||
Defines how the ``LineEdit`` can grab focus (Keyboard and mouse, only keyboard, or none). See :ref:`FocusMode<enum_Control_FocusMode>` for details.
|
||||
|
||||
.. _class_LineEdit_property_max_length:
|
||||
|
||||
- :ref:`int<class_int>` **max_length**
|
||||
@@ -373,6 +367,18 @@ Opacity of the :ref:`placeholder_text<class_LineEdit_property_placeholder_text>`
|
||||
|
||||
Text shown when the ``LineEdit`` is empty. It is **not** the ``LineEdit``'s default value (see :ref:`text<class_LineEdit_property_text>`).
|
||||
|
||||
.. _class_LineEdit_property_right_icon:
|
||||
|
||||
- :ref:`Texture<class_Texture>` **right_icon**
|
||||
|
||||
+----------+-----------------------+
|
||||
| *Setter* | set_right_icon(value) |
|
||||
+----------+-----------------------+
|
||||
| *Getter* | get_right_icon() |
|
||||
+----------+-----------------------+
|
||||
|
||||
Sets the icon that will appear in the right end of the ``LineEdit`` if there's no :ref:`text<class_LineEdit_property_text>`, or always, if :ref:`clear_button_enabled<class_LineEdit_property_clear_button_enabled>` is set to ``false``.
|
||||
|
||||
.. _class_LineEdit_property_secret:
|
||||
|
||||
- :ref:`bool<class_bool>` **secret**
|
||||
@@ -401,6 +407,30 @@ If ``true``, every character is replaced with the secret character (see :ref:`se
|
||||
|
||||
The character to use to mask secret input (defaults to "\*"). Only a single character can be used as the secret character.
|
||||
|
||||
.. _class_LineEdit_property_selecting_enabled:
|
||||
|
||||
- :ref:`bool<class_bool>` **selecting_enabled**
|
||||
|
||||
+-----------+------------------------------+
|
||||
| *Default* | true |
|
||||
+-----------+------------------------------+
|
||||
| *Setter* | set_selecting_enabled(value) |
|
||||
+-----------+------------------------------+
|
||||
| *Getter* | is_selecting_enabled() |
|
||||
+-----------+------------------------------+
|
||||
|
||||
.. _class_LineEdit_property_shortcut_keys_enabled:
|
||||
|
||||
- :ref:`bool<class_bool>` **shortcut_keys_enabled**
|
||||
|
||||
+-----------+----------------------------------+
|
||||
| *Default* | true |
|
||||
+-----------+----------------------------------+
|
||||
| *Setter* | set_shortcut_keys_enabled(value) |
|
||||
+-----------+----------------------------------+
|
||||
| *Getter* | is_shortcut_keys_enabled() |
|
||||
+-----------+----------------------------------+
|
||||
|
||||
.. _class_LineEdit_property_text:
|
||||
|
||||
- :ref:`String<class_String>` **text**
|
||||
|
||||
@@ -21,11 +21,17 @@ Simple button used to represent a link to some resource.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_LinkButton_property_text>` | "" |
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----+
|
||||
| :ref:`UnderlineMode<enum_LinkButton_UnderlineMode>` | :ref:`underline<class_LinkButton_property_underline>` | 0 |
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----+
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | enabled_focus_mode | **O:** 0 |
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 0 |
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----------+
|
||||
| :ref:`CursorShape<enum_Control_CursorShape>` | mouse_default_cursor_shape | **O:** 2 |
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_LinkButton_property_text>` | "" |
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----------+
|
||||
| :ref:`UnderlineMode<enum_LinkButton_UnderlineMode>` | :ref:`underline<class_LinkButton_property_underline>` | 0 |
|
||||
+-----------------------------------------------------+-------------------------------------------------------+----------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
@@ -80,6 +80,10 @@ Constants
|
||||
|
||||
.. _class_MainLoop_constant_NOTIFICATION_OS_IME_UPDATE:
|
||||
|
||||
.. _class_MainLoop_constant_NOTIFICATION_APP_RESUMED:
|
||||
|
||||
.. _class_MainLoop_constant_NOTIFICATION_APP_PAUSED:
|
||||
|
||||
- **NOTIFICATION_WM_MOUSE_ENTER** = **1002** --- Notification received from the OS when the mouse enters the game window.
|
||||
|
||||
Implemented on desktop and web platforms.
|
||||
@@ -126,6 +130,14 @@ Implemented on desktop platforms if the crash handler is enabled.
|
||||
|
||||
Specific to the macOS platform.
|
||||
|
||||
- **NOTIFICATION_APP_RESUMED** = **1014** --- Notification received from the OS when the app is resumed.
|
||||
|
||||
Specific to the Android platform.
|
||||
|
||||
- **NOTIFICATION_APP_PAUSED** = **1015** --- Notification received from the OS when the app is paused.
|
||||
|
||||
Specific to the Android platform.
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
|
||||
@@ -21,9 +21,19 @@ Special button that brings up a :ref:`PopupMenu<class_PopupMenu>` when clicked.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+-------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`switch_on_hover<class_MenuButton_property_switch_on_hover>` | false |
|
||||
+-------------------------+-------------------------------------------------------------------+-------+
|
||||
+-----------------------------------------------+-------------------------------------------------------------------+-------------+
|
||||
| :ref:`ActionMode<enum_BaseButton_ActionMode>` | action_mode | **O:** 0 |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------+-------------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | enabled_focus_mode | **O:** 0 |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | flat | **O:** true |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------+-------------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 0 |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`switch_on_hover<class_MenuButton_property_switch_on_hover>` | false |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | toggle_mode | **O:** true |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -28,6 +28,8 @@ Properties
|
||||
+---------------------------------+-------------------------------------------------------+----------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`skeleton<class_MeshInstance_property_skeleton>` | NodePath("..") |
|
||||
+---------------------------------+-------------------------------------------------------+----------------+
|
||||
| :ref:`Skin<class_Skin>` | :ref:`skin<class_MeshInstance_property_skin>` | |
|
||||
+---------------------------------+-------------------------------------------------------+----------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -80,6 +82,16 @@ The :ref:`Mesh<class_Mesh>` resource for the instance.
|
||||
|
||||
:ref:`NodePath<class_NodePath>` to the :ref:`Skeleton<class_Skeleton>` associated with the instance.
|
||||
|
||||
.. _class_MeshInstance_property_skin:
|
||||
|
||||
- :ref:`Skin<class_Skin>` **skin**
|
||||
|
||||
+----------+-----------------+
|
||||
| *Setter* | set_skin(value) |
|
||||
+----------+-----------------+
|
||||
| *Getter* | get_skin() |
|
||||
+----------+-----------------+
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@ Properties
|
||||
+-------------------------------+--------------------------------------------------------------+-----------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`base_texture<class_MeshTexture_property_base_texture>` | |
|
||||
+-------------------------------+--------------------------------------------------------------+-----------------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+-------------------------------+--------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`image_size<class_MeshTexture_property_image_size>` | Vector2( 0, 0 ) |
|
||||
+-------------------------------+--------------------------------------------------------------+-----------------+
|
||||
| :ref:`Mesh<class_Mesh>` | :ref:`mesh<class_MeshTexture_property_mesh>` | |
|
||||
|
||||
@@ -21,15 +21,19 @@ PacketPeer implementation using the `ENet <http://enet.bespin.org/index.html>`_
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`always_ordered<class_NetworkedMultiplayerENet_property_always_ordered>` | false |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`channel_count<class_NetworkedMultiplayerENet_property_channel_count>` | 3 |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+-------+
|
||||
| :ref:`CompressionMode<enum_NetworkedMultiplayerENet_CompressionMode>` | :ref:`compression_mode<class_NetworkedMultiplayerENet_property_compression_mode>` | 0 |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`transfer_channel<class_NetworkedMultiplayerENet_property_transfer_channel>` | -1 |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+-------+
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`always_ordered<class_NetworkedMultiplayerENet_property_always_ordered>` | false |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
|
||||
| :ref:`int<class_int>` | :ref:`channel_count<class_NetworkedMultiplayerENet_property_channel_count>` | 3 |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
|
||||
| :ref:`CompressionMode<enum_NetworkedMultiplayerENet_CompressionMode>` | :ref:`compression_mode<class_NetworkedMultiplayerENet_property_compression_mode>` | 0 |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
|
||||
| :ref:`bool<class_bool>` | refuse_new_connections | **O:** false |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
|
||||
| :ref:`int<class_int>` | :ref:`transfer_channel<class_NetworkedMultiplayerENet_property_transfer_channel>` | -1 |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
|
||||
| :ref:`TransferMode<enum_NetworkedMultiplayerPeer_TransferMode>` | transfer_mode | **O:** 2 |
|
||||
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------+--------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -28,6 +28,8 @@ Properties
|
||||
+------------------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`draw_center<class_NinePatchRect_property_draw_center>` | true |
|
||||
+------------------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`MouseFilter<enum_Control_MouseFilter>` | mouse_filter | **O:** 2 |
|
||||
+------------------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`patch_margin_bottom<class_NinePatchRect_property_patch_margin_bottom>` | 0 |
|
||||
+------------------------------------------------------------+--------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`patch_margin_left<class_NinePatchRect_property_patch_margin_left>` | 0 |
|
||||
@@ -196,7 +198,7 @@ The height of the 9-slice's top row.
|
||||
| *Getter* | get_region_rect() |
|
||||
+-----------+------------------------+
|
||||
|
||||
Rectangular region of the texture to sample from. If you're working with an atlas, use this property to define the area the 9-slice should use. All other properties are relative to this one.
|
||||
Rectangular region of the texture to sample from. If you're working with an atlas, use this property to define the area the 9-slice should use. All other properties are relative to this one. If the rect is empty, NinePatchRect will use the whole texture.
|
||||
|
||||
.. _class_NinePatchRect_property_texture:
|
||||
|
||||
|
||||
@@ -339,6 +339,10 @@ Constants
|
||||
|
||||
.. _class_Node_constant_NOTIFICATION_OS_IME_UPDATE:
|
||||
|
||||
.. _class_Node_constant_NOTIFICATION_APP_RESUMED:
|
||||
|
||||
.. _class_Node_constant_NOTIFICATION_APP_PAUSED:
|
||||
|
||||
- **NOTIFICATION_ENTER_TREE** = **10** --- Notification received when the node enters a :ref:`SceneTree<class_SceneTree>`.
|
||||
|
||||
- **NOTIFICATION_EXIT_TREE** = **11** --- Notification received when the node is about to exit a :ref:`SceneTree<class_SceneTree>`.
|
||||
@@ -419,6 +423,14 @@ Implemented on desktop platforms if the crash handler is enabled.
|
||||
|
||||
Specific to the macOS platform.
|
||||
|
||||
- **NOTIFICATION_APP_RESUMED** = **1014** --- Notification received from the OS when the app is resumed.
|
||||
|
||||
Specific to the Android platform.
|
||||
|
||||
- **NOTIFICATION_APP_PAUSED** = **1015** --- Notification received from the OS when the app is paused.
|
||||
|
||||
Specific to the Android platform.
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -665,6 +677,8 @@ Duplicates the node, returning a new node.
|
||||
|
||||
You can fine-tune the behavior using the ``flags`` (see :ref:`DuplicateFlags<enum_Node_DuplicateFlags>`).
|
||||
|
||||
**Note:** It will not work properly if the node contains a script with constructor arguments (i.e. needs to supply arguments to :ref:`Object._init<class_Object_method__init>` method). In that case, the node will be duplicated without a script.
|
||||
|
||||
.. _class_Node_method_find_node:
|
||||
|
||||
- :ref:`Node<class_Node>` **find_node** **(** :ref:`String<class_String>` mask, :ref:`bool<class_bool>` recursive=true, :ref:`bool<class_bool>` owned=true **)** const
|
||||
|
||||
@@ -276,7 +276,7 @@ Adds the ``offset`` vector to the node's global position.
|
||||
|
||||
- void **look_at** **(** :ref:`Vector2<class_Vector2>` point **)**
|
||||
|
||||
Rotates the node so it points towards the ``point``.
|
||||
Rotates the node so it points towards the ``point``, which is expected to use global coordinates.
|
||||
|
||||
.. _class_Node2D_method_move_local_x:
|
||||
|
||||
|
||||
@@ -21,19 +21,21 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`as_normalmap<class_NoiseTexture_property_as_normalmap>` | false |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`bump_strength<class_NoiseTexture_property_bump_strength>` | 8.0 |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`height<class_NoiseTexture_property_height>` | 512 |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`OpenSimplexNoise<class_OpenSimplexNoise>` | :ref:`noise<class_NoiseTexture_property_noise>` | |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`seamless<class_NoiseTexture_property_seamless>` | false |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`width<class_NoiseTexture_property_width>` | 512 |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`as_normalmap<class_NoiseTexture_property_as_normalmap>` | false |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`bump_strength<class_NoiseTexture_property_bump_strength>` | 8.0 |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 7 |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`height<class_NoiseTexture_property_height>` | 512 |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`OpenSimplexNoise<class_OpenSimplexNoise>` | :ref:`noise<class_NoiseTexture_property_noise>` | |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`seamless<class_NoiseTexture_property_seamless>` | false |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`width<class_NoiseTexture_property_width>` | 512 |
|
||||
+-------------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
Object
|
||||
======
|
||||
|
||||
**Inherited By:** :ref:`ARVRPositionalTracker<class_ARVRPositionalTracker>`, :ref:`ARVRServer<class_ARVRServer>`, :ref:`AudioServer<class_AudioServer>`, :ref:`CameraServer<class_CameraServer>`, :ref:`ClassDB<class_ClassDB>`, :ref:`EditorFileSystemDirectory<class_EditorFileSystemDirectory>`, :ref:`EditorNavigationMeshGenerator<class_EditorNavigationMeshGenerator>`, :ref:`EditorSelection<class_EditorSelection>`, :ref:`Engine<class_Engine>`, :ref:`Geometry<class_Geometry>`, :ref:`GodotSharp<class_GodotSharp>`, :ref:`IP<class_IP>`, :ref:`Input<class_Input>`, :ref:`InputMap<class_InputMap>`, :ref:`JSON<class_JSON>`, :ref:`JSONRPC<class_JSONRPC>`, :ref:`JavaScript<class_JavaScript>`, :ref:`MainLoop<class_MainLoop>`, :ref:`Node<class_Node>`, :ref:`OS<class_OS>`, :ref:`Performance<class_Performance>`, :ref:`Physics2DDirectBodyState<class_Physics2DDirectBodyState>`, :ref:`Physics2DDirectSpaceState<class_Physics2DDirectSpaceState>`, :ref:`Physics2DServer<class_Physics2DServer>`, :ref:`PhysicsDirectBodyState<class_PhysicsDirectBodyState>`, :ref:`PhysicsDirectSpaceState<class_PhysicsDirectSpaceState>`, :ref:`PhysicsServer<class_PhysicsServer>`, :ref:`ProjectSettings<class_ProjectSettings>`, :ref:`Reference<class_Reference>`, :ref:`ResourceLoader<class_ResourceLoader>`, :ref:`ResourceSaver<class_ResourceSaver>`, :ref:`TranslationServer<class_TranslationServer>`, :ref:`TreeItem<class_TreeItem>`, :ref:`UndoRedo<class_UndoRedo>`, :ref:`VisualScriptEditor<class_VisualScriptEditor>`, :ref:`VisualServer<class_VisualServer>`
|
||||
**Inherited By:** :ref:`ARVRPositionalTracker<class_ARVRPositionalTracker>`, :ref:`ARVRServer<class_ARVRServer>`, :ref:`AudioServer<class_AudioServer>`, :ref:`CameraServer<class_CameraServer>`, :ref:`ClassDB<class_ClassDB>`, :ref:`EditorFileSystemDirectory<class_EditorFileSystemDirectory>`, :ref:`EditorNavigationMeshGenerator<class_EditorNavigationMeshGenerator>`, :ref:`EditorSelection<class_EditorSelection>`, :ref:`EditorVCSInterface<class_EditorVCSInterface>`, :ref:`Engine<class_Engine>`, :ref:`Geometry<class_Geometry>`, :ref:`GodotSharp<class_GodotSharp>`, :ref:`IP<class_IP>`, :ref:`Input<class_Input>`, :ref:`InputMap<class_InputMap>`, :ref:`JSON<class_JSON>`, :ref:`JSONRPC<class_JSONRPC>`, :ref:`JavaScript<class_JavaScript>`, :ref:`MainLoop<class_MainLoop>`, :ref:`Node<class_Node>`, :ref:`OS<class_OS>`, :ref:`Performance<class_Performance>`, :ref:`Physics2DDirectBodyState<class_Physics2DDirectBodyState>`, :ref:`Physics2DDirectSpaceState<class_Physics2DDirectSpaceState>`, :ref:`Physics2DServer<class_Physics2DServer>`, :ref:`PhysicsDirectBodyState<class_PhysicsDirectBodyState>`, :ref:`PhysicsDirectSpaceState<class_PhysicsDirectSpaceState>`, :ref:`PhysicsServer<class_PhysicsServer>`, :ref:`ProjectSettings<class_ProjectSettings>`, :ref:`Reference<class_Reference>`, :ref:`ResourceLoader<class_ResourceLoader>`, :ref:`ResourceSaver<class_ResourceSaver>`, :ref:`TranslationServer<class_TranslationServer>`, :ref:`TreeItem<class_TreeItem>`, :ref:`UndoRedo<class_UndoRedo>`, :ref:`VisualScriptEditor<class_VisualScriptEditor>`, :ref:`VisualServer<class_VisualServer>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
|
||||
@@ -21,9 +21,15 @@ Button control that provides selectable options when pressed.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------+-------------------------------------------------------+----+
|
||||
| :ref:`int<class_int>` | :ref:`selected<class_OptionButton_property_selected>` | -1 |
|
||||
+-----------------------+-------------------------------------------------------+----+
|
||||
+-----------------------------------------------+-------------------------------------------------------+-------------+
|
||||
| :ref:`ActionMode<enum_BaseButton_ActionMode>` | action_mode | **O:** 0 |
|
||||
+-----------------------------------------------+-------------------------------------------------------+-------------+
|
||||
| :ref:`TextAlign<enum_Button_TextAlign>` | align | **O:** 0 |
|
||||
+-----------------------------------------------+-------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | :ref:`selected<class_OptionButton_property_selected>` | -1 |
|
||||
+-----------------------------------------------+-------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | toggle_mode | **O:** true |
|
||||
+-----------------------------------------------+-------------------------------------------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -1348,15 +1348,19 @@ Sets whether the window should always be on top.
|
||||
|
||||
Sets the window title to the specified string.
|
||||
|
||||
**Note:** This should be used sporadically. Don't set this every frame, as that will negatively affect performance on some window managers.
|
||||
|
||||
.. _class_OS_method_shell_open:
|
||||
|
||||
- :ref:`Error<enum_@GlobalScope_Error>` **shell_open** **(** :ref:`String<class_String>` uri **)**
|
||||
|
||||
Requests the OS to open a resource with the most appropriate program. For example.
|
||||
Requests the OS to open a resource with the most appropriate program. For example:
|
||||
|
||||
``OS.shell_open("C:\\Users\name\Downloads")`` on Windows opens the file explorer at the downloads folders of the user.
|
||||
- ``OS.shell_open("C:\\Users\name\Downloads")`` on Windows opens the file explorer at the user's Downloads folder.
|
||||
|
||||
``OS.shell_open("https://godotengine.org")`` opens the default web browser on the official Godot website.
|
||||
- ``OS.shell_open("https://godotengine.org")`` opens the default web browser on the official Godot website.
|
||||
|
||||
- ``OS.shell_open("mailto:example@example.com")`` opens the default email client with the "To" field set to ``example@example.com``. See `Customizing ``mailto:`` Links <https://blog.escapecreative.com/customizing-mailto-links/>`_ for a list of fields that can be added.
|
||||
|
||||
.. _class_OS_method_show_virtual_keyboard:
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ A node used to create a parallax scrolling background.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+-----------------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`int<class_int>` | layer | **O:** -100 |
|
||||
+-------------------------------+-----------------------------------------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`scroll_base_offset<class_ParallaxBackground_property_scroll_base_offset>` | Vector2( 0, 0 ) |
|
||||
+-------------------------------+-----------------------------------------------------------------------------------------------+-----------------+
|
||||
|
||||
@@ -21,9 +21,11 @@ Contains a :ref:`Curve2D<class_Curve2D>` path for :ref:`PathFollow2D<class_PathF
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+-------------------------------------------+
|
||||
| :ref:`Curve2D<class_Curve2D>` | :ref:`curve<class_Path2D_property_curve>` |
|
||||
+-------------------------------+-------------------------------------------+
|
||||
+-------------------------------+-------------------------------------------+----------------------------------+
|
||||
| :ref:`Curve2D<class_Curve2D>` | :ref:`curve<class_Path2D_property_curve>` | |
|
||||
+-------------------------------+-------------------------------------------+----------------------------------+
|
||||
| :ref:`Color<class_Color>` | self_modulate | **O:** Color( 0.5, 0.6, 1, 0.7 ) |
|
||||
+-------------------------------+-------------------------------------------+----------------------------------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -982,7 +982,7 @@ Sets a body state using one of the :ref:`BodyState<enum_Physics2DServer_BodyStat
|
||||
|
||||
- :ref:`bool<class_bool>` **body_test_motion** **(** :ref:`RID<class_RID>` body, :ref:`Transform2D<class_Transform2D>` from, :ref:`Vector2<class_Vector2>` motion, :ref:`bool<class_bool>` infinite_inertia, :ref:`float<class_float>` margin=0.08, :ref:`Physics2DTestMotionResult<class_Physics2DTestMotionResult>` result=null **)**
|
||||
|
||||
Returns whether a body can move from a given point in a given direction. Apart from the boolean return value, a :ref:`Physics2DTestMotionResult<class_Physics2DTestMotionResult>` can be passed to return additional information in.
|
||||
Returns ``true`` if a collision would result from moving in the given direction from a given point in space. Margin increases the size of the shapes involved in the collision detection. :ref:`Physics2DTestMotionResult<class_Physics2DTestMotionResult>` can be passed to return additional information in.
|
||||
|
||||
.. _class_Physics2DServer_method_capsule_shape_create:
|
||||
|
||||
|
||||
@@ -23,13 +23,15 @@ Base class for all objects affected by physics in 2D space.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------+----------------------------------------------------------------------+---+
|
||||
| :ref:`int<class_int>` | :ref:`collision_layer<class_PhysicsBody2D_property_collision_layer>` | 1 |
|
||||
+-----------------------+----------------------------------------------------------------------+---+
|
||||
| :ref:`int<class_int>` | :ref:`collision_mask<class_PhysicsBody2D_property_collision_mask>` | 1 |
|
||||
+-----------------------+----------------------------------------------------------------------+---+
|
||||
| :ref:`int<class_int>` | :ref:`layers<class_PhysicsBody2D_property_layers>` | |
|
||||
+-----------------------+----------------------------------------------------------------------+---+
|
||||
+-------------------------+----------------------------------------------------------------------+--------------+
|
||||
| :ref:`int<class_int>` | :ref:`collision_layer<class_PhysicsBody2D_property_collision_layer>` | 1 |
|
||||
+-------------------------+----------------------------------------------------------------------+--------------+
|
||||
| :ref:`int<class_int>` | :ref:`collision_mask<class_PhysicsBody2D_property_collision_mask>` | 1 |
|
||||
+-------------------------+----------------------------------------------------------------------+--------------+
|
||||
| :ref:`bool<class_bool>` | input_pickable | **O:** false |
|
||||
+-------------------------+----------------------------------------------------------------------+--------------+
|
||||
| :ref:`int<class_int>` | :ref:`layers<class_PhysicsBody2D_property_layers>` | |
|
||||
+-------------------------+----------------------------------------------------------------------+--------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -23,9 +23,11 @@ Base container control for popups and dialogs.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+--------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`popup_exclusive<class_Popup_property_popup_exclusive>` | false |
|
||||
+-------------------------+--------------------------------------------------------------+-------+
|
||||
+-------------------------+--------------------------------------------------------------+--------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`popup_exclusive<class_Popup_property_popup_exclusive>` | false |
|
||||
+-------------------------+--------------------------------------------------------------+--------------+
|
||||
| :ref:`bool<class_bool>` | visible | **O:** false |
|
||||
+-------------------------+--------------------------------------------------------------+--------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+14
-12
@@ -21,17 +21,19 @@ PopupMenu displays a list of options.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+----------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`allow_search<class_PopupMenu_property_allow_search>` | false |
|
||||
+---------------------------+----------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_on_checkable_item_selection<class_PopupMenu_property_hide_on_checkable_item_selection>` | true |
|
||||
+---------------------------+----------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_on_item_selection<class_PopupMenu_property_hide_on_item_selection>` | true |
|
||||
+---------------------------+----------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_on_state_item_selection<class_PopupMenu_property_hide_on_state_item_selection>` | false |
|
||||
+---------------------------+----------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`submenu_popup_delay<class_PopupMenu_property_submenu_popup_delay>` | 0.3 |
|
||||
+---------------------------+----------------------------------------------------------------------------------------------------+-------+
|
||||
+------------------------------------------+----------------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`allow_search<class_PopupMenu_property_allow_search>` | false |
|
||||
+------------------------------------------+----------------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 2 |
|
||||
+------------------------------------------+----------------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_on_checkable_item_selection<class_PopupMenu_property_hide_on_checkable_item_selection>` | true |
|
||||
+------------------------------------------+----------------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_on_item_selection<class_PopupMenu_property_hide_on_item_selection>` | true |
|
||||
+------------------------------------------+----------------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_on_state_item_selection<class_PopupMenu_property_hide_on_state_item_selection>` | false |
|
||||
+------------------------------------------+----------------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`submenu_popup_delay<class_PopupMenu_property_submenu_popup_delay>` | 0.3 |
|
||||
+------------------------------------------+----------------------------------------------------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -419,7 +421,7 @@ Returns the id of the item at index ``idx``. ``id`` can be manually assigned, wh
|
||||
|
||||
- :ref:`int<class_int>` **get_item_index** **(** :ref:`int<class_int>` id **)** const
|
||||
|
||||
Returns the index of the item containing the specified ``id``. Index is automatically assigned to each item by the engine. Index can not be set manualy.
|
||||
Returns the index of the item containing the specified ``id``. Index is automatically assigned to each item by the engine. Index can not be set manually.
|
||||
|
||||
.. _class_PopupMenu_method_get_item_metadata:
|
||||
|
||||
|
||||
@@ -21,9 +21,13 @@ General-purpose progress bar.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+--------------------------------------------------------------------+------+
|
||||
| :ref:`bool<class_bool>` | :ref:`percent_visible<class_ProgressBar_property_percent_visible>` | true |
|
||||
+-------------------------+--------------------------------------------------------------------+------+
|
||||
+---------------------------+--------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`percent_visible<class_ProgressBar_property_percent_visible>` | true |
|
||||
+---------------------------+--------------------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | size_flags_vertical | **O:** 0 |
|
||||
+---------------------------+--------------------------------------------------------------------+-------------+
|
||||
| :ref:`float<class_float>` | step | **O:** 0.01 |
|
||||
+---------------------------+--------------------------------------------------------------------+-------------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
@@ -2646,7 +2646,7 @@ Fix to improve physics jitter, specially on monitors where refresh rate is diffe
|
||||
| *Default* | Color( 0.3, 0.3, 0.3, 1 ) |
|
||||
+-----------+---------------------------+
|
||||
|
||||
Default background clear color. Overriddable per :ref:`Viewport<class_Viewport>` using its :ref:`Environment<class_Environment>`. See :ref:`Environment.background_mode<class_Environment_property_background_mode>` and :ref:`Environment.background_color<class_Environment_property_background_color>` in particular. To change this default color programmatically, use :ref:`VisualServer.set_default_clear_color<class_VisualServer_method_set_default_clear_color>`.
|
||||
Default background clear color. Overridable per :ref:`Viewport<class_Viewport>` using its :ref:`Environment<class_Environment>`. See :ref:`Environment.background_mode<class_Environment_property_background_mode>` and :ref:`Environment.background_color<class_Environment_property_background_color>` in particular. To change this default color programmatically, use :ref:`VisualServer.set_default_clear_color<class_VisualServer_method_set_default_clear_color>`.
|
||||
|
||||
.. _class_ProjectSettings_property_rendering/limits/buffers/blend_shape_max_buffer_size_kb:
|
||||
|
||||
@@ -2778,7 +2778,7 @@ If ``true``, performs a previous depth pass before rendering materials. This inc
|
||||
| *Default* | 4096 |
|
||||
+-----------+------+
|
||||
|
||||
The directional shadow's size in pixels. Higher values will result in sharper shadows, at the cost of performance.
|
||||
The directional shadow's size in pixels. Higher values will result in sharper shadows, at the cost of performance. The value will be rounded up to the nearest power of 2.
|
||||
|
||||
.. _class_ProjectSettings_property_rendering/quality/directional_shadow/size.mobile:
|
||||
|
||||
|
||||
@@ -21,9 +21,11 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+-----------------------------------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`base<class_ProxyTexture_property_base>` |
|
||||
+-------------------------------+-----------------------------------------------+
|
||||
+-------------------------------+-----------------------------------------------+----------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`base<class_ProxyTexture_property_base>` | |
|
||||
+-------------------------------+-----------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+-------------------------------+-----------------------------------------------+----------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -11,7 +11,7 @@ Reference
|
||||
|
||||
**Inherits:** :ref:`Object<class_Object>`
|
||||
|
||||
**Inherited By:** :ref:`ARVRInterface<class_ARVRInterface>`, :ref:`AStar<class_AStar>`, :ref:`AStar2D<class_AStar2D>`, :ref:`AnimationTrackEditPlugin<class_AnimationTrackEditPlugin>`, :ref:`AudioEffectInstance<class_AudioEffectInstance>`, :ref:`AudioStreamPlayback<class_AudioStreamPlayback>`, :ref:`CameraFeed<class_CameraFeed>`, :ref:`ConfigFile<class_ConfigFile>`, :ref:`Crypto<class_Crypto>`, :ref:`Directory<class_Directory>`, :ref:`EditorExportPlugin<class_EditorExportPlugin>`, :ref:`EditorFeatureProfile<class_EditorFeatureProfile>`, :ref:`EditorInspectorPlugin<class_EditorInspectorPlugin>`, :ref:`EditorResourceConversionPlugin<class_EditorResourceConversionPlugin>`, :ref:`EditorResourcePreviewGenerator<class_EditorResourcePreviewGenerator>`, :ref:`EditorSceneImporter<class_EditorSceneImporter>`, :ref:`EditorScenePostImport<class_EditorScenePostImport>`, :ref:`EditorScript<class_EditorScript>`, :ref:`EncodedObjectAsID<class_EncodedObjectAsID>`, :ref:`Expression<class_Expression>`, :ref:`File<class_File>`, :ref:`FuncRef<class_FuncRef>`, :ref:`GDNative<class_GDNative>`, :ref:`GDScriptFunctionState<class_GDScriptFunctionState>`, :ref:`GDScriptNativeClass<class_GDScriptNativeClass>`, :ref:`HTTPClient<class_HTTPClient>`, :ref:`HashingContext<class_HashingContext>`, :ref:`JSONParseResult<class_JSONParseResult>`, :ref:`KinematicCollision<class_KinematicCollision>`, :ref:`KinematicCollision2D<class_KinematicCollision2D>`, :ref:`Marshalls<class_Marshalls>`, :ref:`MeshDataTool<class_MeshDataTool>`, :ref:`MultiplayerAPI<class_MultiplayerAPI>`, :ref:`Mutex<class_Mutex>`, :ref:`PCKPacker<class_PCKPacker>`, :ref:`PackedDataContainerRef<class_PackedDataContainerRef>`, :ref:`PacketPeer<class_PacketPeer>`, :ref:`Physics2DShapeQueryParameters<class_Physics2DShapeQueryParameters>`, :ref:`Physics2DShapeQueryResult<class_Physics2DShapeQueryResult>`, :ref:`Physics2DTestMotionResult<class_Physics2DTestMotionResult>`, :ref:`PhysicsShapeQueryParameters<class_PhysicsShapeQueryParameters>`, :ref:`PhysicsShapeQueryResult<class_PhysicsShapeQueryResult>`, :ref:`RandomNumberGenerator<class_RandomNumberGenerator>`, :ref:`RegEx<class_RegEx>`, :ref:`RegExMatch<class_RegExMatch>`, :ref:`Resource<class_Resource>`, :ref:`ResourceFormatLoader<class_ResourceFormatLoader>`, :ref:`ResourceFormatSaver<class_ResourceFormatSaver>`, :ref:`ResourceImporter<class_ResourceImporter>`, :ref:`ResourceInteractiveLoader<class_ResourceInteractiveLoader>`, :ref:`SceneState<class_SceneState>`, :ref:`SceneTreeTimer<class_SceneTreeTimer>`, :ref:`Semaphore<class_Semaphore>`, :ref:`SpatialGizmo<class_SpatialGizmo>`, :ref:`SpatialVelocityTracker<class_SpatialVelocityTracker>`, :ref:`StreamPeer<class_StreamPeer>`, :ref:`SurfaceTool<class_SurfaceTool>`, :ref:`TCP_Server<class_TCP_Server>`, :ref:`Thread<class_Thread>`, :ref:`TriangleMesh<class_TriangleMesh>`, :ref:`UPNP<class_UPNP>`, :ref:`UPNPDevice<class_UPNPDevice>`, :ref:`VisualScriptFunctionState<class_VisualScriptFunctionState>`, :ref:`WeakRef<class_WeakRef>`, :ref:`WebRTCPeerConnection<class_WebRTCPeerConnection>`, :ref:`XMLParser<class_XMLParser>`
|
||||
**Inherited By:** :ref:`ARVRInterface<class_ARVRInterface>`, :ref:`AStar<class_AStar>`, :ref:`AStar2D<class_AStar2D>`, :ref:`AnimationTrackEditPlugin<class_AnimationTrackEditPlugin>`, :ref:`AudioEffectInstance<class_AudioEffectInstance>`, :ref:`AudioStreamPlayback<class_AudioStreamPlayback>`, :ref:`CameraFeed<class_CameraFeed>`, :ref:`CharFXTransform<class_CharFXTransform>`, :ref:`ConfigFile<class_ConfigFile>`, :ref:`Crypto<class_Crypto>`, :ref:`Directory<class_Directory>`, :ref:`EditorExportPlugin<class_EditorExportPlugin>`, :ref:`EditorFeatureProfile<class_EditorFeatureProfile>`, :ref:`EditorInspectorPlugin<class_EditorInspectorPlugin>`, :ref:`EditorResourceConversionPlugin<class_EditorResourceConversionPlugin>`, :ref:`EditorResourcePreviewGenerator<class_EditorResourcePreviewGenerator>`, :ref:`EditorSceneImporter<class_EditorSceneImporter>`, :ref:`EditorScenePostImport<class_EditorScenePostImport>`, :ref:`EditorScript<class_EditorScript>`, :ref:`EncodedObjectAsID<class_EncodedObjectAsID>`, :ref:`Expression<class_Expression>`, :ref:`File<class_File>`, :ref:`FuncRef<class_FuncRef>`, :ref:`GDNative<class_GDNative>`, :ref:`GDScriptFunctionState<class_GDScriptFunctionState>`, :ref:`GDScriptNativeClass<class_GDScriptNativeClass>`, :ref:`HTTPClient<class_HTTPClient>`, :ref:`HashingContext<class_HashingContext>`, :ref:`JSONParseResult<class_JSONParseResult>`, :ref:`KinematicCollision<class_KinematicCollision>`, :ref:`KinematicCollision2D<class_KinematicCollision2D>`, :ref:`Marshalls<class_Marshalls>`, :ref:`MeshDataTool<class_MeshDataTool>`, :ref:`MultiplayerAPI<class_MultiplayerAPI>`, :ref:`Mutex<class_Mutex>`, :ref:`PCKPacker<class_PCKPacker>`, :ref:`PackedDataContainerRef<class_PackedDataContainerRef>`, :ref:`PacketPeer<class_PacketPeer>`, :ref:`Physics2DShapeQueryParameters<class_Physics2DShapeQueryParameters>`, :ref:`Physics2DShapeQueryResult<class_Physics2DShapeQueryResult>`, :ref:`Physics2DTestMotionResult<class_Physics2DTestMotionResult>`, :ref:`PhysicsShapeQueryParameters<class_PhysicsShapeQueryParameters>`, :ref:`PhysicsShapeQueryResult<class_PhysicsShapeQueryResult>`, :ref:`RandomNumberGenerator<class_RandomNumberGenerator>`, :ref:`RegEx<class_RegEx>`, :ref:`RegExMatch<class_RegExMatch>`, :ref:`Resource<class_Resource>`, :ref:`ResourceFormatLoader<class_ResourceFormatLoader>`, :ref:`ResourceFormatSaver<class_ResourceFormatSaver>`, :ref:`ResourceImporter<class_ResourceImporter>`, :ref:`ResourceInteractiveLoader<class_ResourceInteractiveLoader>`, :ref:`SceneState<class_SceneState>`, :ref:`SceneTreeTimer<class_SceneTreeTimer>`, :ref:`Semaphore<class_Semaphore>`, :ref:`SkinReference<class_SkinReference>`, :ref:`SpatialGizmo<class_SpatialGizmo>`, :ref:`SpatialVelocityTracker<class_SpatialVelocityTracker>`, :ref:`StreamPeer<class_StreamPeer>`, :ref:`SurfaceTool<class_SurfaceTool>`, :ref:`TCP_Server<class_TCP_Server>`, :ref:`Thread<class_Thread>`, :ref:`TriangleMesh<class_TriangleMesh>`, :ref:`UPNP<class_UPNP>`, :ref:`UPNPDevice<class_UPNPDevice>`, :ref:`VisualScriptFunctionState<class_VisualScriptFunctionState>`, :ref:`WeakRef<class_WeakRef>`, :ref:`WebRTCPeerConnection<class_WebRTCPeerConnection>`, :ref:`XMLParser<class_XMLParser>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Resource
|
||||
|
||||
**Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Inherited By:** :ref:`Animation<class_Animation>`, :ref:`AnimationNode<class_AnimationNode>`, :ref:`AnimationNodeStateMachinePlayback<class_AnimationNodeStateMachinePlayback>`, :ref:`AnimationNodeStateMachineTransition<class_AnimationNodeStateMachineTransition>`, :ref:`AudioBusLayout<class_AudioBusLayout>`, :ref:`AudioEffect<class_AudioEffect>`, :ref:`AudioStream<class_AudioStream>`, :ref:`BakedLightmapData<class_BakedLightmapData>`, :ref:`BitMap<class_BitMap>`, :ref:`ButtonGroup<class_ButtonGroup>`, :ref:`CryptoKey<class_CryptoKey>`, :ref:`CubeMap<class_CubeMap>`, :ref:`Curve<class_Curve>`, :ref:`Curve2D<class_Curve2D>`, :ref:`Curve3D<class_Curve3D>`, :ref:`DynamicFontData<class_DynamicFontData>`, :ref:`EditorSettings<class_EditorSettings>`, :ref:`EditorSpatialGizmoPlugin<class_EditorSpatialGizmoPlugin>`, :ref:`Environment<class_Environment>`, :ref:`Font<class_Font>`, :ref:`GDNativeLibrary<class_GDNativeLibrary>`, :ref:`GIProbeData<class_GIProbeData>`, :ref:`Gradient<class_Gradient>`, :ref:`Image<class_Image>`, :ref:`InputEvent<class_InputEvent>`, :ref:`Material<class_Material>`, :ref:`Mesh<class_Mesh>`, :ref:`MeshLibrary<class_MeshLibrary>`, :ref:`MultiMesh<class_MultiMesh>`, :ref:`NavigationMesh<class_NavigationMesh>`, :ref:`NavigationPolygon<class_NavigationPolygon>`, :ref:`OccluderPolygon2D<class_OccluderPolygon2D>`, :ref:`OpenSimplexNoise<class_OpenSimplexNoise>`, :ref:`PackedDataContainer<class_PackedDataContainer>`, :ref:`PackedScene<class_PackedScene>`, :ref:`PhysicsMaterial<class_PhysicsMaterial>`, :ref:`PolygonPathFinder<class_PolygonPathFinder>`, :ref:`Script<class_Script>`, :ref:`Shader<class_Shader>`, :ref:`Shape<class_Shape>`, :ref:`Shape2D<class_Shape2D>`, :ref:`ShortCut<class_ShortCut>`, :ref:`Sky<class_Sky>`, :ref:`SpriteFrames<class_SpriteFrames>`, :ref:`StyleBox<class_StyleBox>`, :ref:`TextFile<class_TextFile>`, :ref:`Texture<class_Texture>`, :ref:`TextureLayered<class_TextureLayered>`, :ref:`Theme<class_Theme>`, :ref:`TileSet<class_TileSet>`, :ref:`Translation<class_Translation>`, :ref:`VideoStream<class_VideoStream>`, :ref:`VisualScriptNode<class_VisualScriptNode>`, :ref:`VisualShaderNode<class_VisualShaderNode>`, :ref:`World<class_World>`, :ref:`World2D<class_World2D>`, :ref:`X509Certificate<class_X509Certificate>`
|
||||
**Inherited By:** :ref:`Animation<class_Animation>`, :ref:`AnimationNode<class_AnimationNode>`, :ref:`AnimationNodeStateMachinePlayback<class_AnimationNodeStateMachinePlayback>`, :ref:`AnimationNodeStateMachineTransition<class_AnimationNodeStateMachineTransition>`, :ref:`AudioBusLayout<class_AudioBusLayout>`, :ref:`AudioEffect<class_AudioEffect>`, :ref:`AudioStream<class_AudioStream>`, :ref:`BakedLightmapData<class_BakedLightmapData>`, :ref:`BitMap<class_BitMap>`, :ref:`ButtonGroup<class_ButtonGroup>`, :ref:`CryptoKey<class_CryptoKey>`, :ref:`CubeMap<class_CubeMap>`, :ref:`Curve<class_Curve>`, :ref:`Curve2D<class_Curve2D>`, :ref:`Curve3D<class_Curve3D>`, :ref:`DynamicFontData<class_DynamicFontData>`, :ref:`EditorSettings<class_EditorSettings>`, :ref:`EditorSpatialGizmoPlugin<class_EditorSpatialGizmoPlugin>`, :ref:`Environment<class_Environment>`, :ref:`Font<class_Font>`, :ref:`GDNativeLibrary<class_GDNativeLibrary>`, :ref:`GIProbeData<class_GIProbeData>`, :ref:`Gradient<class_Gradient>`, :ref:`Image<class_Image>`, :ref:`InputEvent<class_InputEvent>`, :ref:`Material<class_Material>`, :ref:`Mesh<class_Mesh>`, :ref:`MeshLibrary<class_MeshLibrary>`, :ref:`MultiMesh<class_MultiMesh>`, :ref:`NavigationMesh<class_NavigationMesh>`, :ref:`NavigationPolygon<class_NavigationPolygon>`, :ref:`OccluderPolygon2D<class_OccluderPolygon2D>`, :ref:`OpenSimplexNoise<class_OpenSimplexNoise>`, :ref:`PackedDataContainer<class_PackedDataContainer>`, :ref:`PackedScene<class_PackedScene>`, :ref:`PhysicsMaterial<class_PhysicsMaterial>`, :ref:`PolygonPathFinder<class_PolygonPathFinder>`, :ref:`RichTextEffect<class_RichTextEffect>`, :ref:`Script<class_Script>`, :ref:`Shader<class_Shader>`, :ref:`Shape<class_Shape>`, :ref:`Shape2D<class_Shape2D>`, :ref:`ShortCut<class_ShortCut>`, :ref:`Skin<class_Skin>`, :ref:`Sky<class_Sky>`, :ref:`SpriteFrames<class_SpriteFrames>`, :ref:`StyleBox<class_StyleBox>`, :ref:`TextFile<class_TextFile>`, :ref:`Texture<class_Texture>`, :ref:`TextureLayered<class_TextureLayered>`, :ref:`Theme<class_Theme>`, :ref:`TileSet<class_TileSet>`, :ref:`Translation<class_Translation>`, :ref:`VideoStream<class_VideoStream>`, :ref:`VisualScriptNode<class_VisualScriptNode>`, :ref:`VisualShaderNode<class_VisualShaderNode>`, :ref:`World<class_World>`, :ref:`World2D<class_World2D>`, :ref:`X509Certificate<class_X509Certificate>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
:github_url: hide
|
||||
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the RichTextEffect.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
.. _class_RichTextEffect:
|
||||
|
||||
RichTextEffect
|
||||
==============
|
||||
|
||||
**Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`_process_custom_fx<class_RichTextEffect_method__process_custom_fx>` **(** :ref:`CharFXTransform<class_CharFXTransform>` char_fx **)** virtual |
|
||||
+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_RichTextEffect_method__process_custom_fx:
|
||||
|
||||
- :ref:`bool<class_bool>` **_process_custom_fx** **(** :ref:`CharFXTransform<class_CharFXTransform>` char_fx **)** virtual
|
||||
|
||||
@@ -21,29 +21,33 @@ Label that displays rich text.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`bbcode_enabled<class_RichTextLabel_property_bbcode_enabled>` | false |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`bbcode_text<class_RichTextLabel_property_bbcode_text>` | "" |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`meta_underlined<class_RichTextLabel_property_meta_underlined>` | true |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`override_selected_font_color<class_RichTextLabel_property_override_selected_font_color>` | false |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`percent_visible<class_RichTextLabel_property_percent_visible>` | 1.0 |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scroll_active<class_RichTextLabel_property_scroll_active>` | true |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scroll_following<class_RichTextLabel_property_scroll_following>` | false |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`selection_enabled<class_RichTextLabel_property_selection_enabled>` | false |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`tab_size<class_RichTextLabel_property_tab_size>` | 4 |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_RichTextLabel_property_text>` | "" |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`visible_characters<class_RichTextLabel_property_visible_characters>` | -1 |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------+
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`bbcode_enabled<class_RichTextLabel_property_bbcode_enabled>` | false |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`String<class_String>` | :ref:`bbcode_text<class_RichTextLabel_property_bbcode_text>` | "" |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`custom_effects<class_RichTextLabel_property_custom_effects>` | [ ] |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`meta_underlined<class_RichTextLabel_property_meta_underlined>` | true |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`override_selected_font_color<class_RichTextLabel_property_override_selected_font_color>` | false |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`float<class_float>` | :ref:`percent_visible<class_RichTextLabel_property_percent_visible>` | 1.0 |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | rect_clip_content | **O:** true |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scroll_active<class_RichTextLabel_property_scroll_active>` | true |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scroll_following<class_RichTextLabel_property_scroll_following>` | false |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`selection_enabled<class_RichTextLabel_property_selection_enabled>` | false |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | :ref:`tab_size<class_RichTextLabel_property_tab_size>` | 4 |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_RichTextLabel_property_text>` | "" |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | :ref:`visible_characters<class_RichTextLabel_property_visible_characters>` | -1 |
|
||||
+-----------------------------+------------------------------------------------------------------------------------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -67,10 +71,14 @@ Methods
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_visible_line_count<class_RichTextLabel_method_get_visible_line_count>` **(** **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`install_effect<class_RichTextLabel_method_install_effect>` **(** :ref:`Variant<class_Variant>` effect **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`newline<class_RichTextLabel_method_newline>` **(** **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`parse_bbcode<class_RichTextLabel_method_parse_bbcode>` **(** :ref:`String<class_String>` bbcode **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | :ref:`parse_expressions_for_values<class_RichTextLabel_method_parse_expressions_for_values>` **(** :ref:`PoolStringArray<class_PoolStringArray>` expressions **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`pop<class_RichTextLabel_method_pop>` **(** **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`push_align<class_RichTextLabel_method_push_align>` **(** :ref:`Align<enum_RichTextLabel_Align>` align **)** |
|
||||
@@ -225,6 +233,18 @@ enum **ListType**:
|
||||
|
||||
.. _class_RichTextLabel_constant_ITEM_TABLE:
|
||||
|
||||
.. _class_RichTextLabel_constant_ITEM_FADE:
|
||||
|
||||
.. _class_RichTextLabel_constant_ITEM_SHAKE:
|
||||
|
||||
.. _class_RichTextLabel_constant_ITEM_WAVE:
|
||||
|
||||
.. _class_RichTextLabel_constant_ITEM_TORNADO:
|
||||
|
||||
.. _class_RichTextLabel_constant_ITEM_RAINBOW:
|
||||
|
||||
.. _class_RichTextLabel_constant_ITEM_CUSTOMFX:
|
||||
|
||||
.. _class_RichTextLabel_constant_ITEM_META:
|
||||
|
||||
enum **ItemType**:
|
||||
@@ -253,7 +273,19 @@ enum **ItemType**:
|
||||
|
||||
- **ITEM_TABLE** = **11**
|
||||
|
||||
- **ITEM_META** = **12**
|
||||
- **ITEM_FADE** = **12**
|
||||
|
||||
- **ITEM_SHAKE** = **13**
|
||||
|
||||
- **ITEM_WAVE** = **14**
|
||||
|
||||
- **ITEM_TORNADO** = **15**
|
||||
|
||||
- **ITEM_RAINBOW** = **16**
|
||||
|
||||
- **ITEM_CUSTOMFX** = **18**
|
||||
|
||||
- **ITEM_META** = **17**
|
||||
|
||||
Description
|
||||
-----------
|
||||
@@ -298,6 +330,18 @@ If ``true``, the label uses BBCode formatting.
|
||||
|
||||
The label's text in BBCode format. Is not representative of manual modifications to the internal tag stack. Erases changes made by other methods when edited.
|
||||
|
||||
.. _class_RichTextLabel_property_custom_effects:
|
||||
|
||||
- :ref:`Array<class_Array>` **custom_effects**
|
||||
|
||||
+-----------+--------------------+
|
||||
| *Default* | [ ] |
|
||||
+-----------+--------------------+
|
||||
| *Setter* | set_effects(value) |
|
||||
+-----------+--------------------+
|
||||
| *Getter* | get_effects() |
|
||||
+-----------+--------------------+
|
||||
|
||||
.. _class_RichTextLabel_property_meta_underlined:
|
||||
|
||||
- :ref:`bool<class_bool>` **meta_underlined**
|
||||
@@ -483,6 +527,10 @@ Returns the vertical scrollbar.
|
||||
|
||||
Returns the number of visible lines.
|
||||
|
||||
.. _class_RichTextLabel_method_install_effect:
|
||||
|
||||
- void **install_effect** **(** :ref:`Variant<class_Variant>` effect **)**
|
||||
|
||||
.. _class_RichTextLabel_method_newline:
|
||||
|
||||
- void **newline** **(** **)**
|
||||
@@ -495,6 +543,10 @@ Adds a newline tag to the tag stack.
|
||||
|
||||
The assignment version of :ref:`append_bbcode<class_RichTextLabel_method_append_bbcode>`. Clears the tag stack and inserts the new content. Returns :ref:`@GlobalScope.OK<class_@GlobalScope_constant_OK>` if parses ``bbcode`` successfully.
|
||||
|
||||
.. _class_RichTextLabel_method_parse_expressions_for_values:
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **parse_expressions_for_values** **(** :ref:`PoolStringArray<class_PoolStringArray>` expressions **)**
|
||||
|
||||
.. _class_RichTextLabel_method_pop:
|
||||
|
||||
- void **pop** **(** **)**
|
||||
|
||||
+47
-17
@@ -30,23 +30,33 @@ Properties
|
||||
Methods
|
||||
-------
|
||||
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`can_instance<class_Script_method_can_instance>` **(** **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Script<class_Script>` | :ref:`get_base_script<class_Script_method_get_base_script>` **(** **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_instance_base_type<class_Script_method_get_instance_base_type>` **(** **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`has_script_signal<class_Script_method_has_script_signal>` **(** :ref:`String<class_String>` signal_name **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`has_source_code<class_Script_method_has_source_code>` **(** **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`instance_has<class_Script_method_instance_has>` **(** :ref:`Object<class_Object>` base_object **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_tool<class_Script_method_is_tool>` **(** **)** const |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`reload<class_Script_method_reload>` **(** :ref:`bool<class_bool>` keep_state=false **)** |
|
||||
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------+
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`can_instance<class_Script_method_can_instance>` **(** **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Script<class_Script>` | :ref:`get_base_script<class_Script_method_get_base_script>` **(** **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_instance_base_type<class_Script_method_get_instance_base_type>` **(** **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Variant<class_Variant>` | :ref:`get_property_default_value<class_Script_method_get_property_default_value>` **(** :ref:`String<class_String>` property **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | :ref:`get_script_constant_map<class_Script_method_get_script_constant_map>` **(** **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`get_script_method_list<class_Script_method_get_script_method_list>` **(** **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`get_script_property_list<class_Script_method_get_script_property_list>` **(** **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`get_script_signal_list<class_Script_method_get_script_signal_list>` **(** **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`has_script_signal<class_Script_method_has_script_signal>` **(** :ref:`String<class_String>` signal_name **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`has_source_code<class_Script_method_has_source_code>` **(** **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`instance_has<class_Script_method_instance_has>` **(** :ref:`Object<class_Object>` base_object **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_tool<class_Script_method_is_tool>` **(** **)** const |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`reload<class_Script_method_reload>` **(** :ref:`bool<class_bool>` keep_state=false **)** |
|
||||
+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
@@ -96,6 +106,26 @@ Returns the script directly inherited by this script.
|
||||
|
||||
Returns the script's base type.
|
||||
|
||||
.. _class_Script_method_get_property_default_value:
|
||||
|
||||
- :ref:`Variant<class_Variant>` **get_property_default_value** **(** :ref:`String<class_String>` property **)**
|
||||
|
||||
.. _class_Script_method_get_script_constant_map:
|
||||
|
||||
- :ref:`Dictionary<class_Dictionary>` **get_script_constant_map** **(** **)**
|
||||
|
||||
.. _class_Script_method_get_script_method_list:
|
||||
|
||||
- :ref:`Array<class_Array>` **get_script_method_list** **(** **)**
|
||||
|
||||
.. _class_Script_method_get_script_property_list:
|
||||
|
||||
- :ref:`Array<class_Array>` **get_script_property_list** **(** **)**
|
||||
|
||||
.. _class_Script_method_get_script_signal_list:
|
||||
|
||||
- :ref:`Array<class_Array>` **get_script_signal_list** **(** **)**
|
||||
|
||||
.. _class_Script_method_has_script_signal:
|
||||
|
||||
- :ref:`bool<class_bool>` **has_script_signal** **(** :ref:`String<class_String>` signal_name **)** const
|
||||
|
||||
@@ -18,6 +18,21 @@ Brief Description
|
||||
|
||||
The Editor's popup dialog for creating new :ref:`Script<class_Script>` files.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+-------------------+-----------------------------+
|
||||
| :ref:`bool<class_bool>` | dialog_hide_on_ok | **O:** false |
|
||||
+-------------------------------+-------------------+-----------------------------+
|
||||
| :ref:`float<class_float>` | margin_bottom | **O:** 76.0 |
|
||||
+-------------------------------+-------------------+-----------------------------+
|
||||
| :ref:`float<class_float>` | margin_right | **O:** 200.0 |
|
||||
+-------------------------------+-------------------+-----------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | rect_size | **O:** Vector2( 200, 76 ) |
|
||||
+-------------------------------+-------------------+-----------------------------+
|
||||
| :ref:`String<class_String>` | window_title | **O:** "Attach Node Script" |
|
||||
+-------------------------------+-------------------+-----------------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
||||
@@ -23,9 +23,13 @@ Base class for scroll bars.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+----------------------------------------------------------+------+
|
||||
| :ref:`float<class_float>` | :ref:`custom_step<class_ScrollBar_property_custom_step>` | -1.0 |
|
||||
+---------------------------+----------------------------------------------------------+------+
|
||||
+---------------------------+----------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | :ref:`custom_step<class_ScrollBar_property_custom_step>` | -1.0 |
|
||||
+---------------------------+----------------------------------------------------------+------------+
|
||||
| :ref:`int<class_int>` | size_flags_vertical | **O:** 0 |
|
||||
+---------------------------+----------------------------------------------------------+------------+
|
||||
| :ref:`float<class_float>` | step | **O:** 0.0 |
|
||||
+---------------------------+----------------------------------------------------------+------------+
|
||||
|
||||
Signals
|
||||
-------
|
||||
|
||||
@@ -23,17 +23,19 @@ A helper node for displaying scrollable elements such as lists.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+------+
|
||||
| :ref:`int<class_int>` | :ref:`scroll_deadzone<class_ScrollContainer_property_scroll_deadzone>` | 0 |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+------+
|
||||
| :ref:`int<class_int>` | :ref:`scroll_horizontal<class_ScrollContainer_property_scroll_horizontal>` | 0 |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scroll_horizontal_enabled<class_ScrollContainer_property_scroll_horizontal_enabled>` | true |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+------+
|
||||
| :ref:`int<class_int>` | :ref:`scroll_vertical<class_ScrollContainer_property_scroll_vertical>` | 0 |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scroll_vertical_enabled<class_ScrollContainer_property_scroll_vertical_enabled>` | true |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+------+
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | rect_clip_content | **O:** true |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | :ref:`scroll_deadzone<class_ScrollContainer_property_scroll_deadzone>` | 0 |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | :ref:`scroll_horizontal<class_ScrollContainer_property_scroll_horizontal>` | 0 |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scroll_horizontal_enabled<class_ScrollContainer_property_scroll_horizontal_enabled>` | true |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | :ref:`scroll_vertical<class_ScrollContainer_property_scroll_vertical>` | 0 |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scroll_vertical_enabled<class_ScrollContainer_property_scroll_vertical_enabled>` | true |
|
||||
+-------------------------+--------------------------------------------------------------------------------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+56
-100
@@ -18,73 +18,60 @@ Brief Description
|
||||
|
||||
Skeleton for characters and animated objects.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+-----------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`bones_in_world_transform<class_Skeleton_property_bones_in_world_transform>` | false |
|
||||
+-------------------------+-----------------------------------------------------------------------------------+-------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`add_bone<class_Skeleton_method_add_bone>` **(** :ref:`String<class_String>` name **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`bind_child_node_to_bone<class_Skeleton_method_bind_child_node_to_bone>` **(** :ref:`int<class_int>` bone_idx, :ref:`Node<class_Node>` node **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`clear_bones<class_Skeleton_method_clear_bones>` **(** **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`find_bone<class_Skeleton_method_find_bone>` **(** :ref:`String<class_String>` name **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_bone_count<class_Skeleton_method_get_bone_count>` **(** **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bone_custom_pose<class_Skeleton_method_get_bone_custom_pose>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bone_global_pose<class_Skeleton_method_get_bone_global_pose>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_bone_name<class_Skeleton_method_get_bone_name>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_bone_parent<class_Skeleton_method_get_bone_parent>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bone_pose<class_Skeleton_method_get_bone_pose>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bone_rest<class_Skeleton_method_get_bone_rest>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bone_transform<class_Skeleton_method_get_bone_transform>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`get_bound_child_nodes_to_bone<class_Skeleton_method_get_bound_child_nodes_to_bone>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_bone_rest_disabled<class_Skeleton_method_is_bone_rest_disabled>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`localize_rests<class_Skeleton_method_localize_rests>` **(** **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`physical_bones_add_collision_exception<class_Skeleton_method_physical_bones_add_collision_exception>` **(** :ref:`RID<class_RID>` exception **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`physical_bones_remove_collision_exception<class_Skeleton_method_physical_bones_remove_collision_exception>` **(** :ref:`RID<class_RID>` exception **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`physical_bones_start_simulation<class_Skeleton_method_physical_bones_start_simulation>` **(** :ref:`Array<class_Array>` bones=[ ] **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`physical_bones_stop_simulation<class_Skeleton_method_physical_bones_stop_simulation>` **(** **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_custom_pose<class_Skeleton_method_set_bone_custom_pose>` **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` custom_pose **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_disable_rest<class_Skeleton_method_set_bone_disable_rest>` **(** :ref:`int<class_int>` bone_idx, :ref:`bool<class_bool>` disable **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_global_pose<class_Skeleton_method_set_bone_global_pose>` **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` pose **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_ignore_animation<class_Skeleton_method_set_bone_ignore_animation>` **(** :ref:`int<class_int>` bone, :ref:`bool<class_bool>` ignore **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_parent<class_Skeleton_method_set_bone_parent>` **(** :ref:`int<class_int>` bone_idx, :ref:`int<class_int>` parent_idx **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_pose<class_Skeleton_method_set_bone_pose>` **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` pose **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_rest<class_Skeleton_method_set_bone_rest>` **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` rest **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`unbind_child_node_from_bone<class_Skeleton_method_unbind_child_node_from_bone>` **(** :ref:`int<class_int>` bone_idx, :ref:`Node<class_Node>` node **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`unparent_bone_and_rest<class_Skeleton_method_unparent_bone_and_rest>` **(** :ref:`int<class_int>` bone_idx **)** |
|
||||
+-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`add_bone<class_Skeleton_method_add_bone>` **(** :ref:`String<class_String>` name **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`bind_child_node_to_bone<class_Skeleton_method_bind_child_node_to_bone>` **(** :ref:`int<class_int>` bone_idx, :ref:`Node<class_Node>` node **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`clear_bones<class_Skeleton_method_clear_bones>` **(** **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`find_bone<class_Skeleton_method_find_bone>` **(** :ref:`String<class_String>` name **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_bone_count<class_Skeleton_method_get_bone_count>` **(** **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bone_global_pose<class_Skeleton_method_get_bone_global_pose>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`get_bone_name<class_Skeleton_method_get_bone_name>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_bone_parent<class_Skeleton_method_get_bone_parent>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bone_pose<class_Skeleton_method_get_bone_pose>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bone_rest<class_Skeleton_method_get_bone_rest>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | :ref:`get_bound_child_nodes_to_bone<class_Skeleton_method_get_bound_child_nodes_to_bone>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`is_bone_rest_disabled<class_Skeleton_method_is_bone_rest_disabled>` **(** :ref:`int<class_int>` bone_idx **)** const |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`localize_rests<class_Skeleton_method_localize_rests>` **(** **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`physical_bones_add_collision_exception<class_Skeleton_method_physical_bones_add_collision_exception>` **(** :ref:`RID<class_RID>` exception **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`physical_bones_remove_collision_exception<class_Skeleton_method_physical_bones_remove_collision_exception>` **(** :ref:`RID<class_RID>` exception **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`physical_bones_start_simulation<class_Skeleton_method_physical_bones_start_simulation>` **(** :ref:`Array<class_Array>` bones=[ ] **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`physical_bones_stop_simulation<class_Skeleton_method_physical_bones_stop_simulation>` **(** **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`SkinReference<class_SkinReference>` | :ref:`register_skin<class_Skeleton_method_register_skin>` **(** :ref:`Skin<class_Skin>` skin **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_disable_rest<class_Skeleton_method_set_bone_disable_rest>` **(** :ref:`int<class_int>` bone_idx, :ref:`bool<class_bool>` disable **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_global_pose_override<class_Skeleton_method_set_bone_global_pose_override>` **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` pose, :ref:`float<class_float>` amount, :ref:`bool<class_bool>` persistent=false **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_parent<class_Skeleton_method_set_bone_parent>` **(** :ref:`int<class_int>` bone_idx, :ref:`int<class_int>` parent_idx **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_pose<class_Skeleton_method_set_bone_pose>` **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` pose **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bone_rest<class_Skeleton_method_set_bone_rest>` **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` rest **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`unbind_child_node_from_bone<class_Skeleton_method_unbind_child_node_from_bone>` **(** :ref:`int<class_int>` bone_idx, :ref:`Node<class_Node>` node **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`unparent_bone_and_rest<class_Skeleton_method_unparent_bone_and_rest>` **(** :ref:`int<class_int>` bone_idx **)** |
|
||||
+-------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Constants
|
||||
---------
|
||||
@@ -96,27 +83,12 @@ Constants
|
||||
Description
|
||||
-----------
|
||||
|
||||
Skeleton provides a hierarchical interface for managing bones, including pose, rest and animation (see :ref:`Animation<class_Animation>`). Skeleton will support rag doll dynamics in the future.
|
||||
Skeleton provides a hierarchical interface for managing bones, including pose, rest and animation (see :ref:`Animation<class_Animation>`). It can also use ragdoll physics.
|
||||
|
||||
The overall transform of a bone with respect to the skeleton is determined by the following hierarchical order: rest pose, custom pose and pose.
|
||||
|
||||
Note that "global pose" below refers to the overall transform of the bone with respect to skeleton, so it not the actual global/world transform of the bone.
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
.. _class_Skeleton_property_bones_in_world_transform:
|
||||
|
||||
- :ref:`bool<class_bool>` **bones_in_world_transform**
|
||||
|
||||
+-----------+-----------------------------------------+
|
||||
| *Default* | false |
|
||||
+-----------+-----------------------------------------+
|
||||
| *Setter* | set_use_bones_in_world_transform(value) |
|
||||
+-----------+-----------------------------------------+
|
||||
| *Getter* | is_using_bones_in_world_transform() |
|
||||
+-----------+-----------------------------------------+
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
@@ -150,12 +122,6 @@ Returns the bone index that matches ``name`` as its name.
|
||||
|
||||
Returns the amount of bones in the skeleton.
|
||||
|
||||
.. _class_Skeleton_method_get_bone_custom_pose:
|
||||
|
||||
- :ref:`Transform<class_Transform>` **get_bone_custom_pose** **(** :ref:`int<class_int>` bone_idx **)** const
|
||||
|
||||
Returns the custom pose of the specified bone. Custom pose is applied on top of the rest pose.
|
||||
|
||||
.. _class_Skeleton_method_get_bone_global_pose:
|
||||
|
||||
- :ref:`Transform<class_Transform>` **get_bone_global_pose** **(** :ref:`int<class_int>` bone_idx **)** const
|
||||
@@ -188,12 +154,6 @@ Returns the pose transform of the specified bone. Pose is applied on top of the
|
||||
|
||||
Returns the rest transform for a bone ``bone_idx``.
|
||||
|
||||
.. _class_Skeleton_method_get_bone_transform:
|
||||
|
||||
- :ref:`Transform<class_Transform>` **get_bone_transform** **(** :ref:`int<class_int>` bone_idx **)** const
|
||||
|
||||
Returns the combination of custom pose and pose. The returned transform is in skeleton's reference frame.
|
||||
|
||||
.. _class_Skeleton_method_get_bound_child_nodes_to_bone:
|
||||
|
||||
- :ref:`Array<class_Array>` **get_bound_child_nodes_to_bone** **(** :ref:`int<class_int>` bone_idx **)** const
|
||||
@@ -224,21 +184,17 @@ Returns the combination of custom pose and pose. The returned transform is in sk
|
||||
|
||||
- void **physical_bones_stop_simulation** **(** **)**
|
||||
|
||||
.. _class_Skeleton_method_set_bone_custom_pose:
|
||||
.. _class_Skeleton_method_register_skin:
|
||||
|
||||
- void **set_bone_custom_pose** **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` custom_pose **)**
|
||||
- :ref:`SkinReference<class_SkinReference>` **register_skin** **(** :ref:`Skin<class_Skin>` skin **)**
|
||||
|
||||
.. _class_Skeleton_method_set_bone_disable_rest:
|
||||
|
||||
- void **set_bone_disable_rest** **(** :ref:`int<class_int>` bone_idx, :ref:`bool<class_bool>` disable **)**
|
||||
|
||||
.. _class_Skeleton_method_set_bone_global_pose:
|
||||
.. _class_Skeleton_method_set_bone_global_pose_override:
|
||||
|
||||
- void **set_bone_global_pose** **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` pose **)**
|
||||
|
||||
.. _class_Skeleton_method_set_bone_ignore_animation:
|
||||
|
||||
- void **set_bone_ignore_animation** **(** :ref:`int<class_int>` bone, :ref:`bool<class_bool>` ignore **)**
|
||||
- void **set_bone_global_pose_override** **(** :ref:`int<class_int>` bone_idx, :ref:`Transform<class_Transform>` pose, :ref:`float<class_float>` amount, :ref:`bool<class_bool>` persistent=false **)**
|
||||
|
||||
.. _class_Skeleton_method_set_bone_parent:
|
||||
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
:github_url: hide
|
||||
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the Skin.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
.. _class_Skin:
|
||||
|
||||
Skin
|
||||
====
|
||||
|
||||
**Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`add_bind<class_Skin_method_add_bind>` **(** :ref:`int<class_int>` bone, :ref:`Transform<class_Transform>` pose **)** |
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`clear_binds<class_Skin_method_clear_binds>` **(** **)** |
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_bind_bone<class_Skin_method_get_bind_bone>` **(** :ref:`int<class_int>` bind_index **)** const |
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`get_bind_count<class_Skin_method_get_bind_count>` **(** **)** const |
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Transform<class_Transform>` | :ref:`get_bind_pose<class_Skin_method_get_bind_pose>` **(** :ref:`int<class_int>` bind_index **)** const |
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bind_bone<class_Skin_method_set_bind_bone>` **(** :ref:`int<class_int>` bind_index, :ref:`int<class_int>` bone **)** |
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bind_count<class_Skin_method_set_bind_count>` **(** :ref:`int<class_int>` bind_count **)** |
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_bind_pose<class_Skin_method_set_bind_pose>` **(** :ref:`int<class_int>` bind_index, :ref:`Transform<class_Transform>` pose **)** |
|
||||
+-----------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_Skin_method_add_bind:
|
||||
|
||||
- void **add_bind** **(** :ref:`int<class_int>` bone, :ref:`Transform<class_Transform>` pose **)**
|
||||
|
||||
.. _class_Skin_method_clear_binds:
|
||||
|
||||
- void **clear_binds** **(** **)**
|
||||
|
||||
.. _class_Skin_method_get_bind_bone:
|
||||
|
||||
- :ref:`int<class_int>` **get_bind_bone** **(** :ref:`int<class_int>` bind_index **)** const
|
||||
|
||||
.. _class_Skin_method_get_bind_count:
|
||||
|
||||
- :ref:`int<class_int>` **get_bind_count** **(** **)** const
|
||||
|
||||
.. _class_Skin_method_get_bind_pose:
|
||||
|
||||
- :ref:`Transform<class_Transform>` **get_bind_pose** **(** :ref:`int<class_int>` bind_index **)** const
|
||||
|
||||
.. _class_Skin_method_set_bind_bone:
|
||||
|
||||
- void **set_bind_bone** **(** :ref:`int<class_int>` bind_index, :ref:`int<class_int>` bone **)**
|
||||
|
||||
.. _class_Skin_method_set_bind_count:
|
||||
|
||||
- void **set_bind_count** **(** :ref:`int<class_int>` bind_count **)**
|
||||
|
||||
.. _class_Skin_method_set_bind_pose:
|
||||
|
||||
- void **set_bind_pose** **(** :ref:`int<class_int>` bind_index, :ref:`Transform<class_Transform>` pose **)**
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
:github_url: hide
|
||||
|
||||
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
||||
.. DO NOT EDIT THIS FILE, but the SkinReference.xml source instead.
|
||||
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||||
|
||||
.. _class_SkinReference:
|
||||
|
||||
SkinReference
|
||||
=============
|
||||
|
||||
**Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+-------------------------+--------------------------------------------------------------------------------+
|
||||
| :ref:`RID<class_RID>` | :ref:`get_skeleton<class_SkinReference_method_get_skeleton>` **(** **)** const |
|
||||
+-------------------------+--------------------------------------------------------------------------------+
|
||||
| :ref:`Skin<class_Skin>` | :ref:`get_skin<class_SkinReference_method_get_skin>` **(** **)** const |
|
||||
+-------------------------+--------------------------------------------------------------------------------+
|
||||
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_SkinReference_method_get_skeleton:
|
||||
|
||||
- :ref:`RID<class_RID>` **get_skeleton** **(** **)** const
|
||||
|
||||
.. _class_SkinReference_method_get_skin:
|
||||
|
||||
- :ref:`Skin<class_Skin>` **get_skin** **(** **)** const
|
||||
|
||||
+13
-23
@@ -23,17 +23,19 @@ Base class for GUI sliders.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`editable<class_Slider_property_editable>` | true |
|
||||
+------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | :ref:`focus_mode<class_Slider_property_focus_mode>` | 2 |
|
||||
+------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scrollable<class_Slider_property_scrollable>` | true |
|
||||
+------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`tick_count<class_Slider_property_tick_count>` | 0 |
|
||||
+------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`ticks_on_borders<class_Slider_property_ticks_on_borders>` | false |
|
||||
+------------------------------------------+-----------------------------------------------------------------+-------+
|
||||
+------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`editable<class_Slider_property_editable>` | true |
|
||||
+------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 2 |
|
||||
+------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`scrollable<class_Slider_property_scrollable>` | true |
|
||||
+------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | size_flags_vertical | **O:** 0 |
|
||||
+------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`tick_count<class_Slider_property_tick_count>` | 0 |
|
||||
+------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`ticks_on_borders<class_Slider_property_ticks_on_borders>` | false |
|
||||
+------------------------------------------+-----------------------------------------------------------------+----------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
@@ -57,18 +59,6 @@ Property Descriptions
|
||||
|
||||
If ``true``, the slider can be interacted with. If ``false``, the value can be changed only by code.
|
||||
|
||||
.. _class_Slider_property_focus_mode:
|
||||
|
||||
- :ref:`FocusMode<enum_Control_FocusMode>` **focus_mode**
|
||||
|
||||
+-----------+-----------------------+
|
||||
| *Default* | 2 |
|
||||
+-----------+-----------------------+
|
||||
| *Setter* | set_focus_mode(value) |
|
||||
+-----------+-----------------------+
|
||||
| *Getter* | get_focus_mode() |
|
||||
+-----------+-----------------------+
|
||||
|
||||
.. _class_Slider_property_scrollable:
|
||||
|
||||
- :ref:`bool<class_bool>` **scrollable**
|
||||
|
||||
@@ -21,9 +21,11 @@ A ``.stex`` texture.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------+----------------------------------------------------------+----+
|
||||
| :ref:`String<class_String>` | :ref:`load_path<class_StreamTexture_property_load_path>` | "" |
|
||||
+-----------------------------+----------------------------------------------------------+----+
|
||||
+-----------------------------+----------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+-----------------------------+----------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`load_path<class_StreamTexture_property_load_path>` | "" |
|
||||
+-----------------------------+----------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -174,6 +174,8 @@ Methods
|
||||
+-----------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`replacen<class_String_method_replacen>` **(** :ref:`String<class_String>` what, :ref:`String<class_String>` forwhat **)** |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`repeat<class_String_method_repeat>` **(** :ref:`int<class_int>` count **)** |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`rfind<class_String_method_rfind>` **(** :ref:`String<class_String>` what, :ref:`int<class_int>` from=-1 **)** |
|
||||
+-----------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`rfindn<class_String_method_rfindn>` **(** :ref:`String<class_String>` what, :ref:`int<class_int>` from=-1 **)** |
|
||||
@@ -668,6 +670,12 @@ Replaces occurrences of a case-sensitive substring with the given one inside the
|
||||
|
||||
Replaces occurrences of a case-insensitive substring with the given one inside the string.
|
||||
|
||||
.. _class_String_method_repeat:
|
||||
|
||||
- :ref:`String<class_String>` **repeat** **(** :ref:`int<class_int>` count **)**
|
||||
|
||||
Returns original string repeated a number of times. The number of repetitions is given by the argument.
|
||||
|
||||
.. _class_String_method_rfind:
|
||||
|
||||
- :ref:`int<class_int>` **rfind** **(** :ref:`String<class_String>` what, :ref:`int<class_int>` from=-1 **)**
|
||||
|
||||
+77
-45
@@ -21,51 +21,59 @@ Multiline text editing control.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`breakpoint_gutter<class_TextEdit_property_breakpoint_gutter>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`caret_blink<class_TextEdit_property_caret_blink>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`caret_blink_speed<class_TextEdit_property_caret_blink_speed>` | 0.65 |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`caret_block_mode<class_TextEdit_property_caret_block_mode>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`caret_moving_by_right_click<class_TextEdit_property_caret_moving_by_right_click>` | true |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`context_menu_enabled<class_TextEdit_property_context_menu_enabled>` | true |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`draw_spaces<class_TextEdit_property_draw_spaces>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`draw_tabs<class_TextEdit_property_draw_tabs>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`fold_gutter<class_TextEdit_property_fold_gutter>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hiding_enabled<class_TextEdit_property_hiding_enabled>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`highlight_all_occurrences<class_TextEdit_property_highlight_all_occurrences>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`highlight_current_line<class_TextEdit_property_highlight_current_line>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`minimap_draw<class_TextEdit_property_minimap_draw>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`minimap_width<class_TextEdit_property_minimap_width>` | 80 |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`override_selected_font_color<class_TextEdit_property_override_selected_font_color>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`readonly<class_TextEdit_property_readonly>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`show_line_numbers<class_TextEdit_property_show_line_numbers>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`smooth_scrolling<class_TextEdit_property_smooth_scrolling>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`syntax_highlighting<class_TextEdit_property_syntax_highlighting>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_TextEdit_property_text>` | "" |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`float<class_float>` | :ref:`v_scroll_speed<class_TextEdit_property_v_scroll_speed>` | 80.0 |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`wrap_enabled<class_TextEdit_property_wrap_enabled>` | false |
|
||||
+-----------------------------+-------------------------------------------------------------------------------------------+-------+
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`breakpoint_gutter<class_TextEdit_property_breakpoint_gutter>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`caret_blink<class_TextEdit_property_caret_blink>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`caret_blink_speed<class_TextEdit_property_caret_blink_speed>` | 0.65 |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`caret_block_mode<class_TextEdit_property_caret_block_mode>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`caret_moving_by_right_click<class_TextEdit_property_caret_moving_by_right_click>` | true |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`context_menu_enabled<class_TextEdit_property_context_menu_enabled>` | true |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`draw_spaces<class_TextEdit_property_draw_spaces>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`draw_tabs<class_TextEdit_property_draw_tabs>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 2 |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`fold_gutter<class_TextEdit_property_fold_gutter>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hiding_enabled<class_TextEdit_property_hiding_enabled>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`highlight_all_occurrences<class_TextEdit_property_highlight_all_occurrences>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`highlight_current_line<class_TextEdit_property_highlight_current_line>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`minimap_draw<class_TextEdit_property_minimap_draw>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`int<class_int>` | :ref:`minimap_width<class_TextEdit_property_minimap_width>` | 80 |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`CursorShape<enum_Control_CursorShape>` | mouse_default_cursor_shape | **O:** 1 |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`override_selected_font_color<class_TextEdit_property_override_selected_font_color>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`readonly<class_TextEdit_property_readonly>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`selecting_enabled<class_TextEdit_property_selecting_enabled>` | true |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`shortcut_keys_enabled<class_TextEdit_property_shortcut_keys_enabled>` | true |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`show_line_numbers<class_TextEdit_property_show_line_numbers>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`smooth_scrolling<class_TextEdit_property_smooth_scrolling>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`syntax_highlighting<class_TextEdit_property_syntax_highlighting>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`String<class_String>` | :ref:`text<class_TextEdit_property_text>` | "" |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`float<class_float>` | :ref:`v_scroll_speed<class_TextEdit_property_v_scroll_speed>` | 80.0 |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`wrap_enabled<class_TextEdit_property_wrap_enabled>` | false |
|
||||
+----------------------------------------------+-------------------------------------------------------------------------------------------+----------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -561,6 +569,30 @@ If ``true``, the line containing the cursor is highlighted.
|
||||
|
||||
If ``true``, read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
|
||||
|
||||
.. _class_TextEdit_property_selecting_enabled:
|
||||
|
||||
- :ref:`bool<class_bool>` **selecting_enabled**
|
||||
|
||||
+-----------+------------------------------+
|
||||
| *Default* | true |
|
||||
+-----------+------------------------------+
|
||||
| *Setter* | set_selecting_enabled(value) |
|
||||
+-----------+------------------------------+
|
||||
| *Getter* | is_selecting_enabled() |
|
||||
+-----------+------------------------------+
|
||||
|
||||
.. _class_TextEdit_property_shortcut_keys_enabled:
|
||||
|
||||
- :ref:`bool<class_bool>` **shortcut_keys_enabled**
|
||||
|
||||
+-----------+----------------------------------+
|
||||
| *Default* | true |
|
||||
+-----------+----------------------------------+
|
||||
| *Setter* | set_shortcut_keys_enabled(value) |
|
||||
+-----------+----------------------------------+
|
||||
| *Getter* | is_shortcut_keys_enabled() |
|
||||
+-----------+----------------------------------+
|
||||
|
||||
.. _class_TextEdit_property_show_line_numbers:
|
||||
|
||||
- :ref:`bool<class_bool>` **show_line_numbers**
|
||||
|
||||
@@ -18,3 +18,10 @@ Brief Description
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------------+------+-----------------------------------------------------------------------------------+
|
||||
| :ref:`Dictionary<class_Dictionary>` | data | **O:** {"depth": 0,"flags": 4,"format": 37,"height": 0,"layers": [ ],"width": 0} |
|
||||
+-------------------------------------+------+-----------------------------------------------------------------------------------+
|
||||
|
||||
|
||||
@@ -21,37 +21,39 @@ Texture-based progress bar. Useful for loading screens and life or stamina bars.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`fill_mode<class_TextureProgress_property_fill_mode>` | 0 |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`nine_patch_stretch<class_TextureProgress_property_nine_patch_stretch>` | false |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`radial_center_offset<class_TextureProgress_property_radial_center_offset>` | Vector2( 0, 0 ) |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`radial_fill_degrees<class_TextureProgress_property_radial_fill_degrees>` | 360.0 |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`radial_initial_angle<class_TextureProgress_property_radial_initial_angle>` | 0.0 |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`stretch_margin_bottom<class_TextureProgress_property_stretch_margin_bottom>` | 0 |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`stretch_margin_left<class_TextureProgress_property_stretch_margin_left>` | 0 |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`stretch_margin_right<class_TextureProgress_property_stretch_margin_right>` | 0 |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`stretch_margin_top<class_TextureProgress_property_stretch_margin_top>` | 0 |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`texture_over<class_TextureProgress_property_texture_over>` | |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`texture_progress<class_TextureProgress_property_texture_progress>` | |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`texture_under<class_TextureProgress_property_texture_under>` | |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`tint_over<class_TextureProgress_property_tint_over>` | Color( 1, 1, 1, 1 ) |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`tint_progress<class_TextureProgress_property_tint_progress>` | Color( 1, 1, 1, 1 ) |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`tint_under<class_TextureProgress_property_tint_under>` | Color( 1, 1, 1, 1 ) |
|
||||
+-------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`fill_mode<class_TextureProgress_property_fill_mode>` | 0 |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`MouseFilter<enum_Control_MouseFilter>` | mouse_filter | **O:** 1 |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`nine_patch_stretch<class_TextureProgress_property_nine_patch_stretch>` | false |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`radial_center_offset<class_TextureProgress_property_radial_center_offset>` | Vector2( 0, 0 ) |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`radial_fill_degrees<class_TextureProgress_property_radial_fill_degrees>` | 360.0 |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`float<class_float>` | :ref:`radial_initial_angle<class_TextureProgress_property_radial_initial_angle>` | 0.0 |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`stretch_margin_bottom<class_TextureProgress_property_stretch_margin_bottom>` | 0 |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`stretch_margin_left<class_TextureProgress_property_stretch_margin_left>` | 0 |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`stretch_margin_right<class_TextureProgress_property_stretch_margin_right>` | 0 |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`int<class_int>` | :ref:`stretch_margin_top<class_TextureProgress_property_stretch_margin_top>` | 0 |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`texture_over<class_TextureProgress_property_texture_over>` | |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`texture_progress<class_TextureProgress_property_texture_progress>` | |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`texture_under<class_TextureProgress_property_texture_under>` | |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`tint_over<class_TextureProgress_property_tint_over>` | Color( 1, 1, 1, 1 ) |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`tint_progress<class_TextureProgress_property_tint_progress>` | Color( 1, 1, 1, 1 ) |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`tint_under<class_TextureProgress_property_tint_under>` | Color( 1, 1, 1, 1 ) |
|
||||
+----------------------------------------------+------------------------------------------------------------------------------------+---------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -21,17 +21,19 @@ Control for drawing textures.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+--------------------------------------------------+--------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`expand<class_TextureRect_property_expand>` | false |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`flip_h<class_TextureRect_property_flip_h>` | false |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`flip_v<class_TextureRect_property_flip_v>` | false |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+-------+
|
||||
| :ref:`StretchMode<enum_TextureRect_StretchMode>` | :ref:`stretch_mode<class_TextureRect_property_stretch_mode>` | 0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+-------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`texture<class_TextureRect_property_texture>` | |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+-------+
|
||||
+--------------------------------------------------+--------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`expand<class_TextureRect_property_expand>` | false |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`flip_h<class_TextureRect_property_flip_h>` | false |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+----------+
|
||||
| :ref:`bool<class_bool>` | :ref:`flip_v<class_TextureRect_property_flip_v>` | false |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+----------+
|
||||
| :ref:`MouseFilter<enum_Control_MouseFilter>` | mouse_filter | **O:** 1 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+----------+
|
||||
| :ref:`StretchMode<enum_TextureRect_StretchMode>` | :ref:`stretch_mode<class_TextureRect_property_stretch_mode>` | 0 |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+----------+
|
||||
| :ref:`Texture<class_Texture>` | :ref:`texture<class_TextureRect_property_texture>` | |
|
||||
+--------------------------------------------------+--------------------------------------------------------------+----------+
|
||||
|
||||
Enumerations
|
||||
------------
|
||||
|
||||
+44
-44
@@ -21,43 +21,43 @@ Node for 2D tile-based maps.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`cell_clip_uv<class_TileMap_property_cell_clip_uv>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`Transform2D<class_Transform2D>` | :ref:`cell_custom_transform<class_TileMap_property_cell_custom_transform>` | Transform2D( 1, 0, 0, 1, 0, 0 ) |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`HalfOffset<enum_TileMap_HalfOffset>` | :ref:`cell_half_offset<class_TileMap_property_cell_half_offset>` | 2 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`cell_quadrant_size<class_TileMap_property_cell_quadrant_size>` | 16 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`cell_size<class_TileMap_property_cell_size>` | Vector2( 64, 64 ) |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`TileOrigin<enum_TileMap_TileOrigin>` | :ref:`cell_tile_origin<class_TileMap_property_cell_tile_origin>` | 0 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`cell_y_sort<class_TileMap_property_cell_y_sort>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`centered_textures<class_TileMap_property_centered_textures>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`collision_bounce<class_TileMap_property_collision_bounce>` | 0.0 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`collision_friction<class_TileMap_property_collision_friction>` | 1.0 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`collision_layer<class_TileMap_property_collision_layer>` | 1 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`collision_mask<class_TileMap_property_collision_mask>` | 1 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`collision_use_kinematic<class_TileMap_property_collision_use_kinematic>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`collision_use_parent<class_TileMap_property_collision_use_parent>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`compatibility_mode<class_TileMap_property_compatibility_mode>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`Mode<enum_TileMap_Mode>` | :ref:`mode<class_TileMap_property_mode>` | 0 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`occluder_light_mask<class_TileMap_property_occluder_light_mask>` | 1 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
| :ref:`TileSet<class_TileSet>` | :ref:`tile_set<class_TileMap_property_tile_set>` | |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+---------------------------------+
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`cell_clip_uv<class_TileMap_property_cell_clip_uv>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`Transform2D<class_Transform2D>` | :ref:`cell_custom_transform<class_TileMap_property_cell_custom_transform>` | Transform2D( 64, 0, 0, 64, 0, 0 ) |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`HalfOffset<enum_TileMap_HalfOffset>` | :ref:`cell_half_offset<class_TileMap_property_cell_half_offset>` | 2 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`cell_quadrant_size<class_TileMap_property_cell_quadrant_size>` | 16 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`cell_size<class_TileMap_property_cell_size>` | Vector2( 64, 64 ) |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`TileOrigin<enum_TileMap_TileOrigin>` | :ref:`cell_tile_origin<class_TileMap_property_cell_tile_origin>` | 0 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`cell_y_sort<class_TileMap_property_cell_y_sort>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`centered_textures<class_TileMap_property_centered_textures>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`collision_bounce<class_TileMap_property_collision_bounce>` | 0.0 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`collision_friction<class_TileMap_property_collision_friction>` | 1.0 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`collision_layer<class_TileMap_property_collision_layer>` | 1 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`collision_mask<class_TileMap_property_collision_mask>` | 1 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`collision_use_kinematic<class_TileMap_property_collision_use_kinematic>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`collision_use_parent<class_TileMap_property_collision_use_parent>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`compatibility_mode<class_TileMap_property_compatibility_mode>` | false |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`Mode<enum_TileMap_Mode>` | :ref:`mode<class_TileMap_property_mode>` | 0 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`occluder_light_mask<class_TileMap_property_occluder_light_mask>` | 1 |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
| :ref:`TileSet<class_TileSet>` | :ref:`tile_set<class_TileMap_property_tile_set>` | |
|
||||
+--------------------------------------------+--------------------------------------------------------------------------------+-----------------------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -212,13 +212,13 @@ Property Descriptions
|
||||
|
||||
- :ref:`Transform2D<class_Transform2D>` **cell_custom_transform**
|
||||
|
||||
+-----------+---------------------------------+
|
||||
| *Default* | Transform2D( 1, 0, 0, 1, 0, 0 ) |
|
||||
+-----------+---------------------------------+
|
||||
| *Setter* | set_custom_transform(value) |
|
||||
+-----------+---------------------------------+
|
||||
| *Getter* | get_custom_transform() |
|
||||
+-----------+---------------------------------+
|
||||
+-----------+-----------------------------------+
|
||||
| *Default* | Transform2D( 64, 0, 0, 64, 0, 0 ) |
|
||||
+-----------+-----------------------------------+
|
||||
| *Setter* | set_custom_transform(value) |
|
||||
+-----------+-----------------------------------+
|
||||
| *Getter* | get_custom_transform() |
|
||||
+-----------+-----------------------------------+
|
||||
|
||||
The custom :ref:`Transform2D<class_Transform2D>` to be applied to the TileMap's cells.
|
||||
|
||||
|
||||
@@ -18,6 +18,13 @@ Brief Description
|
||||
|
||||
Flat button helper class.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+------+-------------+
|
||||
| :ref:`bool<class_bool>` | flat | **O:** true |
|
||||
+-------------------------+------+-------------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
|
||||
+19
-17
@@ -21,21 +21,25 @@ Control to show a tree of items.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------------+---------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`allow_reselect<class_Tree_property_allow_reselect>` | false |
|
||||
+-----------------------------------------+---------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`allow_rmb_select<class_Tree_property_allow_rmb_select>` | false |
|
||||
+-----------------------------------------+---------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`columns<class_Tree_property_columns>` | 1 |
|
||||
+-----------------------------------------+---------------------------------------------------------------+-------+
|
||||
| :ref:`int<class_int>` | :ref:`drop_mode_flags<class_Tree_property_drop_mode_flags>` | 0 |
|
||||
+-----------------------------------------+---------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_folding<class_Tree_property_hide_folding>` | false |
|
||||
+-----------------------------------------+---------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_root<class_Tree_property_hide_root>` | false |
|
||||
+-----------------------------------------+---------------------------------------------------------------+-------+
|
||||
| :ref:`SelectMode<enum_Tree_SelectMode>` | :ref:`select_mode<class_Tree_property_select_mode>` | 0 |
|
||||
+-----------------------------------------+---------------------------------------------------------------+-------+
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`allow_reselect<class_Tree_property_allow_reselect>` | false |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`allow_rmb_select<class_Tree_property_allow_rmb_select>` | false |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | :ref:`columns<class_Tree_property_columns>` | 1 |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`int<class_int>` | :ref:`drop_mode_flags<class_Tree_property_drop_mode_flags>` | 0 |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | **O:** 2 |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_folding<class_Tree_property_hide_folding>` | false |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`hide_root<class_Tree_property_hide_root>` | false |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | rect_clip_content | **O:** true |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
| :ref:`SelectMode<enum_Tree_SelectMode>` | :ref:`select_mode<class_Tree_property_select_mode>` | 0 |
|
||||
+------------------------------------------+---------------------------------------------------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
@@ -134,8 +138,6 @@ Theme Properties
|
||||
+---------------------------------+------------------------------+------------------------------+
|
||||
| :ref:`Color<class_Color>` | guide_color | Color( 0, 0, 0, 0.1 ) |
|
||||
+---------------------------------+------------------------------+------------------------------+
|
||||
| :ref:`int<class_int>` | guide_width | 2 |
|
||||
+---------------------------------+------------------------------+------------------------------+
|
||||
| :ref:`int<class_int>` | hseparation | 4 |
|
||||
+---------------------------------+------------------------------+------------------------------+
|
||||
| :ref:`int<class_int>` | item_margin | 12 |
|
||||
|
||||
@@ -21,13 +21,17 @@ Physics body that simulates the behavior of a car.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+--------------------------------------------------------------+-----+
|
||||
| :ref:`float<class_float>` | :ref:`brake<class_VehicleBody_property_brake>` | 0.0 |
|
||||
+---------------------------+--------------------------------------------------------------+-----+
|
||||
| :ref:`float<class_float>` | :ref:`engine_force<class_VehicleBody_property_engine_force>` | 0.0 |
|
||||
+---------------------------+--------------------------------------------------------------+-----+
|
||||
| :ref:`float<class_float>` | :ref:`steering<class_VehicleBody_property_steering>` | 0.0 |
|
||||
+---------------------------+--------------------------------------------------------------+-----+
|
||||
+---------------------------+--------------------------------------------------------------+--------------+
|
||||
| :ref:`float<class_float>` | :ref:`brake<class_VehicleBody_property_brake>` | 0.0 |
|
||||
+---------------------------+--------------------------------------------------------------+--------------+
|
||||
| :ref:`float<class_float>` | :ref:`engine_force<class_VehicleBody_property_engine_force>` | 0.0 |
|
||||
+---------------------------+--------------------------------------------------------------+--------------+
|
||||
| :ref:`float<class_float>` | mass | **O:** 40.0 |
|
||||
+---------------------------+--------------------------------------------------------------+--------------+
|
||||
| :ref:`float<class_float>` | :ref:`steering<class_VehicleBody_property_steering>` | 0.0 |
|
||||
+---------------------------+--------------------------------------------------------------+--------------+
|
||||
| :ref:`float<class_float>` | weight | **O:** 392.0 |
|
||||
+---------------------------+--------------------------------------------------------------+--------------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -671,7 +671,9 @@ The subdivision amount of fourth quadrant on shadow atlas.
|
||||
| *Getter* | get_shadow_atlas_size() |
|
||||
+-----------+------------------------------+
|
||||
|
||||
The resolution of shadow atlas. Both width and height is equal to one value.
|
||||
The shadow atlas' resolution (used for omni and spot lights). The value will be rounded up to the nearest power of 2.
|
||||
|
||||
**Note:** If this is set to 0, shadows won't be visible. Since user-created viewports default to a value of 0, this value must be set above 0 manually.
|
||||
|
||||
.. _class_Viewport_property_size:
|
||||
|
||||
|
||||
@@ -21,6 +21,10 @@ Texture which displays the content of a :ref:`Viewport<class_Viewport>`.
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------------+--------------------------------------------------------------------+--------------+
|
||||
| :ref:`int<class_int>` | flags | **O:** 0 |
|
||||
+---------------------------------+--------------------------------------------------------------------+--------------+
|
||||
| :ref:`bool<class_bool>` | resource_local_to_scene | **O:** true |
|
||||
+---------------------------------+--------------------------------------------------------------------+--------------+
|
||||
| :ref:`NodePath<class_NodePath>` | :ref:`viewport_path<class_ViewportTexture_property_viewport_path>` | NodePath("") |
|
||||
+---------------------------------+--------------------------------------------------------------------+--------------+
|
||||
|
||||
@@ -82,7 +82,7 @@ enum **Enabler**:
|
||||
Description
|
||||
-----------
|
||||
|
||||
The VisibilityEnabler2D will disable :ref:`RigidBody2D<class_RigidBody2D>`, :ref:`AnimationPlayer<class_AnimationPlayer>`, and other nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler2D itself.
|
||||
The VisibilityEnabler2D will disable :ref:`RigidBody2D<class_RigidBody2D>`, :ref:`AnimationPlayer<class_AnimationPlayer>`, and other nodes when they are not visible. It will only affect nodes with the same root node as the VisibilityEnabler2D, and the root node itself.
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -164,6 +164,8 @@ Enumerations
|
||||
|
||||
.. _class_VisualScriptBuiltinFunc_constant_MATH_LERP_ANGLE:
|
||||
|
||||
.. _class_VisualScriptBuiltinFunc_constant_TEXT_ORD:
|
||||
|
||||
.. _class_VisualScriptBuiltinFunc_constant_FUNC_MAX:
|
||||
|
||||
enum **BuiltinFunc**:
|
||||
@@ -309,7 +311,9 @@ enum **BuiltinFunc**:
|
||||
|
||||
- **MATH_LERP_ANGLE** = **66**
|
||||
|
||||
- **FUNC_MAX** = **67** --- Represents the size of the :ref:`BuiltinFunc<enum_VisualScriptBuiltinFunc_BuiltinFunc>` enum.
|
||||
- **TEXT_ORD** = **67**
|
||||
|
||||
- **FUNC_MAX** = **68** --- Represents the size of the :ref:`BuiltinFunc<enum_VisualScriptBuiltinFunc_BuiltinFunc>` enum.
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -50,7 +50,7 @@ Methods
|
||||
+---------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`canvas_item_add_line<class_VisualServer_method_canvas_item_add_line>` **(** :ref:`RID<class_RID>` item, :ref:`Vector2<class_Vector2>` from, :ref:`Vector2<class_Vector2>` to, :ref:`Color<class_Color>` color, :ref:`float<class_float>` width=1.0, :ref:`bool<class_bool>` antialiased=false **)** |
|
||||
+---------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`canvas_item_add_mesh<class_VisualServer_method_canvas_item_add_mesh>` **(** :ref:`RID<class_RID>` item, :ref:`RID<class_RID>` mesh, :ref:`Transform2D<class_Transform2D>` texture, :ref:`Color<class_Color>` normal_map, :ref:`RID<class_RID>` arg4, :ref:`RID<class_RID>` arg5 **)** |
|
||||
| void | :ref:`canvas_item_add_mesh<class_VisualServer_method_canvas_item_add_mesh>` **(** :ref:`RID<class_RID>` item, :ref:`RID<class_RID>` mesh, :ref:`Transform2D<class_Transform2D>` transform=Transform2D( 1, 0, 0, 1, 0, 0 ), :ref:`Color<class_Color>` modulate=Color( 1, 1, 1, 1 ), :ref:`RID<class_RID>` texture, :ref:`RID<class_RID>` normal_map **)** |
|
||||
+---------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`canvas_item_add_multimesh<class_VisualServer_method_canvas_item_add_multimesh>` **(** :ref:`RID<class_RID>` item, :ref:`RID<class_RID>` mesh, :ref:`RID<class_RID>` texture, :ref:`RID<class_RID>` normal_map **)** |
|
||||
+---------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
@@ -1858,7 +1858,7 @@ Adds a line command to the :ref:`CanvasItem<class_CanvasItem>`'s draw commands.
|
||||
|
||||
.. _class_VisualServer_method_canvas_item_add_mesh:
|
||||
|
||||
- void **canvas_item_add_mesh** **(** :ref:`RID<class_RID>` item, :ref:`RID<class_RID>` mesh, :ref:`Transform2D<class_Transform2D>` texture, :ref:`Color<class_Color>` normal_map, :ref:`RID<class_RID>` arg4, :ref:`RID<class_RID>` arg5 **)**
|
||||
- void **canvas_item_add_mesh** **(** :ref:`RID<class_RID>` item, :ref:`RID<class_RID>` mesh, :ref:`Transform2D<class_Transform2D>` transform=Transform2D( 1, 0, 0, 1, 0, 0 ), :ref:`Color<class_Color>` modulate=Color( 1, 1, 1, 1 ), :ref:`RID<class_RID>` texture, :ref:`RID<class_RID>` normal_map **)**
|
||||
|
||||
.. _class_VisualServer_method_canvas_item_add_multimesh:
|
||||
|
||||
@@ -3538,7 +3538,7 @@ Sets the shadow atlas quadrant's subdivision.
|
||||
|
||||
- void **viewport_set_shadow_atlas_size** **(** :ref:`RID<class_RID>` viewport, :ref:`int<class_int>` size **)**
|
||||
|
||||
Sets the size of the shadow atlas's images.
|
||||
Sets the size of the shadow atlas's images (used for omni and spot lights). The value will be rounded up to the nearest power of 2.
|
||||
|
||||
.. _class_VisualServer_method_viewport_set_size:
|
||||
|
||||
|
||||
@@ -21,9 +21,11 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------------+---------------------------------------------------------------+-----------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`graph_offset<class_VisualShader_property_graph_offset>` | Vector2( 0, 0 ) |
|
||||
+-------------------------------+---------------------------------------------------------------+-----------------+
|
||||
+-------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | code | **O:** "shader_type spatial;void vertex() {// Output:0}void fragment() {// Output:0}void light() {// Output:0}" |
|
||||
+-------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_Vector2>` | :ref:`graph_offset<class_VisualShader_property_graph_offset>` | Vector2( 0, 0 ) |
|
||||
+-------------------------------+---------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -21,9 +21,11 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-------------------------+--------------------------------------------------------------------------+-------+
|
||||
| :ref:`bool<class_bool>` | :ref:`constant<class_VisualShaderNodeBooleanConstant_property_constant>` | false |
|
||||
+-------------------------+--------------------------------------------------------------------------+-------+
|
||||
+---------------------------+--------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`constant<class_VisualShaderNodeBooleanConstant_property_constant>` | false |
|
||||
+---------------------------+--------------------------------------------------------------------------+-------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ ] |
|
||||
+---------------------------+--------------------------------------------------------------------------+-------------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -24,6 +24,8 @@ Properties
|
||||
+---------------------------+------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`constant<class_VisualShaderNodeColorConstant_property_constant>` | Color( 1, 1, 1, 1 ) |
|
||||
+---------------------------+------------------------------------------------------------------------+---------------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ ] |
|
||||
+---------------------------+------------------------------------------------------------------------+---------------------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -21,9 +21,11 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+--------------------------------------------------------+------------------------------------------------------------------+---+
|
||||
| :ref:`Operator<enum_VisualShaderNodeColorOp_Operator>` | :ref:`operator<class_VisualShaderNodeColorOp_property_operator>` | 0 |
|
||||
+--------------------------------------------------------+------------------------------------------------------------------+---+
|
||||
+--------------------------------------------------------+------------------------------------------------------------------+---------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0, 0, 0 ) ] |
|
||||
+--------------------------------------------------------+------------------------------------------------------------------+---------------------------------------------------------+
|
||||
| :ref:`Operator<enum_VisualShaderNodeColorOp_Operator>` | :ref:`operator<class_VisualShaderNodeColorOp_property_operator>` | 0 |
|
||||
+--------------------------------------------------------+------------------------------------------------------------------+---------------------------------------------------------+
|
||||
|
||||
Enumerations
|
||||
------------
|
||||
|
||||
@@ -21,13 +21,15 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+---+
|
||||
| :ref:`Condition<enum_VisualShaderNodeCompare_Condition>` | :ref:`condition<class_VisualShaderNodeCompare_property_condition>` | 0 |
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+---+
|
||||
| :ref:`Function<enum_VisualShaderNodeCompare_Function>` | :ref:`function<class_VisualShaderNodeCompare_property_function>` | 0 |
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+---+
|
||||
| :ref:`ComparsionType<enum_VisualShaderNodeCompare_ComparsionType>` | :ref:`type<class_VisualShaderNodeCompare_property_type>` | 0 |
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+---+
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+-------------------------------------+
|
||||
| :ref:`Condition<enum_VisualShaderNodeCompare_Condition>` | :ref:`condition<class_VisualShaderNodeCompare_property_condition>` | 0 |
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+-------------------------------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ 0, 0.0, 1, 0.0, 2, 1e-05 ] |
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+-------------------------------------+
|
||||
| :ref:`Function<enum_VisualShaderNodeCompare_Function>` | :ref:`function<class_VisualShaderNodeCompare_property_function>` | 0 |
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+-------------------------------------+
|
||||
| :ref:`ComparsionType<enum_VisualShaderNodeCompare_ComparsionType>` | :ref:`type<class_VisualShaderNodeCompare_property_type>` | 0 |
|
||||
+--------------------------------------------------------------------+--------------------------------------------------------------------+-------------------------------------+
|
||||
|
||||
Enumerations
|
||||
------------
|
||||
|
||||
@@ -21,11 +21,13 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+--------------------------------------------------------------+--------------------------------------------------------------------------+---+
|
||||
| :ref:`CubeMap<class_CubeMap>` | :ref:`cube_map<class_VisualShaderNodeCubeMap_property_cube_map>` | |
|
||||
+--------------------------------------------------------------+--------------------------------------------------------------------------+---+
|
||||
| :ref:`TextureType<enum_VisualShaderNodeCubeMap_TextureType>` | :ref:`texture_type<class_VisualShaderNodeCubeMap_property_texture_type>` | 0 |
|
||||
+--------------------------------------------------------------+--------------------------------------------------------------------------+---+
|
||||
+--------------------------------------------------------------+--------------------------------------------------------------------------+-------------+
|
||||
| :ref:`CubeMap<class_CubeMap>` | :ref:`cube_map<class_VisualShaderNodeCubeMap_property_cube_map>` | |
|
||||
+--------------------------------------------------------------+--------------------------------------------------------------------------+-------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ ] |
|
||||
+--------------------------------------------------------------+--------------------------------------------------------------------------+-------------+
|
||||
| :ref:`TextureType<enum_VisualShaderNodeCubeMap_TextureType>` | :ref:`texture_type<class_VisualShaderNodeCubeMap_property_texture_type>` | 0 |
|
||||
+--------------------------------------------------------------+--------------------------------------------------------------------------+-------------+
|
||||
|
||||
Enumerations
|
||||
------------
|
||||
|
||||
@@ -18,3 +18,10 @@ Brief Description
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+----------------------+-------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ ] |
|
||||
+---------------------------+----------------------+-------------+
|
||||
|
||||
|
||||
@@ -18,6 +18,13 @@ Brief Description
|
||||
|
||||
Virtual class to define custom :ref:`VisualShaderNode<class_VisualShaderNode>`\ s for use in the Visual Shader Editor.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+----------------------+-------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ ] |
|
||||
+---------------------------+----------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
||||
@@ -18,3 +18,10 @@ Brief Description
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+----------------------+---------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ 0, Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) ] |
|
||||
+---------------------------+----------------------+---------------------------------------------------------------+
|
||||
|
||||
|
||||
@@ -18,3 +18,10 @@ Brief Description
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+----------------------+---------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0, 0, 0 ) ] |
|
||||
+---------------------------+----------------------+---------------------------------------------------------+
|
||||
|
||||
|
||||
@@ -23,9 +23,11 @@ Brief Description
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------+-------------------------------------------------------------------------+----+
|
||||
| :ref:`String<class_String>` | :ref:`expression<class_VisualShaderNodeExpression_property_expression>` | "" |
|
||||
+-----------------------------+-------------------------------------------------------------------------+----+
|
||||
+-----------------------------+-------------------------------------------------------------------------+-------------+
|
||||
| :ref:`bool<class_bool>` | editable | **O:** true |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-------------+
|
||||
| :ref:`String<class_String>` | :ref:`expression<class_VisualShaderNodeExpression_property_expression>` | "" |
|
||||
+-----------------------------+-------------------------------------------------------------------------+-------------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
@@ -18,3 +18,10 @@ Brief Description
|
||||
|
||||
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+----------------------+--------------------------------------------------------------------------------+
|
||||
| :ref:`Array<class_Array>` | default_input_values | **O:** [ 0, Vector3( 0, 0, 0 ), 1, Vector3( 0, 0, 0 ), 2, Vector3( 0, 0, 0 ) ] |
|
||||
+---------------------------+----------------------+--------------------------------------------------------------------------------+
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user