From 720305d98ec5a4047872f81cff90ca1e30174bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 10 Aug 2016 21:28:01 +0200 Subject: [PATCH] classref: Sync with current source --- doc/base/classes.xml | 134 ++++++++++++++++++++++++++++++++----------- 1 file changed, 99 insertions(+), 35 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 7b7430ec139..f53484a1117 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -1,5 +1,5 @@ - + Built-in GDScript functions. @@ -653,7 +653,7 @@ - + @@ -6016,7 +6016,7 @@ - + @@ -8038,7 +8038,7 @@ - + Add a [Shape2D] to the collision body, with a given custom transform. @@ -9308,7 +9308,7 @@ - + Return the cursor shape at a certain position in the control. @@ -9507,7 +9507,7 @@ - + Return the tooltip, which will appear when the cursor is resting over this control. @@ -10151,9 +10151,9 @@ - + - + @@ -10322,9 +10322,9 @@ - + - + @@ -10937,6 +10937,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -10963,8 +10983,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -11285,6 +11333,8 @@ + + @@ -12657,6 +12707,12 @@ Get the current selected path (directory and file) of the file dialog (empty if none). + + + + + + @@ -12711,6 +12767,12 @@ Set the current selected file path of the file dialog. + + + + + + @@ -15708,14 +15770,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 +15783,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 +16036,7 @@ - + Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. @@ -22954,7 +23012,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 +23172,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). @@ -25943,7 +26001,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 +26234,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 +29536,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]. @@ -38809,6 +38867,12 @@ + + + + + + @@ -44481,9 +44545,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.