Sync classref with the current source.

This commit is contained in:
Relintai 2020-04-03 09:35:45 +02:00
parent 214323a9a0
commit 04b68ff62d
24 changed files with 453 additions and 686 deletions

View File

@ -1,89 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="GroundClutter" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="_add_meshes_to" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="mesher" type="VoxelMesher">
</argument>
<argument index="1" name="chunk" type="VoxelChunk">
</argument>
<argument index="2" name="x" type="int">
</argument>
<argument index="3" name="y" type="int">
</argument>
<argument index="4" name="z" type="int">
</argument>
<description>
</description>
</method>
<method name="_add_textures_to" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="packer" type="TexturePacker">
</argument>
<description>
</description>
</method>
<method name="_should_spawn" qualifiers="virtual">
<return type="bool">
</return>
<argument index="0" name="chunk" type="VoxelChunk">
</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_meshes_to">
<return type="void">
</return>
<argument index="0" name="mesher" type="VoxelMesher">
</argument>
<argument index="1" name="chunk" type="Node">
</argument>
<argument index="2" name="x" type="int">
</argument>
<argument index="3" name="y" type="int">
</argument>
<argument index="4" name="z" type="int">
</argument>
<description>
</description>
</method>
<method name="add_textures_to">
<return type="void">
</return>
<argument index="0" name="packer" type="TexturePacker">
</argument>
<description>
</description>
</method>
<method name="should_spawn">
<return type="bool">
</return>
<argument index="0" name="chunk" type="Node">
</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>
</methods>
<constants>
</constants>
</class>

View File

@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="GroundClutterFoliage" inherits="GroundClutter" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="add_texture">
<return type="void">
</return>
<argument index="0" name="texture" type="Texture">
</argument>
<description>
</description>
</method>
<method name="get_texture">
<return type="Texture">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_texture_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="remove_texture">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
</methods>
<constants>
</constants>
</class>

View File

