mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Add property overview and setter/getter like in editor docs
Output from godotengine/godot#22013. Fixes #1729.
This commit is contained in:
@@ -8,6 +8,7 @@ CanvasModulate
|
||||
==============
|
||||
|
||||
**Inherits:** :ref:`Node2D<class_Node2D>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
@@ -15,6 +16,13 @@ Brief Description
|
||||
|
||||
Tint the entire canvas.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+---------------------------+------------------------------------------+
|
||||
| :ref:`Color<class_Color>` | :ref:`color<class_CanvasModulate_color>` |
|
||||
+---------------------------+------------------------------------------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -25,6 +33,13 @@ Property Descriptions
|
||||
|
||||
.. _class_CanvasModulate_color:
|
||||
|
||||
- :ref:`Color<class_Color>` **color** - The tint color to apply.
|
||||
- :ref:`Color<class_Color>` **color**
|
||||
|
||||
+----------+------------------+
|
||||
| *Setter* | set_color(value) |
|
||||
+----------+------------------+
|
||||
| *Getter* | get_color() |
|
||||
+----------+------------------+
|
||||
|
||||
The tint color to apply.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user