2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-10-12 01:59:32 +02:00
|
|
|
<class name="TiledWall2DData" inherits="Resource" version="4.2">
|
2022-03-15 13:29:32 +01:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="_setup_cache" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="cache" type="Prop2DMaterialCache" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_texture">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_textures_into">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="texture_packer" type="TexturePacker" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_tflavour_exture">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="copy_from">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="prop_data" type="TiledWall2DData" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_flavour_texture" qualifiers="const">
|
|
|
|
<return type="Texture" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_flavour_texture_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_texture" qualifiers="const">
|
|
|
|
<return type="Texture" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_texture_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_flavour_texture">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_texture">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_flavour_texture">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="texture" type="Texture" />
|
|
|
|
<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>
|
|
|
|
<method name="setup_cache">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="cache" type="Prop2DMaterialCache" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="flavour_chance" type="float" setter="set_flavour_chance" getter="get_flavour_chance" default="0.15">
|
|
|
|
</member>
|
|
|
|
<member name="flavour_textures" type="Array" setter="set_flavour_textures" getter="get_flavour_textures" default="[ ]">
|
|
|
|
</member>
|
2022-03-16 02:51:50 +01:00
|
|
|
<member name="material" type="Material" setter="material_set" getter="material_get">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
<member name="textures" type="Array" setter="set_textures" getter="get_textures" default="[ ]">
|
|
|
|
</member>
|
|
|
|
<member name="tiling_type" type="int" setter="set_tiling_type" getter="get_tiling_type" enum="TiledWall2DData.TiledWall2DTilingType" default="0">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
<constant name="TILED_WALL_TILING_TYPE_NONE" value="0" enum="TiledWall2DTilingType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_TILING_TYPE_HORIZONTAL" value="1" enum="TiledWall2DTilingType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_TILING_TYPE_VERTICAL" value="2" enum="TiledWall2DTilingType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_TILING_TYPE_BOTH" value="3" enum="TiledWall2DTilingType">
|
|
|
|
</constant>
|
|
|
|
</constants>
|
|
|
|
</class>
|