doc: Sync with current source

This commit is contained in:
Rémi Verschelde 2017-08-25 19:26:30 +02:00
parent 711259e6c9
commit 4e2ae2720f

View file

@ -18896,6 +18896,12 @@
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 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].
</description> </description>
</method> </method>
<method name="get_move_and_slide_colliders" qualifiers="const">
<return type="Array">
</return>
<description>
</description>
</method>
<method name="get_travel" qualifiers="const"> <method name="get_travel" qualifiers="const">
<return type="Vector2"> <return type="Vector2">
</return> </return>
@ -18910,6 +18916,24 @@
Return whether the body is colliding with another. Return whether the body is colliding with another.
</description> </description>
</method> </method>
<method name="is_move_and_slide_on_ceiling" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="is_move_and_slide_on_floor" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="is_move_and_slide_on_wall" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="move"> <method name="move">
<return type="Vector2"> <return type="Vector2">
</return> </return>
@ -18919,6 +18943,20 @@
Move the body in the given direction, stopping if there is an obstacle. The returned vector is how much movement was remaining before being stopped. Move the body in the given direction, stopping if there is an obstacle. The returned vector is how much movement was remaining before being stopped.
</description> </description>
</method> </method>
<method name="move_and_slide">
<return type="Vector2">
</return>
<argument index="0" name="linear_velocity" type="Vector2">
</argument>
<argument index="1" name="floor_normal" type="Vector2" default="Vector2(0, 0)">
</argument>
<argument index="2" name="slope_stop_min_velocity" type="float" default="5">
</argument>
<argument index="3" name="max_bounces" type="int" default="4">
</argument>
<description>
</description>
</method>
<method name="move_to"> <method name="move_to">
<return type="Vector2"> <return type="Vector2">
</return> </return>
@ -38013,7 +38051,9 @@
</constant> </constant>
<constant name="FLAG_DOUBLE_SIDED" value="2"> <constant name="FLAG_DOUBLE_SIDED" value="2">
</constant> </constant>
<constant name="FLAG_MAX" value="3"> <constant name="FLAG_ONTOP" value="3">
</constant>
<constant name="FLAG_MAX" value="4">
</constant> </constant>
<constant name="ALPHA_CUT_DISABLED" value="0"> <constant name="ALPHA_CUT_DISABLED" value="0">
</constant> </constant>
@ -38539,6 +38579,62 @@
<constants> <constants>
</constants> </constants>
</class> </class>
<class name="StreamPeerBuffer" inherits="StreamPeer" category="Core">
<brief_description>
</brief_description>
<description>
</description>
<methods>
<method name="clear">
<description>
</description>
</method>
<method name="duplicate" qualifiers="const">
<return type="Object">
</return>
<description>
</description>
</method>
<method name="get_data_array" qualifiers="const">
<return type="RawArray">
</return>
<description>
</description>
</method>
<method name="get_pos" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_size" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="resize">
<argument index="0" name="size" type="int">
</argument>
<description>
</description>
</method>
<method name="seek">
<argument index="0" name="pos" type="int">
</argument>
<description>
</description>
</method>
<method name="set_data_array">
<argument index="0" name="data" type="RawArray">
</argument>
<description>
</description>
</method>
</methods>
<constants>
</constants>
</class>
<class name="StreamPeerSSL" inherits="StreamPeer" category="Core"> <class name="StreamPeerSSL" inherits="StreamPeer" category="Core">
<brief_description> <brief_description>
SSL Stream peer. SSL Stream peer.
@ -40048,6 +40144,12 @@
Specify a Tangent for the next Vertex to use. Specify a Tangent for the next Vertex to use.
</description> </description>
</method> </method>
<method name="add_to_format">
<argument index="0" name="flags" type="int">
</argument>
<description>
</description>
</method>
<method name="add_triangle_fan"> <method name="add_triangle_fan">
<argument index="0" name="vertexes" type="Vector3Array"> <argument index="0" name="vertexes" type="Vector3Array">
</argument> </argument>
@ -40093,6 +40195,16 @@
Specify weight value for next Vertex to use. Specify weight value for next Vertex to use.
</description> </description>
</method> </method>
<method name="append_from">
<argument index="0" name="existing" type="Mesh">
</argument>
<argument index="1" name="surface" type="int">
</argument>
<argument index="2" name="transform" type="Transform">
</argument>
<description>
</description>
</method>
<method name="begin"> <method name="begin">
<argument index="0" name="primitive" type="int"> <argument index="0" name="primitive" type="int">
</argument> </argument>
@ -40114,6 +40226,14 @@
Returns a constructed [Mesh] from current information passed in. If an existing [Mesh] is passed in as an argument, will add an extra surface to the existing [Mesh]. Returns a constructed [Mesh] from current information passed in. If an existing [Mesh] is passed in as an argument, will add an extra surface to the existing [Mesh].
</description> </description>
</method> </method>
<method name="create_from">
<argument index="0" name="existing" type="Mesh">
</argument>
<argument index="1" name="surface" type="int">
</argument>
<description>
</description>
</method>
<method name="deindex"> <method name="deindex">
<description> <description>
Removes index array by expanding Vertex array. Removes index array by expanding Vertex array.
@ -40124,6 +40244,10 @@
Generates normals from Vertices so you do not have to do it manually. Generates normals from Vertices so you do not have to do it manually.
</description> </description>
</method> </method>
<method name="generate_tangents">
<description>
</description>
</method>
<method name="index"> <method name="index">
<description> <description>
Shrinks Vertex array by creating an index array. Avoids reusing Vertices. Shrinks Vertex array by creating an index array. Avoids reusing Vertices.
@ -41947,6 +42071,14 @@
Return an array of all cells containing a tile from the tileset (i.e. a tile index different from -1). Return an array of all cells containing a tile from the tileset (i.e. a tile index different from -1).
</description> </description>
</method> </method>
<method name="get_used_cells_by_id" qualifiers="const">
<return type="Array">
</return>
<argument index="0" name="id" type="int">
</argument>
<description>
</description>
</method>
<method name="get_used_rect"> <method name="get_used_rect">
<return type="Rect2"> <return type="Rect2">
</return> </return>
@ -47615,6 +47747,12 @@
<description> <description>
</description> </description>
</method> </method>
<method name="set_time_scale">
<argument index="0" name="arg0" type="float">
</argument>
<description>
</description>
</method>
<method name="shader_create"> <method name="shader_create">
<return type="RID"> <return type="RID">
</return> </return>