.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the CanvasModulate.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_CanvasModulate: CanvasModulate ============== **Inherits:** :ref:`Node2D` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Tint the entire canvas. Member Functions ---------------- +----------------------------+------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`get_color` **(** **)** const | +----------------------------+------------------------------------------------------------------------------------------------+ | void | :ref:`set_color` **(** :ref:`Color` color **)** | +----------------------------+------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`Color` **color** - The tint color to apply. Description ----------- ``CanvasModulate`` tints the canvas elements using its assigned ``color``. Member Function Description --------------------------- .. _class_CanvasModulate_get_color: - :ref:`Color` **get_color** **(** **)** const Gets the canvas tint color .. _class_CanvasModulate_set_color: - void **set_color** **(** :ref:`Color` color **)** Sets the canvas tint color