From b50b099f0dada789f369574a28e962737863e3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 19 Jul 2016 23:40:31 +0200 Subject: classref: Sync classes with source --- doc/base/classes.xml | 177 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 103 insertions(+), 74 deletions(-) (limited to 'doc/base/classes.xml') diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 5be3639d9f..9b6164e001 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -1,5 +1,5 @@ - + Built-in GDScript functions. @@ -6687,24 +6687,18 @@ This node is intended to be a simple helper get get things going quickly and it may happen often that more functionality is desired to change how the camera works. To make your own custom camera node, simply inherit from [Node2D] and change the transform of the canvas by calling get_viewport().set_canvas_transform(m) in [Viewport]. - - - - - + - Force the camera to update scroll immediately. + Align the camera to the tracked node - + - Set the camera's position immediately to its current smoothing destination. - This has no effect if smoothing is disabled. - + - Align the camera to the tracked node + Force the camera to update scroll immediately. @@ -6811,6 +6805,12 @@ Make this the current 2D camera for the scene (viewport and layer), in case there's many cameras in the scene. + + + Set the camera's position immediately to its current smoothing destination. + This has no effect if smoothing is disabled. + + @@ -7281,24 +7281,21 @@ Return true if this CanvasItem is visible. It may be invisible because itself or a parent canvas item is hidden. - - + + - + - Takes a global input event and convert to this item's coordinate system. - - + + - + - Take a 2d screen point and convert to 2D local coords relative to this Canvas - item. If this CanvasItem is the root of a Scene, its essentially the - world coords for that scene. + Takes a global input event and convert to this item's coordinate system. @@ -8663,7 +8660,7 @@ - Returns whether this color picker is in raw mode or not, raw mode will allow the color R, G, B component values to go beyond 1, you have to consider that the max value for color components is 1, going beyond that value will not have effect in the color, but can be used for special operations that require it (like tinting without darkening or rendering sprites in HDR). + Returns whether this color picker is in raw mode or not, raw mode will allow the color R, G, B component values to go beyond 1, you have to consider that the max value for color components is 1, going beyond that value will not have effect in the color, but can be used for special operations that require it (like tinting without darkening or rendering sprites in HDR). @@ -8684,7 +8681,7 @@ - Set whether this color picker is using raw mode or not, see [method is_raw_mode]. + Set whether this color picker is using raw mode or not, see [method is_raw_mode]. @@ -11773,6 +11770,10 @@ Add an unscaled billboard for visualization. Call this function during [method redraw]. + + + + @@ -12999,11 +13000,6 @@ Return the font descent (number of pixels below the baseline). - - - After editing a font (changing size, ascent, char rects, etc.). Call this function to propagate changes to controls that might use it. - - @@ -13026,6 +13022,11 @@ + + + After editing a font (changing size, ascent, char rects, etc.). Call this function to propagate changes to controls that might use it. + + @@ -15799,7 +15800,7 @@ - Returns an [Array] containing the device IDs of all currently connected joysticks. + Returns an [Array] containing the device IDs of all currently connected joysticks. @@ -18301,6 +18302,12 @@ Return the restricted number of characters to display. Returns -1 if unrestricted. + + + + + + @@ -21738,12 +21745,6 @@ - - - - - - @@ -21869,12 +21870,6 @@ - - - - - - @@ -22426,6 +22421,12 @@ Return the total amount of dynamic memory used (only works in debug). + + + + + + @@ -22472,6 +22473,12 @@ Return the amount of fixed iterations per second (for fixed process and physics). + + + + + + @@ -31628,7 +31635,7 @@ - Returns the raw text, stripping out the formatting information. + Returns the raw text, stripping out the formatting information. @@ -32874,6 +32881,12 @@ Return the sample from the library matching the given text ID. Return null if the sample is not found. + + + + + + @@ -39232,6 +39245,13 @@ Return the line the editing cursor is at. + + + + + Gets whether the text editor caret is in block mode. + + @@ -39253,13 +39273,6 @@ Set the text editor caret to block mode. - - - - - Gets whether the text editor caret is in block mode. - - @@ -39358,6 +39371,13 @@ Insert a given text at the cursor position. + + + + + Returns true if highlight all occurrences is enabled. + + @@ -39365,6 +39385,13 @@ Return true if the selection is active. + + + + + Returns true if line numbers are enabled. + + @@ -39428,6 +39455,13 @@ Set a custom background color. A background color with alpha==0 disables this. + + + + + Set to enable highlighting all occurrences of the current selection. + + @@ -39442,13 +39476,6 @@ Set the text editor as read-only. Text can be displayed but not edited. - - - - - Set the color for symbols. - - @@ -39456,25 +39483,11 @@ Set to enable showing line numbers. - - - - - Returns true if line numbers are enabled. - - - - + + - Set to enable highlighting all occurrences of the current selection. - - - - - - - Returns true if highlight all occurrences is enabled. + Set the color for symbols. @@ -39506,6 +39519,8 @@ + + Emitted when a breakpoint is placed via the breakpoint gutter. @@ -40745,6 +40760,8 @@ Tile origin at its center. + + @@ -42143,6 +42160,16 @@ + + + + + + + + + + @@ -44997,6 +45024,8 @@ + + -- cgit v1.2.3