2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-11-20 23:27:04 +01:00
|
|
|
<class name="Prop2DMaterialCache" inherits="Resource" version="3.10">
|
2022-03-15 13:29:32 +01:00
|
|
|
<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="dec_ref_count">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="inc_ref_count">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="mutex_lock">
|
|
|
|
<return type="void" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="mutex_locked">
|
|
|
|
<return type="bool" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="mutex_unlock">
|
|
|
|
<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="texture_add">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="texture_count">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="texture_get">
|
|
|
|
<return type="Texture" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="texture_get_atlas">
|
|
|
|
<return type="AtlasTexture" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="texture_get_atlas_tex">
|
|
|
|
<return type="AtlasTexture" />
|
|
|
|
<argument index="0" name="index" type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-03-16 02:51:50 +01:00
|
|
|
<method name="texture_get_merged">
|
|
|
|
<return type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2022-03-15 13:29:32 +01:00
|
|
|
<method name="texture_get_uv_rect">
|
|
|
|
<return type="Rect2" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="texture_remove">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="texture" type="Texture" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="texture_remove_index">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="textures_clear">
|
|
|
|
<return type="void" />
|
|
|
|
<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>
|
2022-03-16 02:51:50 +01:00
|
|
|
<member name="material" type="Material" setter="material_set" getter="material_get">
|
2022-03-15 13:29:32 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|