summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-30 13:42:24 +0200
committerGitHub <noreply@github.com>2021-09-30 13:42:24 +0200
commit70871c6b38feeff949cce95529de440f12c21db6 (patch)
tree545f1d3f81ef25d1ac1c78c7a29a1f61754c8938
parentac7505e27730a800c9167ab940216c3980257b5b (diff)
parentf23b9170074609b44e2c744646f7029b9306df41 (diff)
Merge pull request #53252 from Calinou/doc-node-filename
-rw-r--r--doc/classes/Node.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index 608d76cd9f..f5766c87c0 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -701,7 +701,7 @@
The override to the default [MultiplayerAPI]. Set to [code]null[/code] to use the default [SceneTree] one.
</member>
<member name="filename" type="String" setter="set_filename" getter="get_filename">
- When a scene is instantiated from a file, its topmost node contains the filename from which it was loaded.
+ If a scene is instantiated from a file, its topmost node contains the absolute file path from which it was loaded in [member filename] (e.g. [code]res://levels/1.tscn[/code]). Otherwise, [member filename] is set to an empty string.
</member>
<member name="multiplayer" type="MultiplayerAPI" setter="" getter="get_multiplayer">
The [MultiplayerAPI] instance associated with this node. Either the [member custom_multiplayer], or the default SceneTree one (if inside tree).