@ -1,109 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropData" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="add_meshes_into">
<return type="void">
</return>
<argument index="0" name="mesher" type="VoxelMesher">
</argument>
<argument index="1" name="texture_packer" type="TexturePacker">
</argument>
<argument index="2" name="parent_transform" type="Transform">
</argument>
<argument index="3" name="snap_spatial" type="Node">
</argument>
<description>
</description>
</method>
<method name="add_prop">
<return type="void">
</return>
<argument index="0" name="prop" type="PropDataEntry">
</argument>
<description>
</description>
</method>
<method name="add_prop_lights_into">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
</argument>
<argument index="1" name="parent_transform" type="Transform">
</argument>
<argument index="2" name="allow_snap" type="bool">
</argument>
<description>
</description>
</method>
<method name="add_textures_into">
<return type="void">
</return>
<argument index="0" name="texture_packer" type="TexturePacker">
</argument>
<description>
</description>
</method>
<method name="get_next_snapped_prop_transform">
<return type="Transform">
</return>
<argument index="0" name="spatial" type="Node">
</argument>
<argument index="1" name="parent_transform" type="Transform">
</argument>
<argument index="2" name="snap_to_mesh" type="bool">
</argument>
<argument index="3" name="snap_axis" type="Vector3">
</argument>
<description>
</description>
</method>
<method name="get_prop" qualifiers="const">
<return type="PropDataEntry">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_prop_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="remove_prop">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="set_prop">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="spell" type="PropDataEntry">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="props" type="Array" setter="set_props" getter="get_props" default="[ ]">
</member>
<member name="snap_axis" type="Vector3" setter="set_snap_axis" getter="get_snap_axis" default="Vector3( 0, -1, 0 )">
</member>
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="false">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataEntity" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="entity_data_id" type="int" setter="set_entity_data_id" getter="get_entity_data_id" default="0">
</member>
<member name="level" type="int" setter="set_level" getter="get_level" default="1">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataEntry" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="transform" type="Transform" setter="set_transform" getter="get_transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataLight" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="light_color" type="Color" setter="set_light_color" getter="get_light_color" default="Color( 0, 0, 0, 1 )">
</member>
<member name="light_size" type="int" setter="set_light_size" getter="get_light_size" default="5">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataMesh" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="mesh" type="MeshDataResource" setter="set_mesh" getter="get_mesh">
</member>
<member name="snap_axis" type="Vector3" setter="set_snap_axis" getter="get_snap_axis" default="Vector3( 0, 1, 0 )">
</member>
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="true">
</member>
<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataProp" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="prop" type="PropData" setter="set_prop" getter="get_prop">
</member>
<member name="snap_axis" type="Vector3" setter="set_snap_axis" getter="get_snap_axis" default="Vector3( 0, 1, 0 )">
</member>
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="false">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataScene" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="scene" type="PackedScene" setter="set_scene" getter="get_scene">
</member>
<member name="snap_axis" type="Vector3" setter="set_snap_axis" getter="get_snap_axis" default="Vector3( 0, 1, 0 )">
</member>
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="true">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropTool" inherits="Spatial" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<constants>
</constants>
</class>

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropToolEntity" inherits="Spatial" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="evaluate_children" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
</methods>
<members>
<member name="data" type="PropDataEntity" setter="set_data" getter="get_data">
</member>
<member name="entity_data" type="EntityData" setter="set_entity_data" getter="get_entity_data">
</member>
<member name="entity_data_id" type="int" setter="set_entity_data_id" getter="get_entity_data_id" default="0">
</member>
<member name="level" type="int" setter="set_level" getter="get_level" default="1">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropToolLight" inherits="OmniLight" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="data" type="PropDataLight" setter="set_data" getter="get_data">
</member>
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="false">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropToolMesh" inherits="MeshInstance" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="generate">
<return type="void">
</return>
<description>
</description>
</method>
</methods>
<members>
<member name="data" type="PropDataMesh" setter="set_data" getter="get_data">
</member>
<member name="generate" type="bool" setter="set_generate" getter="get_generate" default="false">
</member>
<member name="mesh_data" type="MeshDataResource" setter="set_mesh_data" getter="get_mesh_data">
</member>
<member name="prop_mesh" type="MeshDataResource" setter="set_prop_mesh" getter="get_prop_mesh">
</member>
<member name="snap_axis" type="Vector3" setter="set_snap_axis" getter="get_snap_axis" default="Vector3( 0, -1, 0 )">
</member>
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="false">
</member>
<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropToolProp" inherits="Spatial" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="data" type="PropDataProp" setter="set_data" getter="get_data">
</member>
<member name="prop_data" type="PropData" setter="set_prop_data" getter="get_prop_data">
</member>
<member name="snap_axis" type="Vector3" setter="set_snap_axis" getter="get_snap_axis" default="Vector3( 0, -1, 0 )">
</member>
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="false">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropToolScene" inherits="Spatial" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="data" type="PropDataScene" setter="set_data" getter="get_data">
</member>
<member name="scene_data" type="PackedScene" setter="set_scene_data" getter="get_scene_data">
</member>
<member name="snap_axis" type="Vector3" setter="set_snap_axis" getter="get_snap_axis" default="Vector3( 0, -1, 0 )">
</member>
<member name="snap_to_mesh" type="bool" setter="set_snap_to_mesh" getter="get_snap_to_mesh" default="false">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelChunk" inherits="Spatial" version="3.2">
<class name="VoxelChunk" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
@ -29,6 +29,34 @@
<description>
</description>
</method>
<method name="_enter_tree" qualifiers="virtual">
<return type="void">
</return>
<description>
</description>
</method>
<method name="_exit_tree" qualifiers="virtual">
<return type="void">
</return>
<description>
</description>
</method>
<method name="_physics_process" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="delta" type="float">
</argument>
<description>
</description>
</method>
<method name="_process" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="delta" type="float">
</argument>
<description>
</description>
</method>
<method name="_prop_added" qualifiers="virtual">
<return type="void">
</return>
@ -43,6 +71,20 @@
<description>
</description>
</method>
<method name="_visibility_changed" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="visible" type="bool">
</argument>
<description>
</description>
</method>
<method name="_world_transform_changed" qualifiers="virtual">
<return type="void">
</return>
<description>
</description>
</method>
<method name="add_light">
<return type="void">
</return>
@ -139,6 +181,18 @@
<description>
</description>
</method>
<method name="bake_mesh_array_uv" qualifiers="const">
<return type="Array">
</return>
<argument index="0" name="arr" type="Array">
</argument>
<argument index="1" name="tex" type="Texture">
</argument>
<argument index="2" name="mul_color" type="float" default="0.7">
</argument>
<description>
</description>
</method>
<method name="clear_baked_lights">
<return type="void">
</return>
@ -249,12 +303,24 @@
<description>
</description>
</method>
<method name="get_physics_process" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="get_position" qualifiers="const">
<return type="Vector3">
</return>
<description>
</description>
</method>
<method name="get_process" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="get_prop">
<return type="VoxelChunkPropData">
</return>
@ -283,6 +349,14 @@
<description>
</description>
</method>
<method name="merge_mesh_array" qualifiers="const">
<return type="Array">
</return>
<argument index="0" name="arr" type="Array">
</argument>
<description>
</description>
</method>
<method name="remove_mesher">
<return type="void">
</return>
@ -327,6 +401,14 @@
<description>
</description>
</method>
<method name="set_physics_process">
<return type="void">
</return>
<argument index="0" name="value" type="bool">
</argument>
<description>
</description>
</method>
<method name="set_position">
<return type="void">
</return>
@ -339,6 +421,14 @@
<description>
</description>
</method>
<method name="set_process">
<return type="void">
</return>
<argument index="0" name="value" type="bool">
</argument>
<description>
</description>
</method>
<method name="set_size">
<return type="void">
</return>
@ -389,6 +479,14 @@
<description>
</description>
</method>
<method name="visibility_changed">
<return type="void">
</return>
<argument index="0" name="visible" type="bool">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="channel_count" type="int" setter="set_channel_count" getter="get_channel_count" default="0">
@ -423,6 +521,10 @@
</member>
<member name="state" type="int" setter="set_state" getter="get_state" default="0">
</member>
<member name="transform" type="Transform" setter="set_transform" getter="get_transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )">
</member>
<member name="visible" type="bool" setter="set_visible" getter="get_visible" default="true">
</member>
<member name="voxel_scale" type="float" setter="set_voxel_scale" getter="get_voxel_scale" default="1.0">
</member>
<member name="voxel_world" type="VoxelWorld" setter="set_voxel_world" getter="get_voxel_world">

