From e66f4a40211fb5fa0a0d050a0acc0f266e392de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 27 Dec 2015 23:06:13 +0100 Subject: [PATCH] Sync doc with current source --- doc/base/classes.xml | 483 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 462 insertions(+), 21 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 075f97c68ee..dba13eea041 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -525,13 +525,13 @@ Converts the value of a variable to a String. - + - Converts the value of a String to a variable. + Converts the value of a String to a Variant. @@ -573,7 +573,7 @@ - + Hashes the variable passed and returns an integer. @@ -1849,6 +1849,8 @@ + + @@ -3724,7 +3726,7 @@ - + @@ -3733,7 +3735,7 @@ - + @@ -3898,6 +3900,14 @@ Get whether this is a shared array instance. + + + + + + + + @@ -3905,6 +3915,12 @@ Append an element at the end of the array. + + + + + + @@ -5969,6 +5985,18 @@ + + + + + + + + + + + + Force the camera to update scroll immediately. @@ -6061,6 +6089,12 @@ Hide the CanvasItem currently visible. + + + + + + Queue the CanvasItem for update. NOTIFICATION_DRAW will be called on idle time to request redraw. @@ -6186,6 +6220,8 @@ + + Draw a texture at a given position. @@ -7060,7 +7096,7 @@ - Change a shape in the collision body. + Change a shape in the collision body. @@ -7734,6 +7770,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8150,6 +8246,18 @@ Move the Control to a new position, relative to the top-left corner of the [i]window[/i] Control, and without changing current anchor mode. (see [method set_margin]). + + + + + + + + + + + + @@ -8186,6 +8294,18 @@ Returns the size of the Control, computed from all margins, however the size returned will [b]never be smaller than the minimum size reported by [method get_minimum_size][/b]. This means that even if end position of the Control rectangle is smaller than the begin position, the Control will still display and interact correctly. (see description, [method get_minimum_size], [method set_margin], [method set_anchor]). + + + + + + + + + + + + @@ -10681,6 +10801,8 @@ This approximation makes straight segments between each point, then subdivides t + + @@ -11032,6 +11154,18 @@ This approximation makes straight segments between each point, then subdivides t Draw character "char" into a canvas item using the font at a given "pos" position, with "modulate" color, and optionally kerning if "next" is apassed. clipping the width. "pos" specifies te baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. The width used by the character is returned, making this function useful for drawing strings character by character. + + + + + + + + + + + + @@ -11089,6 +11223,8 @@ This approximation makes straight segments between each point, then subdivides t + + @@ -13369,6 +13505,10 @@ returns:= "username=user&password=pass" + + + + @@ -15038,6 +15178,18 @@ returns:= "username=user&password=pass" + + + + + + + + + + + + @@ -15090,6 +15242,18 @@ returns:= "username=user&password=pass" + + + + + + + + + + + + @@ -15150,6 +15314,8 @@ returns:= "username=user&password=pass" + + @@ -15288,6 +15454,8 @@ returns:= "username=user&password=pass" + + @@ -15968,6 +16136,8 @@ returns:= "username=user&password=pass" + + @@ -16332,6 +16502,8 @@ returns:= "username=user&password=pass" + + @@ -18346,8 +18518,11 @@ returns:= "username=user&password=pass" + + Add a child [Node]. Nodes can have as many children as they want, but every child must have a unique name. Children nodes are automatically deleted when the parent node is deleted, so deleting a whole scene is performed by deleting its topmost node. + The optional boolean argument enforces creating child node with human-readable names, based on the name of node being instanced instead of its type only. @@ -19961,6 +20136,8 @@ returns:= "username=user&password=pass" + + @@ -20514,7 +20691,7 @@ returns:= "username=user&password=pass" - + @@ -21245,6 +21422,8 @@ returns:= "username=user&password=pass" + + @@ -21269,6 +21448,8 @@ returns:= "username=user&password=pass" + + @@ -22147,6 +22328,8 @@ This method controls whether the position between two cached points is interpola + + @@ -23092,15 +23275,15 @@ This method controls whether the position between two cached points is interpola + + This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. + This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. - - This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. - This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. @@ -24855,15 +25038,15 @@ This method controls whether the position between two cached points is interpola + + This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. + This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects. This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one. - - This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. - This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas. @@ -27073,7 +27256,7 @@ This method controls whether the position between two cached points is interpola - Compiles and assign the regular expression pattern to use. The limit on the number of capturing groups can be specified or made unlimited if negative. + Compiles and assign the regular expression pattern to use. The limit on the number of capturing groups can be specified or made unlimited if negative. @@ -27602,6 +27785,26 @@ This method controls whether the position between two cached points is interpola + + + + + + + + + + + + + + + + + + + + @@ -27766,7 +27969,7 @@ This method controls whether the position between two cached points is interpola - + @@ -27786,10 +27989,14 @@ This method controls whether the position between two cached points is interpola - + + + + + @@ -30513,6 +30720,8 @@ This method controls whether the position between two cached points is interpola + + @@ -30775,12 +30984,14 @@ This method controls whether the position between two cached points is interpola - + + + @@ -30856,6 +31067,8 @@ This method controls whether the position between two cached points is interpola + + @@ -30868,6 +31081,8 @@ This method controls whether the position between two cached points is interpola + + @@ -31422,6 +31637,12 @@ This method controls whether the position between two cached points is interpola + + + + + + @@ -32639,6 +32860,178 @@ This method controls whether the position between two cached points is interpola Return a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will return how many were actually received. This function returns two values, an [Error] code, and a data array. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -34132,6 +34525,14 @@ This method controls whether the position between two cached points is interpola + + + + + + + + @@ -34657,7 +35058,7 @@ This method controls whether the position between two cached points is interpola - + @@ -34705,7 +35106,7 @@ This method controls whether the position between two cached points is interpola - + @@ -35177,6 +35578,16 @@ This method controls whether the position between two cached points is interpola + + + + + + + + + + @@ -35416,6 +35827,18 @@ This method controls whether the position between two cached points is interpola Return the collision bounce parameter. + + + + + + + + + + + + @@ -36815,6 +37238,8 @@ This method controls whether the position between two cached points is interpola + + @@ -37437,7 +37862,7 @@ This method controls whether the position between two cached points is interpola - + @@ -37447,7 +37872,7 @@ This method controls whether the position between two cached points is interpola - + @@ -38475,6 +38900,12 @@ This method controls whether the position between two cached points is interpola + + + + + + @@ -40277,6 +40708,14 @@ This method controls whether the position between two cached points is interpola + + + + + + + + @@ -40722,6 +41161,8 @@ This method controls whether the position between two cached points is interpola + +