:github_url: hide .. 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//doc_classes. .. _class_Material: Material ======== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Inherited By:** :ref:`CanvasItemMaterial`, :ref:`ParticlesMaterial`, :ref:`ShaderMaterial`, :ref:`SpatialMaterial` **Category:** Core Brief Description ----------------- Abstract base :ref:`Resource` for coloring and shading geometry. Properties ---------- +---------------------------------+-----------------------------------------------------------------+ | :ref:`Material` | :ref:`next_pass` | +---------------------------------+-----------------------------------------------------------------+ | :ref:`int` | :ref:`render_priority` | +---------------------------------+-----------------------------------------------------------------+ Constants --------- .. _class_Material_constant_RENDER_PRIORITY_MAX: .. _class_Material_constant_RENDER_PRIORITY_MIN: - **RENDER_PRIORITY_MAX** = **127** --- Maximum value for the :ref:`render_priority` parameter. - **RENDER_PRIORITY_MIN** = **-128** --- Minimum value for the :ref:`render_priority` parameter. Description ----------- Material is a base :ref:`Resource` used for coloring and shading geometry. All materials inherit from it and almost all :ref:`VisualInstance` derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here. Property Descriptions --------------------- .. _class_Material_property_next_pass: - :ref:`Material` **next_pass** +----------+----------------------+ | *Setter* | set_next_pass(value) | +----------+----------------------+ | *Getter* | get_next_pass() | +----------+----------------------+ ---- .. _class_Material_property_render_priority: - :ref:`int` **render_priority** +----------+----------------------------+ | *Setter* | set_render_priority(value) | +----------+----------------------------+ | *Getter* | get_render_priority() | +----------+----------------------------+