2019-04-23 19:39:09 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-05 20:07:03 +00:00
|
|
|
<class name="MeshTexture" inherits="Texture2D" version="4.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2019-04-23 19:39:09 +00:00
|
|
|
<brief_description>
|
2019-04-24 05:49:38 +00:00
|
|
|
Simple texture that uses a mesh to draw itself.
|
2019-04-23 19:39:09 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-04-24 05:49:38 +00:00
|
|
|
Simple texture that uses a mesh to draw itself. It's limited because flags can't be changed and region drawing is not supported.
|
2019-04-23 19:39:09 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<members>
|
2020-02-12 08:59:06 +00:00
|
|
|
<member name="base_texture" type="Texture2D" setter="set_base_texture" getter="get_base_texture">
|
2019-06-21 23:04:47 +00:00
|
|
|
Sets the base texture that the Mesh will use to draw.
|
2019-04-23 19:39:09 +00:00
|
|
|
</member>
|
2019-09-24 17:45:03 +00:00
|
|
|
<member name="image_size" type="Vector2" setter="set_image_size" getter="get_image_size" default="Vector2(0, 0)">
|
2019-06-21 23:04:47 +00:00
|
|
|
Sets the size of the image, needed for reference.
|
2019-04-23 19:39:09 +00:00
|
|
|
</member>
|
2019-07-15 18:42:47 +00:00
|
|
|
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
|
2019-06-21 23:04:47 +00:00
|
|
|
Sets the mesh used to draw. It must be a mesh using 2D vertices.
|
2019-04-23 19:39:09 +00:00
|
|
|
</member>
|
2022-11-09 07:59:49 +00:00
|
|
|
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" overrides="Resource" default="false" />
|
2019-04-23 19:39:09 +00:00
|
|
|
</members>
|
|
|
|
</class>
|