1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the Material.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_Material:
- Material
- ========
- **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
- **Inherited By:** :ref:`ParticlesMaterial<class_particlesmaterial>`, :ref:`ShaderMaterial<class_shadermaterial>`, :ref:`SpatialMaterial<class_spatialmaterial>`, :ref:`CanvasItemMaterial<class_canvasitemmaterial>`
- **Category:** Core
- Brief Description
- -----------------
- Abstract base :ref:`Resource<class_resource>` for coloring and shading geometry.
- Member Variables
- ----------------
- .. _class_Material_next_pass:
- - :ref:`Material<class_material>` **next_pass**
- .. _class_Material_render_priority:
- - :ref:`int<class_int>` **render_priority**
- Numeric Constants
- -----------------
- - **RENDER_PRIORITY_MAX** = **127**
- - **RENDER_PRIORITY_MIN** = **-128**
- Description
- -----------
- Material is a base :ref:`Resource<class_resource>` used for coloring and shading geometry. All materials inherit from it and almost all :ref:`VisualInstance<class_visualinstance>` derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here.
|