pandemonium_engine/modules/terraman/doc_classes/TerrainJob.xml

114 lines
3.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2024-02-25 10:26:26 +01:00
<class name="TerrainJob" inherits="ThreadPoolJob" version="4.3">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="_execute_phase" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="_physics_process" qualifiers="virtual">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="_process" qualifiers="virtual">
<return type="void" />
<argument index="0" name="delta" type="float" />
<description>
</description>
</method>
<method name="_reset" qualifiers="virtual">
<return type="void" />
<description>
</description>
</method>
<method name="chunk_exit_tree">
<return type="void" />
<description>
</description>
</method>
<method name="execute_phase">
<return type="void" />
<description>
</description>
</method>
<method name="generate_ao">
<return type="void" />
<description>
</description>
</method>
<method name="generate_random_ao">
<return type="void" />
<argument index="0" name="seed" type="int" />
<argument index="1" name="octaves" type="int" default="4" />
<argument index="2" name="period" type="int" default="30" />
<argument index="3" name="persistence" type="float" default="0.3" />
<argument index="4" name="scale_factor" type="float" default="0.6" />
<description>
</description>
</method>
<method name="get_build_done">
<return type="bool" />
<description>
</description>
</method>
<method name="get_phase">
<return type="int" />
<description>
</description>
</method>
<method name="next_job">
<return type="void" />
<description>
</description>
</method>
<method name="next_phase">
<return type="void" />
<description>
</description>
</method>
<method name="reset">
<return type="void" />
<description>
</description>
</method>
<method name="set_build_done">
<return type="void" />
<argument index="0" name="val" type="bool" />
<description>
</description>
</method>
<method name="set_chunk">
<return type="void" />
<argument index="0" name="chunk" type="TerrainChunk" />
<description>
</description>
</method>
<method name="set_phase">
<return type="void" />
<argument index="0" name="phase" type="int" />
<description>
</description>
</method>
</methods>
<members>
<member name="build_phase_type" type="int" setter="set_build_phase_type" getter="get_build_phase_type" enum="TerrainJob.ActiveBuildPhaseType" default="0">
</member>
</members>
<constants>
2023-06-13 17:34:41 +02:00
<constant name="BUILD_PHASE_TYPE_NORMAL" value="0" enum="ActiveBuildPhaseType">
</constant>
<constant name="BUILD_PHASE_TYPE_PROCESS" value="1" enum="ActiveBuildPhaseType">
</constant>
<constant name="BUILD_PHASE_TYPE_PHYSICS_PROCESS" value="2" enum="ActiveBuildPhaseType">
</constant>
</constants>
</class>