2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-08-26 22:41:21 +02:00
|
|
|
<class name="TiledWallData" inherits="Resource" version="4.1">
|
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="PropMaterialCache" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-10-09 12:43:55 +02:00
|
|
|
<method name="_setup_ess_cache" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="cache" type="ESSMaterialCache" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="add_flavour_tile">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
2022-08-21 00:40:49 +02:00
|
|
|
<argument index="1" name="y_size" type="float" default="1" />
|
|
|
|
<argument index="2" name="z_offset" type="float" default="0" />
|
|
|
|
<argument index="3" name="texture_scale" type="int" default="1" />
|
2022-03-15 13:29:32 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_textures_into">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="texture_packer" type="TexturePacker" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="add_tile">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
2022-08-21 00:40:49 +02:00
|
|
|
<argument index="1" name="y_size" type="float" default="1" />
|
|
|
|
<argument index="2" name="z_offset" type="float" default="0" />
|
|
|
|
<argument index="3" name="texture_scale" type="int" default="1" />
|
2022-03-15 13:29:32 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="copy_from">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="prop_data" type="TiledWallData" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="get_flavour_tile_texture" qualifiers="const">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="Texture" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="get_flavour_tile_texture_scale" qualifiers="const">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="int" />
|
2022-08-21 00:40:49 +02:00
|
|
|
<argument index="0" name="index" type="int" />
|
2022-03-15 13:29:32 +01:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="get_flavour_tile_y_size" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_flavour_tile_z_offset" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_tile_texture" qualifiers="const">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="Texture" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="get_tile_texture_scale" qualifiers="const">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="int" />
|
2022-08-21 00:40:49 +02:00
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_tile_y_size" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_tile_z_offset" qualifiers="const">
|
|
|
|
<return type="float" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2022-03-15 13:29:32 +01:00
|
|
|
<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>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="remove_flavour_tile">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="remove_tile">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="set_flavour_tile_texture">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="texture" type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="set_flavour_tile_texture_scale">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_flavour_tile_y_size">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_flavour_tile_z_offset">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_tile_texture">
|
2022-03-15 13:29:32 +01:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="texture" type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-08-21 00:40:49 +02:00
|
|
|
<method name="set_tile_texture_scale">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_tile_y_size">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_tile_z_offset">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<argument index="1" name="val" type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-03-15 13:29:32 +01:00
|
|
|
<method name="setup_cache">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="cache" type="PropMaterialCache" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-10-09 12:43:55 +02:00
|
|
|
<method name="setup_ess_cache">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="cache" type="ESSMaterialCache" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-03-15 13:29:32 +01:00
|
|
|
</methods>
|
|
|
|
<members>
|
2022-08-21 00:40:49 +02:00
|
|
|
<member name="collider_type" type="int" setter="set_collider_type" getter="get_collider_type" enum="TiledWallData.TiledWallColliderType" default="1">
|
|
|
|
</member>
|
|
|
|
<member name="collider_z_offset" type="float" setter="set_collider_z_offset" getter="get_collider_z_offset" default="0.0">
|
|
|
|
</member>
|
|
|
|
<member name="flavour_tile_chance" type="float" setter="set_flavour_tile_chance" getter="get_flavour_tile_chance" default="0.15">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
2022-08-21 00:40:49 +02:00
|
|
|
<member name="flavour_tile_count" type="int" setter="set_flavour_tile_count" getter="get_flavour_tile_count" default="0">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
<member name="materials" type="Array" setter="materials_set" getter="materials_get" default="[ ]">
|
|
|
|
</member>
|
2023-06-13 17:34:41 +02:00
|
|
|
<member name="offset_noise" type="FastnoiseNoiseParams" setter="set_offset_noise" getter="get_offset_noise">
|
|
|
|
</member>
|
|
|
|
<member name="offset_noise_randomize_seed" type="bool" setter="set_offset_noise_randomize_seed" getter="get_offset_noise_randomize_seed" default="true">
|
|
|
|
</member>
|
|
|
|
<member name="offset_noise_skip_edges" type="bool" setter="set_offset_noise_skip_edges" getter="get_offset_noise_skip_edges" default="true">
|
|
|
|
</member>
|
|
|
|
<member name="offset_noise_strength" type="float" setter="set_offset_noise_strength" getter="get_offset_noise_strength" default="0.0">
|
|
|
|
</member>
|
|
|
|
<member name="tile_count" type="int" setter="set_tile_count" getter="get_tile_count" default="0">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
<member name="tiling_type" type="int" setter="set_tiling_type" getter="get_tiling_type" enum="TiledWallData.TiledWallTilingType" default="0">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
<constant name="TILED_WALL_TILING_TYPE_NONE" value="0" enum="TiledWallTilingType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_TILING_TYPE_HORIZONTAL" value="1" enum="TiledWallTilingType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_TILING_TYPE_VERTICAL" value="2" enum="TiledWallTilingType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_TILING_TYPE_BOTH" value="3" enum="TiledWallTilingType">
|
|
|
|
</constant>
|
2023-06-13 17:34:41 +02:00
|
|
|
<constant name="TILED_WALL_COLLIDER_TYPE_NONE" value="0" enum="TiledWallColliderType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_COLLIDER_TYPE_PLANE" value="1" enum="TiledWallColliderType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_COLLIDER_TYPE_BOX" value="2" enum="TiledWallColliderType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_COLLIDER_TYPE_CONVEX_MESH" value="3" enum="TiledWallColliderType">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILED_WALL_COLLIDER_TYPE_CONCAVE_MESH" value="4" enum="TiledWallColliderType">
|
|
|
|
</constant>
|
2022-03-15 13:29:32 +01:00
|
|
|
</constants>
|
|
|
|
</class>
|