godot/tools/editor/multi_node_edit.h
Juan Linietsky eff2931b2a Multiple, simultaneous node editing spuport!!
..but will you be brave enough to try it? :)
2015-08-25 00:08:45 -03:00

33 lines
558 B
C++

#ifndef MULTI_NODE_EDIT_H
#define MULTI_NODE_EDIT_H
#include "scene/main/node.h"
class MultiNodeEdit : public Reference {
OBJ_TYPE(MultiNodeEdit,Reference);
List<NodePath> nodes;
struct PLData {
int uses;
PropertyInfo info;
};
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;
public:
void clear_nodes();
void add_node(const NodePath& p_node);
MultiNodeEdit();
};
#endif // MULTI_NODE_EDIT_H