2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2017-11-15 17:37:54 +00:00
|
|
|
<class name="CanvasModulate" inherits="Node2D" category="Core" version="3.0-alpha">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
2017-10-09 10:49:12 +00:00
|
|
|
Tint the entire canvas.
|
2017-09-12 20:42:36 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2017-10-09 10:49:12 +00:00
|
|
|
[code]CanvasModulate[/code] tints the canvas elements using its assigned [code]color[/code].
|
2017-09-12 20:42:36 +00:00
|
|
|
</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>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="color" type="Color" setter="set_color" getter="get_color">
|
2017-10-09 10:49:12 +00:00
|
|
|
The tint color to apply.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|