pandemonium_engine/modules/props_2d/doc_classes/TiledWallData.xml

147 lines
4.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="TiledWall2DData" inherits="Resource" version="3.5">
<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="material_add">
<return type="void" />
<argument index="0" name="value" type="Material" />
<description>
</description>
</method>
<method name="material_get_num" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="material_remove">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="material_set">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="value" type="Material" />
<description>
</description>
</method>
<method name="materials_clear">
<return type="void" />
<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>
<member name="materials" type="Array" setter="materials_set" getter="materials_get" default="[ ]">
</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>