mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
18 lines
809 B
XML
18 lines
809 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="CanvasModulate" inherits="Node2D" keywords="color" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A node that applies a color tint to a canvas.
|
|
</brief_description>
|
|
<description>
|
|
[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.
|
|
</description>
|
|
<tutorials>
|
|
<link title="2D lights and shadows">$DOCS_URL/tutorials/2d/2d_lights_and_shadows.html</link>
|
|
</tutorials>
|
|
<members>
|
|
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)" keywords="colour">
|
|
The tint color to apply.
|
|
</member>
|
|
</members>
|
|
</class>
|