This commit is contained in:
Relintai 2020-03-24 16:56:30 +01:00
commit 3689371503
39 changed files with 969 additions and 498 deletions

View File

@ -46,8 +46,17 @@ def get_doc_classes():
"EnvironmentData",
"VoxelChunkPropData",
"VoxelChunk",
"VoxelChunkDefault",
"VoxelStructure",
"BlockVoxelStructure",
"VoxelWorld",
"PropTool",
"PropToolEntity",
"PropToolLight",
"PropToolMesh",
"PropToolProp",
"PropToolScene",
]
def get_doc_path():

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="BlockVoxelStructure" inherits="VoxelStructure" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="get_voxel" qualifiers="const">
<return type="int">
</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="channel_index" type="int" default="0">
</argument>
<description>
</description>
</method>
<method name="get_voxel_data" qualifiers="const">
<return type="PoolByteArray">
</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="set_voxel">
<return type="void">
</return>
<argument index="0" name="value" type="int">
</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>
<argument index="4" name="channel_index" type="int" default="0">
</argument>
<description>
</description>
</method>
<method name="set_voxel_data">
<return type="void">
</return>
<argument index="0" name="arr" type="PoolByteArray">
</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>
<members>
<member name="channel_count" type="int" setter="set_channel_count" getter="get_channel_count" default="0">
</member>
</members>
<constants>
</constants>
</class>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="EnvironmentData" inherits="Resource" category="Core" version="3.2">
<class name="EnvironmentData" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="GroundClutter" inherits="Resource" category="Core" version="3.2">
<class name="GroundClutter" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="GroundClutterFoliage" inherits="GroundClutter" category="Core" version="3.2">
<class name="GroundClutterFoliage" inherits="GroundClutter" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropData" inherits="Resource" category="Core" version="3.2">
<class name="PropData" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataEntity" inherits="PropDataEntry" category="Core" version="3.2">
<class name="PropDataEntity" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataEntry" inherits="Resource" category="Core" version="3.2">
<class name="PropDataEntry" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataLight" inherits="PropDataEntry" category="Core" version="3.2">
<class name="PropDataLight" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataMesh" inherits="PropDataEntry" category="Core" version="3.2">
<class name="PropDataMesh" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataProp" inherits="PropDataEntry" category="Core" version="3.2">
<class name="PropDataProp" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="PropDataScene" inherits="PropDataEntry" category="Core" version="3.2">
<class name="PropDataScene" inherits="PropDataEntry" version="3.2">
<brief_description>
</brief_description>
<description>

13
doc_classes/PropTool.xml Normal file
View File

@ -0,0 +1,13 @@
<?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

@ -0,0 +1,29 @@
<?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

@ -0,0 +1,19 @@
<?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

@ -0,0 +1,35 @@
<?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

@ -0,0 +1,23 @@
<?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

