pandemonium_engine/modules/terraman_2d/doc_classes/Terrain2DChunk.xml

775 lines
24 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="Terrain2DChunk" inherits="Resource" version="3.5">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="_bake_light" qualifiers="virtual">
<return type="void" />
<argument index="0" name="light" type="Terrain2DLight" />
<description>
</description>
</method>
<method name="_bake_lights" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_build" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_channel_setup" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_clear_baked_lights" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_draw" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_enter_tree" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_exit_tree" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_finalize_build" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_generation_physics_process" qualifiers="virtual">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="_generation_process" qualifiers="virtual">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="_mesh_data_resource_added" qualifiers="virtual">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="_physics_process" qualifiers="virtual">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="_process" qualifiers="virtual">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="_visibility_changed" qualifiers="virtual">
<return type="void" />
<argument index="0" name="visible" type="bool" />
<description>
</description>
</method>
<method name="_world_light_added" qualifiers="virtual">
<return type="void" />
<argument index="0" name="light" type="Terrain2DLight" />
<description>
</description>
</method>
<method name="_world_light_removed" qualifiers="virtual">
<return type="void" />
<argument index="0" name="light" type="Terrain2DLight" />
<description>
</description>
</method>
<method name="_world_transform_changed" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="bake_light">
<return type="void" />
<argument index="0" name="light" type="Terrain2DLight" />
<description>
</description>
</method>
<method name="bake_lights">
<return type="void" />
<description>
</description>
</method>
<method name="build">
<return type="void" />
<description>
</description>
</method>
<method name="cancel_build">
<return type="void" />
<description>
</description>
</method>
<method name="channel_allocate">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="default_value" type="int" />
<description>
</description>
</method>
<method name="channel_dealloc">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="channel_ensure_allocated">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="default_value" type="int" />
<description>
</description>
</method>
<method name="channel_fill">
<return type="void" />
<argument index="0" name="value" type="int" />
<argument index="1" name="index" type="int" />
<description>
</description>
</method>
<method name="channel_get_array" qualifiers="const">
<return type="PoolByteArray" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="channel_get_compressed" qualifiers="const">
<return type="PoolByteArray" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="channel_is_allocated">
<return type="bool" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="channel_set_array">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="array" type="PoolByteArray" />
<description>
</description>
</method>
<method name="channel_set_compressed">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="array" type="PoolByteArray" />
<description>
</description>
</method>
<method name="channel_setup">
<return type="void" />
<description>
</description>
</method>
<method name="clear_baked_lights">
<return type="void" />
<description>
</description>
</method>
<method name="collider_add">
<return type="int" />
<argument index="0" name="local_transform" type="Transform2D" />
<argument index="1" name="shape" type="Shape2D" />
<argument index="2" name="shape_rid" type="RID" />
<argument index="3" name="body" type="RID" />
<description>
</description>
</method>
<method name="collider_get_body">
<return type="RID" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="collider_get_count" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="collider_get_shape">
<return type="Shape2D" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="collider_get_shape_rid">
<return type="RID" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="collider_get_transform">
<return type="Transform2D" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="collider_remove">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="collider_set_body">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="rid" type="RID" />
<description>
</description>
</method>
<method name="collider_set_shape">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="shape" type="Shape2D" />
<description>
</description>
</method>
<method name="collider_set_shape_rid">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="rid" type="RID" />
<description>
</description>
</method>
<method name="collider_set_transform">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="transform" type="Transform2D" />
<description>
</description>
</method>
<method name="colliders_clear">
<return type="void" />
<description>
</description>
</method>
<method name="enter_tree">
<return type="void" />
<description>
</description>
</method>
<method name="exit_tree">
<return type="void" />
<description>
</description>
</method>
<method name="finalize_build">
<return type="void" />
<description>
</description>
</method>
<method name="generation_physics_process">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="generation_process">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="get_data_index" qualifiers="const">
<return type="int" />
<argument index="0" name="x" type="int" />
<argument index="1" name="y" type="int" />
<description>
</description>
</method>
<method name="get_data_size" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="get_global_transform" qualifiers="const">
<return type="Transform2D" />
<description>
</description>
</method>
<method name="get_index" qualifiers="const">
<return type="int" />
<argument index="0" name="x" type="int" />
<argument index="1" name="y" type="int" />
<description>
</description>
</method>
<method name="get_physics_process" qualifiers="const">
<return type="bool" />
<description>
</description>
</method>
<method name="get_position" qualifiers="const">
<return type="Vector2" />
<description>
</description>
</method>
<method name="get_process" qualifiers="const">
<return type="bool" />
<description>
</description>
</method>
<method name="get_voxel" qualifiers="const">
<return type="int" />
<argument index="0" name="x" type="int" />
<argument index="1" name="y" type="int" />
<argument index="2" name="index" type="int" />
<description>
</description>
</method>
<method name="get_world_position" qualifiers="const">
<return type="Vector2" />
<description>
</description>
</method>
<method name="get_world_rect" qualifiers="const">
<return type="Rect2" />
<description>
</description>
</method>
<method name="get_world_size" qualifiers="const">
<return type="Vector2" />
<description>
</description>
</method>
<method name="is_build_aborted" qualifiers="const">
<return type="bool" />
<description>
</description>
</method>
<method name="is_in_tree" qualifiers="const">
<return type="bool" />
<description>
</description>
</method>
<method name="is_safe_to_delete">
<return type="bool" />
<description>
</description>
</method>
<method name="job_add">
<return type="void" />
<argument index="0" name="job" type="Terrain2DJob" />
<description>
</description>
</method>
<method name="job_get" qualifiers="const">
<return type="Terrain2DJob" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="job_get_count" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="job_get_current">
<return type="Terrain2DJob" />
<description>
</description>
</method>
<method name="job_get_current_index">
<return type="int" />
<description>
</description>
</method>
<method name="job_next">
<return type="void" />
<description>
</description>
</method>
<method name="job_remove">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="job_set">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="job" type="Terrain2DJob" />
<description>
</description>
</method>
<method name="mesh_data_resource_add">
<return type="int" />
<argument index="0" name="local_transform" type="Transform2D" />
<argument index="1" name="mesh" type="MeshDataResource" />
<argument index="2" name="texture" type="Texture" default="null" />
<argument index="3" name="color" type="Color" default="Color( 1, 1, 1, 1 )" />
<argument index="4" name="apply_voxel_scale" type="bool" default="true" />
<description>
</description>
</method>
<method name="mesh_data_resource_addv">
<return type="int" />
<argument index="0" name="local_data_pos" type="Vector2" />
<argument index="1" name="mesh" type="MeshDataResource" />
<argument index="2" name="texture" type="Texture" default="null" />
<argument index="3" name="color" type="Color" default="Color( 1, 1, 1, 1 )" />
<argument index="4" name="apply_voxel_scale" type="bool" default="true" />
<description>
</description>
</method>
<method name="mesh_data_resource_clear">
<return type="void" />
<description>
</description>
</method>
<method name="mesh_data_resource_get">
<return type="MeshDataResource" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="mesh_data_resource_get_color">
<return type="Color" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="mesh_data_resource_get_count" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="mesh_data_resource_get_is_inside">
<return type="bool" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="mesh_data_resource_get_texture">
<return type="Texture" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="mesh_data_resource_get_transform">
<return type="Transform2D" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="mesh_data_resource_get_uv_rect">
<return type="Rect2" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="mesh_data_resource_remove">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="mesh_data_resource_set">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="mesh" type="MeshDataResource" />
<description>
</description>
</method>
<method name="mesh_data_resource_set_color">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="color" type="Color" />
<description>
</description>
</method>
<method name="mesh_data_resource_set_is_inside">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="inside" type="bool" />
<description>
</description>
</method>
<method name="mesh_data_resource_set_texture">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="mesh_data_resource_set_transform">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="transform" type="Transform2D" />
<description>
</description>
</method>
<method name="mesh_data_resource_set_uv_rect">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="uv_rect" type="Rect2" />
<description>
</description>
</method>
<method name="physics_process">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="process">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="prop_add">
<return type="void" />
<argument index="0" name="prop" type="Transform2D" />
<argument index="1" name="arg1" type="Prop2DData" />
<description>
</description>
</method>
<method name="prop_get">
<return type="Prop2DData" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="prop_get_count" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="prop_remove">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="props_clear">
<return type="void" />
<description>
</description>
</method>
<method name="set_physics_process">
<return type="void" />
<argument index="0" name="value" type="bool" />
<description>
</description>
</method>
<method name="set_position">
<return type="void" />
<argument index="0" name="x" type="int" />
<argument index="1" name="z" type="int" />
<description>
</description>
</method>
<method name="set_process">
<return type="void" />
<argument index="0" name="value" type="bool" />
<description>
</description>
</method>
<method name="set_size">
<return type="void" />
<argument index="0" name="size_x" type="int" />
<argument index="1" name="size_y" type="int" />
<argument index="2" name="margin_start" type="int" default="0" />
<argument index="3" name="margin_end" type="int" default="0" />
<description>
</description>
</method>
<method name="set_voxel">
<return type="void" />
<argument index="0" name="value" type="int" />
<argument index="1" name="x" type="int" />
<argument index="2" name="y" type="int" />
<argument index="3" name="index" type="int" />
<description>
</description>
</method>
<method name="to_global" qualifiers="const">
<return type="Vector2" />
<argument index="0" name="local" type="Vector2" />
<description>
</description>
</method>
<method name="to_local" qualifiers="const">
<return type="Vector2" />
<argument index="0" name="global" type="Vector2" />
<description>
</description>
</method>
<method name="validate_data_position" qualifiers="const">
<return type="bool" />
<argument index="0" name="x" type="int" />
<argument index="1" name="y" type="int" />
<description>
</description>
</method>
<method name="visibility_changed">
<return type="void" />
<argument index="0" name="visible" type="bool" />
<description>
</description>
</method>
<method name="voxel_structure_add">
<return type="void" />
<argument index="0" name="structure" type="Terrain2DStructure" />
<description>
</description>
</method>
<method name="voxel_structure_add_at_position">
<return type="void" />
<argument index="0" name="structure" type="Terrain2DStructure" />
<argument index="1" name="world_position" type="Vector2" />
<description>
</description>
</method>
<method name="voxel_structure_clear">
<return type="void" />
<description>
</description>
</method>
<method name="voxel_structure_get" qualifiers="const">
<return type="Terrain2DStructure" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="voxel_structure_get_count" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="voxel_structure_remove">
<return type="void" />
<argument index="0" name="structure" type="Terrain2DStructure" />
<description>
</description>
</method>
<method name="voxel_structure_remove_index">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="world_light_added">
<return type="void" />
<argument index="0" name="light" type="Terrain2DLight" />
<description>
</description>
</method>
<method name="world_light_removed">
<return type="void" />
<argument index="0" name="light" type="Terrain2DLight" />
<description>
</description>
</method>
<method name="world_transform_changed">
<return type="void" />
<description>
</description>
</method>
</methods>
<members>
<member name="cell_size_x" type="int" setter="set_cell_size_x" getter="get_cell_size_x" default="32">
</member>
<member name="cell_size_y" type="int" setter="set_cell_size_y" getter="get_cell_size_y" default="32">
</member>
<member name="channel_count" type="int" setter="channel_set_count" getter="channel_get_count" default="0">
</member>
<member name="data_size_x" type="int" setter="set_data_size_x" getter="get_data_size_x" default="0">
</member>
<member name="data_size_y" type="int" setter="set_data_size_y" getter="get_data_size_y" default="0">
</member>
<member name="default_tile_shape" type="Shape2D" setter="set_default_tile_shape" getter="get_default_tile_shape">
</member>
<member name="dirty" type="bool" setter="set_dirty" getter="get_dirty">
</member>
<member name="is_generating" type="bool" setter="set_is_generating" getter="get_is_generating">
</member>
<member name="library" type="Terrain2DLibrary" setter="set_library" getter="get_library">
</member>
<member name="liquid_material_cache_key" type="int" setter="liquid_material_cache_key_set" getter="liquid_material_cache_key_get" default="0">
</member>
<member name="liquid_material_cache_key_has" type="bool" setter="liquid_material_cache_key_has_set" getter="liquid_material_cache_key_has" default="false">
</member>
<member name="margin_end" type="int" setter="set_margin_end" getter="get_margin_end" default="0">
</member>
<member name="margin_start" type="int" setter="set_margin_start" getter="get_margin_start" default="0">
</member>
<member name="material_cache_key" type="int" setter="material_cache_key_set" getter="material_cache_key_get" default="0">
</member>
<member name="material_cache_key_has" type="bool" setter="material_cache_key_has_set" getter="material_cache_key_has" default="false">
</member>
<member name="mesh_transform_terrain" type="Transform2D" setter="mesh_transform_terrain_set" getter="mesh_transform_terrain_get" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
</member>
<member name="mesh_transform_wall_east" type="Transform2D" setter="mesh_transform_wall_east_set" getter="mesh_transform_wall_east_get" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
</member>
<member name="mesh_transform_wall_north" type="Transform2D" setter="mesh_transform_wall_north_set" getter="mesh_transform_wall_north_get" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
</member>
<member name="mesh_transform_wall_south" type="Transform2D" setter="mesh_transform_wall_south_set" getter="mesh_transform_wall_south_get" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
</member>
<member name="mesh_transform_wall_west" type="Transform2D" setter="mesh_transform_wall_west_set" getter="mesh_transform_wall_west_get" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
</member>
<member name="position_x" type="int" setter="set_position_x" getter="get_position_x" default="0">
</member>
<member name="position_y" type="int" setter="set_position_y" getter="get_position_y" default="0">
</member>
<member name="prop_material_cache_key" type="int" setter="prop_material_cache_key_set" getter="prop_material_cache_key_get" default="0">
</member>
<member name="prop_material_cache_key_has" type="bool" setter="prop_material_cache_key_has_set" getter="prop_material_cache_key_has" default="false">
</member>
<member name="size_x" type="int" setter="set_size_x" getter="get_size_x" default="0">
</member>
<member name="size_y" type="int" setter="set_size_y" getter="get_size_y" default="0">
</member>
<member name="state" type="int" setter="set_state" getter="get_state">
</member>
<member name="transform" type="Transform2D" setter="set_transform" getter="get_transform" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
</member>
<member name="visible" type="bool" setter="set_visible" getter="get_visible" default="true">
</member>
<member name="voxel_structures" type="Array" setter="voxel_structures_set" getter="voxel_structures_get" default="[ ]">
</member>
<member name="voxel_world" type="Terrain2DWorld" setter="set_voxel_world" getter="get_voxel_world">
</member>
</members>
<signals>
<signal name="mesh_generation_finished">
<argument index="0" name="chunk" type="Terrain2DChunk" />
<description>
</description>
</signal>
</signals>
<constants>
</constants>
</class>