From 3682978aee06cd5cf26ba462a4e44d352e9e0cd1 Mon Sep 17 00:00:00 2001 From: reduz Date: Sat, 21 Aug 2021 22:52:44 -0300 Subject: Replace BIND_VMETHOD by new GDVIRTUAL syntax * New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits. --- .../doc_classes/VisualScriptCustomNode.xml | 54 +++++++++++----------- .../doc_classes/VisualScriptSubCall.xml | 7 --- 2 files changed, 27 insertions(+), 34 deletions(-) (limited to 'modules/visual_script/doc_classes') diff --git a/modules/visual_script/doc_classes/VisualScriptCustomNode.xml b/modules/visual_script/doc_classes/VisualScriptCustomNode.xml index 8aa34f8cae..b574576856 100644 --- a/modules/visual_script/doc_classes/VisualScriptCustomNode.xml +++ b/modules/visual_script/doc_classes/VisualScriptCustomNode.xml @@ -9,118 +9,118 @@ - + Return the node's title. - + Return the node's category. - + Return the count of input value ports. - + - + Return the specified input port's hint. See the [enum @GlobalScope.PropertyHint] hints. - + - + Return the specified input port's hint string. - + - + Return the specified input port's name. - + - + Return the specified input port's type. See the [enum Variant.Type] values. - + Return the amount of output [b]sequence[/b] ports. - + - + Return the specified [b]sequence[/b] output's name. - + Return the amount of output value ports. - + - + Return the specified output port's hint. See the [enum @GlobalScope.PropertyHint] hints. - + - + Return the specified output port's hint string. - + - + Return the specified output port's name. - + - + Return the specified output port's type. See the [enum Variant.Type] values. - + Return 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). - + Return the size of the custom node's working memory. See [method _step] for more details. - + Return whether the custom node has an input [b]sequence[/b] port. - + diff --git a/modules/visual_script/doc_classes/VisualScriptSubCall.xml b/modules/visual_script/doc_classes/VisualScriptSubCall.xml index 374e7d0f35..f54887b09c 100644 --- a/modules/visual_script/doc_classes/VisualScriptSubCall.xml +++ b/modules/visual_script/doc_classes/VisualScriptSubCall.xml @@ -9,13 +9,6 @@ - - - - - Called by this node. - - -- cgit v1.2.3