39 lines
933 B
XML
39 lines
933 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="CanvasModulate" inherits="Node2D" category="Core" version="3.0-alpha">
|
|
<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>
|