From 86f6d08923eebc9f88363effed66f4bdebacba79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 21 May 2019 13:26:37 +0200 Subject: [PATCH] doc: Sync classref with current source --- .../AnimationNodeStateMachineTransition.xml | 2 +- doc/classes/Control.xml | 32 ++++++++++++++++++- doc/classes/Object.xml | 16 +++++----- doc/classes/TextEdit.xml | 10 ++++-- doc/classes/UndoRedo.xml | 2 +- doc/classes/VisualShaderNodeFresnel.xml | 13 ++++++++ doc/classes/VisualShaderNodeScalarFunc.xml | 2 ++ doc/classes/VisualShaderNodeVectorFunc.xml | 2 ++ 8 files changed, 65 insertions(+), 14 deletions(-) create mode 100644 doc/classes/VisualShaderNodeFresnel.xml diff --git a/doc/classes/AnimationNodeStateMachineTransition.xml b/doc/classes/AnimationNodeStateMachineTransition.xml index 2c3d2ceb79b..aeb44a789bb 100644 --- a/doc/classes/AnimationNodeStateMachineTransition.xml +++ b/doc/classes/AnimationNodeStateMachineTransition.xml @@ -13,7 +13,7 @@ Turn on auto advance when this condition is set. The provided name will become a boolean parameter on the [AnimationTree] that can be controlled from code (see [url=https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html#controlling-from-code][/url]). For example, if [member AnimationTree.tree_root] is an [AnimationNodeStateMachine] and [member advance_condition] is set to "idle": [codeblock] $animation_tree["parameters/conditions/idle"] = is_on_floor and linear_velocity.x == 0 - [codeblock] + [/codeblock] Turn on the transition automatically when this state is reached. This works best with [code]SWITCH_MODE_AT_END[/code]. diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index f7fbdf08ed9..f888e1ee097 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -512,7 +512,7 @@ - + @@ -574,6 +574,16 @@ Sets [member margin_right] and [member margin_bottom] at the same time. + + + + + + + + + + @@ -586,6 +596,16 @@ + + + + + + + + + + @@ -595,6 +615,16 @@ Sets the rotation (in radians). + + + + + + + + + + diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index 03501627922..dbbd974b041 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -65,14 +65,6 @@ Override this method to customize the [String] representation of the object when it's being converted to a string, for example: [code]print(obj)[/code]. - - - - - Returns a [String] representing the object. Default is [code]"[ClassName:RID]"[/code]. - Override the method [method _to_string] to customize the [String] representation. - - @@ -420,6 +412,14 @@ Set a script into the object, scripts extend the object functionality. + + + + + Returns a [String] representing the object. Default is [code]"[ClassName:RID]"[/code]. + Override the method [method _to_string] to customize the [String] representation. + + diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index dd0461f4db1..66c0f0277a6 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -382,12 +382,12 @@ If [code]true[/code], a right click displays the context menu. - - If [code]true[/code], the "tab" character will have a visible representation. - If [code]true[/code], the "space" character will have a visible representation. + + If [code]true[/code], the "tab" character will have a visible representation. + If [code]true[/code], the fold gutter is visible. This enables folding groups of indented lines. @@ -497,6 +497,8 @@ + + @@ -561,6 +563,8 @@ + + diff --git a/doc/classes/UndoRedo.xml b/doc/classes/UndoRedo.xml index ce6405b96c1..c0b73cd8e37 100644 --- a/doc/classes/UndoRedo.xml +++ b/doc/classes/UndoRedo.xml @@ -141,7 +141,7 @@ This is useful mostly to check if something changed from a saved version. - + diff --git a/doc/classes/VisualShaderNodeFresnel.xml b/doc/classes/VisualShaderNodeFresnel.xml new file mode 100644 index 00000000000..2484a44fcd6 --- /dev/null +++ b/doc/classes/VisualShaderNodeFresnel.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/doc/classes/VisualShaderNodeScalarFunc.xml b/doc/classes/VisualShaderNodeScalarFunc.xml index 163276b3bc4..b0ee422bbd9 100644 --- a/doc/classes/VisualShaderNodeScalarFunc.xml +++ b/doc/classes/VisualShaderNodeScalarFunc.xml @@ -75,5 +75,7 @@ + + diff --git a/doc/classes/VisualShaderNodeVectorFunc.xml b/doc/classes/VisualShaderNodeVectorFunc.xml index 71ce32c04ef..e67cb2e07f0 100644 --- a/doc/classes/VisualShaderNodeVectorFunc.xml +++ b/doc/classes/VisualShaderNodeVectorFunc.xml @@ -81,5 +81,7 @@ + +