2017-09-13 04:42:36 +08:00
|
|
|
<?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>
|
|
|
|
CanvasModulate tints the canvas elements using its assigned color
|
|
|
|
</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 14:49:40 +08:00
|
|
|
<member name="color" type="Color" setter="set_color" getter="get_color">
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|