From b65e55344014897f4e81ae4fe06ea4ee35285299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 21 Jan 2017 14:06:17 +0100 Subject: [PATCH] classref: Sync with current source --- doc/base/classes.xml | 225 +++++++++++++++++++++++++++++-------------- 1 file changed, 153 insertions(+), 72 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 75064c4076d..16de2a337d4 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -23,6 +23,16 @@ Make a color from red, green, blue and alpha. Arguments can range from 0 to 255. + + + + + + + + + + @@ -2498,16 +2508,16 @@ - - - Emitted when frame is changed. - - Emitted when the animation is finished (when it plays the last frame). If the animation is looping, this signal is emitted everytime the last frame is drawn, before looping. + + + Emitted when frame is changed. + + @@ -4617,6 +4627,11 @@ Append an element at the end of the array (alias of [method push_back]). + + + Returns the last element of the array if the array is not empty (size>0). + + Clear the array (resize to 0). @@ -4645,20 +4660,6 @@ Remove the first occurrence of a value from the array. - - - - - Returns the first element of the array if the array is not empty (size>0). - - - - - - - Returns the last element of the array if the array is not empty (size>0). - - @@ -4679,6 +4680,11 @@ Searches the array in reverse order for a value and returns its index or -1 if not found. + + + Returns the first element of the array if the array is not empty (size>0). + + @@ -6278,6 +6284,18 @@ This node must be the child of a [Skeleton] node. You can then select a bone for this node to attach to. The BoneAttachment node will copy the transform of the selected bone. + + + + + + + + + + + + @@ -6554,6 +6572,12 @@ Return the index of the currently selected button in the array. + + + + + + @@ -6580,6 +6604,12 @@ + + + + + + @@ -6924,6 +6954,13 @@ + + + + + Return the viewport RID for this layer. + + @@ -7021,6 +7058,12 @@ + + + + + + @@ -7713,6 +7756,13 @@ Canvas Item layer. [CanvasItem] nodes that are direct or indirect children of a [CanvasLayer] will be drawn in that layer. The layer is a numeric index that defines the draw order. The default 2D scene renders with index 0, so a [CanvasLayer] with index -1 will be drawn below, and one with index 1 will be drawn above. This is very useful for HUDs (in layer 1+ or above), or backgrounds (in layer -1 or below). + + + + + Return the viewport RID for this layer. + + @@ -7755,13 +7805,6 @@ Return the base transform for this layer. - - - - - Return the viewport RID for this layer. - - @@ -7769,6 +7812,12 @@ Return the [World2D] used by this layer. + + + + + + @@ -10357,6 +10406,10 @@ If "atpos" is given, the point is inserted before the point number "atpos", moving that point (and every point after) after the inserted point. If "atpos" is not given, or is an illegal value (atpos <0 or atpos >= [method get_point_count]), the point will be appended at the end of the point list. + + + + @@ -10528,6 +10581,10 @@ If "atpos" is given, the point is inserted before the point number "atpos", moving that point (and every point after) after the inserted point. If "atpos" is not given, or is an illegal value (atpos <0 or atpos >= [method get_point_count]), the point will be appended at the end of the point list. + + + + @@ -11618,6 +11675,13 @@ This function is used for plugins that edit specific object types (nodes or resources). It requests the editor to edit the given object. + + + + + Tells the editor to handle the edit of the given resource. For example, if you pass a script as argument, the editor will open the script editor. + + @@ -11669,13 +11733,6 @@ Get the main editor control. Use this as a parent for main screens. - - - - - Tells the editor to handle the edit of the given resource. Ex: If you pass a Script as a argument, the editor will open the scriptEditor. - - @@ -18522,7 +18579,7 @@ - + Return the body that collided with this one. @@ -18638,7 +18695,7 @@ - + Return the body that collided with this one. @@ -22573,25 +22630,25 @@ - - - - Return the global rotation in radians of the 2D node. - + + + + Return the global rotation in radians of the 2D node. + - - - - Return the global rotation in degrees of the 2D node. - + + + + Return the global rotation in degrees of the 2D node. + - - - - Return the global scale of the 2D node. - + + + + Return the global scale of the 2D node. + @@ -22697,25 +22754,25 @@ - - - - Set the global rotation in radians of the 2D node. - + + + + Set the global rotation in radians of the 2D node. + - - - - Set the global rotation in degrees of the 2D node. - + + + + Set the global rotation in degrees of the 2D node. + - - - - Set the global scale of the 2D node. - + + + + Set the global scale of the 2D node. + @@ -23053,6 +23110,12 @@ Return the path to the current engine executable. + + + + + + @@ -23511,6 +23574,12 @@ + + + + + + @@ -30186,13 +30255,6 @@ Clear the popup menu, in effect removing all items. - - - - - Returns a boolean that indicates whether or not the PopupMenu will hide on item selection. - - @@ -30277,6 +30339,13 @@ + + + + + Returns a boolean that indicates whether or not the PopupMenu will hide on item selection. + + @@ -45229,6 +45298,12 @@ Return the 3D world of the viewport. + + + + + + @@ -45452,6 +45527,12 @@ Change the 3D world of the viewport. + + + + + +