0.2.0-dev Download ZIP
17 lines ·825 B Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="CanvasModulate" inherits="Node2D" api_type="core" keywords="color" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A node that applies a color tint to a canvas. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | [CanvasModulate] applies a color tint to all nodes on a canvas. Only one can be used to tint a canvas, but [CanvasLayer]s can be used to render things independently. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | <link title="2D lights and shadows">$DOCS_URL/tutorials/2d/2d_lights_and_shadows.html</link> |
| 11 | </tutorials> |
| 12 | <members> |
| 13 | <member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)" keywords="colour"> |
| 14 | The tint color to apply. |
| 15 | </member> |
| 16 | </members> |
| 17 | </class> |