Sync classref with current source

This commit is contained in:
Rémi Verschelde 2020-03-25 11:42:15 +01:00
parent f144ec9e67
commit fdd85311c3
6 changed files with 127 additions and 18 deletions

View File

@ -28,17 +28,6 @@
Adds a new node to the graph. The [code]position[/code] is used for display in the editor. Adds a new node to the graph. The [code]position[/code] is used for display in the editor.
</description> </description>
</method> </method>
<method name="replace_node">
<return type="void">
</return>
<argument index="0" name="name" type="String">
</argument>
<argument index="1" name="node" type="AnimationNode">
</argument>
<description>
Replaces the node and keeps its transitions unchanged.
</description>
</method>
<method name="add_transition"> <method name="add_transition">
<return type="void"> <return type="void">
</return> </return>
@ -194,6 +183,17 @@
Renames the given node. Renames the given node.
</description> </description>
</method> </method>
<method name="replace_node">
<return type="void">
</return>
<argument index="0" name="name" type="String">
</argument>
<argument index="1" name="node" type="AnimationNode">
</argument>
<description>
Replaces the node and keeps its transitions unchanged.
</description>
</method>
<method name="set_end_node"> <method name="set_end_node">
<return type="void"> <return type="void">
</return> </return>

View File

@ -52,6 +52,12 @@
Returns the editor [Viewport]. Returns the editor [Viewport].
</description> </description>
</method> </method>
<method name="get_file_system_dock">
<return type="FileSystemDock">
</return>
<description>
</description>
</method>
<method name="get_inspector" qualifiers="const"> <method name="get_inspector" qualifiers="const">
<return type="EditorInspector"> <return type="EditorInspector">
</return> </return>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<class name="ExternalTexture" inherits="Texture" category="Core" version="3.2"> <class name="ExternalTexture" inherits="Texture" version="3.2">
<brief_description> <brief_description>
Adds support for external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt Adds support for external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt
</brief_description> </brief_description>
@ -8,14 +8,16 @@
<tutorials> <tutorials>
</tutorials> </tutorials>
<methods> <methods>
<method name="get_external_texture_id" qualifiers="const"> <method name="get_external_texture_id">
<return type="int"/> <return type="int">
</return>
<description> <description>
Returns the external texture name. Returns the external texture name.
</description> </description>
</method> </method>
</methods> </methods>
<members> <members>
<member name="flags" type="int" setter="set_flags" getter="get_flags" override="true" default="0" />
<member name="size" type="Vector2" setter="set_size" getter="get_size" default="Vector2( 1, 1 )"> <member name="size" type="Vector2" setter="set_size" getter="get_size" default="Vector2( 1, 1 )">
External texture size. External texture size.
</member> </member>

View File

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="FileSystemDock" inherits="VBoxContainer" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="can_drop_data_fw" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="arg0" type="Vector2">
</argument>
<argument index="1" name="arg1" type="Variant">
</argument>
<argument index="2" name="arg2" type="Control">
</argument>
<description>
</description>
</method>
<method name="drop_data_fw">
<return type="void">
</return>
<argument index="0" name="arg0" type="Vector2">
</argument>
<argument index="1" name="arg1" type="Variant">
</argument>
<argument index="2" name="arg2" type="Control">
</argument>
<description>
</description>
</method>
<method name="get_drag_data_fw">
<return type="Variant">
</return>
<argument index="0" name="arg0" type="Vector2">
</argument>
<argument index="1" name="arg1" type="Control">
</argument>
<description>
</description>
</method>
<method name="navigate_to_path">
<return type="void">
</return>
<argument index="0" name="arg0" type="String">
</argument>
<description>
</description>
</method>
</methods>
<signals>
<signal name="display_mode_changed">
<description>
</description>
</signal>
<signal name="file_removed">
<argument index="0" name="file" type="String">
</argument>
<description>
</description>
</signal>
<signal name="files_moved">
<argument index="0" name="old_file" type="String">
</argument>
<argument index="1" name="new_file" type="String">
</argument>
<description>
</description>
</signal>
<signal name="folder_moved">
<argument index="0" name="old_folder" type="String">
</argument>
<argument index="1" name="new_file" type="String">
</argument>
<description>
</description>
</signal>
<signal name="folder_removed">
<argument index="0" name="folder" type="String">
</argument>
<description>
</description>
</signal>
<signal name="inherit">
<argument index="0" name="file" type="String">
</argument>
<description>
</description>
</signal>
<signal name="instance">
<argument index="0" name="files" type="PoolStringArray">
</argument>
<description>
</description>
</signal>
</signals>
<constants>
</constants>
</class>

View File

@ -55,7 +55,7 @@
<member name="code" type="String" setter="set_code" getter="get_code" default="&quot;&quot;"> <member name="code" type="String" setter="set_code" getter="get_code" default="&quot;&quot;">
Returns the shader's code as the user has written it, not the full generated code used internally. Returns the shader's code as the user has written it, not the full generated code used internally.
</member> </member>
<member name="custom_defines" type="String" setter="set_custom_defines" getter="get_custom_defines" default="&quot;&quot;"> <member name="custom_defines" type="String" setter="set_custom_defines" getter="get_custom_defines" default="&quot;#define MAX_LIGHT_DATA_STRUCTS 409#define MAX_FORWARD_LIGHTS 8#define MAX_REFLECTION_DATA_STRUCTS 455#define MAX_SKELETON_BONES 1365&quot;">
Returns the shader's custom defines. Custom defines can be used in Godot to add GLSL preprocessor directives (e.g: extensions) required for the shader logic. Returns the shader's custom defines. Custom defines can be used in Godot to add GLSL preprocessor directives (e.g: extensions) required for the shader logic.
[b]Note:[/b] Custom defines are not validated by the Godot shader parser, so care should be taken when using them. [b]Note:[/b] Custom defines are not validated by the Godot shader parser, so care should be taken when using them.
</member> </member>

View File

@ -4279,13 +4279,13 @@
<constant name="TEXTURE_TYPE_2D" value="0" enum="TextureType"> <constant name="TEXTURE_TYPE_2D" value="0" enum="TextureType">
Normal texture with 2 dimensions, width and height. Normal texture with 2 dimensions, width and height.
</constant> </constant>
<constant name="TEXTURE_TYPE_CUBEMAP" value="1" enum="TextureType"> <constant name="TEXTURE_TYPE_CUBEMAP" value="2" enum="TextureType">
Texture made up of six faces, can be looked up with a [code]vec3[/code] in shader. Texture made up of six faces, can be looked up with a [code]vec3[/code] in shader.
</constant> </constant>
<constant name="TEXTURE_TYPE_2D_ARRAY" value="2" enum="TextureType"> <constant name="TEXTURE_TYPE_2D_ARRAY" value="3" enum="TextureType">
An array of 2-dimensional textures. An array of 2-dimensional textures.
</constant> </constant>
<constant name="TEXTURE_TYPE_3D" value="3" enum="TextureType"> <constant name="TEXTURE_TYPE_3D" value="4" enum="TextureType">
A 3-dimensional texture with width, height, and depth. A 3-dimensional texture with width, height, and depth.
</constant> </constant>
<constant name="TEXTURE_FLAG_MIPMAPS" value="1" enum="TextureFlags"> <constant name="TEXTURE_FLAG_MIPMAPS" value="1" enum="TextureFlags">