mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 19:29:06 +00:00
43 lines
1005 B
ReStructuredText
43 lines
1005 B
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the CanvasItemMaterial.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_CanvasItemMaterial:
|
|
|
|
CanvasItemMaterial
|
|
==================
|
|
|
|
**Inherits:** :ref:`Material<class_material>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
.. _class_CanvasItemMaterial_blend_mode:
|
|
|
|
- :ref:`int<class_int>` **blend_mode**
|
|
|
|
.. _class_CanvasItemMaterial_light_mode:
|
|
|
|
- :ref:`int<class_int>` **light_mode**
|
|
|
|
|
|
Numeric Constants
|
|
-----------------
|
|
|
|
- **BLEND_MODE_MIX** = **0**
|
|
- **BLEND_MODE_ADD** = **1**
|
|
- **BLEND_MODE_SUB** = **2**
|
|
- **BLEND_MODE_MUL** = **3**
|
|
- **BLEND_MODE_PREMULT_ALPHA** = **4**
|
|
- **LIGHT_MODE_NORMAL** = **0**
|
|
- **LIGHT_MODE_UNSHADED** = **1**
|
|
- **LIGHT_MODE_LIGHT_ONLY** = **2**
|
|
|