summaryrefslogtreecommitdiff
path: root/doc/classes/Node.xml
AgeCommit message (Collapse)Author
2023-02-05GDScript: Better handling of `@rpc` annotation and autocompletionDanil Alexeev
2023-02-04Improve docs for rpc annotationsGeroVeni
2023-01-25GDScript: Allow constant expressions in annotationsDanil Alexeev
2023-01-16Update instances of scenes which have been reimported.SaracenOne
2023-01-10Add Node::get_window() method.bruvzg
2023-01-07Merge pull request #36301 from KoBeWi/daddy_nodeRémi Verschelde
Add reparent methods to Node
2022-11-28Merge pull request #68874 from TokageItLab/fix-unique-path-keyingRémi Verschelde
Added option to `get_path_to()` to get the shortest path considering unique name
2022-11-24Merge pull request #68566 from Mickeon/node-print-orphans-staticRémi Verschelde
Make `Node.print_orphan_nodes()` static
2022-11-19Add option to get_path_to() to get the shortest path with unique nameSilc Renew
2022-11-16Merge pull request #68709 from MewPurPur/instance-begone-part3Rémi Verschelde
Remove more instances of 'instance' being used as a verb
2022-11-16Remove more instances of 'instance' being used as a verbVolTer
2022-11-13Strip ERR_FAIL from `Node.remove_from_group()`Micky
Also simplifies group check removing unnecessary `!data.grouped.has`
2022-11-12Make `Node.print_orphan_nodes()` staticMicky
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-10-27Doc consistency: "inspector" to "Inspector"Micky
Also fixes a slightly misleading comment in `Node.print_tree_pretty`.
2022-10-14Rename pos -> index on NodeMiguel Gonzalez Sanchez
2022-10-05Add documentation for viewport's input handlingRedMser
2022-10-05fix(docs): use proper path for tutorial file in docsJiri Suchan
2022-09-19Add new C# code blocks to class ref pagesPaul Joannon
- AStarGrid2D - Engine - Font - Node - OS - Tweens
2022-09-10Merge pull request #65595 from KoBeWi/minus_childrenRémi Verschelde
Allow negative indices in `move_child()`
2022-09-10Allow negative indices in move_child()kobewi
2022-09-09Remove Remove and SkipVolTer
2022-09-08Merge pull request #60108 from KoBeWi/arise_to_topRémi Verschelde
Rename raise() to move_to_front()
2022-09-07Rename `legible_unique_name` param to `force_readable_name`Micky
With the introduction of Scene Unique Nodes, `is_unique_in_owner`, "Unique Name in Scene" and other descriptions related to the feature, the second parameter of add_child() and add_simbling() could be misunderstood to be related, at first glance.
2022-09-06Rename raise() to move_to_front()kobewi
2022-08-30Merge pull request #64410 from MewPurPur/rename-notification-instancedRémi Verschelde
2022-08-25Merge pull request #64781 from raulsntos/csharp_childrenRémi Verschelde
Add `includeInternal` to C# NodeExtensions and avoid printing errors in `GetChildOrNull`
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-23Add `includeInternal` to C# NodeExtensions and fix get_child documentationRaul Santos
Node methods in C# extended to use generics now have the optional parameter `includeInternal` like their non-generic equivalents. Also, fixed a typo in the `Node.get_child` documentation.
2022-08-16Add methods for node reparentingTomasz Chabora
2022-08-16Rename NOTIFICATION_INSTANCED to NOTIFICATION_SCENE_INSTANTIATEDVolTer
2022-08-15[doc] Use "param" instead of "code" to refer to parameters (5)Andy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-07-26[Net] Modularize multiplayer, expose MultiplayerAPI to extensions.Fabio Alessandrelli
- RPC configurations are now dictionaries. - Script.get_rpc_methods renamed to Script.get_rpc_config. - Node.rpc[_id] and Callable.rpc now return an Error. - Refactor MultiplayerAPI to allow extension. - New MultiplayerAPI.rpc method with Array argument (for scripts). - Move the default MultiplayerAPI implementation to a module.
2022-06-20Node: Rename `child_exited_tree` to `child_exiting_tree`Rémi Verschelde
The name was confusing as this signal is emitted around the same time as `tree_exiting` and `NOTIFICATION_EXIT_TREE`, i.e. while the child node is still in tree. Fixes #59210.
2022-06-02Merge pull request #60711 from nathanfranke/rpc-serverFabio Alessandrelli
network - finish renaming AUTH to AUTHORITY
2022-05-29Change instances of "returns an empty Variant" to "returns null" in docsHugo Locurcio
While "returns an empty Variant" technically valid (it's constructed as `Variant()` in C++), "returns null" is more intuitive to users.
2022-05-25finish renaming AUTH to AUTHORITYNathan Franke
2022-04-26[Net] Allow branch-specific MultiplayerAPIs.Fabio Alessandrelli
Removes custom_multiplayer from Node. MultiplayerAPI overrides are now set at SceneTree level, and apply to whole branches. Impact on performance when using only the default multiplayer or overriding it is minimal, the use of branches can likely be further optimized by caching nodes and relevant MultiplayerAPI IDs.
2022-04-26Merge pull request #60511 from akien-mga/readd-find_nodeRémi Verschelde
2022-04-25Merge pull request #60472 from KoBeWi/dragging_rightsRémi Verschelde
2022-04-25Node: Re-add `find_node` as `find_child`, improve docsRémi Verschelde
The new name contrasts it better with `find_parent`, and makes it clear that it only matches child/descendant nodes. Also rename `find_nodes` to `find_children` accordingly.
2022-04-25Implement Scene Unique Nodesreduz
Implements https://github.com/godotengine/godot-proposals/issues/4096 * Nodes can be marked unique to the scene in the editor (or via code). * Unique nodes can be accessed via the **%** prefix at any point in the path. From that point in the path (depending on whether the scene of the path is), the unique node will be fetched. * Implementation is very optimal, as these nodes are cached.
2022-04-24Improve descriptions for drag methodskobewi
2022-04-05Change gizmo_extents to propertykobewi
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-03-31Merge pull request #59590 from Calinou/rename-print-stray-nodesRémi Verschelde
2022-03-31Rename `Node.print_stray_nodes()` to `Node.print_orphan_nodes()`Hugo Locurcio
The "orphan" terminology is already used elsewhere.
2022-03-30Make vararg method bind no return and returnPierre-Thomas Meisels
Type emit_signal exposed method return type set UndoRedo add_do_method and add_undo_method exposed return void Set TreeItem::_call_recursive_bind returns void Set _rpc_bind and _rpc_id_bind returns void in Node Set _call_group and _call_group_flags method returns void in SceneTree Set godot-cpp-test CI flag to false
2022-03-18Mention that Node's `owner` must be set for persistence to workHugo Locurcio
This is already done in `Node.add_child()` documentation, but this copies the note in `Node.owner` for good measure.