Expose _validate_property() for scripting
This commit is contained in:
@ -319,6 +319,7 @@ public:
|
||||
virtual bool get(const StringName &p_name, Variant &r_ret) const;
|
||||
virtual void get_property_list(List<PropertyInfo> *p_properties) const;
|
||||
virtual Variant::Type get_property_type(const StringName &p_name, bool *r_is_valid = nullptr) const;
|
||||
virtual void validate_property(PropertyInfo &p_property) const;
|
||||
|
||||
virtual bool property_can_revert(const StringName &p_name) const;
|
||||
virtual bool property_get_revert(const StringName &p_name, Variant &r_ret) const;
|
||||
@ -466,6 +467,7 @@ public:
|
||||
StringName _set;
|
||||
StringName _get;
|
||||
StringName _get_property_list;
|
||||
StringName _validate_property;
|
||||
StringName _property_can_revert;
|
||||
StringName _property_get_revert;
|
||||
StringName _script_source;
|
||||
|
||||
Reference in New Issue
Block a user