Material

Inherits: Resource < Reference < Object

Inherited By: ParticlesMaterial, ShaderMaterial, SpatialMaterial, CanvasItemMaterial

Category: Core

Brief Description

Abstract base Resource for coloring and shading geometry.

Member Functions

Material get_next_pass ( ) const
int get_render_priority ( ) const
void set_next_pass ( Material next_pass )
void set_render_priority ( int priority )

Member Variables

Numeric Constants

  • RENDER_PRIORITY_MAX = 127
  • RENDER_PRIORITY_MIN = -128

Description

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

Member Function Description

  • int get_render_priority ( ) const
  • void set_next_pass ( Material next_pass )
  • void set_render_priority ( int priority )