CanvasItemMaterial

Inherits: Material < Resource < Reference < Object

Category: Core

Brief Description

Member Functions

int get_blend_mode ( ) const
int get_light_mode ( ) const
void set_blend_mode ( int blend_mode )
void set_light_mode ( int light_mode )

Member Variables

  • int blend_mode
  • int light_mode

Numeric Constants

  • BLEND_MODE_MIX = 0
  • BLEND_MODE_ADD = 1
  • BLEND_MODE_SUB = 2
  • BLEND_MODE_MUL = 3
  • BLEND_MODE_PREMULT_ALPHA = 4
  • LIGHT_MODE_NORMAL = 0
  • LIGHT_MODE_UNSHADED = 1
  • LIGHT_MODE_LIGHT_ONLY = 2

Member Function Description

  • int get_blend_mode ( ) const
  • int get_light_mode ( ) const
  • void set_blend_mode ( int blend_mode )
  • void set_light_mode ( int light_mode )