From df12333fab0228a56ca839adc488a9e6b823df79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 10 Aug 2016 20:14:48 +0200 Subject: classref: Sync with current source --- doc/base/classes.xml | 1773 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1737 insertions(+), 36 deletions(-) (limited to 'doc/base') diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 7b7430ec13..56a24d77ee 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -1,5 +1,5 @@ - + Built-in GDScript functions. @@ -653,7 +653,7 @@ - + @@ -1945,6 +1945,16 @@ + + + + + + + + + + Axis-Aligned Bounding Box. @@ -6016,7 +6026,7 @@ - + @@ -8038,7 +8048,7 @@ - + Add a [Shape2D] to the collision body, with a given custom transform. @@ -9308,7 +9318,7 @@ - + Return the cursor shape at a certain position in the control. @@ -9507,7 +9517,7 @@ - + Return the tooltip, which will appear when the cursor is resting over this control. @@ -10151,9 +10161,9 @@ - + - + @@ -10322,9 +10332,9 @@ - + - + @@ -10937,6 +10947,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -10963,8 +10993,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -11285,6 +11343,8 @@ + + @@ -12657,6 +12717,12 @@ Get the current selected path (directory and file) of the file dialog (empty if none). + + + + + + @@ -12711,6 +12777,12 @@ Set the current selected file path of the file dialog. + + + + + + @@ -13050,6 +13122,8 @@ + + @@ -13149,6 +13223,8 @@ + + @@ -13817,6 +13893,12 @@ Return the scroll offset. + + + + + + @@ -13846,6 +13928,12 @@ Return true is the disconnection of connections is enable in the visual GraphEdit. False otherwise. + + + + + + @@ -13853,6 +13941,30 @@ Enable the disconnection of existing connections in the visual GraphEdit by left-clicking a connection and releasing into the void. + + + + + + + + + + + + + + + + + + + + + + + + @@ -13908,6 +14020,12 @@ Signal sent when a GraphNode is attempted to be duplicated in the GraphEdit. + + + + + + @@ -13915,18 +14033,30 @@ Signal sent when a popup is requested. Happens on right-clicking in the GraphEdit. 'p_position' is the position of the mouse pointer when the signal is sent. + + + + + + + + + + + + @@ -14017,6 +14147,12 @@ Return the type of the output connection 'idx'. + + + + + + @@ -14024,6 +14160,12 @@ Return the offset of the GraphNode. + + + + + + @@ -14092,6 +14234,12 @@ Return true if right (output) slot 'idx' is enabled. False otherwise. + + + + + + @@ -14099,6 +14247,12 @@ Set the offset of the GraphNode. + + + + + + @@ -14121,8 +14275,11 @@ + + + + - Set the tuple of input/output slots defined by 'idx' ID. 'left' slots are input, 'right' are output. 'type' is an integer defining the type of the slot. Refer to description for the compatibility between slot types. @@ -14160,8 +14317,16 @@ + + + + + + + + @@ -14176,6 +14341,8 @@ + + @@ -15708,14 +15875,10 @@ - Node to draw simple geometry from code, ala OpenGL 1.x + Node to draw simple geometry from code, ala OpenGL 1.x - ImmediateGeometry is a node used for displaying simple geometry created from code, very similar to how glBegin() and glEnd() worked in old versions of OpenGL (1.x). - Simply call [method begin()], and add vertices. For custom vertex colors, uvs, normal, etc. call one of the set_ functions below before adding each vertex. When done, call [method end] - Calls to begin/end are accumulative and all geometry is added together. To clear all the geometry, call [method clear]. - If a material override is set, and this material contains a texture, it's possible to override the texture used in this material for every begin/end set of calls. @@ -15725,69 +15888,69 @@ - Simple helper to draw an uvsphere, with given latitudes, longitude and radius. + Simple helper to draw an uvsphere, with given latitudes, longitude and radius. - Add a vertex with the currently set color/uv/etc. + Add a vertex with the currently set color/uv/etc. - + - Begin drawing (And optionally pass a texture override). When done call end(). For more information on how this works, search for glBegin() glEnd() references. + Begin drawing (And optionally pass a texture override). When done call end(). For more information on how this works, search for glBegin() glEnd() references. For the type of primitive, use the [Mesh].PRIMITIVE_* enumerations. - Clear everything that was drawn using begin/end. + Clear everything that was drawn using begin/end. - Call this when done adding a batch of geometry, otherwise it can't be displayed. + Call this when done adding a batch of geometry, otherwise it can't be displayed. - Set the color that the next vertex will use to be drawn. + Set the color that the next vertex will use to be drawn. - Set the normal that the next vertex will use to be drawn. + Set the normal that the next vertex will use to be drawn. - Set the tangent (and binormal facing) that the next vertex will use to be drawn. + Set the tangent (and binormal facing) that the next vertex will use to be drawn. - Set the UV that the next vertex will use to be drawn. + Set the UV that the next vertex will use to be drawn. - Set the second layer of UV that the next vertex will use to be drawn. + Set the second layer of UV that the next vertex will use to be drawn. @@ -15978,7 +16141,7 @@ - + Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. @@ -22954,7 +23117,7 @@ - Request the user attention to the window. It'll flash the taskbar button on Windows or bounce the dock icon on OSX. + Request the user attention to the window. It'll flash the taskbar button on Windows or bounce the dock icon on OSX. @@ -23114,7 +23277,7 @@ - + Shows the virtual keyboard if the platform has one. The [i]existing_text[/i] parameter is useful for implementing your own LineEdit, as it tells the virtual keyboard what text has already been typed (the virtual keyboard uses it for auto-correct and predictions). @@ -23257,6 +23420,8 @@ + + @@ -25943,7 +26108,7 @@ - + Add a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. @@ -26176,7 +26341,7 @@ - + Add a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. @@ -29478,14 +29643,14 @@ - + Popup (show the control in modal form) in the center of the screen, at the current size, or at a size determined by "size". - + Popup (show the control in modal form) in the center of the screen, ensuring the size is never smaller than [code]minsize[/code]. @@ -33878,6 +34043,14 @@ + + + + + + + + @@ -34106,6 +34279,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for scripts. @@ -38733,6 +38934,12 @@ + + + + + + @@ -38767,6 +38974,12 @@ + + + + + + @@ -38809,6 +39022,12 @@ + + + + + + @@ -44481,9 +44700,9 @@ - + - + Set the size of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size. @@ -44859,6 +45078,1488 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Server for anything visible. -- cgit v1.2.3