texture_packer/doc_classes/TextureLayerMerger.xml

145 lines
3.6 KiB
XML
Raw Normal View History

2019-10-30 20:24:50 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-04-14 16:59:57 +02:00
<class name="TextureLayerMerger" inherits="Reference" version="3.2">
2019-10-30 20:24:50 +01:00
<brief_description>
A class, that can merge textures as layers together.
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="add_texture">
2019-12-25 14:11:34 +01:00
<return type="void">
2019-10-30 20:24:50 +01:00
</return>
<argument index="0" name="texture" type="Texture">
</argument>
2019-12-25 14:11:34 +01:00
<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>
<description>
</description>
</method>
<method name="clear">
<return type="void">
</return>
<description>
</description>
</method>
<method name="get_color">
<return type="Color">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_position">
<return type="Vector2">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_rect">
<return type="Rect2">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_result_as_texture" qualifiers="const">
<return type="ImageTexture">
</return>
<description>
</description>
</method>
<method name="get_texture">
<return type="Texture">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_texture_count">
<return type="int">
</return>
<description>
</description>
</method>
<method name="merge">
<return type="void">
</return>
<description>
</description>
</method>
<method name="remove_texture">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<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>
<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>
<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>
<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>
2019-10-30 20:24:50 +01:00
<description>
</description>
</method>
</methods>
<members>
2019-12-25 14:11:34 +01:00
<member name="base_color" type="Color" setter="set_base_color" getter="get_base_color" default="Color( 0, 0, 0, 1 )">
</member>
<member name="data" type="Image" setter="set_data" getter="get_data">
</member>
<member name="height" type="int" setter="set_height" getter="get_height" default="0">
</member>
<member name="texture_flags" type="int" setter="set_texture_flags" getter="get_texture_flags" default="0">
</member>
<member name="width" type="int" setter="set_width" getter="get_width" default="0">
2019-10-30 20:24:50 +01:00
</member>
</members>
<constants>
</constants>
</class>