2022-02-22 10:33:06 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-22 11:42:28 +01:00
|
|
|
<class name="Terrain2DWorldDefault" inherits="Terrain2DWorld" version="3.5">
|
2022-02-22 10:33:06 +01:00
|
|
|
<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>
|
|
|
|
<member name="chunk_lod_falloff" type="int" setter="set_chunk_lod_falloff" getter="get_chunk_lod_falloff" default="2">
|
|
|
|
</member>
|
|
|
|
<member name="chunk_lod_first_falloff" type="int" setter="set_chunk_lod_first_falloff" getter="get_chunk_lod_first_falloff" default="2">
|
|
|
|
</member>
|
2022-02-22 11:42:28 +01:00
|
|
|
<member name="data_margin_end" type="int" setter="set_data_margin_end" getter="get_data_margin_end" overrides="Terrain2DWorld" default="1" />
|
|
|
|
<member name="data_margin_start" type="int" setter="set_data_margin_start" getter="get_data_margin_start" overrides="Terrain2DWorld" default="1" />
|
2022-02-22 10:33:06 +01:00
|
|
|
<member name="lod_update_interval" type="float" setter="set_lod_update_interval" getter="get_lod_update_interval" default="0.5">
|
|
|
|
</member>
|
|
|
|
<member name="num_lods" type="int" setter="set_num_lods" getter="get_num_lods" default="4">
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|