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, Variant value ) |
void | set_shading_mode ( int mode ) |
Numeric Constants
- SHADING_NORMAL = 0
- SHADING_UNSHADED = 1
- SHADING_ONLY_LIGHT = 2
Member Function Description
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, Variant value )
void set_shading_mode ( int mode )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_canvasitemmaterial.html