classref: Sync with current source
This commit is contained in:
parent
a3a065b458
commit
68c7da5a35
1 changed files with 23 additions and 17 deletions
|
@ -6026,7 +6026,7 @@
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="rect" type="Rect2">
|
<argument index="2" name="rect" type="Rect2">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="3" name="align" type="Vector2" default="Vector2((0, 0))">
|
<argument index="3" name="align" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="4" name="advance" type="float" default="-1">
|
<argument index="4" name="advance" type="float" default="-1">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -9318,7 +9318,7 @@
|
||||||
<method name="get_cursor_shape" qualifiers="const">
|
<method name="get_cursor_shape" qualifiers="const">
|
||||||
<return type="int">
|
<return type="int">
|
||||||
</return>
|
</return>
|
||||||
<argument index="0" name="pos" type="Vector2" default="Vector2((0, 0))">
|
<argument index="0" name="pos" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Return the cursor shape at a certain position in the control.
|
Return the cursor shape at a certain position in the control.
|
||||||
|
@ -9517,7 +9517,7 @@
|
||||||
<method name="get_tooltip" qualifiers="const">
|
<method name="get_tooltip" qualifiers="const">
|
||||||
<return type="String">
|
<return type="String">
|
||||||
</return>
|
</return>
|
||||||
<argument index="0" name="atpos" type="Vector2" default="Vector2((0, 0))">
|
<argument index="0" name="atpos" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Return the tooltip, which will appear when the cursor is resting over this control.
|
Return the tooltip, which will appear when the cursor is resting over this control.
|
||||||
|
@ -10161,9 +10161,9 @@
|
||||||
<method name="add_point">
|
<method name="add_point">
|
||||||
<argument index="0" name="pos" type="Vector2">
|
<argument index="0" name="pos" type="Vector2">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="in" type="Vector2" default="Vector2((0, 0))">
|
<argument index="1" name="in" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="out" type="Vector2" default="Vector2((0, 0))">
|
<argument index="2" name="out" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="3" name="atpos" type="int" default="-1">
|
<argument index="3" name="atpos" type="int" default="-1">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -10332,9 +10332,9 @@
|
||||||
<method name="add_point">
|
<method name="add_point">
|
||||||
<argument index="0" name="pos" type="Vector3">
|
<argument index="0" name="pos" type="Vector3">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="in" type="Vector3" default="Vector3((0, 0, 0))">
|
<argument index="1" name="in" type="Vector3" default="Vector3(0, 0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="out" type="Vector3" default="Vector3((0, 0, 0))">
|
<argument index="2" name="out" type="Vector3" default="Vector3(0, 0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="3" name="atpos" type="int" default="-1">
|
<argument index="3" name="atpos" type="int" default="-1">
|
||||||
</argument>
|
</argument>
|
||||||
|
@ -11742,7 +11742,7 @@
|
||||||
<argument index="0" name="info" type="Dictionary">
|
<argument index="0" name="info" type="Dictionary">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@Global Scope]), and optionally hint:[int](see PROPERTY_HINT_* in [@Global Scope]), hint_string:[String].
|
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@Global Scope]), and optionally hint:[int](see PROPERTY_HINT_* in [@Global Scope]), hint_string:[String].
|
||||||
Example:[codeblock]
|
Example:[codeblock]
|
||||||
editor_settings.set("category/property_name", 0)
|
editor_settings.set("category/property_name", 0)
|
||||||
|
|
||||||
|
@ -13772,7 +13772,7 @@
|
||||||
<argument index="0" name="hint" type="Dictionary">
|
<argument index="0" name="hint" type="Dictionary">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@Global Scope]), and optionally hint:[int](see PROPERTY_HINT_* in [@Global Scope]), hint_string:[String].
|
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@Global Scope]), and optionally hint:[int](see PROPERTY_HINT_* in [@Global Scope]), hint_string:[String].
|
||||||
Example:
|
Example:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
Globals.set("category/property_name", 0)
|
Globals.set("category/property_name", 0)
|
||||||
|
@ -15868,7 +15868,7 @@
|
||||||
<method name="begin">
|
<method name="begin">
|
||||||
<argument index="0" name="primitive" type="int">
|
<argument index="0" name="primitive" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="texture" type="Texture" default="Object()">
|
<argument index="1" name="texture" type="Texture" default="NULL">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Begin drawing (And optionally pass a texture override). When done call end(). For more information on how this works, search for glBegin() glEnd() references.
|
Begin drawing (And optionally pass a texture override). When done call end(). For more information on how this works, search for glBegin() glEnd() references.
|
||||||
|
@ -16108,7 +16108,7 @@
|
||||||
<method name="set_custom_mouse_cursor">
|
<method name="set_custom_mouse_cursor">
|
||||||
<argument index="0" name="image" type="Texture">
|
<argument index="0" name="image" type="Texture">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="hotspot" type="Vector2" default="Vector2((0, 0))">
|
<argument index="1" name="hotspot" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified.
|
Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified.
|
||||||
|
@ -17628,7 +17628,7 @@
|
||||||
<argument index="1" name="selectable" type="bool" default="true">
|
<argument index="1" name="selectable" type="bool" default="true">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Adds an item to the item list with no text, only an icon.
|
Adds an item to the item list with no text, only an icon.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="add_item">
|
<method name="add_item">
|
||||||
|
@ -29653,14 +29653,14 @@
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="popup_centered">
|
<method name="popup_centered">
|
||||||
<argument index="0" name="size" type="Vector2" default="Vector2((0, 0))">
|
<argument index="0" name="size" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Popup (show the control in modal form) in the center of the screen, at the current size, or at a size determined by "size".
|
Popup (show the control in modal form) in the center of the screen, at the current size, or at a size determined by "size".
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="popup_centered_minsize">
|
<method name="popup_centered_minsize">
|
||||||
<argument index="0" name="minsize" type="Vector2" default="Vector2((0, 0))">
|
<argument index="0" name="minsize" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Popup (show the control in modal form) in the center of the screen, ensuring the size is never smaller than [code]minsize[/code].
|
Popup (show the control in modal form) in the center of the screen, ensuring the size is never smaller than [code]minsize[/code].
|
||||||
|
@ -43184,7 +43184,7 @@
|
||||||
<method name="create_action">
|
<method name="create_action">
|
||||||
<argument index="0" name="name" type="String">
|
<argument index="0" name="name" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="mergeable" type="bool" default="false">
|
<argument index="1" name="merge_mode" type="int" default="0">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Create a new action. After this is called, do all your calls to [method add_do_method], [method add_undo_method], [method add_do_property] and [method add_undo_property].
|
Create a new action. After this is called, do all your calls to [method add_do_method], [method add_undo_method], [method add_do_property] and [method add_undo_property].
|
||||||
|
@ -43207,6 +43207,12 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<constants>
|
<constants>
|
||||||
|
<constant name="MERGE_DISABLE" value="0">
|
||||||
|
</constant>
|
||||||
|
<constant name="MERGE_ENDS" value="1">
|
||||||
|
</constant>
|
||||||
|
<constant name="MERGE_ALL" value="2">
|
||||||
|
</constant>
|
||||||
</constants>
|
</constants>
|
||||||
</class>
|
</class>
|
||||||
<class name="VBoxContainer" inherits="BoxContainer" category="Core">
|
<class name="VBoxContainer" inherits="BoxContainer" category="Core">
|
||||||
|
@ -44662,9 +44668,9 @@
|
||||||
<method name="set_size_override">
|
<method name="set_size_override">
|
||||||
<argument index="0" name="enable" type="bool">
|
<argument index="0" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="1" name="size" type="Vector2" default="Vector2((-1, -1))">
|
<argument index="1" name="size" type="Vector2" default="Vector2(-1, -1)">
|
||||||
</argument>
|
</argument>
|
||||||
<argument index="2" name="margin" type="Vector2" default="Vector2((0, 0))">
|
<argument index="2" name="margin" type="Vector2" default="Vector2(0, 0)">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Set the size of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size.
|
Set the size of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size.
|
||||||
|
|
Loading…
Reference in a new issue