2019-04-23 21:39:09 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-01-26 16:01:49 +01:00
|
|
|
<class name="MeshTexture" inherits="Texture" version="3.2">
|
2019-04-23 21:39:09 +02:00
|
|
|
<brief_description>
|
2019-04-24 07:49:38 +02:00
|
|
|
Simple texture that uses a mesh to draw itself.
|
2019-04-23 21:39:09 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2019-04-24 07:49:38 +02: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 21:39:09 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2019-07-15 20:42:47 +02:00
|
|
|
<member name="base_texture" type="Texture" setter="set_base_texture" getter="get_base_texture">
|
2019-06-22 01:04:47 +02:00
|
|
|
Sets the base texture that the Mesh will use to draw.
|
2019-04-23 21:39:09 +02:00
|
|
|
</member>
|
2019-09-24 13:34:03 +02:00
|
|
|
<member name="flags" type="int" setter="set_flags" getter="get_flags" override="true" default="0" />
|
2019-06-29 12:38:01 +02:00
|
|
|
<member name="image_size" type="Vector2" setter="set_image_size" getter="get_image_size" default="Vector2( 0, 0 )">
|
2019-06-22 01:04:47 +02:00
|
|
|
Sets the size of the image, needed for reference.
|
2019-04-23 21:39:09 +02:00
|
|
|
</member>
|
2019-07-15 20:42:47 +02:00
|
|
|
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
|
2019-06-22 01:04:47 +02:00
|
|
|
Sets the mesh used to draw. It must be a mesh using 2D vertices.
|
2019-04-23 21:39:09 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|