CanvasItemMaterial¶
Inherits: Resource < Reference < Object
Category: Core
Brief Description¶
Member Functions¶
Shader | get_shader ( ) const |
void | get_shader_param ( String param ) const |
int | get_shading_mode ( ) const |
void | set_shader ( Shader shader ) |
void | set_shader_param ( String param, var value ) |
void | set_shading_mode ( int mode ) |
Numeric Constants¶
- SHADING_NORMAL = 0
- SHADING_UNSHADED = 1
- SHADING_ONLY_LIGHT = 2