2019-10-30 20:24:50 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-01-12 22:21:54 +01:00
|
|
|
<class name="TextureLayerMerger" inherits="Reference" version="3.5">
|
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">
|
2022-01-12 22:21:54 +01:00
|
|
|
<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 )" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="clear">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="void" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_color">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="Color" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_position">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="Vector2" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_rect">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="Rect2" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_result_as_texture" qualifiers="const">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="ImageTexture" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_texture">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="Texture" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_texture_count">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="int" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="merge">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="void" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_texture">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_color">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="color" type="Color" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_position">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="position" type="Vector2" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_rect">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="rect" type="Rect2" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_texture">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="texture" type="Texture" />
|
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>
|