@ -0,0 +1,23 @@
<?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="TransvoxelCellData" inherits="Reference" category="Core" version="3.2">
<class name="TransvoxelCellData" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelChunk" inherits="Spatial" category="Core" version="3.2">
<class name="VoxelChunk" inherits="Spatial" version="3.2">
<brief_description>
</brief_description>
<description>
@ -7,35 +7,23 @@
<tutorials>
</tutorials>
<methods>
<method name="_build_phase" qualifiers="virtual">
<method name="_add_light" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="phase" type="int">
<argument index="0" name="local_x" type="int">
</argument>
<argument index="1" name="local_y" type="int">
</argument>
<argument index="2" name="local_z" type="int">
</argument>
<argument index="3" name="size" type="int">
</argument>
<argument index="4" name="color" type="Color">
</argument>
<description>
</description>
</method>
<method name="_create_mesh" qualifiers="virtual">
<return type="void">
</return>
<description>
</description>
</method>
<method name="_create_mesher" qualifiers="virtual">
<return type="void">
</return>
<description>
</description>
</method>
<method name="_draw_debug_voxel_lights" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="debug_drawer" type="ImmediateGeometry">
</argument>
<description>
</description>
</method>
<method name="_process_props" qualifiers="virtual">
<method name="_create_meshers" qualifiers="virtual">
<return type="void">
</return>
<description>
@ -87,6 +75,14 @@
<description>
</description>
</method>
<method name="add_mesher">
<return type="void">
</return>
<argument index="0" name="mesher" type="VoxelMesher">
</argument>
<description>
</description>
</method>
<method name="add_prop">
<return type="void">
</return>
@ -129,36 +125,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="bake_light">
<return type="void">
</return>
@ -173,42 +139,6 @@
<description>
</description>
</method>
<method name="build">
<return type="void">
</return>
<description>
</description>
</method>
<method name="build_collider">
<return type="void">
</return>
<description>
</description>
</method>
<method name="build_phase">
<return type="void">
</return>
<description>
</description>
</method>
<method name="build_prop_collider">
<return type="void">
</return>
<description>
</description>
</method>
<method name="build_prop_meshes">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_baked_lights">
<return type="void">
</return>
@ -227,19 +157,7 @@
<description>
</description>
</method>
<method name="create_colliders">
<return type="void">
</return>
<description>
</description>
</method>
<method name="create_debug_immediate_geometry">
<return type="void">
</return>
<description>
</description>
</method>
<method name="create_mesher">
<method name="create_meshers">
<return type="void">
</return>
<description>
@ -269,40 +187,6 @@
<description>
</description>
</method>
<method name="draw_cross_voxels">
<return type="void">
</return>
<argument index="0" name="pos" type="Vector3">
</argument>
<description>
</description>
</method>
<method name="draw_cross_voxels_fill">
<return type="void">
</return>
<argument index="0" name="pos" type="Vector3">
</argument>
<argument index="1" name="fill" type="float">
</argument>
<description>
</description>
</method>
<method name="draw_debug_voxel_lights">
<return type="void">
</return>
<description>
</description>
</method>
<method name="draw_debug_voxels">
<return type="void">
</return>
<argument index="0" name="pos" type="int">
</argument>
<argument index="1" name="color" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
<description>
</description>
</method>
<method name="fill_channel">
<return type="void">
</return>
@ -313,81 +197,17 @@
<description>
</description>
</method>
<method name="finalize_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_chunk">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_clutter_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_debug_immediate_geometry">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_liquid_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_main_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_prop_colliders">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_prop_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_spawn_props">
<return type="void">
</return>
<description>
</description>
</method>
<method name="generate_ao">
<return type="void">
</return>
<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">
<method name="get_channel_array" qualifiers="const">
<return type="PoolByteArray">
</return>
<argument index="0" name="channel_index" type="int">
</argument>
<description>
</description>
</method>
@ -415,42 +235,20 @@
<description>
</description>
</method>
<method name="get_liquid_mesh_instance_rid">
<return type="RID">
<method name="get_mesher" qualifiers="const">
<return type="VoxelMesher">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="get_liquid_mesh_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_margin_end" qualifiers="const">
<method name="get_mesher_count">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_margin_start" qualifiers="const">
<return type="int">
</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>
<description>
</description>
</method>
<method name="get_position" qualifiers="const">
<return type="Vector3">
</return>
@ -465,48 +263,12 @@
<description>
</description>
</method>
<method name="get_prop_body_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_prop_count">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_prop_mesh_instance_rid">
<return type="RID">
</return>
<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">
</return>
<description>
</description>
</method>
<method name="get_size" qualifiers="const">
<return type="Vector3">
</return>
<description>
</description>
</method>
<method name="get_voxel" qualifiers="const">
<return type="int">
</return>
@ -521,21 +283,11 @@
<description>
</description>
</method>
<method name="next_phase">
<return type="void">
</return>
<description>
</description>
</method>
<method name="process_props">
<return type="void">
</return>
<description>
</description>
</method>
<method name="remove_colliders">
<method name="remove_mesher">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
@ -555,10 +307,22 @@
<description>
</description>
</method>
<method name="set_channel_count">
<method name="set_channel_array">
<return type="void">
</return>
<argument index="0" name="count" type="int">
<argument index="0" name="channel_index" type="int">
</argument>
<argument index="1" name="array" type="PoolByteArray">
</argument>
<description>
</description>
</method>
<method name="set_mesher">
<return type="void">
</return>
<argument index="0" name="index" type="int">
</argument>
<argument index="1" name="mesher" type="VoxelMesher">
</argument>
<description>
</description>
@ -627,29 +391,23 @@
</method>
</methods>
<members>
<member name="current_build_phase" type="int" setter="set_current_build_phase" getter="get_current_build_phase" default="0">
<member name="channel_count" type="int" setter="set_channel_count" getter="get_channel_count" default="0">
</member>
<member name="data_size_x" type="int" setter="" getter="get_data_size_x" default="0">
<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="" getter="get_data_size_y" default="0">
<member name="data_size_y" type="int" setter="set_data_size_y" getter="get_data_size_y" default="0">
</member>
<member name="data_size_z" type="int" setter="" getter="get_data_size_z" default="0">
<member name="data_size_z" type="int" setter="set_data_size_z" getter="get_data_size_z" default="0">
</member>
<member name="dirty" type="bool" setter="set_dirty" getter="get_dirty" default="false">
</member>
<member name="is_build_threaded" type="bool" setter="set_is_build_threaded" getter="get_is_build_threaded" default="false">
</member>
<member name="is_generating" type="bool" setter="set_is_generating" getter="get_is_generating" default="false">
</member>
<member name="library" type="VoxelmanLibrary" setter="set_library" getter="get_library">
</member>
<member name="lod_size" type="int" setter="set_lod_size" getter="get_lod_size" default="1">
<member name="margin_end" type="int" setter="set_margin_end" getter="get_margin_end" default="0">
</member>
<member name="mesher" type="VoxelMesher" setter="set_mesher" getter="get_mesher">
</member>
<member name="meshing_bake_lights" type="bool" setter="meshing_set_bake_lights" getter="meshing_get_bake_lights" default="true">
</member>
<member name="meshing_create_collider" type="bool" setter="meshing_set_create_collider" getter="meshing_get_create_collider" default="true">
<member name="margin_start" type="int" setter="set_margin_start" getter="get_margin_start" default="0">
</member>
<member name="position_x" type="int" setter="set_position_x" getter="get_position_x" default="0">
</member>
@ -657,11 +415,11 @@
</member>
<member name="position_z" type="int" setter="set_position_z" getter="get_position_z" default="0">
</member>
<member name="size_x" type="int" setter="" getter="get_size_x" default="0">
<member name="size_x" type="int" setter="set_size_x" getter="get_size_x" default="0">
</member>
<member name="size_y" type="int" setter="" getter="get_size_y" default="0">
<member name="size_y" type="int" setter="set_size_y" getter="get_size_y" default="0">
</member>
<member name="size_z" type="int" setter="" getter="get_size_z" default="0">
<member name="size_z" type="int" setter="set_size_z" getter="get_size_z" default="0">
</member>
<member name="state" type="int" setter="set_state" getter="get_state" default="0">
</member>
@ -679,59 +437,5 @@
</signal>
</signals>
<constants>
<constant name="BUILD_PHASE_DONE" value="0">
</constant>
<constant name="BUILD_PHASE_SETUP" value="1">
</constant>
<constant name="BUILD_PHASE_TERRARIN_MESH_SETUP" value="2">
</constant>
<constant name="BUILD_PHASE_TERRARIN_MESH_COLLIDER" value="3">
</constant>
<constant name="BUILD_PHASE_LIGHTS" value="4">
</constant>
<constant name="BUILD_PHASE_TERRARIN_MESH" value="5">
</constant>
<constant name="BUILD_PHASE_PROP_MESH" value="6">
</constant>
<constant name="BUILD_PHASE_PROP_COLLIDER" value="7">
</constant>
<constant name="BUILD_PHASE_FINALIZE" value="10">
</constant>
<constant name="BUILD_PHASE_MAX" value="11">
</constant>
<constant name="VOXEL_CHUNK_STATE_OK" value="0">
</constant>
<constant name="VOXEL_CHUNK_STATE_GENERATION_QUEUED" value="1">
</constant>
<constant name="VOXEL_CHUNK_STATE_GENERATION" value="2">
</constant>
<constant name="VOXEL_CHUNK_STATE_MESH_GENERATION_QUEUED" value="3">
</constant>
<constant name="VOXEL_CHUNK_STATE_MESH_GENERATION" value="4">
</constant>
<constant name="VOXEL_CHUNK_STATE_MAX" value="5">
</constant>
<constant name="DEFAULT_CHANNEL_TYPE" value="0" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_ISOLEVEL" value="1" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIGHT_COLOR_R" value="2" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIGHT_COLOR_G" value="3" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIGHT_COLOR_B" value="4" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_AO" value="5" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_RANDOM_AO" value="6" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIQUID_TYPES" value="7" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIQUID_FILL" value="8" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIQUID_FLOW" value="9" enum="DefaultChannels">
</constant>
<constant name="MAX_DEFAULT_CHANNELS" value="10" enum="DefaultChannels">
</constant>
</constants>
</class>

