You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Fix various errors in the class reference
This commit is contained in:
@@ -2956,7 +2956,7 @@
|
|||||||
Hints that a property will be changed on its own after setting, such as [member AudioStreamPlayer.playing] or [member GPUParticles3D.emitting].
|
Hints that a property will be changed on its own after setting, such as [member AudioStreamPlayer.playing] or [member GPUParticles3D.emitting].
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="PROPERTY_HINT_GROUP_ENABLE" value="42" enum="PropertyHint">
|
<constant name="PROPERTY_HINT_GROUP_ENABLE" value="42" enum="PropertyHint">
|
||||||
Hints that a boolean property will enable the feature associated with the group that it occurs in. Only works within a group or subgroup. Use the optional hint string [code]"feature"[/code] when the group only has variables that are meaningful when the feature is enabled.
|
Hints that a boolean property will enable the feature associated with the group that it occurs in. Only works within a group or subgroup. Use the optional hint string [code]"feature"[/code] when the group only has properties that are meaningful when the feature is enabled.
|
||||||
[b]Note:[/b] The [code]"feature"[/code] hint string does not modify or reset any values.
|
[b]Note:[/b] The [code]"feature"[/code] hint string does not modify or reset any values.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="PROPERTY_HINT_INPUT_NAME" value="43" enum="PropertyHint">
|
<constant name="PROPERTY_HINT_INPUT_NAME" value="43" enum="PropertyHint">
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
<param index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags" />
|
<param index="0" name="particle_flag" type="int" enum="CPUParticles2D.ParticleFlags" />
|
||||||
<param index="1" name="enable" type="bool" />
|
<param index="1" name="enable" type="bool" />
|
||||||
<description>
|
<description>
|
||||||
Enables or disables the given flag.
|
Enables or disables the given particle flag.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
<description>
|
<description>
|
||||||
Godot calls this method to test if [param data] from a control's [method _get_drag_data] can be dropped at [param at_position]. [param at_position] is local to this control.
|
Godot calls this method to test if [param data] from a control's [method _get_drag_data] can be dropped at [param at_position]. [param at_position] is local to this control.
|
||||||
This method should only be used to test the data. Process the data in [method _drop_data].
|
This method should only be used to test the data. Process the data in [method _drop_data].
|
||||||
[b]Note:[/b] If drag was initiated by keyboard shortcut or [method accessibility_drag], [param at_position] is set to [code]Vector2(INFINITY, INFINITY)[/code] and the currently selected item/text position should be used as drop position.
|
[b]Note:[/b] If the drag was initiated by a keyboard shortcut or [method accessibility_drag], [param at_position] is set to [constant Vector2.INF], and the currently selected item/text position should be used as the drop position.
|
||||||
[codeblocks]
|
[codeblocks]
|
||||||
[gdscript]
|
[gdscript]
|
||||||
func _can_drop_data(position, data):
|
func _can_drop_data(position, data):
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<param index="1" name="data" type="Variant" />
|
<param index="1" name="data" type="Variant" />
|
||||||
<description>
|
<description>
|
||||||
Godot calls this method to pass you the [param data] from a control's [method _get_drag_data] result. Godot first calls [method _can_drop_data] to test if [param data] is allowed to drop at [param at_position] where [param at_position] is local to this control.
|
Godot calls this method to pass you the [param data] from a control's [method _get_drag_data] result. Godot first calls [method _can_drop_data] to test if [param data] is allowed to drop at [param at_position] where [param at_position] is local to this control.
|
||||||
[b]Note:[/b] If drag was initiated by keyboard shortcut or [method accessibility_drag], [param at_position] is set to [code]Vector2(INFINITY, INFINITY)[/code] and the currently selected item/text position should be used as drop position.
|
[b]Note:[/b] If the drag was initiated by a keyboard shortcut or [method accessibility_drag], [param at_position] is set to [constant Vector2.INF], and the currently selected item/text position should be used as the drop position.
|
||||||
[codeblocks]
|
[codeblocks]
|
||||||
[gdscript]
|
[gdscript]
|
||||||
func _can_drop_data(position, data):
|
func _can_drop_data(position, data):
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
<description>
|
<description>
|
||||||
Godot calls this method to get data that can be dragged and dropped onto controls that expect drop data. Returns [code]null[/code] if there is no data to drag. Controls that want to receive drop data should implement [method _can_drop_data] and [method _drop_data]. [param at_position] is local to this control. Drag may be forced with [method force_drag].
|
Godot calls this method to get data that can be dragged and dropped onto controls that expect drop data. Returns [code]null[/code] if there is no data to drag. Controls that want to receive drop data should implement [method _can_drop_data] and [method _drop_data]. [param at_position] is local to this control. Drag may be forced with [method force_drag].
|
||||||
A preview that will follow the mouse that should represent the data can be set with [method set_drag_preview]. A good time to set the preview is in this method.
|
A preview that will follow the mouse that should represent the data can be set with [method set_drag_preview]. A good time to set the preview is in this method.
|
||||||
[b]Note:[/b] If drag was initiated by keyboard shortcut or [method accessibility_drag], [param at_position] is set to [code]Vector2(INFINITY, INFINITY)[/code] and the currently selected item/text position should be used as drop position.
|
[b]Note:[/b] If the drag was initiated by a keyboard shortcut or [method accessibility_drag], [param at_position] is set to [constant Vector2.INF], and the currently selected item/text position should be used as the drag position.
|
||||||
[codeblocks]
|
[codeblocks]
|
||||||
[gdscript]
|
[gdscript]
|
||||||
func _get_drag_data(position):
|
func _get_drag_data(position):
|
||||||
|
|||||||
@@ -2045,7 +2045,7 @@
|
|||||||
<return type="void" />
|
<return type="void" />
|
||||||
<description>
|
<description>
|
||||||
Stops synthesis in progress and removes all utterances from the queue.
|
Stops synthesis in progress and removes all utterances from the queue.
|
||||||
[b]Note:[/b] This method is implemented on Android, iOS, Web, Linux (X11/Linux), macOS, and Windows.
|
[b]Note:[/b] This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="unregister_additional_output">
|
<method name="unregister_additional_output">
|
||||||
@@ -2856,13 +2856,13 @@
|
|||||||
Set scroll offset action, callback argument is set to [Vector2] with the scroll offset.
|
Set scroll offset action, callback argument is set to [Vector2] with the scroll offset.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ACTION_SET_VALUE" value="20" enum="AccessibilityAction">
|
<constant name="ACTION_SET_VALUE" value="20" enum="AccessibilityAction">
|
||||||
Set value action action, callback argument is set to [String] or number with the new value.
|
Set value action, callback argument is set to [String] or number with the new value.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ACTION_SHOW_CONTEXT_MENU" value="21" enum="AccessibilityAction">
|
<constant name="ACTION_SHOW_CONTEXT_MENU" value="21" enum="AccessibilityAction">
|
||||||
Show context menu action, callback argument is not set.
|
Show context menu action, callback argument is not set.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="ACTION_CUSTOM" value="22" enum="AccessibilityAction">
|
<constant name="ACTION_CUSTOM" value="22" enum="AccessibilityAction">
|
||||||
Custom action, callback argument is set to the integer action id.
|
Custom action, callback argument is set to the integer action ID.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="LIVE_OFF" value="0" enum="AccessibilityLiveMode">
|
<constant name="LIVE_OFF" value="0" enum="AccessibilityLiveMode">
|
||||||
Indicates that updates to the live region should not be presented.
|
Indicates that updates to the live region should not be presented.
|
||||||
|
|||||||
@@ -57,10 +57,10 @@
|
|||||||
The container's title text.
|
The container's title text.
|
||||||
</member>
|
</member>
|
||||||
<member name="title_alignment" type="int" setter="set_title_alignment" getter="get_title_alignment" enum="HorizontalAlignment" default="0">
|
<member name="title_alignment" type="int" setter="set_title_alignment" getter="get_title_alignment" enum="HorizontalAlignment" default="0">
|
||||||
Title's horizontal text alignment as defined in the [enum HorizontalAlignment] enum.
|
Title's horizontal text alignment.
|
||||||
</member>
|
</member>
|
||||||
<member name="title_position" type="int" setter="set_title_position" getter="get_title_position" enum="FoldableContainer.TitlePosition" default="0">
|
<member name="title_position" type="int" setter="set_title_position" getter="get_title_position" enum="FoldableContainer.TitlePosition" default="0">
|
||||||
Title's position as defined in the [enum TitlePosition] enum.
|
Title's position.
|
||||||
</member>
|
</member>
|
||||||
<member name="title_text_direction" type="int" setter="set_title_text_direction" getter="get_title_text_direction" enum="Control.TextDirection" default="0">
|
<member name="title_text_direction" type="int" setter="set_title_text_direction" getter="get_title_text_direction" enum="Control.TextDirection" default="0">
|
||||||
Title text writing direction.
|
Title text writing direction.
|
||||||
|
|||||||
@@ -164,7 +164,7 @@
|
|||||||
The number of stacked outlines.
|
The number of stacked outlines.
|
||||||
</member>
|
</member>
|
||||||
<member name="stacked_shadow_count" type="int" setter="set_stacked_shadow_count" getter="get_stacked_shadow_count" default="0">
|
<member name="stacked_shadow_count" type="int" setter="set_stacked_shadow_count" getter="get_stacked_shadow_count" default="0">
|
||||||
Returns the stacked shadow count.
|
The number of stacked shadows.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</class>
|
</class>
|
||||||
|
|||||||
Reference in New Issue
Block a user