godot/doc/classes/MeshTexture.xml

27 lines
967 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<class name="MeshTexture" inherits="Texture2D" version="4.0">
<brief_description>
2019-04-24 05:49:38 +00:00
Simple texture that uses a mesh to draw itself.
</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.
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="base_texture" type="Texture2D" setter="set_base_texture" getter="get_base_texture">
Sets the base texture that the Mesh will use to draw.
</member>
<member name="image_size" type="Vector2" setter="set_image_size" getter="get_image_size" default="Vector2(0, 0)">
Sets the size of the image, needed for reference.
</member>
2019-07-15 18:42:47 +00:00
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
Sets the mesh used to draw. It must be a mesh using 2D vertices.
</member>
</members>
<constants>
</constants>
</class>