View File

@ -39,36 +39,6 @@
<description>
</description>
</method>
<method name="allocate_clutter_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="allocate_liquid_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="allocate_main_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="allocate_prop_colliders">
<return type="void">
</return>
<description>
</description>
</method>
<method name="allocate_prop_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="build_deferred">
<return type="void">
</return>
@ -99,9 +69,29 @@
<description>
</description>
</method>
<method name="clear_mesh_rids">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<description>
</description>
</method>
<method name="clear_rids">
<return type="void">
</return>
<description>
</description>
</method>
<method name="create_colliders">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="layer_mask" type="int" default="1">
</argument>
<description>
</description>
</method>
@ -111,6 +101,16 @@
<description>
</description>
</method>
<method name="create_meshes">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_count" type="int">
</argument>
<description>
</description>
</method>
<method name="draw_cross_voxels">
<return type="void">
</return>
@ -145,15 +145,23 @@
<description>
</description>
</method>
<method name="emit_build_finished">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_chunk">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_clutter_mesh">
<method name="free_colliders">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<description>
</description>
</method>
@ -163,25 +171,23 @@
<description>
</description>
</method>
<method name="free_liquid_mesh">
<method name="free_index">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<description>
</description>
</method>
<method name="free_main_mesh">
<method name="free_meshes">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<description>
</description>
</method>
<method name="free_prop_colliders">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_prop_mesh">
<method name="free_rids">
<return type="void">
</return>
<description>
@ -193,75 +199,61 @@
<description>
</description>
</method>
<method name="get_body_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_clutter_mesh_instance_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_clutter_mesh_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_liquid_mesh_instance_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_liquid_mesh_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_mesh_instance_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_mesh_rid">
<return type="RID">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_prop_body_rid">
<method name="get_mesh_rid_count">
<return type="int">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_mesh_rid_index">
<return type="RID">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<argument index="2" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_mesh_rids">
<return type="Dictionary">
</return>
<description>
</description>
</method>
<method name="get_prop_mesh_instance_rid">
<return type="RID">
<method name="get_meshes">
<return type="Array">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_prop_mesh_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_prop_shape_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_shape_rid">
<return type="RID">
<method name="has_meshes">
<return type="bool">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<description>
</description>
</method>
@ -277,9 +269,49 @@
<description>
</description>
</method>
<method name="remove_colliders">
<method name="set_mesh_rid">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<argument index="2" name="value" type="RID">
</argument>
<description>
</description>
</method>
<method name="set_mesh_rid_index">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<argument index="2" name="index" type="int">
</argument>
<argument index="3" name="value" type="RID">
</argument>
<description>
</description>
</method>
<method name="set_mesh_rids">
<return type="void">
</return>
<argument index="0" name="rids" type="Dictionary">
</argument>
<description>
</description>
</method>
<method name="set_meshes">
<return type="void">
</return>
<argument index="0" name="mesh_index" type="int">
</argument>
<argument index="1" name="mesh_type_index" type="int">
</argument>
<argument index="2" name="meshes" type="Array">
</argument>
<description>
</description>
</method>
@ -289,8 +321,14 @@
</member>
<member name="current_build_phase" type="int" setter="set_current_build_phase" getter="get_current_build_phase" default="0">
</member>
<member name="current_lod_level" type="int" setter="set_current_lod_level" getter="get_current_lod_level" default="0">
</member>
<member name="generate_lod" type="bool" setter="set_generate_lod" getter="get_generate_lod" default="true">
</member>
<member name="is_build_threaded" type="bool" setter="set_is_build_threaded" getter="get_is_build_threaded" default="false">
</member>
<member name="lod_num" type="int" setter="set_lod_num" getter="get_lod_num" default="3">
</member>
<member name="lod_size" type="int" setter="set_lod_size" getter="get_lod_size" default="1">
</member>
<member name="max_build_phase" type="int" setter="set_max_build_phase" getter="get_max_build_phase" default="9">
@ -359,5 +397,21 @@
</constant>
<constant name="BUILD_PHASE_TYPE_PHYSICS_PROCESS" value="2" enum="ActiveBuildPhaseType">
</constant>
<constant name="MESH_INDEX_TERRARIN" value="0">
</constant>
<constant name="MESH_INDEX_PROP" value="1">
</constant>
<constant name="MESH_INDEX_LIQUID" value="2">
</constant>
<constant name="MESH_INDEX_CLUTTER" value="3">
</constant>
<constant name="MESH_TYPE_INDEX_MESH" value="0">
</constant>
<constant name="MESH_TYPE_INDEX_MESH_INSTANCE" value="1">
</constant>
<constant name="MESH_TYPE_INDEX_SHAPE" value="2">
</constant>
<constant name="MESH_TYPE_INDEX_BODY" value="3">
</constant>
</constants>
</class>

