mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
118eed485e
All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
31 lines
533 B
C++
31 lines
533 B
C++
#ifndef REMOTETRANSFORM_H
|
|
#define REMOTETRANSFORM_H
|
|
|
|
#include "scene/3d/spatial.h"
|
|
|
|
class RemoteTransform : public Spatial
|
|
{
|
|
GDCLASS(RemoteTransform,Spatial);
|
|
|
|
NodePath remote_node;
|
|
|
|
ObjectID cache;
|
|
|
|
void _update_remote();
|
|
void _update_cache();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
void _notification(int p_what);
|
|
public:
|
|
void set_remote_node(const NodePath& p_remote_node);
|
|
NodePath get_remote_node() const;
|
|
|
|
virtual String get_configuration_warning() const;
|
|
|
|
RemoteTransform();
|
|
|
|
};
|
|
|
|
#endif // REMOTETRANSFORM_H
|