diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2018-09-13 18:12:58 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-13 18:12:58 -0300 |
| commit | 909c06ee0f0ab5feced1c9c99a725f7a423ff9f8 (patch) | |
| tree | cc86065674317ca4042639b28d01260152cfd97b /scene/resources/material.h | |
| parent | 06c8b5a4ffb0ab6787edf071463f17df522b3e79 (diff) | |
| parent | 3cedec5f754b08d04095d5ebe0cd9532de011268 (diff) | |
| download | redot-engine-909c06ee0f0ab5feced1c9c99a725f7a423ff9f8.tar.gz | |
Merge pull request #21806 from JFonS/inspector_uniform_defaults
Set uniform default values in inspector
Diffstat (limited to 'scene/resources/material.h')
| -rw-r--r-- | scene/resources/material.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h index 078649e7b0..4a2a813341 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -85,6 +85,8 @@ protected: bool _set(const StringName &p_name, const Variant &p_value); bool _get(const StringName &p_name, Variant &r_ret) const; void _get_property_list(List<PropertyInfo> *p_list) const; + bool property_can_revert(const String &p_name); + Variant property_get_revert(const String &p_name); static void _bind_methods(); |
