From b1f392c25e214b331f87737d9e27aad30e95f201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 24 Aug 2022 12:05:37 +0200 Subject: Remove VisualScript module for 4.0 As announced in https://godotengine.org/article/godot-4-will-discontinue-visual-scripting, Godot maintainers have agreed to discontinue the current implementation of our VisualScript language. The way it had been designed was not user-friendly enough and we did not succeed in improving its usability to actually make it a good low-code solution for users who need one. So we prefer to remove it for Godot 4.0 and leave the door open for new, innovative ideas around visual scripting, to be developed as plugins or extensions now that Godot provides sufficient functionality for this (notably via GDExtension and the godot-cpp C++ bindings). The current module has been moved to a dedicated repository (with full Git history extracted with `git filter-branch`): https://github.com/godotengine/godot-visual-script It can still be compiled as a C++ module (for now, but will likely require work to be kept in sync with the engine repository), but our hope is that contributors will port it to GDExtension (which is quite compatibile with the existing C++ module code when using the godot-cpp C++ bindings). --- modules/visual_script/doc_classes/VisualScript.xml | 357 --------------------- .../doc_classes/VisualScriptBasicTypeConstant.xml | 19 -- .../doc_classes/VisualScriptBuiltinFunc.xml | 221 ------------- .../doc_classes/VisualScriptClassConstant.xml | 23 -- .../doc_classes/VisualScriptComment.xml | 23 -- .../doc_classes/VisualScriptComposeArray.xml | 11 - .../doc_classes/VisualScriptCondition.xml | 18 -- .../doc_classes/VisualScriptConstant.xml | 23 -- .../doc_classes/VisualScriptConstructor.xml | 35 -- .../doc_classes/VisualScriptCustomNode.xml | 166 ---------- .../doc_classes/VisualScriptCustomNodes.xml | 37 --- .../doc_classes/VisualScriptDeconstruct.xml | 16 - .../doc_classes/VisualScriptEmitSignal.xml | 20 -- .../doc_classes/VisualScriptEngineSingleton.xml | 16 - .../doc_classes/VisualScriptExpression.xml | 11 - .../doc_classes/VisualScriptFunction.xml | 11 - .../doc_classes/VisualScriptFunctionCall.xml | 75 ----- .../doc_classes/VisualScriptFunctionState.xml | 35 -- .../doc_classes/VisualScriptGlobalConstant.xml | 16 - .../doc_classes/VisualScriptIndexGet.xml | 11 - .../doc_classes/VisualScriptIndexSet.xml | 11 - .../doc_classes/VisualScriptInputAction.xml | 33 -- .../doc_classes/VisualScriptIterator.xml | 18 -- .../doc_classes/VisualScriptLists.xml | 77 ----- .../doc_classes/VisualScriptLocalVar.xml | 23 -- .../doc_classes/VisualScriptLocalVarSet.xml | 25 -- .../doc_classes/VisualScriptMathConstant.xml | 49 --- .../visual_script/doc_classes/VisualScriptNode.xml | 47 --- .../doc_classes/VisualScriptOperator.xml | 23 -- .../doc_classes/VisualScriptPreload.xml | 20 -- .../doc_classes/VisualScriptPropertyGet.xml | 48 --- .../doc_classes/VisualScriptPropertySet.xml | 84 ----- .../doc_classes/VisualScriptResourcePath.xml | 13 - .../doc_classes/VisualScriptReturn.xml | 24 -- .../doc_classes/VisualScriptSceneNode.xml | 20 -- .../doc_classes/VisualScriptSceneTree.xml | 11 - .../doc_classes/VisualScriptSelect.xml | 22 -- .../visual_script/doc_classes/VisualScriptSelf.xml | 15 - .../doc_classes/VisualScriptSequence.xml | 22 -- .../doc_classes/VisualScriptSubCall.xml | 11 - .../doc_classes/VisualScriptSwitch.xml | 20 -- .../doc_classes/VisualScriptTypeCast.xml | 19 -- .../doc_classes/VisualScriptVariableGet.xml | 20 -- .../doc_classes/VisualScriptVariableSet.xml | 21 -- .../doc_classes/VisualScriptWhile.xml | 17 - .../doc_classes/VisualScriptYield.xml | 30 -- .../doc_classes/VisualScriptYieldSignal.xml | 36 --- 47 files changed, 1903 deletions(-) delete mode 100644 modules/visual_script/doc_classes/VisualScript.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptBasicTypeConstant.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptClassConstant.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptComment.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptComposeArray.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptCondition.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptConstant.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptConstructor.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptCustomNode.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptCustomNodes.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptDeconstruct.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptEmitSignal.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptEngineSingleton.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptExpression.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptFunction.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptFunctionCall.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptFunctionState.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptGlobalConstant.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptIndexGet.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptIndexSet.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptInputAction.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptIterator.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptLists.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptLocalVar.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptLocalVarSet.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptMathConstant.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptNode.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptOperator.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptPreload.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptPropertyGet.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptPropertySet.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptResourcePath.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptReturn.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptSceneNode.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptSceneTree.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptSelect.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptSelf.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptSequence.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptSubCall.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptSwitch.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptTypeCast.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptVariableGet.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptVariableSet.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptWhile.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptYield.xml delete mode 100644 modules/visual_script/doc_classes/VisualScriptYieldSignal.xml (limited to 'modules/visual_script/doc_classes') diff --git a/modules/visual_script/doc_classes/VisualScript.xml b/modules/visual_script/doc_classes/VisualScript.xml deleted file mode 100644 index ff6b7a8b5f..0000000000 --- a/modules/visual_script/doc_classes/VisualScript.xml +++ /dev/null @@ -1,357 +0,0 @@ - - - - A script implemented in the Visual Script programming environment. - - - A script implemented in the Visual Script programming environment. The script extends the functionality of all objects that instance it. - [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes. - You are most likely to use this class via the Visual Script editor or when writing plugins for it. - - - $DOCS_URL/tutorials/scripting/visual_script/index.html - - - - - - - Add a custom signal with the specified name to the VisualScript. - - - - - - - - Add a function with the specified name to the VisualScript, and assign the root [VisualScriptFunction] node's id as [code]func_node_id[/code]. - - - - - - - - - Add a node to the VisualScript. - - - - - - - - - Add a variable to the VisualScript, optionally giving it a default value or marking it as exported. - - - - - - - - - - Add an argument to a custom signal added with [method add_custom_signal]. - - - - - - - Get the count of a custom signal's arguments. - - - - - - - - Get the name of a custom signal's argument. - - - - - - - - Get the type of a custom signal's argument. - - - - - - - - Remove a specific custom signal's argument. - - - - - - - - - Rename a custom signal's argument. - - - - - - - - - Change the type of a custom signal's argument. - - - - - - - - - Swap two of the arguments of a custom signal. - - - - - - - - - - Connect two data ports. The value of [code]from_node[/code]'s [code]from_port[/code] would be fed into [code]to_node[/code]'s [code]to_port[/code]. - - - - - - - - - - Disconnect two data ports previously connected with [method data_connect]. - - - - - - - Returns the id of a function's entry point node. - - - - - - - Returns a node given its id. - - - - - - - Returns a node's position in pixels. - - - - - - Returns the current position of the center of the screen. - - - - - - - Returns the default (initial) value of a variable. - - - - - - - Returns whether a variable is exported. - - - - - - - Returns the information for a given variable as a dictionary. The information includes its name, type, hint and usage. - - - - - - - Returns whether a signal exists with the specified name. - - - - - - - - - - Returns whether the specified data ports are connected. - - - - - - - Returns whether a function exists with the specified name. - - - - - - - Returns whether a node exists with the given id. - - - - - - - - - Returns whether the specified sequence ports are connected. - - - - - - - Returns whether a variable exists with the specified name. - - - - - - - Remove a custom signal with the given name. - - - - - - - Remove a specific function and its nodes from the script. - - - - - - - Remove the node with the specified id. - - - - - - - Remove a variable with the given name. - - - - - - - - Change the name of a custom signal. - - - - - - - - Change the name of a function. - - - - - - - - Change the name of a variable. - - - - - - - - - Connect two sequence ports. The execution will flow from of [code]from_node[/code]'s [code]from_output[/code] into [code]to_node[/code]. - Unlike [method data_connect], there isn't a [code]to_port[/code], since the target node can have only one sequence port. - - - - - - - - - Disconnect two sequence ports previously connected with [method sequence_connect]. - - - - - - - Set the base type of the script. - - - - - - - - Set the node position in the VisualScript graph. - - - - - - - Set the screen center to the given position. - - - - - - - - Change the default (initial) value of a variable. - - - - - - - - Change whether a variable is exported. - - - - - - - - Set a variable's info, using the same format as [method get_variable_info]. - - - - - - - - Emitted when the ports of a node are changed. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptBasicTypeConstant.xml b/modules/visual_script/doc_classes/VisualScriptBasicTypeConstant.xml deleted file mode 100644 index 0ed66f44e1..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptBasicTypeConstant.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - A Visual Script node representing a constant from the base types. - - - A Visual Script node representing a constant from base types, such as [constant Vector3.AXIS_X]. - - - - - - The type to get the constant from. - - - The name of the constant to return. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml b/modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml deleted file mode 100644 index 647b627d25..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml +++ /dev/null @@ -1,221 +0,0 @@ - - - - A Visual Script node used to call built-in functions. - - - A built-in function used inside a [VisualScript]. It is usually a math function or an utility function. - See also [@GDScript], for the same functions in the GDScript language. - - - - - - The function to be executed. - - - - - Returns the sine of the input. - - - Returns the cosine of the input. - - - Returns the tangent of the input. - - - Returns the hyperbolic sine of the input. - - - Returns the hyperbolic cosine of the input. - - - Returns the hyperbolic tangent of the input. - - - Returns the arc sine of the input. - - - Returns the arc cosine of the input. - - - Returns the arc tangent of the input. - - - Returns the arc tangent of the input, using the signs of both parameters to determine the exact angle. - - - Returns the square root of the input. - - - Returns the remainder of one input divided by the other, using floating-point numbers. - - - Returns the positive remainder of one input divided by the other, using floating-point numbers. - - - Returns the input rounded down. - - - Returns the input rounded up. - - - Returns the input rounded to the nearest integer. - - - Returns the absolute value of the input. - - - Returns the sign of the input, turning it into 1, -1, or 0. Useful to determine if the input is positive or negative. - - - Returns the input raised to a given power. - - - Returns the natural logarithm of the input. Note that this is not the typical base-10 logarithm function calculators use. - - - Returns the mathematical constant [b]e[/b] raised to the specified power of the input. [b]e[/b] has an approximate value of 2.71828. - - - Returns whether the input is NaN (Not a Number) or not. NaN is usually produced by dividing 0 by 0, though other ways exist. - - - Returns whether the input is an infinite floating-point number or not. Infinity is usually produced by dividing a number by 0, though other ways exist. - - - Easing function, based on exponent. 0 is constant, 1 is linear, 0 to 1 is ease-in, 1+ is ease out. Negative values are in-out/out in. - - - Returns the number of digit places after the decimal that the first non-zero digit occurs. - - - Returns the input snapped to a given step. - - - Returns a number linearly interpolated between the first two inputs, based on the third input. Uses the formula [code]a + (a - b) * t[/code]. - - - - - - - - - Moves the number toward a value, based on the third input. - - - Randomize the seed (or the internal state) of the random number generator. Current implementation reseeds using a number based on time. - - - Returns a random 32 bits integer value. To obtain a random value between 0 to N (where N is smaller than 2^32 - 1), you can use it with the remainder function. - - - Returns a random floating-point value between 0 and 1. To obtain a random value between 0 to N, you can use it with multiplication. - - - Returns a random 32-bit integer value between the two inputs. - - - Returns a random floating-point value between the two inputs. - - - Returns a normally-distributed pseudo-random number, using Box-Muller transform with the specified mean and a standard deviation. This is also called Gaussian distribution. - - - Set the seed for the random number generator. - - - Returns a random value from the given seed, along with the new seed. - - - Convert the input from degrees to radians. - - - Convert the input from radians to degrees. - - - Convert the input from linear volume to decibel volume. - - - Convert the input from decibel volume to linear volume. - - - - - - - Returns the [code]value[/code] wrapped between [code]0[/code] and the [code]length[/code]. If the limit is reached, the next value the function returned is decreased to the [code]0[/code] side or increased to the [code]length[/code] side (like a triangle wave). If [code]length[/code] is less than zero, it becomes positive. - - - Returns the greater of the two numbers, also known as their maximum. - - - Returns the lesser of the two numbers, also known as their minimum. - - - Returns the input clamped inside the given range, ensuring the result is never outside it. Equivalent to [code]min(max(input, range_low), range_high)[/code]. - - - Returns the nearest power of 2 to the input. - - - Create a [WeakRef] from the input. - - - Convert between types. - - - Returns the type of the input as an integer. Check [enum Variant.Type] for the integers that might be returned. - - - Checks if a type is registered in the [ClassDB]. - - - Returns a character with the given ascii value. - - - Convert the input to a string. - - - Print the given string to the output window. - - - Print the given string to the standard error output. - - - Print the given string to the standard output, without adding a newline. - - - - - Serialize a [Variant] to a string. - - - Deserialize a [Variant] from a string serialized using [constant VAR_TO_STR]. - - - Serialize a [Variant] to a [PackedByteArray]. - - - Deserialize a [Variant] from a [PackedByteArray] serialized using [constant VAR_TO_BYTES]. - - - Returns a number smoothly interpolated between the first two inputs, based on the third input. Similar to [constant MATH_LERP], but interpolates faster at the beginning and slower at the end. Using Hermite interpolation formula: - [codeblock] - var t = clamp((weight - from) / (to - from), 0.0, 1.0) - return t * t * (3.0 - 2.0 * t) - [/codeblock] - - - - - - - - - Represents the size of the [enum BuiltinFunc] enum. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptClassConstant.xml b/modules/visual_script/doc_classes/VisualScriptClassConstant.xml deleted file mode 100644 index 2509084f0e..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptClassConstant.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - Gets a constant from a given class. - - - This node returns a constant from a given class, such as [constant TYPE_INT]. See the given class' documentation for available constants. - [b]Input Ports:[/b] - none - [b]Output Ports:[/b] - - Data (variant): [code]value[/code] - - - - - - The constant's parent class. - - - The constant to return. See the given class for its available constants. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptComment.xml b/modules/visual_script/doc_classes/VisualScriptComment.xml deleted file mode 100644 index cf4b57ca19..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptComment.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - A Visual Script node used to annotate the script. - - - A Visual Script node used to display annotations in the script, so that code may be documented. - Comment nodes can be resized so they encompass a group of nodes. - - - - - - The text inside the comment node. - - - The comment node's size (in pixels). - - - The comment node's title. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptComposeArray.xml b/modules/visual_script/doc_classes/VisualScriptComposeArray.xml deleted file mode 100644 index ea73867c4b..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptComposeArray.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - A Visual Script Node used to create array from a list of items. - - - A Visual Script Node used to compose array from the list of elements provided with custom in-graph UI hard coded in the VisualScript Editor. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptCondition.xml b/modules/visual_script/doc_classes/VisualScriptCondition.xml deleted file mode 100644 index a29388569f..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptCondition.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - A Visual Script node which branches the flow. - - - A Visual Script node that checks a [bool] input port. If [code]true[/code], it will exit via the "true" sequence port. If [code]false[/code], it will exit via the "false" sequence port. After exiting either, it exits via the "done" port. Sequence ports may be left disconnected. - [b]Input Ports:[/b] - - Sequence: [code]if (cond) is[/code] - - Data (boolean): [code]cond[/code] - [b]Output Ports:[/b] - - Sequence: [code]true[/code] - - Sequence: [code]false[/code] - - Sequence: [code]done[/code] - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptConstant.xml b/modules/visual_script/doc_classes/VisualScriptConstant.xml deleted file mode 100644 index 645ede9001..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptConstant.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - Gets a contant's value. - - - This node returns a constant's value. - [b]Input Ports:[/b] - none - [b]Output Ports:[/b] - - Data (variant): [code]get[/code] - - - - - - The constant's type. - - - The constant's value. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptConstructor.xml b/modules/visual_script/doc_classes/VisualScriptConstructor.xml deleted file mode 100644 index a003f21ab9..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptConstructor.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - A Visual Script node which calls a base type constructor. - - - A Visual Script node which calls a base type constructor. It can be used for type conversion as well. - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptCustomNode.xml b/modules/visual_script/doc_classes/VisualScriptCustomNode.xml deleted file mode 100644 index 6e522b2f84..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptCustomNode.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - - A scripted Visual Script node. - - - A custom Visual Script node which can be scripted in powerful ways. - - - - - - - - Returns the node's title. - - - - - - Returns the node's category. - - - - - - Returns the count of input value ports. - - - - - - - Returns the specified input port's hint. See the [enum @GlobalScope.PropertyHint] hints. - - - - - - - Returns the specified input port's hint string. - - - - - - - Returns the specified input port's name. - - - - - - - Returns the specified input port's type. See the [enum Variant.Type] values. - - - - - - Returns the amount of output [b]sequence[/b] ports. - - - - - - - Returns the specified [b]sequence[/b] output's name. - - - - - - Returns the amount of output value ports. - - - - - - - Returns the specified output port's hint. See the [enum @GlobalScope.PropertyHint] hints. - - - - - - - Returns the specified output port's hint string. - - - - - - - Returns the specified output port's name. - - - - - - - Returns the specified output port's type. See the [enum Variant.Type] values. - - - - - - Returns the custom node's text, which is shown right next to the input [b]sequence[/b] port (if there is none, on the place that is usually taken by it). - - - - - - Returns the size of the custom node's working memory. See [method _step] for more details. - - - - - - Returns whether the custom node has an input [b]sequence[/b] port. - - - - - - - - - - Execute the custom node's logic, returning the index of the output sequence port to use or a [String] when there is an error. - The [code]inputs[/code] array contains the values of the input ports. - [code]outputs[/code] is an array whose indices should be set to the respective outputs. - The [code]start_mode[/code] is usually [constant START_MODE_BEGIN_SEQUENCE], unless you have used the [code]STEP_*[/code] constants. - [code]working_mem[/code] is an array which can be used to persist information between runs of the custom node. The size needs to be predefined using [method _get_working_memory_size]. - When returning, you can mask the returned value with one of the [code]STEP_*[/code] constants. - - - - - - The start mode used the first time when [method _step] is called. - - - The start mode used when [method _step] is called after coming back from a [constant STEP_PUSH_STACK_BIT]. - - - The start mode used when [method _step] is called after resuming from [constant STEP_YIELD_BIT]. - - - Hint used by [method _step] to tell that control should return to it when there is no other node left to execute. - This is used by [VisualScriptCondition] to redirect the sequence to the "Done" port after the [code]true[/code]/[code]false[/code] branch has finished execution. - - - Hint used by [method _step] to tell that control should return back, either hitting a previous [constant STEP_PUSH_STACK_BIT] or exiting the function. - - - - - Hint used by [method _step] to tell that control should stop and exit the function. - - - Hint used by [method _step] to tell that the function should be yielded. - Using this requires you to have at least one working memory slot, which is used for the [VisualScriptFunctionState]. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptCustomNodes.xml b/modules/visual_script/doc_classes/VisualScriptCustomNodes.xml deleted file mode 100644 index 48d7975051..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptCustomNodes.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - Manages custom nodes for the Visual Script editor. - - - This singleton can be used to manage (i.e., add or remove) custom nodes for the Visual Script editor. - - - - - - - - - - - Add a custom Visual Script node to the editor. It'll be placed under "Custom Nodes" with the [code]category[/code] as the parameter. - - - - - - - - Remove a custom Visual Script node from the editor. Custom nodes already placed on scripts won't be removed. - - - - - - - Emitted when a custom Visual Script node is added or removed. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptDeconstruct.xml b/modules/visual_script/doc_classes/VisualScriptDeconstruct.xml deleted file mode 100644 index b544fd9d90..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptDeconstruct.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - A Visual Script node which deconstructs a base type instance into its parts. - - - A Visual Script node which deconstructs a base type instance into its parts. - - - - - - The type to deconstruct. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptEmitSignal.xml b/modules/visual_script/doc_classes/VisualScriptEmitSignal.xml deleted file mode 100644 index c0cefa0ab7..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptEmitSignal.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - Emits a specified signal. - - - Emits a specified signal when it is executed. - [b]Input Ports:[/b] - - Sequence: [code]emit[/code] - [b]Output Ports:[/b] - - Sequence - - - - - - The signal to emit. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptEngineSingleton.xml b/modules/visual_script/doc_classes/VisualScriptEngineSingleton.xml deleted file mode 100644 index f60a048845..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptEngineSingleton.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - A Visual Script node returning a singleton from [@GlobalScope]. - - - A Visual Script node returning a singleton from [@GlobalScope]. - - - - - - The singleton's name. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptExpression.xml b/modules/visual_script/doc_classes/VisualScriptExpression.xml deleted file mode 100644 index 14750e7c8d..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptExpression.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - A Visual Script node that can execute a custom expression. - - - A Visual Script node that can execute a custom expression. Values can be provided for the input and the expression result can be retrieved from the output. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptFunction.xml b/modules/visual_script/doc_classes/VisualScriptFunction.xml deleted file mode 100644 index 74d9f194eb..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptFunction.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - A Visual Script node representing a function. - - - [VisualScriptFunction] represents a function header. It is the starting point for the function body and can be used to tweak the function's properties (e.g. RPC mode). - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptFunctionCall.xml b/modules/visual_script/doc_classes/VisualScriptFunctionCall.xml deleted file mode 100644 index 543263ff8e..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptFunctionCall.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - A Visual Script node for calling a function. - - - [VisualScriptFunctionCall] is created when you add or drag and drop a function onto the Visual Script graph. It allows to tweak parameters of the call, e.g. what object the function is called on. - - - - - - The script to be used when [member call_mode] is set to [constant CALL_MODE_INSTANCE]. - - - The base type to be used when [member call_mode] is set to [constant CALL_MODE_INSTANCE]. - - - The type to be used when [member call_mode] is set to [constant CALL_MODE_BASIC_TYPE]. - - - [code]call_mode[/code] determines the target object on which the method will be called. See [enum CallMode] for options. - - - The name of the function to be called. - - - The node path to use when [member call_mode] is set to [constant CALL_MODE_NODE_PATH]. - - - The mode for RPC calls. See [method Node.rpc] for more details and [enum RPCCallMode] for available options. - - - The singleton to call the method on. Used when [member call_mode] is set to [constant CALL_MODE_SINGLETON]. - - - Number of default arguments that will be used when calling the function. Can't be higher than the number of available default arguments in the method's declaration. - - - If [code]false[/code], call errors (e.g. wrong number of arguments) will be ignored. - - - - - The method will be called on this [Object]. - - - The method will be called on the given [Node] in the scene tree. - - - The method will be called on an instanced node with the given type and script. - - - The method will be called on a GDScript basic type (e.g. [Vector2]). - - - The method will be called on a singleton. - - - The method will be called locally. - - - The method will be called remotely. - - - The method will be called remotely using an unreliable protocol. - - - The method will be called remotely for the given peer. - - - The method will be called remotely for the given peer, using an unreliable protocol. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptFunctionState.xml b/modules/visual_script/doc_classes/VisualScriptFunctionState.xml deleted file mode 100644 index 03fef9c13b..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptFunctionState.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - A Visual Script node representing a function state. - - - [VisualScriptFunctionState] is returned from [VisualScriptYield] and can be used to resume a paused function call. - - - - - - - - - - - Connects this [VisualScriptFunctionState] to a signal in the given object to automatically resume when it's emitted. - - - - - - Returns whether the function state is valid. - - - - - - - Resumes the function to run from the point it was yielded. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptGlobalConstant.xml b/modules/visual_script/doc_classes/VisualScriptGlobalConstant.xml deleted file mode 100644 index 42ada99257..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptGlobalConstant.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - A Visual Script node returning a constant from [@GlobalScope]. - - - A Visual Script node returning a constant from [@GlobalScope]. - - - - - - The constant to be used. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptIndexGet.xml b/modules/visual_script/doc_classes/VisualScriptIndexGet.xml deleted file mode 100644 index 8828bf9039..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptIndexGet.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - A Visual Script node for getting a value from an array or a dictionary. - - - [VisualScriptIndexGet] will return the value stored in an array or a dictionary under the given index. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptIndexSet.xml b/modules/visual_script/doc_classes/VisualScriptIndexSet.xml deleted file mode 100644 index 5c81dcd339..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptIndexSet.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - A Visual Script node for setting a value in an array or a dictionary. - - - [VisualScriptIndexSet] will set the value stored in an array or a dictionary under the given index to the provided new value. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptInputAction.xml b/modules/visual_script/doc_classes/VisualScriptInputAction.xml deleted file mode 100644 index 51c2eaf353..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptInputAction.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - A Visual Script node returning a state of an action. - - - [VisualScriptInputAction] can be used to check if an action is pressed or released. - - - - - - Name of the action. - - - State of the action to check. See [enum Mode] for options. - - - - - [code]True[/code] if action is pressed. - - - [code]True[/code] if action is released (i.e. not pressed). - - - [code]True[/code] on the frame the action was pressed. - - - [code]True[/code] on the frame the action was released. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptIterator.xml b/modules/visual_script/doc_classes/VisualScriptIterator.xml deleted file mode 100644 index ef6846deba..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptIterator.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - Steps through items in a given input. - - - This node steps through each item in a given input. Input can be any sequence data type, such as an [Array] or [String]. When each item has been processed, execution passed out the [code]exit[/code] Sequence port. - [b]Input Ports:[/b] - - Sequence: [code]for (elem) in (input)[/code] - - Data (variant): [code]input[/code] - [b]Output Ports:[/b] - - Sequence: [code]each[/code] - - Sequence: [code]exit[/code] - - Data (variant): [code]elem[/code] - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptLists.xml b/modules/visual_script/doc_classes/VisualScriptLists.xml deleted file mode 100644 index 607965bf71..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptLists.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - A Visual Script virtual class for in-graph editable nodes. - - - A Visual Script virtual class that defines the shape and the default behavior of the nodes that have to be in-graph editable nodes. - - - - - - - - - - - Adds an input port to the Visual Script node. - - - - - - - - - Adds an output port to the Visual Script node. - - - - - - - Removes an input port from the Visual Script node. - - - - - - - Removes an output port from the Visual Script node. - - - - - - - - Sets the name of an input port. - - - - - - - - Sets the type of an input port. - - - - - - - - Sets the name of an output port. - - - - - - - - Sets the type of an output port. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptLocalVar.xml b/modules/visual_script/doc_classes/VisualScriptLocalVar.xml deleted file mode 100644 index dbf9049f0a..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptLocalVar.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - Gets a local variable's value. - - - Returns a local variable's value. "Var Name" must be supplied, with an optional type. - [b]Input Ports:[/b] - none - [b]Output Ports:[/b] - - Data (variant): [code]get[/code] - - - - - - The local variable's type. - - - The local variable's name. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptLocalVarSet.xml b/modules/visual_script/doc_classes/VisualScriptLocalVarSet.xml deleted file mode 100644 index 1ae4e20f97..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptLocalVarSet.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - Changes a local variable's value. - - - Changes a local variable's value to the given input. The new value is also provided on an output Data port. - [b]Input Ports:[/b] - - Sequence - - Data (variant): [code]set[/code] - [b]Output Ports:[/b] - - Sequence - - Data (variant): [code]get[/code] - - - - - - The local variable's type. - - - The local variable's name. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptMathConstant.xml b/modules/visual_script/doc_classes/VisualScriptMathConstant.xml deleted file mode 100644 index 01c36e763b..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptMathConstant.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - Commonly used mathematical constants. - - - Provides common math constants, such as Pi, on an output Data port. - [b]Input Ports:[/b] - none - [b]Output Ports:[/b] - - Data (variant): [code]get[/code] - - - - - - The math constant. - - - - - Unity: [code]1[/code]. - - - Pi: [code]3.141593[/code]. - - - Pi divided by two: [code]1.570796[/code]. - - - Tau: [code]6.283185[/code]. - - - Mathematical constant [code]e[/code], the natural log base: [code]2.718282[/code]. - - - Square root of two: [code]1.414214[/code]. - - - Infinity: [code]inf[/code]. - - - Not a number: [code]nan[/code]. - - - Represents the size of the [enum MathConstant] enum. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptNode.xml b/modules/visual_script/doc_classes/VisualScriptNode.xml deleted file mode 100644 index 97c4f8ce76..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptNode.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - A node which is part of a [VisualScript]. - - - A node which is part of a [VisualScript]. Not to be confused with [Node], which is a part of a [SceneTree]. - - - - - - - - - Returns the default value of a given port. The default value is used when nothing is connected to the port. - - - - - - Returns the [VisualScript] instance the node is bound to. - - - - - - Notify that the node's ports have changed. Usually used in conjunction with [VisualScriptCustomNode] . - - - - - - - - Change the default value of a given port. - - - - - - - Emitted when the available input/output ports are changed. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptOperator.xml b/modules/visual_script/doc_classes/VisualScriptOperator.xml deleted file mode 100644 index 47ca6ddb90..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptOperator.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - A Visual Script node that performs an operation on two values. - - - [b]Input Ports:[/b] - - Data (variant): [code]A[/code] - - Data (variant): [code]B[/code] - [b]Output Ports:[/b] - - Data (variant): [code]result[/code] - - - - - - The operation to be performed. See [enum Variant.Operator] for available options. - - - The type of the values for this operation. See [enum Variant.Type] for available options. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptPreload.xml b/modules/visual_script/doc_classes/VisualScriptPreload.xml deleted file mode 100644 index 146d6cd9c3..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptPreload.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - Creates a new [Resource] or loads one from the filesystem. - - - Creates a new [Resource] or loads one from the filesystem. - [b]Input Ports:[/b] - none - [b]Output Ports:[/b] - - Data (object): [code]res[/code] - - - - - - The [Resource] to load. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptPropertyGet.xml b/modules/visual_script/doc_classes/VisualScriptPropertyGet.xml deleted file mode 100644 index 77cd6393a9..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptPropertyGet.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - A Visual Script node returning a value of a property from an [Object]. - - - [VisualScriptPropertyGet] can return a value of any property from the current object or other objects. - - - - - - The script to be used when [member set_mode] is set to [constant CALL_MODE_INSTANCE]. - - - The base type to be used when [member set_mode] is set to [constant CALL_MODE_INSTANCE]. - - - The type to be used when [member set_mode] is set to [constant CALL_MODE_BASIC_TYPE]. - - - The indexed name of the property to retrieve. See [method Object.get_indexed] for details. - - - The node path to use when [member set_mode] is set to [constant CALL_MODE_NODE_PATH]. - - - The name of the property to retrieve. Changing this will clear [member index]. - - - [code]set_mode[/code] determines the target object from which the property will be retrieved. See [enum CallMode] for options. - - - - - The property will be retrieved from this [Object]. - - - The property will be retrieved from the given [Node] in the scene tree. - - - The property will be retrieved from an instanced node with the given type and script. - - - The property will be retrieved from a GDScript basic type (e.g. [Vector2]). - - - diff --git a/modules/visual_script/doc_classes/VisualScriptPropertySet.xml b/modules/visual_script/doc_classes/VisualScriptPropertySet.xml deleted file mode 100644 index 6cffa328c7..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptPropertySet.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - A Visual Script node that sets a property of an [Object]. - - - [VisualScriptPropertySet] can set the value of any property from the current object or other objects. - - - - - - The additional operation to perform when assigning. See [enum AssignOp] for options. - - - The script to be used when [member set_mode] is set to [constant CALL_MODE_INSTANCE]. - - - The base type to be used when [member set_mode] is set to [constant CALL_MODE_INSTANCE]. - - - The type to be used when [member set_mode] is set to [constant CALL_MODE_BASIC_TYPE]. - - - The indexed name of the property to set. See [method Object.set_indexed] for details. - - - The node path to use when [member set_mode] is set to [constant CALL_MODE_NODE_PATH]. - - - The name of the property to set. Changing this will clear [member index]. - - - [code]set_mode[/code] determines the target object on which the property will be set. See [enum CallMode] for options. - - - - - The property will be set on this [Object]. - - - The property will be set on the given [Node] in the scene tree. - - - The property will be set on an instanced node with the given type and script. - - - The property will be set on a GDScript basic type (e.g. [Vector2]). - - - The property will be assigned regularly. - - - The value will be added to the property. Equivalent of doing [code]+=[/code]. - - - The value will be subtracted from the property. Equivalent of doing [code]-=[/code]. - - - The property will be multiplied by the value. Equivalent of doing [code]*=[/code]. - - - The property will be divided by the value. Equivalent of doing [code]/=[/code]. - - - A modulo operation will be performed on the property and the value. Equivalent of doing [code]%=[/code]. - - - The property will be binarly shifted to the left by the given value. Equivalent of doing [code]<<[/code]. - - - The property will be binarly shifted to the right by the given value. Equivalent of doing [code]>>[/code]. - - - A binary [code]AND[/code] operation will be performed on the property. Equivalent of doing [code]&=[/code]. - - - A binary [code]OR[/code] operation will be performed on the property. Equivalent of doing [code]|=[/code]. - - - A binary [code]XOR[/code] operation will be performed on the property. Equivalent of doing [code]^=[/code]. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptResourcePath.xml b/modules/visual_script/doc_classes/VisualScriptResourcePath.xml deleted file mode 100644 index 6ca8260ade..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptResourcePath.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptReturn.xml b/modules/visual_script/doc_classes/VisualScriptReturn.xml deleted file mode 100644 index 1d59392782..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptReturn.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - Exits a function and returns an optional value. - - - Ends the execution of a function and returns control to the calling function. Optionally, it can return a [Variant] value. - [b]Input Ports:[/b] - - Sequence - - Data (variant): [code]result[/code] (optional) - [b]Output Ports:[/b] - none - - - - - - If [code]true[/code], the [code]return[/code] input port is available. - - - The return value's data type. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptSceneNode.xml b/modules/visual_script/doc_classes/VisualScriptSceneNode.xml deleted file mode 100644 index a769d11d94..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptSceneNode.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - Node reference. - - - A direct reference to a node. - [b]Input Ports:[/b] - none - [b]Output Ports:[/b] - - Data: [code]node[/code] (obj) - - - - - - The node's path in the scene tree. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptSceneTree.xml b/modules/visual_script/doc_classes/VisualScriptSceneTree.xml deleted file mode 100644 index 84ab90892f..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptSceneTree.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - A Visual Script node for accessing [SceneTree] methods. - - - A Visual Script node for accessing [SceneTree] methods. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptSelect.xml b/modules/visual_script/doc_classes/VisualScriptSelect.xml deleted file mode 100644 index 1aa916f779..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptSelect.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - Chooses between two input values. - - - Chooses between two input values based on a Boolean condition. - [b]Input Ports:[/b] - - Data (boolean): [code]cond[/code] - - Data (variant): [code]a[/code] - - Data (variant): [code]b[/code] - [b]Output Ports:[/b] - - Data (variant): [code]out[/code] - - - - - - The input variables' type. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptSelf.xml b/modules/visual_script/doc_classes/VisualScriptSelf.xml deleted file mode 100644 index 8cc59dbccd..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptSelf.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - Outputs a reference to the current instance. - - - Provides a reference to the node running the visual script. - [b]Input Ports:[/b] - none - [b]Output Ports:[/b] - - Data (object): [code]instance[/code] - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptSequence.xml b/modules/visual_script/doc_classes/VisualScriptSequence.xml deleted file mode 100644 index 9adbc30e0d..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptSequence.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - Executes a series of Sequence ports. - - - Steps through a series of one or more output Sequence ports. The [code]current[/code] data port outputs the currently executing item. - [b]Input Ports:[/b] - - Sequence: [code]in order[/code] - [b]Output Ports:[/b] - - Sequence: [code]1[/code] - - Sequence: [code]2 - n[/code] (optional) - - Data (int): [code]current[/code] - - - - - - The number of steps in the sequence. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptSubCall.xml b/modules/visual_script/doc_classes/VisualScriptSubCall.xml deleted file mode 100644 index 535e89fc82..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptSubCall.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Calls a method called [code]_subcall[/code] in this object. - - - [VisualScriptSubCall] will call method named [code]_subcall[/code] in the current script. It will fail if the method doesn't exist or the provided arguments are wrong. - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptSwitch.xml b/modules/visual_script/doc_classes/VisualScriptSwitch.xml deleted file mode 100644 index 7befe89f50..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptSwitch.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - Branches program flow based on a given input's value. - - - Branches the flow based on an input's value. Use [b]Case Count[/b] in the Inspector to set the number of branches and each comparison's optional type. - [b]Input Ports:[/b] - - Sequence: [code]'input' is[/code] - - Data (variant): [code]=[/code] - - Data (variant): [code]=[/code] (optional) - - Data (variant): [code]input[/code] - [b]Output Ports:[/b] - - Sequence - - Sequence (optional) - - Sequence: [code]done[/code] - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptTypeCast.xml b/modules/visual_script/doc_classes/VisualScriptTypeCast.xml deleted file mode 100644 index ec84a75601..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptTypeCast.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - A Visual Script node that casts the given value to another type. - - - [VisualScriptTypeCast] will perform a type conversion to an [Object]-derived type. - - - - - - The target script class to be converted to. If none, only the [member base_type] will be used. - - - The target type to be converted to. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptVariableGet.xml b/modules/visual_script/doc_classes/VisualScriptVariableGet.xml deleted file mode 100644 index 8d99b4b9d0..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptVariableGet.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - Gets a variable's value. - - - Returns a variable's value. "Var Name" must be supplied, with an optional type. - [b]Input Ports:[/b] - none - [b]Output Ports:[/b] - - Data (variant): [code]value[/code] - - - - - - The variable's name. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptVariableSet.xml b/modules/visual_script/doc_classes/VisualScriptVariableSet.xml deleted file mode 100644 index 4f568cc0f6..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptVariableSet.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - Changes a variable's value. - - - Changes a variable's value to the given input. - [b]Input Ports:[/b] - - Sequence - - Data (variant): [code]set[/code] - [b]Output Ports:[/b] - - Sequence - - - - - - The variable's name. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptWhile.xml b/modules/visual_script/doc_classes/VisualScriptWhile.xml deleted file mode 100644 index 4e7cccef17..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptWhile.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - Conditional loop. - - - Loops while a condition is [code]true[/code]. Execution continues out the [code]exit[/code] Sequence port when the loop terminates. - [b]Input Ports:[/b] - - Sequence: [code]while(cond)[/code] - - Data (bool): [code]cond[/code] - [b]Output Ports:[/b] - - Sequence: [code]repeat[/code] - - Sequence: [code]exit[/code] - - - - diff --git a/modules/visual_script/doc_classes/VisualScriptYield.xml b/modules/visual_script/doc_classes/VisualScriptYield.xml deleted file mode 100644 index ec757a3ac4..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptYield.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - A Visual Script node used to pause a function execution. - - - [VisualScriptYield] will pause the function call and return [VisualScriptFunctionState], which can be used to resume the function. - - - - - - The mode to use for yielding. See [enum YieldMode] for available options. - - - The time to wait when [member mode] is set to [constant YIELD_WAIT]. - - - - - Yields during an idle frame. - - - Yields during a physics frame. - - - Yields a function and waits the given time. - - - diff --git a/modules/visual_script/doc_classes/VisualScriptYieldSignal.xml b/modules/visual_script/doc_classes/VisualScriptYieldSignal.xml deleted file mode 100644 index c3f4bc49c5..0000000000 --- a/modules/visual_script/doc_classes/VisualScriptYieldSignal.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - A Visual Script node yielding for a signal. - - - [VisualScriptYieldSignal] will pause the function execution until the provided signal is emitted. - - - - - - The base type to be used when [member call_mode] is set to [constant CALL_MODE_INSTANCE]. - - - [code]call_mode[/code] determines the target object to wait for the signal emission. See [enum CallMode] for options. - - - The node path to use when [member call_mode] is set to [constant CALL_MODE_NODE_PATH]. - - - The signal name to be waited for. - - - - - A signal from this [Object] will be used. - - - A signal from the given [Node] in the scene tree will be used. - - - A signal from an instanced node with the given type will be used. - - - -- cgit v1.2.3