summaryrefslogtreecommitdiff
path: root/doc/classes/Material.xml
blob: 87c2e510037e68d346a19e4f41e50db639b175e7 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Material" inherits="Resource" category="Core" version="3.0-alpha">
	<brief_description>
		Abstract base [Resource] for coloring and shading geometry.
	</brief_description>
	<description>
		Material is a base [Resource] used for coloring and shading geometry. All materials inherit from it and almost all [VisualInstance] derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here.
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="get_next_pass" qualifiers="const">
			<return type="Material">
			</return>
			<description>
			</description>
		</method>
		<method name="get_render_priority" qualifiers="const">
			<return type="int">
			</return>
			<description>
			</description>
		</method>
		<method name="set_next_pass">
			<return type="void">
			</return>
			<argument index="0" name="next_pass" type="Material">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_render_priority">
			<return type="void">
			</return>
			<argument index="0" name="priority" type="int">
			</argument>
			<description>
			</description>
		</method>
	</methods>
	<members>
		<member name="next_pass" type="Material" setter="set_next_pass" getter="get_next_pass">
		</member>
		<member name="render_priority" type="int" setter="set_render_priority" getter="get_render_priority">
		</member>
	</members>
	<constants>
		<constant name="RENDER_PRIORITY_MAX" value="127" enum="">
		</constant>
		<constant name="RENDER_PRIORITY_MIN" value="-128" enum="">
		</constant>
	</constants>
</class>