From 105495646191f2758779256589cac1aa5c583cdc Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Mon, 12 Oct 2020 19:37:50 +0200 Subject: Document remaining Visual Script classes --- .../doc_classes/VisualScriptPropertySet.xml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'modules/visual_script/doc_classes/VisualScriptPropertySet.xml') diff --git a/modules/visual_script/doc_classes/VisualScriptPropertySet.xml b/modules/visual_script/doc_classes/VisualScriptPropertySet.xml index 71bfc4c8a5..75d6a63469 100644 --- a/modules/visual_script/doc_classes/VisualScriptPropertySet.xml +++ b/modules/visual_script/doc_classes/VisualScriptPropertySet.xml @@ -1,8 +1,10 @@ + 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. @@ -10,52 +12,75 @@ + 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]. -- cgit v1.2.3