View File

@ -246,7 +246,7 @@
<method name="setup">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<argument index="1" name="x" type="int">
</argument>

View File

@ -50,7 +50,7 @@
<method name="add_chunk">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
@ -58,7 +58,7 @@
<method name="add_chunk_liquid">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
@ -150,7 +150,7 @@
<method name="bake_colors">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
@ -158,7 +158,7 @@
<method name="bake_liquid_colors">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>

View File

@ -46,7 +46,7 @@
<method name="add_chunk">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<argument index="1" name="x" type="int">
</argument>
@ -60,7 +60,7 @@
<method name="add_to_generation">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
@ -68,7 +68,7 @@
<method name="add_to_generation_queue">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
@ -202,7 +202,7 @@
<method name="on_chunk_mesh_generation_finished">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
@ -261,12 +261,16 @@
</member>
<member name="chunk_spawn_range" type="int" setter="set_chunk_spawn_range" getter="get_chunk_spawn_range" default="4">
</member>
<member name="chunks" type="Array" setter="set_chunks" getter="get_chunks" default="[ ]">
</member>
<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>
<member name="editable" type="bool" setter="set_editable" getter="get_editable" default="false">
</member>
<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">

View File

@ -18,7 +18,7 @@
<method name="generate_chunk">
<return type="void">
</return>
<argument index="0" name="chunk" type="Node">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>

View File

