<?xml version="1.0" encoding="UTF-8" ?> <class name="Terrain2DMaterialCache" inherits="Resource" version="3.5"> <brief_description> </brief_description> <description> </description> <tutorials> </tutorials> <methods> <method name="_setup_material_albedo" qualifiers="virtual"> <return type="void" /> <argument index="0" name="texture" type="Texture" /> <description> </description> </method> <method name="additional_texture_add"> <return type="void" /> <argument index="0" name="texture" type="Texture" /> <description> </description> </method> <method name="additional_texture_count"> <return type="int" /> <description> </description> </method> <method name="additional_texture_get"> <return type="Texture" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="additional_texture_get_atlas"> <return type="AtlasTexture" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="additional_texture_get_atlas_tex"> <return type="AtlasTexture" /> <argument index="0" name="index" type="Texture" /> <description> </description> </method> <method name="additional_texture_get_rect"> <return type="Rect2" /> <argument index="0" name="texture" type="Texture" /> <description> </description> </method> <method name="additional_texture_get_uv_rect"> <return type="Rect2" /> <argument index="0" name="texture" type="Texture" /> <description> </description> </method> <method name="additional_texture_remove"> <return type="void" /> <argument index="0" name="texture" type="Texture" /> <description> </description> </method> <method name="additional_texture_remove_index"> <return type="void" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="additional_textures_clear"> <return type="void" /> <description> </description> </method> <method name="dec_ref_count"> <return type="void" /> <description> </description> </method> <method name="inc_ref_count"> <return type="void" /> <description> </description> </method> <method name="prop_add_textures"> <return type="void" /> <argument index="0" name="prop" type="Prop2DData" /> <description> </description> </method> <method name="prop_remove_textures"> <return type="void" /> <argument index="0" name="prop" type="Prop2DData" /> <description> </description> </method> <method name="refresh_rects"> <return type="void" /> <description> </description> </method> <method name="setup_material_albedo"> <return type="void" /> <argument index="0" name="texture" type="Texture" /> <description> </description> </method> <method name="surface_add"> <return type="void" /> <argument index="0" name="value" type="Terrain2DSurface" /> <description> </description> </method> <method name="surface_get"> <return type="Terrain2DSurface" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="surface_get_num" qualifiers="const"> <return type="int" /> <description> </description> </method> <method name="surface_id_get"> <return type="Terrain2DSurface" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="surface_remove"> <return type="void" /> <argument index="0" name="index" type="int" /> <description> </description> </method> <method name="surface_set"> <return type="void" /> <argument index="0" name="index" type="int" /> <argument index="1" name="surface" type="Terrain2DSurface" /> <description> </description> </method> <method name="surfaces_clear"> <return type="void" /> <description> </description> </method> <method name="texture_get_merged"> <return type="Texture" /> <description> </description> </method> </methods> <members> <member name="initialized" type="bool" setter="set_initialized" getter="get_initialized" default="false"> </member> <member name="mat_ref_count" type="int" setter="set_ref_count" getter="get_ref_count" default="0"> </member> <member name="material" type="Material" setter="material_set" getter="material_get"> </member> </members> <constants> </constants> </class>