Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.33 KB

class_material.rst

File metadata and controls

43 lines (25 loc) · 1.33 KB

Material

Inherits: Resource<class_resource> < Reference<class_reference> < Object<class_object>

Inherited By: ParticlesMaterial<class_particlesmaterial>, ShaderMaterial<class_shadermaterial>, SpatialMaterial<class_spatialmaterial>, CanvasItemMaterial<class_canvasitemmaterial>

Category: Core

Brief Description

Abstract base Resource<class_resource> for coloring and shading geometry.

Member Variables

  • Material<class_material> next_pass
  • int<class_int> render_priority

Numeric Constants

  • RENDER_PRIORITY_MAX = 127
  • RENDER_PRIORITY_MIN = -128

Description

Material is a base Resource<class_resource> used for coloring and shading geometry. All materials inherit from it and almost all VisualInstance<class_visualinstance> derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here.