From a33fe750508f9879c51b4917a6212bea10bab40a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 9 Oct 2020 15:04:15 +0200 Subject: [PATCH] doc: Sync classref with current source --- doc/classes/Animation.xml | 22 +++++++++---------- doc/classes/ArrayMesh.xml | 1 - doc/classes/Basis.xml | 2 -- doc/classes/CanvasItem.xml | 6 ++--- doc/classes/FuncRef.xml | 16 +++++++------- doc/classes/Node3D.xml | 2 +- doc/classes/ProjectSettings.xml | 4 ++-- doc/classes/RenderingServer.xml | 7 +++++- doc/classes/VisualShaderNode.xml | 6 ----- .../doc_classes/WebRTCPeerConnection.xml | 2 -- 10 files changed, 31 insertions(+), 37 deletions(-) diff --git a/doc/classes/Animation.xml b/doc/classes/Animation.xml index ceef16f1581..d34308501c7 100644 --- a/doc/classes/Animation.xml +++ b/doc/classes/Animation.xml @@ -681,6 +681,17 @@ Returns the update mode of a value track. + + + + + + + + + Returns the interpolated value at the given time (in seconds). The [code]track_idx[/code] must be the index of a value track. + + @@ -692,17 +703,6 @@ Sets the update mode (see [enum UpdateMode]) of a value track. - - - - - - - - - Returns the interpolated value at the given time (in seconds). The [code]track_idx[/code] must be the index of a value track. - - diff --git a/doc/classes/ArrayMesh.xml b/doc/classes/ArrayMesh.xml index 4edf69ccb20..dc834474add 100644 --- a/doc/classes/ArrayMesh.xml +++ b/doc/classes/ArrayMesh.xml @@ -69,7 +69,6 @@ diff --git a/doc/classes/Basis.xml b/doc/classes/Basis.xml index faea2f78b82..42ca3ad24b9 100644 --- a/doc/classes/Basis.xml +++ b/doc/classes/Basis.xml @@ -111,8 +111,6 @@ - - Returns [code]true[/code] if this basis and [code]b[/code] are approximately equal, by calling [code]is_equal_approx[/code] on each component. diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml index d36a9973302..11000ce8d5e 100644 --- a/doc/classes/CanvasItem.xml +++ b/doc/classes/CanvasItem.xml @@ -607,9 +607,6 @@ If [code]true[/code], the object draws behind its parent. - - If [code]true[/code], the node will not inherit its transform from parent [CanvasItem]s. - If [code]true[/code], the object draws on top of its parent. @@ -619,6 +616,9 @@ The texture repeating mode to use on this [CanvasItem]. + + If [code]true[/code], the node will not inherit its transform from parent [CanvasItem]s. + If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material. diff --git a/doc/classes/FuncRef.xml b/doc/classes/FuncRef.xml index 7c01397c245..dc9246ad35f 100644 --- a/doc/classes/FuncRef.xml +++ b/doc/classes/FuncRef.xml @@ -26,6 +26,13 @@ Calls the referenced function previously set in [member function] or [method @GDScript.funcref]. Contrarily to [method call_func], this method does not support a variable number of arguments but expects all parameters to be passed via a single [Array]. + + + + + Returns whether the object still exists and has the function assigned. + + @@ -35,16 +42,9 @@ The object containing the referenced function. This object must be of a type actually inheriting from [Object], not a built-in type such as [int], [Vector2] or [Dictionary]. - - - - - Returns whether the object still exists and has the function assigned. - - - + The name of the referenced function. diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml index af4f18c5f7d..f6ff5144741 100644 --- a/doc/classes/Node3D.xml +++ b/doc/classes/Node3D.xml @@ -301,7 +301,7 @@ Scale part of the local transformation. - + If [code]true[/code], the node will not inherit its transformations from its parent. Node transformations are only in global space. diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 54c337faf98..e9865a61982 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -558,7 +558,7 @@ If [code]true[/code], sends touch input events when clicking or dragging the mouse. - + Default delay for touch events. This only affects iOS devices. @@ -818,7 +818,7 @@ Specifies the maximum amount of log files allowed (used for rotation). - + Godot uses a message queue to defer some function calls. If you run out of space on it (you will see an error), you can increase the size here. diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 9c8c9649676..9ca699501fc 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -583,6 +583,12 @@ Modulates all colors in the given canvas. + + + + + + @@ -1627,7 +1633,6 @@ diff --git a/doc/classes/VisualShaderNode.xml b/doc/classes/VisualShaderNode.xml index 3bb527f3d47..6327ab534fd 100644 --- a/doc/classes/VisualShaderNode.xml +++ b/doc/classes/VisualShaderNode.xml @@ -57,12 +57,6 @@ Emitted when the node requests an editor refresh. Currently called only in setter of [member VisualShaderNodeTexture.source], [VisualShaderNodeTexture], and [VisualShaderNodeCubemap] (and their derivatives). - - - - - - diff --git a/modules/webrtc/doc_classes/WebRTCPeerConnection.xml b/modules/webrtc/doc_classes/WebRTCPeerConnection.xml index c80b903e390..e21dee8effb 100644 --- a/modules/webrtc/doc_classes/WebRTCPeerConnection.xml +++ b/modules/webrtc/doc_classes/WebRTCPeerConnection.xml @@ -40,7 +40,6 @@ @@ -82,7 +81,6 @@