pandemonium_engine/modules/terraman_2d/doc_classes/Terrain2DLibrary.xml

284 lines
8.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="Terrain2DLibrary" inherits="Resource" version="3.5">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="_liquid_material_cache_get" qualifiers="virtual">
<return type="Terrain2DMaterialCache" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="_liquid_material_cache_get_key" qualifiers="virtual">
<return type="void" />
<argument index="0" name="chunk" type="Terrain2DChunk" />
<description>
</description>
</method>
<method name="_liquid_material_cache_unref" qualifiers="virtual">
<return type="void" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="_material_cache_get" qualifiers="virtual">
<return type="Terrain2DMaterialCache" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="_material_cache_get_key" qualifiers="virtual">
<return type="void" />
<argument index="0" name="chunk" type="Terrain2DChunk" />
<description>
</description>
</method>
<method name="_material_cache_unref" qualifiers="virtual">
<return type="void" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="_prop_material_cache_get" qualifiers="virtual">
<return type="Terrain2DMaterialCache" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="_prop_material_cache_get_key" qualifiers="virtual">
<return type="void" />
<argument index="0" name="chunk" type="Terrain2DChunk" />
<description>
</description>
</method>
<method name="_prop_material_cache_unref" qualifiers="virtual">
<return type="void" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="_setup_material_albedo" qualifiers="virtual">
<return type="void" />
<argument index="0" name="material_index" type="int" />
<argument index="1" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="_supports_caching" qualifiers="virtual">
<return type="bool" />
<description>
</description>
</method>
<method name="liquid_material_cache_get">
<return type="Terrain2DMaterialCache" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="liquid_material_cache_get_key">
<return type="void" />
<argument index="0" name="chunk" type="Terrain2DChunk" />
<description>
</description>
</method>
<method name="liquid_material_cache_unref">
<return type="void" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="material_cache_get">
<return type="Terrain2DMaterialCache" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="material_cache_get_key">
<return type="void" />
<argument index="0" name="chunk" type="Terrain2DChunk" />
<description>
</description>
</method>
<method name="material_cache_unref">
<return type="void" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="prop_add">
<return type="void" />
<argument index="0" name="value" type="Prop2DData" />
<description>
</description>
</method>
<method name="prop_get">
<return type="Prop2DData" />
<argument index="0" name="id" type="int" />
<description>
</description>
</method>
<method name="prop_get_num" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="prop_has" qualifiers="const">
<return type="bool" />
<argument index="0" name="prop" type="Prop2DData" />
<description>
</description>
</method>
<method name="prop_material_cache_get">
<return type="Terrain2DMaterialCache" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="prop_material_cache_get_key">
<return type="void" />
<argument index="0" name="chunk" type="Terrain2DChunk" />
<description>
</description>
</method>
<method name="prop_material_cache_unref">
<return type="void" />
<argument index="0" name="key" type="int" />
<description>
</description>
</method>
<method name="prop_remove">
<return type="void" />
<argument index="0" name="id" type="int" />
<description>
</description>
</method>
<method name="prop_set">
<return type="void" />
<argument index="0" name="id" type="int" />
<argument index="1" name="surface" type="Prop2DData" />
<description>
</description>
</method>
<method name="props_clear">
<return type="void" />
<description>
</description>
</method>
<method name="refresh_rects">
<return type="void" />
<description>
</description>
</method>
<method name="scene_add">
<return type="void" />
<argument index="0" name="value" type="PackedScene" />
<description>
</description>
</method>
<method name="scene_get">
<return type="PackedScene" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="scene_get_num" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="scene_remove">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="scene_set">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="value" type="PackedScene" />
<description>
</description>
</method>
<method name="scenes_clear">
<return type="void" />
<description>
</description>
</method>
<method name="setup_material_albedo">
<return type="void" />
<argument index="0" name="material_index" type="int" />
<argument index="1" name="texture" type="Texture" />
<description>
</description>
</method>
<method name="supports_caching">
<return type="bool" />
<description>
</description>
</method>
<method name="terra_surface_add">
<return type="void" />
<argument index="0" name="value" type="Terrain2DSurface" />
<description>
</description>
</method>
<method name="terra_surface_get">
<return type="Terrain2DSurface" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="terra_surface_get_num" qualifiers="const">
<return type="int" />
<description>
</description>
</method>
<method name="terra_surface_remove">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="terra_surface_set">
<return type="void" />
<argument index="0" name="index" type="int" />
<argument index="1" name="surface" type="Terrain2DSurface" />
<description>
</description>
</method>
<method name="terra_surfaces_clear">
<return type="void" />
<description>
</description>
</method>
</methods>
<members>
<member name="initialized" type="bool" setter="set_initialized" getter="get_initialized">
</member>
2022-03-16 02:51:50 +01:00
<member name="liquid_material" type="Material" setter="liquid_material_set" getter="liquid_material_get">
</member>
<member name="liquid_texture" type="Texture" setter="liquid_texture_set" getter="liquid_texture_get">
</member>
<member name="material" type="Material" setter="material_set" getter="material_get">
</member>
<member name="prop_material" type="Material" setter="prop_material_set" getter="prop_material_get">
</member>
2022-03-16 02:51:50 +01:00
<member name="prop_texture" type="Texture" setter="prop_texture_set" getter="prop_texture_get">
</member>
2022-03-16 02:51:50 +01:00
<member name="texture" type="Texture" setter="texture_set" getter="texture_get">
</member>
</members>
<constants>
<constant name="MATERIAL_INDEX_TERRAIN" value="0">
</constant>
<constant name="MATERIAL_INDEX_LIQUID" value="1">
</constant>
<constant name="MATERIAL_INDEX_PROP" value="2">
</constant>
</constants>
</class>