From e70d36071e1e11faa57d3ed072895dd90dc53dcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 14 Jul 2017 17:56:27 +0200 Subject: doc: Sync classref with current source Some descriptions were lost for refactored APIs, but they cannot be matched 1:1 with the new ones, so will need to be rewritten anyway. --- doc/base/classes.xml | 3404 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 2028 insertions(+), 1376 deletions(-) (limited to 'doc') diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 7a81eddd92..6b5333d2c1 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -2081,6 +2081,14 @@ + + + + + + + + @@ -4122,6 +4130,12 @@ Return the angular damp rate. + + + + + + @@ -4231,6 +4245,12 @@ Return whether this area detects bodies/areas entering/exiting it. + + + + + + @@ -4257,6 +4277,18 @@ In practice, as the fraction of speed lost gets smaller with each frame, a value of 1.0 does not mean the object will stop in exactly one second. Only when the physics calculations are done at 1 frame per second, it does stop in a second. + + + + + + + + + + + + @@ -4367,6 +4399,10 @@ + + + + @@ -5326,7 +5362,7 @@ - + @@ -5368,8 +5404,8 @@ - - + + @@ -5388,7 +5424,7 @@ - + @@ -5844,7 +5880,7 @@ - + @@ -5868,8 +5904,8 @@ - - + + @@ -5882,7 +5918,7 @@ - + @@ -6230,7 +6266,345 @@ - + + + Server interface for low level audio access. + + + AudioServer is a low level server interface for audio access. It is in charge of creating sample data (playable audio) as well as its playback via a voice interface. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base class for audio streams. + + + Base class for audio streams. Audio streams are used for music playback, or other types of streamed sounds that don't fit or require more flexibility than a [Sample]. + + + + + + + + + OGG Vorbis audio stream driver. + + + OGG Vorbis audio stream driver. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6342,336 +6716,146 @@ - + - Server interface for low level audio access. - AudioServer is a low level server interface for audio access. It is in charge of creating sample data (playable audio) as well as its playback via a voice interface. - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - + - - - + - - - + - - - - - - - - + + - - - - + + - - - - - + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - - - + + - - - - - - - - - - - - - - - - - Base class for audio streams. - - - Base class for audio streams. Audio streams are used for music playback, or other types of streamed sounds that don't fit or require more flexibility than a [Sample]. - - - - - - - - - OGG Vorbis audio stream driver. - - - OGG Vorbis audio stream driver. - - - - - - - - - - - - - - - - + + - - - + - + - + + + + + + + + + + + + + - - - - - - - - - - @@ -8004,18 +8188,36 @@ + + + + + + + + + + + + + + + + + + @@ -8087,6 +8289,12 @@ Set the scrolling limit in pixels. + + + + + + @@ -8095,6 +8303,12 @@ This requires camera smoothing being enabled to have a noticeable effect. + + + + + + @@ -8108,6 +8322,12 @@ + + + + + + @@ -8144,6 +8364,12 @@ + + + + + + @@ -8226,6 +8452,8 @@ + + Draw a colored polygon of any amount of points, convex or concave. @@ -8254,10 +8482,36 @@ + + Draw a polygon of any amount of points, convex or concave. + + + + + + + + + + + + + + + + + + + + + + + + @@ -8269,6 +8523,8 @@ + + Draw a custom primitive, 1 point for a point, 2 points for a line, 3 points for a triangle and 4 points for a quad. @@ -8278,6 +8534,8 @@ + + Draw a colored rectangle. @@ -8330,6 +8588,8 @@ + + Draw a texture at a given position. @@ -8345,6 +8605,8 @@ + + Draw a textured rectangle at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. @@ -8360,6 +8622,10 @@ + + + + Draw a textured rectangle region at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. @@ -8462,7 +8728,7 @@ - + Get the material of this item. @@ -8599,7 +8865,7 @@ - + Set the material of this item. @@ -8660,7 +8926,7 @@ - + @@ -8730,6 +8996,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Canvas Item layer. @@ -9563,20 +9885,6 @@ - - - - - - - Add a [Shape2D] to the collision body, with a given custom transform. - - - - - Remove all shapes. - - @@ -9584,31 +9892,6 @@ Return the RID of this object. - - - - - - - Return the shape in the given index. - - - - - - - Return the amount of shapes in the collision body. Because a [CollisionPolygon2D] can generate more than one [Shape2D], the amount returned does not have to match the sum of [CollisionShape2D] and [CollisionPolygon2D]. - - - - - - - - - Return the shape transform in the given index. - - @@ -9616,22 +9899,6 @@ Return whether this object is pickable. - - - - - - - Return whether a shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. colliding objects will not get blocked). - - - - - - - Remove the shape in the given index. - - @@ -9639,33 +9906,6 @@ Set whether this object is pickable. A pickable object can detect the mouse pointer enter/leave it and, if the mouse is inside it, report input events. - - - - - - - Change a shape in the collision body. - - - - - - - - - Set whether a shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. colliding objects will not get blocked). - - - - - - - - - Change the shape transform in the collision body. - - @@ -9779,34 +10019,23 @@ Return whether the polygon is a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]). - - - - - Return the index of the first shape generated by the editor. - When [code]build_mode[/code] is set to generate convex polygons, the shape shown in the editor may be decomposed into many convex polygons. In that case, a range of indexes is needed to directly access the [Shape2D]. - When [code]build_mode[/code] is set to generate concave polygons, there is only one [Shape2D] generated, so the start index and the end index are the same. - - - - + + - Return the index of the last shape generated by the editor. + Return the list of points that define the polygon. - - + + - Return the list of points that define the polygon. - + - Return whether this polygon is a trigger. @@ -9816,30 +10045,35 @@ Set whether the polygon is to be a [ConvexPolygonShape2D] ([code]build_mode==0[/code]), or a [ConcavePolygonShape2D] ([code]build_mode==1[/code]). - - + + - Set the array of points forming the polygon. - When editing the point list via the editor, depending on [method get_build_mode], it has to be a list of points (for [code]build_mode==0[/code]), or a list of lines (for [code]build_mode==1[/code]). In the second case, the even elements of the array define the start point of the line, and the odd elements the end point. - - + + - Set whether this polygon is a trigger. A trigger polygon detects collisions, but is otherwise unaffected by physics (i.e. colliding objects will not get blocked). + + + + + + + Set the array of points forming the polygon. + When editing the point list via the editor, depending on [method get_build_mode], it has to be a list of points (for [code]build_mode==0[/code]), or a list of lines (for [code]build_mode==1[/code]). In the second case, the even elements of the array define the start point of the line, and the odd elements the end point. - + - + - + @@ -9911,48 +10145,51 @@ Editor-only class. This is not present when running the game. It's used in the editor to properly edit and position collision shapes in [CollisionObject2D]. This is not accessible from regular code. - - + + - Return the index of this shape inside its container [CollisionObject2D]. This can be used to directly access the underlying [Shape2D]. + Return this shape's [Shape2D]. - - + + - Return this shape's [Shape2D]. - + - Return whether this shape is a trigger. - - + + - Set this shape's [Shape2D]. This will not appear as a node, but can be directly edited as a property. - - + + + + + + + + - Set whether this shape is a trigger. A trigger shape detects collisions, but is otherwise unaffected by physics (i.e. will not block movement of colliding objects). + Set this shape's [Shape2D]. This will not appear as a node, but can be directly edited as a property. - + - + - + @@ -10822,6 +11059,12 @@ Return position and size of the Control, relative to the top-left corner of the [i]window[/i] Control. This is a helper (see [method get_global_pos], [method get_size]). + + + + + + @@ -10874,6 +11117,12 @@ + + + + + + @@ -10948,6 +11197,12 @@ Return the tooltip, which will appear when the cursor is resting over this control. + + + + + + @@ -11180,6 +11435,12 @@ 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]). + + + + + + @@ -11203,6 +11464,12 @@ Set when the control is ignoring mouse events (even touchpad events send mouse events). (see the MOUSE_FILTER_* constants) + + + + + + @@ -11258,6 +11525,12 @@ Set a tooltip, which will appear when the cursor is resting over this control. + + + + + + @@ -11296,6 +11569,10 @@ + + + + @@ -11312,6 +11589,8 @@ + + @@ -11455,12 +11734,20 @@ + + + + + + + + @@ -11697,6 +11984,206 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Describes a Bezier curve in 2D space. @@ -12091,38 +12578,14 @@ - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - + + @@ -12135,11 +12598,7 @@ - - - - - + @@ -13313,22 +13772,6 @@ - - - - - - Opens scene in editor. Do not use during plugin initialization. If you need, then use it together with [method Object.call_deferred]. - - - - - - - - Reloads already loaded editor scene. - - @@ -13478,11 +13921,25 @@ Remember that you have to manage the visibility of all your editor controls manually. + + + + + Opens scene in editor. Do not use during plugin initialization. If you need, then use it together with [method Object.call_deferred]. + + Queue save the project's editor layout. + + + + + Reloads already loaded editor scene. + + @@ -13515,6 +13972,10 @@ This method is called after the editor saves the project or when it's closed. It asks the plugin to save edited external scenes/resources. + + + + @@ -14271,7 +14732,7 @@ - + @@ -14741,8 +15202,8 @@ - - + + @@ -14768,7 +15229,7 @@ - + @@ -15013,7 +15474,7 @@ - + @@ -15831,6 +16292,14 @@ + + + + + + + + @@ -16880,7 +17349,7 @@ - + @@ -17008,6 +17477,8 @@ + + @@ -17168,86 +17639,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -17260,9 +17659,7 @@ - - - + @@ -18247,6 +18644,10 @@ + + + + @@ -19023,6 +19424,18 @@ Copy a "src_rect" [Rect2] from "src" [Image] to this [Image] on coordinates "dest". + + + + + + + + + + + + @@ -19234,16 +19647,6 @@ - - - - - - - - - - @@ -19255,7 +19658,7 @@ - + @@ -19269,6 +19672,16 @@ Save this [Image] as a png. + + + + + + + + + + @@ -20000,6 +20413,14 @@ + + + + + + + + @@ -20011,6 +20432,10 @@ + + + + @@ -20898,6 +21323,8 @@ + + @@ -21167,6 +21594,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -21615,95 +22062,131 @@ Kinematic Characters: KinematicBody2D also has an api for moving objects (the [method move] method) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics. - - + + + + - Return the body that collided with this one. - - + + + + - Return the metadata of the shape that collided with this body. If there is no collision, it will return 0, so collisions must be checked first with [method is_colliding]. Additionally, this metadata can not be set with [method Object.set_meta], it must be set with [method Physics2DServer.body_set_shape_metadata]. - + + + + + + + + + + + + + + + + + - Return the shape index from the body that collided with this one. If there is no collision, this method will return 0, so collisions must be checked first with [method is_colliding]. - + + + Return the velocity of the body that collided with this one. - - + + - Return the collision margin for this object. + + + + + + + + + + - Return the normal of the surface the body collided with. This is useful to implement sliding along a surface. - + + + - Return the point in space where the body is touching another. If there is no collision, this method will return (0,0), so collisions must be checked first with [method is_colliding]. - - + + + + - + + + - Return the last movement done by the body. - - + + - Return whether the body is colliding with another. - + + + + + + + - + - + - + @@ -21727,26 +22210,10 @@ - - - - - - - Move the body to the given position. This is not a teleport, and the body will stop if there is an obstacle. The returned vector is how much movement was remaining before being stopped. - [code]floor_max_angle[/code] is in radians (default is pi/4), and filters which obstacles should be considered as floors/cellings instead of walls. - - - - - Undo the last movement done by the body. - - - + - Set the collision margin for this object. A collision margin is an amount (in pixels) that all shapes will grow when computing collisions, to account for numerical imprecision. @@ -21762,7 +22229,7 @@ - + @@ -23466,7 +23933,23 @@ Material is a base [Resource] used for coloring and shading geometry. All materials inherit from it and almost all [VisualInstance] derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here. + + + + + + + + + + + + + + + + @@ -23610,6 +24093,8 @@ + + @@ -23642,6 +24127,8 @@ + + @@ -23724,6 +24211,8 @@ + + @@ -23879,6 +24368,10 @@ + + + + This helper creates a [StaticBody] child [Node] using the mesh geometry as collision. It's mainly used for testing. @@ -23897,6 +24390,14 @@ + + + + + + + + @@ -23910,6 +24411,14 @@ + + + + + + + + @@ -24974,6 +25483,12 @@ + + + + + + @@ -24994,12 +25509,24 @@ + + + + + + + + + + + + @@ -25020,8 +25547,18 @@ + + + + + + + + + + @@ -25044,6 +25581,12 @@ + + + + + + @@ -25224,7 +25767,7 @@ Return the name of the node. This name is unique among the siblings (other child nodes from the same parent). - + @@ -25628,11 +26171,12 @@ Set the name of the [Node]. Name must be unique within parent, and setting an already existing name will cause for the node to be automatically renamed. - - + + + + - Change the networking mode of the [Node], where [i]mode[/i] is one of the constants NETWORK_MODE_*. Master nodes will only call gdscript methods defined as [i]master func[/i] if a RPC call is received (slave nodes will only call [i]slave func[/i]; both will call [i]remote func[/i] if the call is not local, and [i]sync func[/i] in any case). Inherit mode looks at the parent node to determine the value (root node depends on the [SceneTree] having a networking peer set with [method SceneTree.set_network_peer]) @@ -25749,12 +26293,6 @@ - - - - - - @@ -26717,6 +27255,12 @@ + + + + + + @@ -27053,6 +27597,12 @@ Return the class of the object as a string. + + + + + + @@ -27425,6 +27975,8 @@ + + @@ -27453,6 +28005,8 @@ + + @@ -28096,110 +28650,280 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + - + + + + + + + - - + + - + - + + + + + + + + + + + + + + + + + + + - - + + + + + + - - + + - - + + + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + 2D Particle emitter + Particles2D is a particle system 2D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility bounding box (although helpers to create one automatically exist). - - + + @@ -28208,6 +28932,7 @@ + Returns the amount of particles spawned at each emission @@ -28216,40 +28941,45 @@ - - + + - - - + - - + + - + - - + + + + + Gets the amount of seconds that each particle will be visible. + + + + - - + + @@ -28278,299 +29008,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2D Particle emitter - - - Particles2D is a particle system 2D [Node] that is used to simulate several types of particle effects, such as explosions, rain, snow, fireflies, or other magical-like shinny sparkles. Particles are drawn using impostors, and given their dynamic behavior, the user must provide a visibility bounding box (although helpers to create one automatically exist). - - - - - - - Returns the amount of particles spawned at each emission - - - - - - - Returns the tint color for each particle. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns the half extents of the emission box. - - - - - - - - - - - - - Returns the particle spawn origin position relative to the emitter. - - - - - - - Returns the amount of seconds during which the emitter will spawn particles - - - - - - - - - - - - - Returns the [Gradient] used to tint each particle. - - - - - - - - - - - - - - - - - - - Gets the amount of seconds that each particle will be visible. - - - - - - - - - Returns the value of the specified emitter parameter - - - - - - - - - - - - - - - - - - - - - Returns the randomness value of the specified emitter parameter - - @@ -28578,11 +29015,10 @@ Returns the texture for emitted particles - - + + - Returns the emitter time scale @@ -28591,38 +29027,20 @@ - - - - - Returns whether this emitter is currently emitting or not - - - - - - - - - - + + - + + Returns whether this emitter is currently emitting or not - - - - - - - + @@ -28633,348 +29051,153 @@ Sets the amount of particles spawned at each emission - - - - - Set the tint color for each particle. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sets the half extents of the emission box, particles will be spawned at random inside this box. - - - - - - - - - - - - - Sets the particle spawn origin position relative to the emitter center. for example if this value is set to (50, 50), the particle will spawn 50 units to the right and 50 units to the bottom of the emitter center. - - - - + + - Sets the amount of seconds during which the emitter will spawn particles, after the specified seconds the emitter state will be set to non emitting, so calling [method is_emitting] will return false. If the timeout is 0 the emitter will spawn forever. - + If this is set to true then the particle emitter will emit particles, if its false it will not. - - + + - - + + - + - - - - + + - Sets the [Gradient] used to tint each particle. Particle will be tinted according to their lifetimes. - - + + + Sets the amount of seconds that each particle will be visible. - - + + - - + + - Sets the amount of seconds that each particle will be visible. - - - - + + - Sets the value of the specified emitter parameter (see the constants secction for the list of parameters) - - + + - - + + - - - - + + - Sets the randomness value of the specified emitter parameter (see the constants secction for the list of parameters), 0 means no randomness, so every particle will have the parameters specified, 1 means that the parameter will be chosen at random, the closer the randomness value gets to 0 the more conservative the variation of the parameter will be. - - - + - Sets the texture for each particle - - + + - Sets the increment or decrement for the particle lifetime. for example: if the time scale is set to 2, the particles will die and move twice as fast. - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - Direction in degrees at which the particles will be launched, Notice that when the direction is set to 0 the particles will be launched to the negative - - - - - Velocity at which the particles will be launched. - - - The speed at which particles will spin around its own center. - - - Velocity at which the particles will orbit around the emitter center - - - Direction in degrees at which the particles will be attracted - - - Strength of the gravitation attraction for each particle - - - - - - - Amount of damping for each particle - - - Initial angle in radians at which each particle will be spawned - - - Initial size of each particle - - - Final size of each particle, the particle size will interpolate to this value during its lifetime. - - - - - - - - + - + @@ -29002,6 +29225,12 @@ + + + + + + @@ -29118,6 +29347,12 @@ + + + + + + @@ -29230,6 +29465,8 @@ + + @@ -29254,6 +29491,8 @@ + + @@ -29266,6 +29505,8 @@ + + @@ -29352,7 +29593,7 @@ - + @@ -30289,6 +30530,16 @@ Substitute a given area shape by another. The old shape is selected by its index, the new one by its [RID]. + + + + + + + + + + @@ -30450,24 +30701,6 @@ Get the instance ID of the object the area is assigned to. - - - - - - - Return the direction used for one-way collision detection. - - - - - - - - - Return how far a body can go through the given one, when it allows one-way collisions. - - @@ -30546,17 +30779,6 @@ Return whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). - - - - - - - - - Return whether a body's shape is marked as a trigger. - - @@ -30652,24 +30874,6 @@ Set whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). - - - - - - - Set a direction in which bodies can go through the given one. If this value is different from (0,0), any movement within 90 degrees of this vector is considered a valid movement. Set this direction to (0,0) to disable one-way collisions. - - - - - - - - - Set how far a body can go through the given one, if it allows one-way collisions (see [method body_set_one_way_collision_direction]). - - @@ -30692,7 +30896,7 @@ Substitute a given body shape by another. The old shape is selected by its index, the new one by its [RID]. - + @@ -30700,7 +30904,16 @@ - Mark a body's shape as a trigger. A trigger shape cannot affect other bodies, but detects other shapes entering and exiting it. + + + + + + + + + + @@ -30984,11 +31197,9 @@ Constant to set/get the maximum distance a shape can penetrate another shape before it is considered a collision. - - Constant to set/get the linear velocity threshold. Bodies slower than this will be marked as potentially inactive. + - - Constant to set/get the angular velocity threshold. Bodies slower than this will be marked as potentially inactive. + Constant to set/get the maximum time of activity. A body marked as potentially inactive for both linear and angular velocity will be put to sleep after this time. @@ -31528,20 +31739,6 @@ Return an individual bit on the collision mask. - - - - - Return the direction used for one-way collision detection. - - - - - - - Return how far a body can go through this one, when it allows one-way collisions. - - @@ -31583,20 +31780,6 @@ Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. - - - - - Set a direction in which bodies can go through this one. If this value is different from (0,0), any movement within 90 degrees of this vector is considered a valid movement. Set this direction to (0,0) to disable one-way collisions. - - - - - - - Set how far a body can go through this one, when it allows one-way collisions (see [method set_one_way_collision_direction]). - - @@ -31605,10 +31788,6 @@ - - - - @@ -33809,7 +33988,7 @@ - Returns a new [PoolByteArray] with the data compressed. The compression mode can be set using one of the COMPRESS_* constants of [File]. + Returns a new [PoolByteArray] with the data compressed. The compression mode can be set using one of the COMPRESS_* constants of [File]. @@ -33820,7 +33999,7 @@ - Returns a new [PoolByteArray] with the data decompressed. The buffer_size should be set as the size of the uncompressed data. The compression mode can be set using one of the COMPRESS_* constants of [File]. + Returns a new [PoolByteArray] with the data decompressed. The buffer_size should be set as the size of the uncompressed data. The compression mode can be set using one of the COMPRESS_* constants of [File]. @@ -34694,6 +34873,8 @@ + + @@ -34734,6 +34915,13 @@ + + + + + Returns a boolean that indicates whether or not the PopupMenu will hide on checkable item selection. + + @@ -34741,13 +34929,6 @@ Returns a boolean that indicates whether or not the PopupMenu will hide on item selection. - - - - - Returns a boolean that indicates whether or not the PopupMenu will hide on checkable item selection. - - @@ -34791,6 +34972,13 @@ Removes the item at index "idx" from the menu. Note that the indexes of items after the removed item are going to be shifted by one. + + + + + Sets whether or not the PopupMenu will hide on checkable item selection. + + @@ -34798,13 +34986,6 @@ Sets whether or not the PopupMenu will hide on item selection. - - - - - Sets whether or not the PopupMenu will hide on checkable item selection. - - @@ -34921,6 +35102,8 @@ + + @@ -36400,6 +36583,7 @@ Ending corner. + Position (starting corner). Size from position to end. @@ -36596,8 +36780,7 @@ Ending corner. - - Position (starting corner). + Size from position to end. @@ -36940,7 +37123,7 @@ - + @@ -37063,16 +37246,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -37089,16 +37328,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -37488,6 +37783,12 @@ + + + + + + @@ -37508,7 +37809,7 @@ - + @@ -37583,7 +37884,7 @@ - + @@ -37642,6 +37943,12 @@ + + + + + + @@ -37677,6 +37984,12 @@ + + + + + + @@ -37695,6 +38008,8 @@ + + @@ -38777,6 +39092,8 @@ + + @@ -38878,6 +39195,12 @@ + + + + + + @@ -39523,6 +39846,8 @@ + + @@ -39949,6 +40274,18 @@ Return true if ticks are visible on borders. + + + + + + + + + + + + @@ -39965,6 +40302,8 @@ + + @@ -40513,6 +40852,12 @@ + + + + + + @@ -40585,6 +40930,12 @@ + + + + + + @@ -40600,25 +40951,37 @@ - + - + + + + + + + - + - + + + + + + + @@ -40629,6 +40992,12 @@ + + + + + + @@ -40747,6 +41116,18 @@ + + + + + + + + + + + + @@ -40819,6 +41200,12 @@ + + + + + + @@ -40834,25 +41221,37 @@ - + - + + + + + + + - + - + + + + + + + @@ -40863,7 +41262,7 @@ - + @@ -40871,9 +41270,11 @@ + + - + @@ -40905,7 +41306,7 @@ - + @@ -40923,7 +41324,7 @@ - + @@ -40945,10 +41346,16 @@ + + + + + + @@ -40961,7 +41368,7 @@ - + @@ -40969,7 +41376,7 @@ - + @@ -40979,13 +41386,21 @@ - + + + - + - + - + + + + + + + @@ -41087,7 +41502,7 @@ - + @@ -41097,6 +41512,18 @@ + + + + + + + + + + + + @@ -41410,6 +41837,12 @@ Return the amount of horizontal frames. See [method set_hframes]. + + + + + + @@ -41466,6 +41899,12 @@ Return if the sprite reads from a region. + + + + + + @@ -41501,6 +41940,12 @@ Set the amount of horizontal frames and converts the sprite into a sprite-sheet. This is useful for animation. + + + + + + @@ -41515,6 +41960,12 @@ Set the sprite as a sub-region of a bigger texture. Useful for texture-atlases. + + + + + + @@ -41548,9 +41999,13 @@ + + - + + + @@ -41656,7 +42111,7 @@ - + @@ -41818,6 +42273,8 @@ + + @@ -41840,7 +42297,9 @@ - + + + @@ -43559,6 +44018,12 @@ + + + + + + @@ -43599,6 +44064,12 @@ + + + + + + @@ -43633,6 +44104,8 @@ + + @@ -44168,6 +44641,12 @@ + + + + + + @@ -44729,6 +45208,8 @@ + + @@ -44743,6 +45224,8 @@ + + @@ -44757,6 +45240,10 @@ + + + + @@ -46014,6 +46501,18 @@ Remove the tile referenced by the given ID. + + + + + + + + + + + + @@ -46059,6 +46558,14 @@ Return the offset of the tile's navigation polygon. + + + + + + + + @@ -46082,17 +46589,37 @@ + + - Return the shape of the tile. - - + + + + + + + + + + + + + + + + + + + + + + - Return the shape offset of the tile. @@ -46167,6 +46694,14 @@ Set an offset for the tile's navigation polygon. + + + + + + + + @@ -46188,19 +46723,31 @@ - + + + + + + + + + + + + + - Set a shape for the tile, enabling physics to collide with it. - + - + + + - Set the shape offset of the tile. @@ -46846,7 +47393,7 @@ - + @@ -47513,6 +48060,14 @@ + + + + + + + + @@ -47597,6 +48152,14 @@ + + + + + + + + @@ -47645,6 +48208,12 @@ + + + + + + @@ -47751,6 +48320,12 @@ + + + + + + @@ -47759,6 +48334,14 @@ + + + + + + + + @@ -47829,6 +48412,14 @@ + + + + + + + + @@ -48511,6 +49102,10 @@ do_property]. + + + + @@ -48761,12 +49356,6 @@ do_property]. - - Height of the vector (Same as Y). - - - Width of the vector (Same as X). - X component of the vector. @@ -50960,6 +51549,8 @@ do_property]. + + @@ -50977,9 +51568,9 @@ do_property]. - + - + @@ -51201,7 +51792,7 @@ do_property]. - + @@ -51381,27 +51972,27 @@ do_property]. - + - + - + - + - + - + - + - + - + - + - + @@ -51577,9 +52168,9 @@ do_property]. - + - + @@ -51617,9 +52208,9 @@ do_property]. - + - + @@ -51725,9 +52316,9 @@ do_property]. - + - + @@ -51795,6 +52386,12 @@ do_property]. + + + + + + @@ -51831,6 +52428,12 @@ do_property]. + + + + + + @@ -51839,19 +52442,21 @@ do_property]. - + - + - + - + - + - + - + + + @@ -51869,6 +52474,12 @@ do_property]. + + + + + + @@ -51899,12 +52510,24 @@ do_property]. + + + + + + + + + + + + @@ -51935,6 +52558,12 @@ do_property]. + + + + + + @@ -51943,19 +52572,23 @@ do_property]. - + - + - + + + - + - + - + - + + + @@ -52025,9 +52658,9 @@ do_property]. - + - + @@ -52069,6 +52702,32 @@ do_property]. + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -52163,9 +52822,9 @@ do_property]. - + - + @@ -52191,7 +52850,7 @@ do_property]. - + @@ -52217,7 +52876,7 @@ do_property]. - + @@ -52335,13 +52994,13 @@ do_property]. - + - + - + - + @@ -52592,13 +53251,6 @@ do_property]. Retrieve the state of this world's physics space. This allows arbitrary querying for collision. - - - - - Retrieve the [RID] of this world's sound space resource. Used by the [SpatialSound2DServer] for 2D spatial audio. - - @@ -52610,7 +53262,7 @@ do_property]. - + Sets environment properties for the entire scene -- cgit v1.2.3