void RemoteTransform2D::set_remote_node(const NodePath &p_remote_node) { remote_node = p_remote_node; if (is_inside_tree()) { _update_cache(); _update_remote(); } update_configuration_warning(); }
void RemoteTransform2D::_notification(int p_what) { switch (p_what) { case NOTIFICATION_READY: { _update_cache(); } break; case NOTIFICATION_TRANSFORM_CHANGED: { if (!is_inside_tree()) break; if (cache) { _update_remote(); } } break; } }
void RemoteTransform2D::set_update_scale(const bool p_update) { update_remote_scale = p_update; _update_remote(); }
void RemoteTransform2D::set_update_rotation(const bool p_update) { update_remote_rotation = p_update; _update_remote(); }
void RemoteTransform2D::set_use_global_coordinates(const bool p_enable) { use_global_coordinates = p_enable; _update_remote(); }
void RemoteTransform::set_update_position(const bool p_update) { update_remote_position = p_update; _update_remote(); }