2019-10-22 02:10:35 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-01-12 22:21:54 +01:00
|
|
|
<class name="TexturePacker" inherits="Reference" version="3.5">
|
2019-10-22 02:10:35 +02:00
|
|
|
<brief_description>
|
|
|
|
A class, that can merge textures.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="add_texture">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="AtlasTexture" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
2019-10-22 02:10:35 +02:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2019-12-25 14:11:34 +01:00
|
|
|
<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_generated_texture">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="ImageTexture" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_generated_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="get_original_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">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="AtlasTexture" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
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="get_texture_index">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="AtlasTexture" />
|
|
|
|
<argument index="0" name="index" 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="texture" type="Texture" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_texture_index">
|
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="unref_texture">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="unref_texture_index">
|
2022-01-12 22:21:54 +01:00
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2019-12-25 14:11:34 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2019-10-22 02:10:35 +02:00
|
|
|
</methods>
|
|
|
|
<members>
|
2019-12-25 14:11:34 +01:00
|
|
|
<member name="background_color" type="Color" setter="set_background_color" getter="get_background_color" default="Color( 0, 0, 0, 1 )">
|
|
|
|
</member>
|
|
|
|
<member name="keep_original_atlases" type="bool" setter="set_keep_original_atlases" getter="get_keep_original_atlases" default="false">
|
|
|
|
</member>
|
|
|
|
<member name="margin" type="int" setter="set_margin" getter="get_margin" default="0">
|
|
|
|
</member>
|
|
|
|
<member name="max_atlas_size" type="int" setter="set_max_atlas_size" getter="get_max_atlas_size" default="1024">
|
|
|
|
</member>
|
2019-10-22 02:10:35 +02:00
|
|
|
<member name="texture_flags" type="int" setter="set_texture_flags" getter="get_texture_flags" default="5">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|