diff options
Diffstat (limited to 'doc/classes')
| -rw-r--r-- | doc/classes/LineEdit.xml | 6 | ||||
| -rw-r--r-- | doc/classes/NavigationAgent2D.xml | 6 | ||||
| -rw-r--r-- | doc/classes/NavigationAgent3D.xml | 6 | ||||
| -rw-r--r-- | doc/classes/OptionButton.xml | 4 | ||||
| -rw-r--r-- | doc/classes/Tree.xml | 15 |
5 files changed, 37 insertions, 0 deletions
diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index 2ace3a6a6c..f546d9c833 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -109,6 +109,12 @@ Returns the scroll offset due to [member caret_column], as a number of characters. </description> </method> + <method name="get_selected_text"> + <return type="String" /> + <description> + Returns the text inside the selection. + </description> + </method> <method name="get_selection_from_column" qualifiers="const"> <return type="int" /> <description> diff --git a/doc/classes/NavigationAgent2D.xml b/doc/classes/NavigationAgent2D.xml index 83e2767b6e..1c68058d2f 100644 --- a/doc/classes/NavigationAgent2D.xml +++ b/doc/classes/NavigationAgent2D.xml @@ -147,6 +147,12 @@ <member name="path_metadata_flags" type="int" setter="set_path_metadata_flags" getter="get_path_metadata_flags" enum="NavigationPathQueryParameters2D.PathMetadataFlags" default="7"> Additional information to return with the navigation path. </member> + <member name="path_postprocessing" type="int" setter="set_path_postprocessing" getter="get_path_postprocessing" enum="NavigationPathQueryParameters2D.PathPostProcessing" default="0"> + The path postprocessing applied to the raw path corridor found by the [member pathfinding_algorithm]. + </member> + <member name="pathfinding_algorithm" type="int" setter="set_pathfinding_algorithm" getter="get_pathfinding_algorithm" enum="NavigationPathQueryParameters2D.PathfindingAlgorithm" default="0"> + The pathfinding algorithm used in the path query. + </member> <member name="radius" type="float" setter="set_radius" getter="get_radius" default="10.0"> The radius of the avoidance agent. This is the "body" of the avoidance agent and not the avoidance maneuver starting radius (which is controlled by [member neighbor_distance]). Does not affect normal pathfinding. To change an actor's pathfinding radius bake [NavigationMesh] resources with a different [member NavigationMesh.agent_radius] property and use different navigation maps for each actor size. diff --git a/doc/classes/NavigationAgent3D.xml b/doc/classes/NavigationAgent3D.xml index 8630801f3e..6fdea5431d 100644 --- a/doc/classes/NavigationAgent3D.xml +++ b/doc/classes/NavigationAgent3D.xml @@ -150,6 +150,12 @@ <member name="path_metadata_flags" type="int" setter="set_path_metadata_flags" getter="get_path_metadata_flags" enum="NavigationPathQueryParameters3D.PathMetadataFlags" default="7"> Additional information to return with the navigation path. </member> + <member name="path_postprocessing" type="int" setter="set_path_postprocessing" getter="get_path_postprocessing" enum="NavigationPathQueryParameters3D.PathPostProcessing" default="0"> + The path postprocessing applied to the raw path corridor found by the [member pathfinding_algorithm]. + </member> + <member name="pathfinding_algorithm" type="int" setter="set_pathfinding_algorithm" getter="get_pathfinding_algorithm" enum="NavigationPathQueryParameters3D.PathfindingAlgorithm" default="0"> + The pathfinding algorithm used in the path query. + </member> <member name="radius" type="float" setter="set_radius" getter="get_radius" default="0.5"> The radius of the avoidance agent. This is the "body" of the avoidance agent and not the avoidance maneuver starting radius (which is controlled by [member neighbor_distance]). Does not affect normal pathfinding. To change an actor's pathfinding radius bake [NavigationMesh] resources with a different [member NavigationMesh.agent_radius] property and use different navigation maps for each actor size. diff --git a/doc/classes/OptionButton.xml b/doc/classes/OptionButton.xml index 30a38be32a..787e20366e 100644 --- a/doc/classes/OptionButton.xml +++ b/doc/classes/OptionButton.xml @@ -204,6 +204,9 @@ <members> <member name="action_mode" type="int" setter="set_action_mode" getter="get_action_mode" overrides="BaseButton" enum="BaseButton.ActionMode" default="0" /> <member name="alignment" type="int" setter="set_text_alignment" getter="get_text_alignment" overrides="Button" enum="HorizontalAlignment" default="0" /> + <member name="allow_reselect" type="bool" setter="set_allow_reselect" getter="get_allow_reselect" default="false"> + If [code]true[/code], the currently selected item can be selected again. + </member> <member name="fit_to_longest_item" type="bool" setter="set_fit_to_longest_item" getter="is_fit_to_longest_item" default="true"> If [code]true[/code], minimum size will be determined by the longest item's text, instead of the currently selected one's. [b]Note:[/b] For performance reasons, the minimum size doesn't update immediately when adding, removing or modifying items. @@ -227,6 +230,7 @@ <param index="0" name="index" type="int" /> <description> Emitted when the current item has been changed by the user. The index of the item selected is passed as argument. + [member allow_reselect] must be enabled to reselect an item. </description> </signal> </signals> diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml index d09f61b8c8..9c60ba1b37 100644 --- a/doc/classes/Tree.xml +++ b/doc/classes/Tree.xml @@ -100,6 +100,13 @@ Returns the column's title. </description> </method> + <method name="get_column_title_alignment" qualifiers="const"> + <return type="int" enum="HorizontalAlignment" /> + <param index="0" name="column" type="int" /> + <description> + Returns the column title alignment. + </description> + </method> <method name="get_column_title_direction" qualifiers="const"> <return type="int" enum="Control.TextDirection" /> <param index="0" name="column" type="int" /> @@ -288,6 +295,14 @@ Sets the title of a column. </description> </method> + <method name="set_column_title_alignment"> + <return type="void" /> + <param index="0" name="column" type="int" /> + <param index="1" name="title_alignment" type="int" enum="HorizontalAlignment" /> + <description> + Sets the column title alignment. Note that [constant @GlobalScope.HORIZONTAL_ALIGNMENT_FILL] is not supported for column titles. + </description> + </method> <method name="set_column_title_direction"> <return type="void" /> <param index="0" name="column" type="int" /> |
