voxelman/doc_classes/VoxelWorld.xml

510 lines
14 KiB
XML
Raw Normal View History

2019-12-25 14:08:20 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelWorld" inherits="Navigation" version="3.2">
2019-12-25 14:08:20 +01:00
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="_add_prop" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="prop" type="VoxelChunkPropData">
</argument>
<description>
</description>
</method>
2020-04-14 16:59:01 +02:00
<method name="_chunk_added" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="_create_chunk" qualifiers="virtual">
<return type="VoxelChunk">
</return>
<argument index="0" name="x" type="int">
</argument>
<argument index="1" name="y" type="int">
</argument>
<argument index="2" name="z" type="int">
</argument>
<argument index="3" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</method>
<method name="_generate_chunk" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</method>
<method name="_generation_finished" qualifiers="virtual">
<return type="void">
</return>
<description>
</description>
</method>
<method name="_get_channel_index_info" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="channel_type" type="int">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="_prepare_chunk_for_generation" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</method>
<method name="add_chunk">
<return type="void">
</return>
2020-04-03 09:35:45 +02:00
<argument index="0" name="chunk" type="VoxelChunk">
2019-12-25 14:08:20 +01:00
</argument>
<argument index="1" name="x" type="int">
</argument>
<argument index="2" name="y" type="int">
</argument>
<argument index="3" name="z" type="int">
</argument>
<description>
</description>
</method>
<method name="add_light">
<return type="void">
</return>
<argument index="0" name="light" type="VoxelLight">
</argument>
<description>
</description>
</method>
<method name="add_prop">
<return type="void">
</return>
<argument index="0" name="prop" type="VoxelChunkPropData">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="add_to_generation">
<return type="void">
</return>
2020-04-03 09:35:45 +02:00
<argument index="0" name="chunk" type="VoxelChunk">
2019-12-25 14:08:20 +01:00
</argument>
<description>
</description>
</method>
<method name="add_to_generation_queue">
<return type="void">
</return>
2020-04-03 09:35:45 +02:00
<argument index="0" name="chunk" type="VoxelChunk">
2019-12-25 14:08:20 +01:00
</argument>
<description>
</description>
</method>
<method name="add_voxel_structure">
<return type="void">
</return>
<argument index="0" name="structure" type="VoxelStructure">
</argument>
<description>
</description>
</method>
<method name="add_voxel_structure_at_position">
<return type="void">
</return>
<argument index="0" name="structure" type="VoxelStructure">
</argument>
<argument index="1" name="world_position" type="Vector3">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="add_world_area">
<return type="void">
</return>
<argument index="0" name="area" type="WorldArea">
</argument>
<description>
</description>
</method>
<method name="can_chunk_do_build_step">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="clear_chunks">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_lights">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_voxel_structures">
2019-12-25 14:08:20 +01:00
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_world_areas">
<return type="void">
</return>
<description>
</description>
</method>
<method name="create_chunk">
<return type="VoxelChunk">
</return>
<argument index="0" name="x" type="int">
</argument>
<argument index="1" name="y" type="int">
</argument>
<argument index="2" name="z" type="int">
</argument>
<description>
</description>
</method>
<method name="get_channel_index_info">
<return type="int">
</return>
<argument index="0" name="channel_type" type="int" enum="VoxelWorld.ChannelTypeInfo">
</argument>
<description>
</description>
</method>
<method name="get_chunk">
2019-12-25 14:08:20 +01:00
<return type="VoxelChunk">
</return>
<argument index="0" name="x" type="int">
</argument>
<argument index="1" name="y" type="int">
</argument>
<argument index="2" name="z" type="int">
</argument>
<description>
</description>
</method>
<method name="get_chunk_at_world_position">
<return type="VoxelChunk">
</return>
<argument index="0" name="world_position" type="Vector3">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="get_chunk_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_chunk_index">
<return type="VoxelChunk">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_generation_index">
<return type="VoxelChunk">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_generation_queue_index">
<return type="VoxelChunk">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_generation_queue_size" qualifiers="const">
2019-12-25 14:08:20 +01:00
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_generation_size" qualifiers="const">
2019-12-25 14:08:20 +01:00
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_light">
<return type="VoxelLight">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_light_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_lights">
<return type="Array">
</return>
<description>
</description>
</method>
2020-04-14 16:59:01 +02:00
<method name="get_or_create_chunk">
<return type="VoxelChunk">
</return>
<argument index="0" name="x" type="int">
</argument>
<argument index="1" name="y" type="int">
</argument>
<argument index="2" name="z" type="int">
</argument>
<description>
</description>
</method>
<method name="get_or_create_chunk_at_world_position">
<return type="VoxelChunk">
</return>
<argument index="0" name="world_position" type="Vector3">
</argument>
<description>
</description>
</method>
<method name="get_voxel_at_world_position">
<return type="int">
</return>
<argument index="0" name="world_position" type="Vector3">
</argument>
<argument index="1" name="channel_index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_voxel_structure" qualifiers="const">
<return type="VoxelStructure">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_voxel_structure_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="get_world_area" qualifiers="const">
<return type="WorldArea">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_world_area_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="has_chunk" qualifiers="const">
<return type="bool">
</return>
<argument index="0" name="x" type="int">
</argument>
<argument index="1" name="y" type="int">
</argument>
<argument index="2" name="z" type="int">
</argument>
<description>
</description>
</method>
<method name="is_position_walkable">
<return type="bool">
</return>
<argument index="0" name="position" type="Vector3">
</argument>
<description>
</description>
</method>
<method name="on_chunk_mesh_generation_finished">
<return type="void">
</return>
2020-04-03 09:35:45 +02:00
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="remove_chunk">
<return type="VoxelChunk">
</return>
<argument index="0" name="x" type="int">
</argument>
<argument index="1" name="y" type="int">
</argument>
<argument index="2" name="z" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_chunk_index">
<return type="VoxelChunk">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="remove_generation_index">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_generation_queue_index">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_light">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_voxel_structure">
<return type="void">
</return>
<argument index="0" name="structure" type="VoxelStructure">
</argument>
<description>
</description>
</method>
<method name="remove_voxel_structure_index">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
<method name="remove_world_area">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="set_lights">
<return type="void">
</return>
<argument index="0" name="chunks" type="Array">
</argument>
<description>
</description>
</method>
<method name="set_voxel_at_world_position">
<return type="void">
</return>
<argument index="0" name="world_position" type="Vector3">
</argument>
<argument index="1" name="data" type="int">
</argument>
<argument index="2" name="channel_index" type="int">
</argument>
<description>
</description>
</method>
2019-12-25 14:08:20 +01:00
</methods>
<members>
<member name="chunk_size_x" type="int" setter="set_chunk_size_x" getter="get_chunk_size_x" default="16">
</member>
<member name="chunk_size_y" type="int" setter="set_chunk_size_y" getter="get_chunk_size_y" default="16">
</member>
<member name="chunk_size_z" type="int" setter="set_chunk_size_z" getter="get_chunk_size_z" default="16">
</member>
<member name="chunk_spawn_range" type="int" setter="set_chunk_spawn_range" getter="get_chunk_spawn_range" default="4">
</member>
2020-04-03 09:35:45 +02:00
<member name="chunks" type="Array" setter="set_chunks" getter="get_chunks" default="[ ]">
</member>
2019-12-25 14:08:20 +01:00
<member name="current_seed" type="int" setter="set_current_seed" getter="get_current_seed" default="0">
</member>
<member name="data_margin_end" type="int" setter="set_data_margin_end" getter="get_data_margin_end" default="0">
</member>
<member name="data_margin_start" type="int" setter="set_data_margin_start" getter="get_data_margin_start" default="0">
</member>
2020-04-03 09:35:45 +02:00
<member name="editable" type="bool" setter="set_editable" getter="get_editable" default="false">
</member>
2019-12-25 14:08:20 +01:00
<member name="level_generator" type="VoxelmanLevelGenerator" setter="set_level_generator" getter="get_level_generator">
</member>
<member name="library" type="VoxelmanLibrary" setter="set_library" getter="get_library">
</member>
<member name="max_concurrent_generations" type="int" setter="set_max_concurrent_generations" getter="get_max_concurrent_generations" default="3">
</member>
<member name="max_frame_chunk_build_steps" type="int" setter="set_max_frame_chunk_build_steps" getter="get_max_frame_chunk_build_steps" default="0">
</member>
2019-12-25 14:08:20 +01:00
<member name="player" type="Spatial" setter="set_player" getter="get_player">
</member>
<member name="player_path" type="NodePath" setter="set_player_path" getter="get_player_path" default="NodePath(&quot;&quot;)">
</member>
<member name="use_threads" type="bool" setter="set_use_threads" getter="get_use_threads" default="true">
</member>
<member name="voxel_scale" type="float" setter="set_voxel_scale" getter="get_voxel_scale" default="1.0">
</member>
<member name="voxel_structures" type="Array" setter="set_voxel_structures" getter="get_voxel_structures" default="[ ]">
</member>
2019-12-25 14:08:20 +01:00
</members>
<signals>
<signal name="chunk_mesh_generation_finished">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</signal>
2019-12-25 14:08:20 +01:00
<signal name="generation_finished">
<description>
</description>
</signal>
</signals>
<constants>
<constant name="CHANNEL_TYPE_INFO_TYPE" value="0" enum="ChannelTypeInfo">
</constant>
<constant name="CHANNEL_TYPE_INFO_ISOLEVEL" value="1" enum="ChannelTypeInfo">
</constant>
<constant name="CHANNEL_TYPE_INFO_LIQUID" value="2" enum="ChannelTypeInfo">
</constant>
<constant name="CHANNEL_TYPE_INFO_LIQUID_LEVEL" value="3" enum="ChannelTypeInfo">
</constant>
2019-12-25 14:08:20 +01:00
</constants>
</class>