Re-extracted the class docs.

This commit is contained in:
Relintai 2022-01-12 22:21:54 +01:00
parent a078695681
commit b7fb85f7e4
4 changed files with 91 additions and 177 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PackerImageResource" inherits="Texture" version="3.2">
<class name="PackerImageResource" inherits="Texture" version="3.5">
<brief_description>
</brief_description>
<description>
@ -11,7 +11,7 @@
<members>
<member name="data" type="Image" setter="set_data" getter="get_data">
</member>
<member name="flags" type="int" setter="set_flags" getter="get_flags" override="true" default="0" />
<member name="flags" type="int" setter="set_flags" getter="get_flags" overrides="Texture" default="0" />
</members>
<constants>
</constants>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="TextureLayerMerger" inherits="Reference" version="3.2">
<class name="TextureLayerMerger" inherits="Reference" version="3.5">
<brief_description>
A class, that can merge textures as layers together.
</brief_description>
@ -9,120 +9,89 @@
</tutorials>
<methods>
<method name="add_texture">
<return type="void">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<argument index="1" name="color" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
<argument index="2" name="position" type="Vector2" default="Vector2( 0, 0 )">
</argument>
<argument index="3" name="rect" type="Rect2" default="Rect2( 0, 0, 0, 0 )">
</argument>
<return type="void" />
<argument index="0" name="texture" type="Texture" />
<argument index="1" name="color" type="Color" default="Color( 1, 1, 1, 1 )" />
<argument index="2" name="position" type="Vector2" default="Vector2( 0, 0 )" />
<argument index="3" name="rect" type="Rect2" default="Rect2( 0, 0, 0, 0 )" />
<description>
</description>
</method>
<method name="clear">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="get_color">
<return type="Color">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="Color" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_position">
<return type="Vector2">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="Vector2" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_rect">
<return type="Rect2">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="Rect2" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_result_as_texture" qualifiers="const">
<return type="ImageTexture">
</return>
<return type="ImageTexture" />
<description>
</description>
</method>
<method name="get_texture">
<return type="Texture">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="Texture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_texture_count">
<return type="int">
</return>
<return type="int" />
<description>
</description>
</method>
<method name="merge">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="remove_texture">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="set_color">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="color" type="Color">
</argument>
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="color" type="Color" />
<description>
</description>
</method>
<method name="set_position">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="position" type="Vector2">
</argument>
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="position" type="Vector2" />
<description>
</description>
</method>
<method name="set_rect">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="rect" type="Rect2">
</argument>
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="rect" type="Rect2" />
<description>
</description>
</method>
<method name="set_texture">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="texture" type="Texture">
</argument>
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="texture" type="Texture" />
<description>
</description>
</method>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="TextureMerger" inherits="Node" version="3.2">
<class name="TextureMerger" inherits="Node" version="3.5">
<brief_description>
A node, that can merge textures.
</brief_description>
@ -9,146 +9,114 @@
</tutorials>
<methods>
<method name="_texture_added" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="texture" type="AtlasTexture">
</argument>
<return type="void" />
<argument index="0" name="texture" type="AtlasTexture" />
<description>
</description>
</method>
<method name="_texture_merged" qualifiers="virtual">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="_texture_removed" qualifiers="virtual">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="add_texture">
<return type="AtlasTexture">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<return type="AtlasTexture" />
<argument index="0" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="clear">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="get_dirty" qualifiers="const">
<return type="bool">
</return>
<return type="bool" />
<description>
</description>
</method>
<method name="get_generated_texture">
<return type="ImageTexture">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="ImageTexture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_generated_texture_count">
<return type="int">
</return>
<return type="int" />
<description>
</description>
</method>
<method name="get_original_texture">
<return type="Texture">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="Texture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_packer" qualifiers="const">
<return type="TexturePacker">
</return>
<return type="TexturePacker" />
<description>
</description>
</method>
<method name="get_texture">
<return type="AtlasTexture">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<return type="AtlasTexture" />
<argument index="0" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="get_texture_count">
<return type="int">
</return>
<return type="int" />
<description>
</description>
</method>
<method name="get_texture_index">
<return type="AtlasTexture">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="AtlasTexture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="merge">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="remove_texture">
<return type="void">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<return type="void" />
<argument index="0" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="remove_texture_index">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="set_dirty">
<return type="void">
</return>
<argument index="0" name="value" type="bool">
</argument>
<return type="void" />
<argument index="0" name="value" type="bool" />
<description>
</description>
</method>
<method name="set_packer">
<return type="void">
</return>
<argument index="0" name="packer" type="TexturePacker">
</argument>
<return type="void" />
<argument index="0" name="packer" type="TexturePacker" />
<description>
</description>
</method>
<method name="unref_texture">
<return type="bool">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<return type="bool" />
<argument index="0" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="unref_texture_index">
<return type="bool">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="bool" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
@ -171,8 +139,7 @@
</members>
<signals>
<signal name="texture_added">
<argument index="0" name="texture" type="AtlasTexture">
</argument>
<argument index="0" name="texture" type="AtlasTexture" />
<description>
</description>
</signal>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="TexturePacker" inherits="Reference" version="3.2">
<class name="TexturePacker" inherits="Reference" version="3.5">
<brief_description>
A class, that can merge textures.
</brief_description>
@ -9,98 +9,76 @@
</tutorials>
<methods>
<method name="add_texture">
<return type="AtlasTexture">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<return type="AtlasTexture" />
<argument index="0" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="clear">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="get_generated_texture">
<return type="ImageTexture">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="ImageTexture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_generated_texture_count">
<return type="int">
</return>
<return type="int" />
<description>
</description>
</method>
<method name="get_original_texture">
<return type="Texture">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="Texture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_texture">
<return type="AtlasTexture">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<return type="AtlasTexture" />
<argument index="0" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="get_texture_count">
<return type="int">
</return>
<return type="int" />
<description>
</description>
</method>
<method name="get_texture_index">
<return type="AtlasTexture">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="AtlasTexture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="merge">
<return type="void">
</return>
<return type="void" />
<description>
</description>
</method>
<method name="remove_texture">
<return type="void">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<return type="void" />
<argument index="0" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="remove_texture_index">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="unref_texture">
<return type="bool">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<return type="bool" />
<argument index="0" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="unref_texture_index">
<return type="bool">
</return>
<argument index="0" name="index" type="int">
</argument>
<return type="bool" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>