View File

@ -0,0 +1,363 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelChunkDefault" inherits="VoxelChunk" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="_build_phase" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="phase" type="int">
</argument>
<description>
</description>
</method>
<method name="_build_phase_physics_process" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="phase" type="int">
</argument>
<description>
</description>
</method>
<method name="_build_phase_process" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="phase" type="int">
</argument>
<description>
</description>
</method>
<method name="_draw_debug_voxel_lights" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="debug_drawer" type="ImmediateGeometry">
</argument>
<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>
<description>
</description>
</method>
<method name="build_phase">
<return type="void">
</return>
<description>
</description>
</method>
<method name="build_phase_physics_process">
<return type="void">
</return>
<description>
</description>
</method>
<method name="build_phase_process">
<return type="void">
</return>
<description>
</description>
</method>
<method name="build_prioritized">
<return type="void">
</return>
<description>
</description>
</method>
<method name="create_colliders">
<return type="void">
</return>
<description>
</description>
</method>
<method name="create_debug_immediate_geometry">
<return type="void">
</return>
<description>
</description>
</method>
<method name="draw_cross_voxels">
<return type="void">
</return>
<argument index="0" name="max" type="Vector3">
</argument>
<description>
</description>
</method>
<method name="draw_cross_voxels_fill">
<return type="void">
</return>
<argument index="0" name="max" type="Vector3">
</argument>
<argument index="1" name="fill" type="float">
</argument>
<description>
</description>
</method>
<method name="draw_debug_voxel_lights">
<return type="void">
</return>
<description>
</description>
</method>
<method name="draw_debug_voxels">
<return type="void">
</return>
<argument index="0" name="max" type="int">
</argument>
<argument index="1" name="color" type="Color" default="Color( 1, 1, 1, 1 )">
</argument>
<description>
</description>
</method>
<method name="free_chunk">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_clutter_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_debug_immediate_geometry">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_liquid_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_main_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_prop_colliders">
<return type="void">
</return>
<description>
</description>
</method>
<method name="free_prop_mesh">
<return type="void">
</return>
<description>
</description>
</method>
<method name="generate_ao">
<return type="void">
</return>
<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>
<description>
</description>
</method>
<method name="get_prop_body_rid">
<return type="RID">
</return>
<description>
</description>
</method>
<method name="get_prop_mesh_instance_rid">
<return type="RID">
</return>
<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">
</return>
<description>
</description>
</method>
<method name="has_next_phase">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="next_phase">
<return type="void">
</return>
<description>
</description>
</method>
<method name="remove_colliders">
<return type="void">
</return>
<description>
</description>
</method>
</methods>
<members>
<member name="active_build_phase_type" type="int" setter="set_active_build_phase_type" getter="get_active_build_phase_type" enum="VoxelChunkDefault.ActiveBuildPhaseType" default="0">
</member>
<member name="current_build_phase" type="int" setter="set_current_build_phase" getter="get_current_build_phase" default="0">
</member>
<member name="is_build_threaded" type="bool" setter="set_is_build_threaded" getter="get_is_build_threaded" default="false">
</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">
</member>
<member name="meshing_bake_lights" type="bool" setter="meshing_set_bake_lights" getter="meshing_get_bake_lights" default="true">
</member>
<member name="meshing_create_collider" type="bool" setter="meshing_set_create_collider" getter="meshing_get_create_collider" default="true">
</member>
</members>
<constants>
<constant name="BUILD_PHASE_DONE" value="0">
</constant>
<constant name="BUILD_PHASE_SETUP" value="1">
</constant>
<constant name="BUILD_PHASE_TERRARIN_MESH_SETUP" value="2">
</constant>
<constant name="BUILD_PHASE_TERRARIN_MESH_COLLIDER" value="3">
</constant>
<constant name="BUILD_PHASE_TERRARIN_MESH" value="5">
</constant>
<constant name="BUILD_PHASE_LIGHTS" value="4">
</constant>
<constant name="BUILD_PHASE_PROP_MESH" value="6">
</constant>
<constant name="BUILD_PHASE_PROP_COLLIDER" value="7">
</constant>
<constant name="BUILD_PHASE_FINALIZE" value="8">
</constant>
<constant name="BUILD_PHASE_MAX" value="9">
</constant>
<constant name="VOXEL_CHUNK_STATE_GENERATION_QUEUED" value="1">
</constant>
<constant name="VOXEL_CHUNK_STATE_GENERATION" value="2">
</constant>
<constant name="VOXEL_CHUNK_STATE_MESH_GENERATION_QUEUED" value="3">
</constant>
<constant name="VOXEL_CHUNK_STATE_MESH_GENERATION" value="4">
</constant>
<constant name="VOXEL_CHUNK_STATE_MAX" value="5">
</constant>
<constant name="DEFAULT_CHANNEL_TYPE" value="0" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_ISOLEVEL" value="1" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIGHT_COLOR_R" value="2" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIGHT_COLOR_G" value="3" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIGHT_COLOR_B" value="4" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_AO" value="5" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_RANDOM_AO" value="6" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIQUID_TYPES" value="7" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIQUID_FILL" value="8" enum="DefaultChannels">
</constant>
<constant name="DEFAULT_CHANNEL_LIQUID_FLOW" value="9" enum="DefaultChannels">
</constant>
<constant name="MAX_DEFAULT_CHANNELS" value="10" enum="DefaultChannels">
</constant>
<constant name="BUILD_PHASE_TYPE_NORMAL" value="0" enum="ActiveBuildPhaseType">
</constant>
<constant name="BUILD_PHASE_TYPE_PROCESS" value="1" enum="ActiveBuildPhaseType">
</constant>
<constant name="BUILD_PHASE_TYPE_PHYSICS_PROCESS" value="2" enum="ActiveBuildPhaseType">
</constant>
</constants>
</class>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelChunkPropData" inherits="Reference" category="Core" version="3.2">
<class name="VoxelChunkPropData" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelCubePoints" inherits="Reference" category="Core" version="3.2">
<class name="VoxelCubePoints" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelLight" inherits="Reference" category="Core" version="3.2">
<class name="VoxelLight" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelMesher" inherits="Reference" category="Core" version="3.2">
<class name="VoxelMesher" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>
@ -23,6 +23,14 @@
<description>
</description>
</method>
<method name="_add_mesher" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="mesher" type="VoxelMesher">
</argument>
<description>
</description>
</method>
<method name="_bake_colors" qualifiers="virtual">
<return type="void">
</return>
@ -99,6 +107,14 @@
<description>
</description>
</method>
<method name="add_mesher">
<return type="void">
</return>
<argument index="0" name="mesher" type="VoxelMesher">
</argument>
<description>
</description>
</method>
<method name="add_normal">
<return type="void">
</return>
@ -110,7 +126,15 @@
<method name="add_uv">
<return type="void">
</return>
<argument index="0" name="vertex" type="Vector2">
<argument index="0" name="uv" type="Vector2">
</argument>
<description>
</description>
</method>
<method name="add_uv2">
<return type="void">
</return>
<argument index="0" name="uv" type="Vector2">
</argument>
<description>
</description>
@ -139,7 +163,19 @@
<description>
</description>
</method>
<method name="build_collider" qualifiers="const">
<return type="PoolVector3Array">
</return>
<description>
</description>
</method>
<method name="build_mesh">
<return type="Array">
</return>
<description>
</description>
</method>
<method name="build_mesh_into">
<return type="void">
</return>
<argument index="0" name="mesh_rid" type="RID">
@ -147,7 +183,15 @@
<description>
</description>
</method>
<method name="get_color">
<method name="generate_normals">
<return type="void">
</return>
<argument index="0" name="flip" type="bool" default="false">
</argument>
<description>
</description>
</method>
<method name="get_color" qualifiers="const">
<return type="Color">
</return>
<argument index="0" name="idx" type="int">
@ -155,13 +199,13 @@
<description>
</description>
</method>
<method name="get_color_count">
<return type="int">
<method name="get_colors" qualifiers="const">
<return type="PoolColorArray">
</return>
<description>
</description>
</method>
<method name="get_indice">
<method name="get_index" qualifiers="const">
<return type="int">
</return>
<argument index="0" name="idx" type="int">
@ -169,13 +213,19 @@
<description>
</description>
</method>
<method name="get_indices_count">
<method name="get_indices" qualifiers="const">
<return type="PoolIntArray">
</return>
<description>
</description>
</method>
<method name="get_indices_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_normal">
<method name="get_normal" qualifiers="const">
<return type="Vector3">
</return>
<argument index="0" name="idx" type="int">
@ -183,13 +233,13 @@
<description>
</description>
</method>
<method name="get_normal_count">
<return type="int">
<method name="get_normals" qualifiers="const">
<return type="PoolVector3Array">
</return>
<description>
</description>
</method>
<method name="get_uv">
<method name="get_uv" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="idx" type="int">
@ -197,13 +247,27 @@
<description>
</description>
</method>
<method name="get_uv_count">
<return type="int">
<method name="get_uv2" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="get_uv2s" qualifiers="const">
<return type="PoolVector2Array">
</return>
<description>
</description>
</method>
<method name="get_vertex">
<method name="get_uvs" qualifiers="const">
<return type="PoolVector2Array">
</return>
<description>
</description>
</method>
<method name="get_vertex" qualifiers="const">
<return type="Vector3">
</return>
<argument index="0" name="idx" type="int">
@ -211,37 +275,31 @@
<description>
</description>
</method>
<method name="get_vertex_count">
<method name="get_vertex_count" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="remove_color">
<return type="void">
<method name="get_vertices" qualifiers="const">
<return type="PoolVector3Array">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_indices">
<method name="remove_doubles">
<return type="void">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_normal">
<method name="remove_doubles_hashed">
<return type="void">
</return>
<argument index="0" name="idx" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_uv">
<method name="remove_index">
<return type="void">
</return>
<argument index="0" name="idx" type="int">
@ -263,18 +321,70 @@
<description>
</description>
</method>
<method name="set_colors">
<return type="void">
</return>
<argument index="0" name="values" type="PoolColorArray">
</argument>
<description>
</description>
</method>
<method name="set_indices">
<return type="void">
</return>
<argument index="0" name="values" type="PoolIntArray">
</argument>
<description>
</description>
</method>
<method name="set_normals">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector3Array">
</argument>
<description>
</description>
</method>
<method name="set_uv2s">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
<method name="set_uvs">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector2Array">
</argument>
<description>
</description>
</method>
<method name="set_vertices">
<return type="void">
</return>
<argument index="0" name="values" type="PoolVector3Array">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="ao_strength" type="float" setter="set_ao_strength" getter="get_ao_strength" default="0.25">
</member>
<member name="base_light_value" type="float" setter="set_base_light_value" getter="get_base_light_value" default="0.5">
</member>
<member name="format" type="int" setter="set_format" getter="get_format" default="0">
</member>
<member name="library" type="VoxelmanLibrary" setter="set_library" getter="get_library">
</member>
<member name="lod_size" type="int" setter="set_lod_size" getter="get_lod_size" default="1">
</member>
<member name="material" type="Material" setter="set_material" getter="get_material">
</member>
<member name="mesher_index" type="int" setter="set_mesher_index" getter="get_mesher_index" default="0">
</member>
<member name="uv_margin" type="Rect2" setter="set_uv_margin" getter="get_uv_margin" default="Rect2( 0, 0, 1, 1 )">
</member>
<member name="voxel_scale" type="float" setter="set_voxel_scale" getter="get_voxel_scale" default="1.0">

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelMesherCubic" inherits="VoxelMesher" category="Core" version="3.2">
<class name="VoxelMesherCubic" inherits="VoxelMesher" version="3.2">
<brief_description>
</brief_description>
<description>
@ -8,6 +8,9 @@
</tutorials>
<methods>
</methods>
<members>
<member name="format" type="int" setter="set_format" getter="get_format" override="true" default="26" />
</members>
<constants>
</constants>
</class>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelMesherTransvoxel" inherits="VoxelMesher" category="Core" version="3.2">
<class name="VoxelMesherTransvoxel" inherits="VoxelMesher" version="3.2">
<brief_description>
</brief_description>
<description>
@ -176,6 +176,11 @@
</description>
</method>
</methods>
<members>
<member name="format" type="int" setter="set_format" getter="get_format" override="true" default="58" />
<member name="texture_scale" type="int" setter="set_texture_scale" getter="get_texture_scale" default="4">
</member>
</members>
<constants>
<constant name="VOXEL_ENTRY_INDEX_000" value="0" enum="VoxelEntryIndices">
</constant>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelStructure" inherits="Reference" category="Core" version="3.2">
<class name="VoxelStructure" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>
@ -7,105 +7,33 @@
<tutorials>
</tutorials>
<methods>
<method name="clear_chunks">
<method name="_write_to_chunk" qualifiers="virtual">
<return type="void">
</return>
<description>
</description>
</method>
<method name="get_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 index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</method>
<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_chunk_voxel_pos">
<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_voxel">
<return type="int">
</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="channel_index" type="int" default="0">
</argument>
<description>
</description>
</method>
<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="set_voxel">
<method name="write_to_chunk">
<return type="void">
</return>
<argument index="0" name="value" type="int">
</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>
<argument index="4" name="channel_index" type="int" default="0">
<argument index="0" name="chunk" type="Node">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="chunk_size_x" type="int" setter="set_chunk_size_x" getter="get_chunk_size_x" default="183">
<member name="aabb" type="AABB" setter="set_aabb" getter="get_aabb" default="AABB( 0, 0, 0, 0, 0, 0 )">
</member>
<member name="chunk_size_y" type="int" setter="set_chunk_size_y" getter="get_chunk_size_y" default="0">
<member name="use_aabb" type="bool" setter="set_use_aabb" getter="get_use_aabb" default="true">
</member>
<member name="chunk_size_z" type="int" setter="set_chunk_size_z" getter="get_chunk_size_z" default="17236224">
<member name="world_position_x" type="int" setter="set_world_position_x" getter="get_world_position_x" default="0">
</member>
<member name="world_position_x" type="int" setter="set_world_position_x" getter="get_world_position_x" default="50464514">
<member name="world_position_y" type="int" setter="set_world_position_y" getter="get_world_position_y" default="0">
</member>
<member name="world_position_y" type="int" setter="set_world_position_y" getter="get_world_position_y" default="117834503">
</member>
<member name="world_position_z" type="int" setter="set_world_position_z" getter="get_world_position_z" default="67503107">
<member name="world_position_z" type="int" setter="set_world_position_z" getter="get_world_position_z" default="0">
</member>
</members>
<constants>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelSurface" inherits="Resource" category="Core" version="3.2">
<class name="VoxelSurface" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
@ -41,12 +41,30 @@
<description>
</description>
</method>
<method name="transform_uv_scaled" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="side" type="int" enum="VoxelSurface.VoxelSurfaceSides">
</argument>
<argument index="1" name="uv" type="Vector2">
</argument>
<argument index="2" name="p_current_x" type="int">
</argument>
<argument index="3" name="p_current_y" type="int">
</argument>
<argument index="4" name="max" type="int">
</argument>
<description>
</description>
</method>
</methods>
<members>
<member name="clutter" type="GroundClutter" setter="set_clutter" getter="get_clutter">
</member>
<member name="id" type="int" setter="set_id" getter="get_id" default="0">
</member>
<member name="mesher_index" type="int" setter="set_mesher_index" getter="get_mesher_index" default="0">
</member>
<member name="transparent" type="bool" setter="set_transparent" getter="is_transparent" default="false">
</member>
<member name="voxel_name" type="String" setter="set_name" getter="get_name" default="&quot;&quot;">

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelSurfaceMerger" inherits="VoxelSurface" category="Core" version="3.2">
<class name="VoxelSurfaceMerger" inherits="VoxelSurface" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelSurfaceSimple" inherits="VoxelSurface" category="Core" version="3.2">
<class name="VoxelSurfaceSimple" inherits="VoxelSurface" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelWorld" inherits="Navigation" category="Core" version="3.2">
<class name="VoxelWorld" inherits="Navigation" version="3.2">
<brief_description>
</brief_description>
<description>
@ -81,6 +81,12 @@
<description>
</description>
</method>
<method name="can_chunk_do_build_step">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="clear">
<return type="void">
</return>
@ -105,7 +111,7 @@
<description>
</description>
</method>
<method name="get_chunk" qualifiers="const">
<method name="get_chunk">
<return type="VoxelChunk">
</return>
<argument index="0" name="x" type="int">
@ -173,6 +179,34 @@
<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>
<argument index="0" name="chunk" type="Node">
</argument>
<description>
</description>
</method>
<method name="remove_chunk">
<return type="VoxelChunk">
</return>
@ -185,6 +219,14 @@
<description>
</description>
</method>
<method name="remove_chunk_index">
<return type="VoxelChunk">
</return>
<argument index="0" name="index" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_generation_index">
<return type="void">
</return>
@ -221,12 +263,18 @@
</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="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>
<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;)">
@ -237,6 +285,12 @@
</member>
</members>
<signals>
<signal name="chunk_mesh_generation_finished">
<argument index="0" name="chunk" type="VoxelChunk">
</argument>
<description>
</description>
</signal>
<signal name="generation_finished">
<description>
</description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelmanLevelGenerator" inherits="Resource" category="Core" version="3.2">
<class name="VoxelmanLevelGenerator" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelmanLibrary" inherits="Resource" category="Core" version="3.2">
<class name="VoxelmanLibrary" inherits="Resource" version="3.2">
<brief_description>
</brief_description>
<description>
@ -17,25 +17,49 @@
<description>
</description>
</method>
<method name="add_liquid_surface">
<return type="void">
</return>
<argument index="0" name="value" type="VoxelSurface">
</argument>
<description>
</description>
</method>
<method name="add_prop">
<return type="void">
</return>
<argument index="0" name="value" type="PropData">
</argument>
<description>
</description>
</method>
<method name="add_voxel_surface">
<return type="void">
</return>
<argument index="0" name="value" type="VoxelSurface">
</argument>
<description>
</description>
</method>
<method name="clear_liquid_surfaces">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_props">
<return type="void">
</return>
<description>
</description>
</method>
<method name="clear_surfaces">
<return type="void">
</return>
<description>
</description>
</method>
<method name="get_liquid_num_surfaces">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_liquid_voxel_surface" qualifiers="const">
<method name="get_liquid_surface">
<return type="VoxelSurface">
</return>
<argument index="0" name="index" type="int">
@ -43,13 +67,33 @@
<description>
</description>
</method>
<method name="get_num_surfaces">
<method name="get_num_liquid_surfaces" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_voxel_surface" qualifiers="const">
<method name="get_num_props" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_num_surfaces" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_prop">
<return type="PropData">
</return>
<argument index="0" name="id" type="int">
</argument>
<description>
</description>
</method>
<method name="get_voxel_surface">
<return type="VoxelSurface">
</return>
<argument index="0" name="index" type="int">
@ -71,6 +115,14 @@
<description>
</description>
</method>
<method name="remove_prop">
<return type="void">
</return>
<argument index="0" name="id" type="int">
</argument>
<description>
</description>
</method>
<method name="remove_surface">
<return type="void">
</return>
@ -79,7 +131,7 @@
<description>
</description>
</method>
<method name="set_liquid_voxel_surface">
<method name="set_liquid_surface">
<return type="void">
</return>
<argument index="0" name="index" type="int">
@ -89,6 +141,16 @@
<description>
</description>
</method>
<method name="set_prop">
<return type="void">
</return>
<argument index="0" name="id" type="int">
</argument>
<argument index="1" name="surface" type="PropData">
</argument>
<description>
</description>
</method>
<method name="set_voxel_surface">
<return type="void">
</return>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelmanLibraryMerger" inherits="VoxelmanLibrary" category="Core" version="3.2">
<class name="VoxelmanLibraryMerger" inherits="VoxelmanLibrary" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelmanLibrarySimple" inherits="VoxelmanLibrary" category="Core" version="3.2">
<class name="VoxelmanLibrarySimple" inherits="VoxelmanLibrary" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelmanQueue" inherits="Reference" category="Core" version="3.2">
<class name="VoxelmanQueue" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelmanUnboundedQueue" inherits="Reference" category="Core" version="3.2">
<class name="VoxelmanUnboundedQueue" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="WorldArea" inherits="Reference" category="Core" version="3.2">
<class name="WorldArea" inherits="Reference" version="3.2">
<brief_description>
</brief_description>
<description>