diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-30 17:59:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 17:59:56 +0200 |
commit | 5b7ec95de7e9783d880eeb76b9a172085b1117a9 (patch) | |
tree | 136aa80356794489e4030a1811166d712eb07dff /doc | |
parent | 50bb0896fa05563b2dffc455955993dc983f03b4 (diff) | |
parent | 570cdc128f79e6acc4cfb37fa7d1606db9fac198 (diff) |
Merge pull request #53254 from Calinou/node-rename-filename
Rename Node's `filename` property to `scene_file_path` for clarity
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Node.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index f5766c87c0..b4edcf49f4 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -700,9 +700,6 @@ <member name="custom_multiplayer" type="MultiplayerAPI" setter="set_custom_multiplayer" getter="get_custom_multiplayer"> 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"> - 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). </member> @@ -719,6 +716,9 @@ <member name="process_priority" type="int" setter="set_process_priority" getter="get_process_priority" default="0"> The node's priority in the execution order of the enabled processing callbacks (i.e. [constant NOTIFICATION_PROCESS], [constant NOTIFICATION_PHYSICS_PROCESS] and their internal counterparts). Nodes whose process priority value is [i]lower[/i] will have their processing callbacks executed first. </member> + <member name="scene_file_path" type="String" setter="set_scene_file_path" getter="get_scene_file_path"> + If a scene is instantiated from a file, its topmost node contains the absolute file path from which it was loaded in [member scene_file_path] (e.g. [code]res://levels/1.tscn[/code]). Otherwise, [member scene_file_path] is set to an empty string. + </member> </members> <signals> <signal name="ready"> |