diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/base/classes.xml | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index ac164dddc7..d3d8b2d9f6 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -2255,6 +2255,7 @@ <return type="String"> </return> <description> + Return the name of the current animation set to the node. </description> </method> <method name="get_frame" qualifiers="const"> @@ -2310,18 +2311,21 @@ <return type="bool"> </return> <description> + Return true if an animation if currently being played. </description> </method> <method name="play"> <argument index="0" name="anim" type="String" default=""""> </argument> <description> + Play the animation set in parameter. If no parameter is provided, the current animation is played. </description> </method> <method name="set_animation"> <argument index="0" name="animation" type="String"> </argument> <description> + Set the current animation of the node and reinits the frame counter of the animation. </description> </method> <method name="set_centered"> @@ -2375,13 +2379,14 @@ </method> <method name="stop"> <description> + Stop the current animation (does not reset the frame counter). </description> </method> </methods> <signals> <signal name="frame_changed"> <description> - Emmited when frame is changed. + Emitted when frame is changed. </description> </signal> </signals> @@ -2398,58 +2403,68 @@ <return type="String"> </return> <description> + Return the name of the current animation set to the node. </description> </method> <method name="get_frame" qualifiers="const"> <return type="int"> </return> <description> + Return the visible frame index. </description> </method> <method name="get_sprite_frames" qualifiers="const"> <return type="SpriteFrames"> </return> <description> + Get the [SpriteFrames] resource, which contains all frames. </description> </method> <method name="is_playing" qualifiers="const"> <return type="bool"> </return> <description> + Return true if an animation if currently being played. </description> </method> <method name="play"> <argument index="0" name="anim" type="String" default=""""> </argument> <description> + Play the animation set in parameter. If no parameter is provided, the current animation is played. </description> </method> <method name="set_animation"> <argument index="0" name="animation" type="String"> </argument> <description> + Set the current animation of the node and reinits the frame counter of the animation. </description> </method> <method name="set_frame"> <argument index="0" name="frame" type="int"> </argument> <description> + Set the visible sprite frame index (from the list of frames inside the [SpriteFrames] resource). </description> </method> <method name="set_sprite_frames"> <argument index="0" name="sprite_frames" type="SpriteFrames"> </argument> <description> + Set the [SpriteFrames] resource, which contains all frames. </description> </method> <method name="stop"> <description> + Stop the current animation (does not reset the frame counter). </description> </method> </methods> <signals> <signal name="frame_changed"> <description> + Emitted when frame is changed. </description> </signal> </signals> @@ -2487,6 +2502,7 @@ <argument index="0" name="path" type="NodePath"> </argument> <description> + Return the index of the specified track. If the track is not found, return -1. </description> </method> <method name="get_length" qualifiers="const"> @@ -2500,6 +2516,7 @@ <return type="float"> </return> <description> + Get the animation step value. </description> </method> <method name="get_track_count" qualifiers="const"> @@ -2576,6 +2593,7 @@ <argument index="0" name="size_sec" type="float"> </argument> <description> + Set the animation step value. </description> </method> <method name="track_find_key" qualifiers="const"> @@ -2677,6 +2695,7 @@ <argument index="0" name="idx" type="int"> </argument> <description> + Return true if the given track is imported. Else, return false. </description> </method> <method name="track_move_down"> @@ -2717,6 +2736,7 @@ <argument index="1" name="imported" type="bool"> </argument> <description> + Set the given track as imported or not. </description> </method> <method name="track_set_interpolation_type"> @@ -15777,6 +15797,13 @@ Returns an [Array] containing the device IDs of all currently connected joysticks. </description> </method> + <method name="get_gyroscope"> + <return type="Vector3"> + </return> + <description> + If the device has a gyroscope, this will return the rate of rotation in rad/s around a device's x, y, and z axis. + </description> + </method> <method name="get_joy_axis"> <return type="float"> </return> @@ -39214,6 +39241,20 @@ Set the text editor caret blink speed. Cannot be less then or equal to 0. </description> </method> + <method name="cursor_set_block_mode"> + <argument index="0" name="enable" type="bool"> + </argument> + <description> + Set the text editor caret to block mode. + </description> + </method> + <method name="cursor_is_block_mode" qualifiers="const"> + <return type="bool"> + </return> + <description> + Gets whether the text editor caret is in block mode. + </description> + </method> <method name="cursor_set_column"> <argument index="0" name="column" type="int"> </argument> @@ -39459,6 +39500,11 @@ </method> </methods> <signals> + <signal name="breakpoint_toggled"> + <description> + Emitted when a breakpoint is placed via the breakpoint gutter. + </description> + </signal> <signal name="cursor_changed"> <description> Emitted when the cursor changes. @@ -39504,6 +39550,8 @@ </theme_item> <theme_item name="breakpoint_color" type="Color"> </theme_item> + <theme_item name="caret_background_color" type="Color"> + </theme_item> <theme_item name="caret_color" type="Color"> </theme_item> <theme_item name="completion" type="StyleBox"> |