summaryrefslogtreecommitdiff
path: root/doc/classes/CanvasModulate.xml
blob: b4b20e29f946b4817ae89db67f538987f2033293 (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="CanvasModulate" inherits="Node2D" category="Core" version="3.0.alpha.custom_build">
	<brief_description>
		Tint the entire canvas.
	</brief_description>
	<description>
		[code]CanvasModulate[/code] tints the canvas elements using its assigned [code]color[/code].
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="get_color" qualifiers="const">
			<return type="Color">
			</return>
			<description>
				Gets the canvas tint color
			</description>
		</method>
		<method name="set_color">
			<return type="void">
			</return>
			<argument index="0" name="color" type="Color">
			</argument>
			<description>
				Sets the canvas tint color
			</description>
		</method>
	</methods>
	<members>
		<member name="color" type="Color" setter="set_color" getter="get_color">
			The tint color to apply.
		</member>
	</members>
	<constants>
	</constants>
</class>