File: MeshTexture.xml

package info (click to toggle)
godot 3.2.3-stable-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 121,308 kB
  • sloc: cpp: 804,285; ansic: 597,434; xml: 77,823; asm: 17,127; cs: 13,535; lisp: 12,017; python: 9,376; java: 7,474; sh: 973; javascript: 659; perl: 264; pascal: 203; objc: 116; makefile: 105
file content (27 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8" ?>
<class name="MeshTexture" inherits="Texture" version="3.2">
	<brief_description>
		Simple texture that uses a mesh to draw itself.
	</brief_description>
	<description>
		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="Texture" setter="set_base_texture" getter="get_base_texture">
			Sets the base texture that the Mesh will use to draw.
		</member>
		<member name="flags" type="int" setter="set_flags" getter="get_flags" override="true" default="0" />
		<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>
		<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>