2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="VoxelWorldDefault" inherits="VoxelWorld" version="3.5">
|
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="_update_lods" qualifiers="virtual">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_vertex_colors">
|
|
|
|
<return type="PoolColorArray" />
|
|
|
|
<argument index="0" name="transform" type="Transform" />
|
|
|
|
<argument index="1" name="vertices" type="PoolVector3Array" />
|
|
|
|
<argument index="2" name="base_light_value" type="float" default="0.45" />
|
|
|
|
<argument index="3" name="ao_strength" type="float" default="0.2" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="update_lods">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="build_flags" type="int" setter="set_build_flags" getter="get_build_flags" default="384">
|
|
|
|
</member>
|
2022-03-16 02:51:50 +01:00
|
|
|
<member name="chunk_lod_falloff" type="int" setter="set_chunk_lod_falloff" getter="get_chunk_lod_falloff" default="4">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
<member name="data_margin_end" type="int" setter="set_data_margin_end" getter="get_data_margin_end" overrides="VoxelWorld" default="1" />
|
|
|
|
<member name="data_margin_start" type="int" setter="set_data_margin_start" getter="get_data_margin_start" overrides="VoxelWorld" default="1" />
|
|
|
|
<member name="lod_update_interval" type="float" setter="set_lod_update_interval" getter="get_lod_update_interval" default="0.5">
|
|
|
|
</member>
|
2022-03-16 02:51:50 +01:00
|
|
|
<member name="num_lods" type="int" setter="set_num_lods" getter="get_num_lods" default="0">
|
|
|
|
</member>
|
|
|
|
<member name="use_default_lod_update" type="bool" setter="set_use_default_lod_update" getter="get_use_default_lod_update" default="true">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|