diff options
Diffstat (limited to 'scene/3d/remote_transform.h')
-rw-r--r-- | scene/3d/remote_transform.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/scene/3d/remote_transform.h b/scene/3d/remote_transform.h index 6bc4763e2d..fdfd959a96 100644 --- a/scene/3d/remote_transform.h +++ b/scene/3d/remote_transform.h @@ -31,28 +31,27 @@ #include "scene/3d/spatial.h" -class RemoteTransform : public Spatial -{ - GDCLASS(RemoteTransform,Spatial); - +class RemoteTransform : public Spatial { + GDCLASS(RemoteTransform, Spatial); + NodePath remote_node; ObjectID cache; void _update_remote(); - void _update_cache(); - + void _update_cache(); + protected: static void _bind_methods(); void _notification(int p_what); + public: - void set_remote_node(const NodePath& p_remote_node); + void set_remote_node(const NodePath &p_remote_node); NodePath get_remote_node() const; - + virtual String get_configuration_warning() const; - - RemoteTransform(); + RemoteTransform(); }; #endif // REMOTETRANSFORM_H |