Material

Inherits: Resource < Reference < Object

Inherited By: CanvasItemMaterial, ParticlesMaterial, ShaderMaterial, SpatialMaterial

Category: Core

Brief Description

Abstract base Resource for coloring and shading geometry.

Properties

Materialnext_pass
intrender_priority

Constants

  • RENDER_PRIORITY_MAX = 127 — Maximum value for the render_priority parameter.
  • RENDER_PRIORITY_MIN = -128 — Minimum value for the render_priority parameter.

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.

Property Descriptions

Setterset_next_pass(value)
Getterget_next_pass()

  • int render_priority
Setterset_render_priority(value)
Getterget_render_priority()