From 54ac8eaba661a599983ae4774113d1a15cfa461a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 13 Feb 2020 11:37:37 +0100 Subject: Remove more deprecated methods and code --- doc/classes/InstancePlaceholder.xml | 15 +++------------ doc/classes/ResourceLoader.xml | 9 --------- doc/classes/VisualServer.xml | 20 +------------------- 3 files changed, 4 insertions(+), 40 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/InstancePlaceholder.xml b/doc/classes/InstancePlaceholder.xml index c1d920c2c1..39827f6604 100644 --- a/doc/classes/InstancePlaceholder.xml +++ b/doc/classes/InstancePlaceholder.xml @@ -4,8 +4,8 @@ Placeholder for the root [Node] of a [PackedScene]. - Turning on the option [b]Load As Placeholder[/b] for an instanced scene in the editor causes it to be replaced by an InstancePlaceholder when running the game. This makes it possible to delay actually loading the scene until calling [method replace_by_instance]. This is useful to avoid loading large scenes all at once by loading parts of it selectively. - The InstancePlaceholder does not have a transform. This causes any child nodes to be positioned relatively to the Viewport from point (0,0), rather than their parent as displayed in the editor. Replacing the placeholder with a scene with a transform will transform children relatively to their parent again. + Turning on the option [b]Load As Placeholder[/b] for an instanced scene in the editor causes it to be replaced by an [InstancePlaceholder] when running the game. This makes it possible to delay actually loading the scene until calling [method create_instance]. This is useful to avoid loading large scenes all at once by loading parts of it selectively. + The [InstancePlaceholder] does not have a transform. This causes any child nodes to be positioned relatively to the [Viewport] from point (0,0), rather than their parent as displayed in the editor. Replacing the placeholder with a scene with a transform will transform children relatively to their parent again. @@ -24,7 +24,7 @@ - Gets the path to the [PackedScene] resource file that is loaded by default when calling [method replace_by_instance]. + Gets the path to the [PackedScene] resource file that is loaded by default when calling [method create_instance]. @@ -35,15 +35,6 @@ - - - - - - - Replaces this placeholder by the scene handed as an argument, or the original scene if no argument is given. As for all resources, the scene is loaded only if it's not loaded already. By manually loading the scene beforehand, delays caused by this function can be avoided. - - diff --git a/doc/classes/ResourceLoader.xml b/doc/classes/ResourceLoader.xml index 661043b083..85c9438d4f 100644 --- a/doc/classes/ResourceLoader.xml +++ b/doc/classes/ResourceLoader.xml @@ -41,15 +41,6 @@ Returns the list of recognized extensions for a resource type. - - - - - - - [i]Deprecated method.[/i] Use [method has_cached] or [method exists] instead. - - diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index 9de10d12a8..1634db2484 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -592,17 +592,6 @@ To place in a scene, attach this directional light to an instance using [method instance_set_base] using the returned RID. - - - - - - - - - Draws a frame. [i]This method is deprecated[/i], please use [method force_draw] instead. - - @@ -942,7 +931,7 @@ - Returns [code]true[/code] if changes have been made to the VisualServer's data. [method draw] is usually called if this happens. + Returns [code]true[/code] if changes have been made to the VisualServer's data. [method force_draw] is usually called if this happens. @@ -2750,13 +2739,6 @@ To place in a scene, attach this spot light to an instance using [method instance_set_base] using the returned RID. - - - - - Not implemented in Godot 3.x. - - -- cgit v1.2.3