mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-20 10:47:19 +01:00
Added missing classes to config.py, and sync classref with the current source.
This commit is contained in:
parent
4a2321b161
commit
23c4321d71
@ -28,7 +28,7 @@ def get_doc_classes():
|
||||
"VoxelMesherCubic",
|
||||
"TransvoxelCellData",
|
||||
"VoxelMeshData",
|
||||
"VoxelMesherTransvoxel",
|
||||
"VoxelMesherUVTransvoxel",
|
||||
"VoxelMesher",
|
||||
|
||||
"EnvironmentData",
|
||||
@ -42,6 +42,10 @@ def get_doc_classes():
|
||||
"VoxelMesherBlocky",
|
||||
"VoxelWorldBlocky",
|
||||
"VoxelChunkBlocky",
|
||||
|
||||
"VoxelMesherDefault",
|
||||
"VoxelWorldDefault",
|
||||
"VoxelChunkBlocky",
|
||||
]
|
||||
|
||||
def get_doc_path():
|
||||
|
@ -7,22 +7,26 @@
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="_add_light" qualifiers="virtual">
|
||||
<method name="_bake_light" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<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 index="0" name="light" type="VoxelLight">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_bake_lights" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_clear_baked_lights" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_create_meshers" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -79,44 +83,28 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_world_light_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="light" type="VoxelLight">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_world_light_removed" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="light" type="VoxelLight">
|
||||
</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>
|
||||
<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="add_lights">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="lights" type="Array">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_lights_into">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="lights" type="Array">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_mesher">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -133,30 +121,6 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_prop_light">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="light" type="VoxelLight">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_unique_lights_into">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="lights" type="Array">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="add_voxel_light">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="light" type="VoxelLight">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="allocate_channel">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -205,34 +169,12 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_voxel_lights">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="create_meshers">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="create_voxel_light">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="color" type="Color">
|
||||
</argument>
|
||||
<argument index="1" name="size" type="int">
|
||||
</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="dealloc_channel">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -241,6 +183,18 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="enter_tree">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="exit_tree">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="fill_channel">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -251,12 +205,6 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="free_spawn_props">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_channel_array" qualifiers="const">
|
||||
<return type="PoolByteArray">
|
||||
</return>
|
||||
@ -303,12 +251,6 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_lights">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_mesher" qualifiers="const">
|
||||
<return type="VoxelMesher">
|
||||
</return>
|
||||
@ -317,7 +259,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_mesher_count">
|
||||
<method name="get_mesher_count" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
@ -349,7 +291,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_prop_count">
|
||||
<method name="get_prop_count" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
@ -377,6 +319,22 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="physics_process">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="delta" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="process">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="delta" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_mesher">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -393,14 +351,6 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_voxel_light">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="light" type="VoxelLight">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_channel_array">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -517,6 +467,28 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="world_light_added">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="light" type="VoxelLight">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="world_light_removed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="light" type="VoxelLight">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="world_transform_changed">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="channel_count" type="int" setter="set_channel_count" getter="get_channel_count" default="0">
|
||||
@ -529,6 +501,8 @@
|
||||
</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">
|
||||
|
@ -39,12 +39,6 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="build_deferred">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="build_phase">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -63,12 +57,6 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="build_prioritized">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear_mesh_rids">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -215,6 +203,20 @@
|
||||
<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_mesh_rid">
|
||||
<return type="RID">
|
||||
</return>
|
||||
@ -341,7 +343,7 @@
|
||||
</member>
|
||||
<member name="current_lod_level" type="int" setter="set_current_lod_level" getter="get_current_lod_level" default="0">
|
||||
</member>
|
||||
<member name="is_build_threaded" type="bool" setter="set_is_build_threaded" getter="get_is_build_threaded" default="false">
|
||||
<member name="lights_dirty" type="bool" setter="set_lights_dirty" getter="get_lights_dirty" default="false">
|
||||
</member>
|
||||
<member name="lod_num" type="int" setter="set_lod_num" getter="get_lod_num" default="3">
|
||||
</member>
|
||||
|
@ -37,6 +37,8 @@
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="owner" type="VoxelChunk" setter="set_owner" getter="get_owner">
|
||||
</member>
|
||||
<member name="scene" type="PackedScene" setter="set_scene" getter="get_scene">
|
||||
</member>
|
||||
<member name="scene_id" type="int" setter="set_scene_id" getter="get_scene_id" default="0">
|
||||
|
18
doc_classes/VoxelMesherDefault.xml
Normal file
18
doc_classes/VoxelMesherDefault.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VoxelMesherDefault" inherits="VoxelMesher" version="3.2">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="build_flags" type="int" setter="set_build_flags" getter="get_build_flags" default="384">
|
||||
</member>
|
||||
<member name="format" type="int" setter="set_format" getter="get_format" override="true" default="18" />
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
220
doc_classes/VoxelMesherUVTransvoxel.xml
Normal file
220
doc_classes/VoxelMesherUVTransvoxel.xml
Normal file
@ -0,0 +1,220 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VoxelMesherUVTransvoxel" inherits="VoxelMesherDefault" version="3.2">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="corner_id_to_vertex" qualifiers="const">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_regular_cell_class" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_regular_cell_data" qualifiers="const">
|
||||
<return type="TransvoxelCellData">
|
||||
</return>
|
||||
<argument index="0" name="index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_regular_vertex_data" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_regular_vertex_data_first_vertex" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_regular_vertex_data_second_vertex" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_regular_vertex_direction" qualifiers="const">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_regular_vertex_first_position" qualifiers="const">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_regular_vertex_second_position" qualifiers="const">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_cell_class" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_cell_data" qualifiers="const">
|
||||
<return type="TransvoxelCellData">
|
||||
</return>
|
||||
<argument index="0" name="index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_corner_data" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_vertex_data" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_vertex_data_first_vertex" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_vertex_data_second_vertex" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_vertex_direction" qualifiers="const">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_vertex_first_position" qualifiers="const">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_transition_vertex_second_position" qualifiers="const">
|
||||
<return type="Vector3">
|
||||
</return>
|
||||
<argument index="0" name="index1" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="index2" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</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>
|
||||
<constant name="VOXEL_ENTRY_INDEX_100" value="1" enum="VoxelEntryIndices">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_INDEX_010" value="4" enum="VoxelEntryIndices">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_INDEX_110" value="5" enum="VoxelEntryIndices">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_INDEX_001" value="2" enum="VoxelEntryIndices">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_INDEX_101" value="3" enum="VoxelEntryIndices">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_INDEX_011" value="6" enum="VoxelEntryIndices">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_INDEX_111" value="7" enum="VoxelEntryIndices">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRIES_SIZE" value="8" enum="VoxelEntryIndices">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_MASK_000" value="1" enum="VoxelEntryMask">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_MASK_100" value="2" enum="VoxelEntryMask">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_MASK_010" value="16" enum="VoxelEntryMask">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_MASK_110" value="32" enum="VoxelEntryMask">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_MASK_001" value="4" enum="VoxelEntryMask">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_MASK_101" value="8" enum="VoxelEntryMask">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_MASK_011" value="64" enum="VoxelEntryMask">
|
||||
</constant>
|
||||
<constant name="VOXEL_ENTRY_MASK_111" value="128" enum="VoxelEntryMask">
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VoxelStructure" inherits="Reference" version="3.2">
|
||||
<class name="VoxelStructure" inherits="Resource" version="3.2">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
@ -15,26 +15,38 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_position">
|
||||
<return type="void">
|
||||
</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="write_to_chunk">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="chunk" type="Node">
|
||||
<argument index="0" name="chunk" type="VoxelChunk">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="aabb" type="AABB" setter="set_aabb" getter="get_aabb" default="AABB( 0, 0, 0, 0, 0, 0 )">
|
||||
<member name="chunk_aabb" type="AABB" setter="set_chunk_aabb" getter="get_chunk_aabb" default="AABB( 0, 0, 0, 0, 0, 0 )">
|
||||
</member>
|
||||
<member name="position_x" type="int" setter="set_position_x" getter="get_position_x" default="0">
|
||||
</member>
|
||||
<member name="position_y" type="int" setter="set_position_y" getter="get_position_y" default="0">
|
||||
</member>
|
||||
<member name="position_z" type="int" setter="set_position_z" getter="get_position_z" default="0">
|
||||
</member>
|
||||
<member name="use_aabb" type="bool" setter="set_use_aabb" getter="get_use_aabb" default="true">
|
||||
</member>
|
||||
<member name="world_position_x" type="int" setter="set_world_position_x" getter="get_world_position_x" default="0">
|
||||
</member>
|
||||
<member name="world_position_y" type="int" setter="set_world_position_y" getter="get_world_position_y" default="0">
|
||||
</member>
|
||||
<member name="world_position_z" type="int" setter="set_world_position_z" getter="get_world_position_z" default="0">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
|
@ -7,6 +7,14 @@
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="_add_prop" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="prop" type="VoxelChunkPropData">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_chunk_added" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -43,6 +51,14 @@
|
||||
<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>
|
||||
<method name="_prepare_chunk_for_generation" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -65,6 +81,22 @@
|
||||
<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>
|
||||
<method name="add_to_generation">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -81,6 +113,24 @@
|
||||
<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>
|
||||
<method name="add_world_area">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -95,7 +145,19 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear">
|
||||
<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">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
@ -119,6 +181,14 @@
|
||||
<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">
|
||||
<return type="VoxelChunk">
|
||||
</return>
|
||||
@ -131,6 +201,14 @@
|
||||
<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>
|
||||
<method name="get_chunk_count" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
@ -161,18 +239,38 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_generation_queue_size">
|
||||
<method name="get_generation_queue_size" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_generation_size">
|
||||
<method name="get_generation_size" qualifiers="const">
|
||||
<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>
|
||||
<method name="get_or_create_chunk">
|
||||
<return type="VoxelChunk">
|
||||
</return>
|
||||
@ -185,6 +283,38 @@
|
||||
<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>
|
||||
<method name="get_world_area" qualifiers="const">
|
||||
<return type="WorldArea">
|
||||
</return>
|
||||
@ -263,6 +393,30 @@
|
||||
<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>
|
||||
<method name="remove_world_area">
|
||||
<return type="void">
|
||||
</return>
|
||||
@ -271,6 +425,26 @@
|
||||
<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>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="chunk_size_x" type="int" setter="set_chunk_size_x" getter="get_chunk_size_x" default="16">
|
||||
@ -307,6 +481,8 @@
|
||||
</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>
|
||||
</members>
|
||||
<signals>
|
||||
<signal name="chunk_mesh_generation_finished">
|
||||
@ -321,5 +497,13 @@
|
||||
</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>
|
||||
</constants>
|
||||
</class>
|
||||
|
33
doc_classes/VoxelWorldDefault.xml
Normal file
33
doc_classes/VoxelWorldDefault.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VoxelWorldDefault" inherits="VoxelWorld" version="3.2">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="_update_lods" qualifiers="virtual">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="update_lods">
|
||||
<return type="void">
|
||||
</return>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="build_flags" type="int" setter="set_build_flags" getter="get_build_flags" default="384">
|
||||
</member>
|
||||
<member name="data_margin_end" type="int" setter="set_data_margin_end" getter="get_data_margin_end" override="true" default="1" />
|
||||
<member name="data_margin_start" type="int" setter="set_data_margin_start" getter="get_data_margin_start" override="true" default="1" />
|
||||
<member name="lod_update_interval" type="float" setter="set_lod_update_interval" getter="get_lod_update_interval" default="0.5">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
19
doc_classes/VoxelmanLevelGeneratorFlat.xml
Normal file
19
doc_classes/VoxelmanLevelGeneratorFlat.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VoxelmanLevelGeneratorFlat" inherits="VoxelmanLevelGenerator" version="3.2">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="channel_map" type="Dictionary" setter="set_channel_map" getter="get_channel_map" default="{}">
|
||||
</member>
|
||||
<member name="floor_position" type="int" setter="set_floor_position" getter="get_floor_position" default="0">
|
||||
</member>
|
||||
</members>
|
||||
<constants>
|
||||
</constants>
|
||||
</class>
|
@ -265,6 +265,8 @@
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="initialized" type="bool" setter="set_initialized" getter="get_initialized">
|
||||
</member>
|
||||
<member name="liquid_materials" type="Array" setter="set_liquid_materials" getter="get_liquid_materials" default="[ ]">
|
||||
</member>
|
||||
<member name="materials" type="Array" setter="set_materials" getter="get_materials" default="[ ]">
|
||||
|
Loading…
Reference in New Issue
Block a user