pandemonium_engine/modules/props_2d/doc_classes/TiledWall2DData.xml

118 lines
3.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2023-10-12 01:59:32 +02:00
<class name="TiledWall2DData" inherits="Resource" version="4.2">
<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">
</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>