class_material.rst 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the Material.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_Material:
  5. Material
  6. ========
  7. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Inherited By:** :ref:`ParticlesMaterial<class_particlesmaterial>`, :ref:`ShaderMaterial<class_shadermaterial>`, :ref:`SpatialMaterial<class_spatialmaterial>`, :ref:`CanvasItemMaterial<class_canvasitemmaterial>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Abstract base :ref:`Resource<class_resource>` for coloring and shading geometry.
  13. Member Variables
  14. ----------------
  15. .. _class_Material_next_pass:
  16. - :ref:`Material<class_material>` **next_pass**
  17. .. _class_Material_render_priority:
  18. - :ref:`int<class_int>` **render_priority**
  19. Numeric Constants
  20. -----------------
  21. - **RENDER_PRIORITY_MAX** = **127**
  22. - **RENDER_PRIORITY_MIN** = **-128**
  23. Description
  24. -----------
  25. 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.