pandemonium_engine/modules/texture_packer/doc_classes/TextureLayerMerger.xml

114 lines
3.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2022-11-20 23:27:04 +01:00
<class name="TextureLayerMerger" inherits="Reference" version="3.10">
<brief_description>
A class, that can merge textures as layers together.
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="add_texture">
<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" />
<description>
</description>
</method>
<method name="get_color">
<return type="Color" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_position">
<return type="Vector2" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_rect">
<return type="Rect2" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_result_as_texture" qualifiers="const">
<return type="ImageTexture" />
<description>
</description>
</method>
<method name="get_texture">
<return type="Texture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_texture_count">
<return type="int" />
<description>
</description>
</method>
<method name="merge">
<return type="void" />
<description>
</description>
</method>
<method name="remove_texture">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="set_color">
<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" />
<argument index="0" name="index" type="int" />
<argument index="1" name="position" type="Vector2" />
<description>
</description>
</method>
<method name="set_rect">
<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" />
<argument index="0" name="index" type="int" />
<argument index="1" name="texture" type="Texture" />
<description>
</description>
</method>
</methods>
<members>
<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">
</member>
</members>
<constants>
</constants>
</class>