2019-08-25 18:54:57 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-08-10 13:15:37 -07:00
|
|
|
<class name="VoxelLodTerrain" inherits="Spatial" version="3.2">
|
2019-08-25 18:54:57 -07:00
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2020-02-12 08:48:18 -08:00
|
|
|
<method name="debug_get_block_info" qualifiers="const">
|
2019-08-25 18:54:57 -07:00
|
|
|
<return type="Dictionary">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="block_pos" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="lod" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2020-02-12 08:48:18 -08:00
|
|
|
<method name="debug_get_octrees" qualifiers="const">
|
|
|
|
<return type="Array">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="debug_print_sdf_top_down" qualifiers="const">
|
|
|
|
<return type="Array">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="center" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="extents" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="debug_raycast_block" qualifiers="const">
|
|
|
|
<return type="Array">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="origin" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="dir" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2019-08-25 18:54:57 -07:00
|
|
|
<method name="get_block_region_extent" qualifiers="const">
|
|
|
|
<return type="int">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2020-02-12 08:48:18 -08:00
|
|
|
<method name="get_block_size" qualifiers="const">
|
|
|
|
<return type="int">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2019-08-25 18:54:57 -07:00
|
|
|
<method name="get_statistics" qualifiers="const">
|
|
|
|
<return type="Dictionary">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2020-02-12 08:48:18 -08:00
|
|
|
<method name="get_voxel_tool">
|
|
|
|
<return type="VoxelTool">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2020-08-10 13:15:37 -07:00
|
|
|
<method name="save_modified_blocks">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2019-08-25 18:54:57 -07:00
|
|
|
<method name="voxel_to_block_position" qualifiers="const">
|
|
|
|
<return type="Vector3">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="lod_index" type="Vector3">
|
|
|
|
</argument>
|
|
|
|
<argument index="1" name="arg1" type="int">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="collision_lod_count" type="int" setter="set_collision_lod_count" getter="get_collision_lod_count" default="-1">
|
|
|
|
</member>
|
|
|
|
<member name="generate_collisions" type="bool" setter="set_generate_collisions" getter="get_generate_collisions" default="true">
|
|
|
|
</member>
|
2020-02-12 08:48:18 -08:00
|
|
|
<member name="lod_count" type="int" setter="set_lod_count" getter="get_lod_count" default="4">
|
2019-08-25 18:54:57 -07:00
|
|
|
</member>
|
|
|
|
<member name="lod_split_scale" type="float" setter="set_lod_split_scale" getter="get_lod_split_scale" default="3.0">
|
|
|
|
</member>
|
|
|
|
<member name="material" type="Material" setter="set_material" getter="get_material">
|
|
|
|
</member>
|
|
|
|
<member name="stream" type="VoxelStream" setter="set_stream" getter="get_stream">
|
|
|
|
</member>
|
2020-02-12 08:48:18 -08:00
|
|
|
<member name="view_distance" type="int" setter="set_view_distance" getter="get_view_distance" default="512">
|
2019-08-25 18:54:57 -07:00
|
|
|
</member>
|
|
|
|
<member name="viewer_path" type="NodePath" setter="set_viewer_path" getter="get_viewer_path" default="NodePath("")">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|