mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
39 lines
946 B
XML
39 lines
946 B
XML
<?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>
|