@ -17,6 +17,22 @@
<description>
</description>
</method>
<method name="add_clutter_material">
<return type="void">
</return>
<argument index="0" name="value" type="Material">
</argument>
<description>
</description>
</method>
<method name="add_liquid_material">
<return type="void">
</return>
<argument index="0" name="value" type="Material">
</argument>
<description>
</description>
</method>
<method name="add_liquid_surface">
<return type="void">
</return>
@ -25,6 +41,14 @@
<description>
</description>
</method>
<method name="add_material">
<return type="void">
</return>
<argument index="0" name="value" type="Material">
</argument>
<description>
</description>
</method>
<method name="add_prop">
<return type="void">
</return>
@ -33,6 +57,14 @@
<description>
</description>
</method>
<method name="add_prop_material">
<return type="void">
</return>
<argument index="0" name="value" type="Material">
</argument>
<description>
</description>
</method>
<method name="add_voxel_surface">
<return type="void">
</return>
@ -41,12 +73,36 @@
<description>
</description>
</method>
<method name="clear_clutter_materials">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_liquid_materials">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_liquid_surfaces">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_materials">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_prop_materials">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_props">
<return type="void">
</return>
@ -59,6 +115,22 @@
<description>
</description>
</method>
<method name="get_clutter_material">
<return type="Material">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_liquid_material">
<return type="Material">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_liquid_surface">
<return type="VoxelSurface">
</return>
@ -67,12 +139,44 @@
<description>
</description>
</method>
<method name="get_material">
<return type="Material">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_num_clutter_materials" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_num_liquid_materials" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_num_liquid_surfaces" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_num_materials" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_num_prop_materials" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_num_props" qualifiers="const">
<return type="int">
</return>
@ -93,6 +197,14 @@
<description>
</description>
</method>
<method name="get_prop_material">
<return type="Material">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_voxel_surface">
<return type="VoxelSurface">
</return>
@ -107,6 +219,22 @@
<description>
</description>
</method>
<method name="remove_clutter_material">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_liquid_material">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_liquid_surface">
<return type="void">
</return>
@ -115,6 +243,14 @@
<description>
</description>
</method>
<method name="remove_material">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_prop">
<return type="void">
</return>
@ -123,6 +259,14 @@
<description>
</description>
</method>
<method name="remove_prop_material">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_surface">
<return type="void">
</return>
@ -131,6 +275,26 @@
<description>
</description>
</method>
<method name="set_clutter_material">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="value" type="Material">
</argument>
<description>
</description>
</method>
<method name="set_liquid_material">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="value" type="Material">
</argument>
<description>
</description>
</method>
<method name="set_liquid_surface">
<return type="void">
</return>
@ -141,6 +305,16 @@
<description>
</description>
</method>
<method name="set_material">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="value" type="Material">
</argument>
<description>
</description>
</method>
<method name="set_prop">
<return type="void">
</return>
@ -151,6 +325,16 @@
<description>
</description>
</method>
<method name="set_prop_material">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="value" type="Material">
</argument>
<description>
</description>
</method>
<method name="set_voxel_surface">
<return type="void">
</return>
@ -173,13 +357,13 @@
</method>
</methods>
<members>
<member name="clutter_material" type="Material" setter="set_clutter_material" getter="get_clutter_material">
<member name="clutter_materials" type="Array" setter="set_clutter_materials" getter="get_clutter_materials" default="[ ]">
</member>
<member name="liquid_material" type="Material" setter="set_liquid_material" getter="get_liquid_material">
<member name="liquid_materials" type="Array" setter="set_liquid_materials" getter="get_liquid_materials" default="[ ]">
</member>
<member name="material" type="Material" setter="set_material" getter="get_material">
<member name="materials" type="Array" setter="set_materials" getter="get_materials" default="[ ]">
</member>
<member name="prop_material" type="Material" setter="set_prop_material" getter="get_prop_material">
<member name="prop_materials" type="Array" setter="set_prop_materials" getter="get_prop_materials" default="[ ]">
</member>
</members>
<constants>

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelmanQueue" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="dequeue">
<return type="Variant">
</return>
<description>
</description>
</method>
<method name="enqueue">
<return type="void">
</return>
<argument index="0" name="obj" type="Variant">
</argument>
<description>
</description>
</method>
<method name="peek">
<return type="Variant">
</return>
<description>
</description>
</method>
<method name="resize">
<return type="void">
</return>
<argument index="0" name="new_size" type="int">
</argument>
<description>
</description>
</method>
</methods>
<constants>
</constants>
</class>

View File

@ -1,33 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelmanUnboundedQueue" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="dequeue">
<return type="Variant">
</return>
<description>
</description>
</method>
<method name="enqueue">
<return type="void">
</return>
<argument index="0" name="obj" type="Variant">
</argument>
<description>
</description>
</method>
<method name="peek">
<return type="Variant">
</return>
<description>
</description>
</method>
</methods>
<constants>
</constants>
</class>