mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
45 lines
1.7 KiB
XML
45 lines
1.7 KiB
XML
<?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>
|
|
<member name="chunk_lod_falloff" type="int" setter="set_chunk_lod_falloff" getter="get_chunk_lod_falloff" default="2">
|
|
</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>
|
|
<member name="num_lods" type="int" setter="set_num_lods" getter="get_num_lods" default="4">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|