doc: Sync classref with current source

This commit is contained in:
Rémi Verschelde 2019-03-07 10:54:42 +01:00
parent 7141c73ae8
commit 8f5d9b6391
7 changed files with 32 additions and 8 deletions

View File

@ -53,13 +53,6 @@
Godot uses clockwise winding order for front faces of triangle primitive modes.
</description>
</method>
<method name="center_geometry">
<return type="void">
</return>
<description>
Centers the geometry.
</description>
</method>
<method name="clear_blend_shapes">
<return type="void">
</return>

View File

@ -325,6 +325,15 @@
Set the mouse mode. See the constants for more information.
</description>
</method>
<method name="set_use_accumulated_input">
<return type="void">
</return>
<argument index="0" name="enable" type="bool">
</argument>
<description>
Whether to accumulate similar input events sent by the operating system. Defaults to [code]true[/code].
</description>
</method>
<method name="start_joy_vibration">
<return type="void">
</return>

View File

@ -13,6 +13,14 @@
<demos>
</demos>
<methods>
<method name="accumulate">
<return type="bool">
</return>
<argument index="0" name="with_event" type="InputEvent">
</argument>
<description>
</description>
</method>
<method name="as_text" qualifiers="const">
<return type="String">
</return>

View File

@ -65,7 +65,9 @@
</argument>
<argument index="1" name="infinite_inertia" type="bool" default="true">
</argument>
<argument index="2" name="test_only" type="bool" default="false">
<argument index="2" name="exclude_raycast_shapes" type="bool" default="true">
</argument>
<argument index="3" name="test_only" type="bool" default="false">
</argument>
<description>
Moves the body along the vector [code]rel_vec[/code]. The body will stop if it collides. Returns a [KinematicCollision], which contains information about the collision.

View File

@ -259,6 +259,10 @@
</description>
</method>
</methods>
<members>
<member name="bones_in_world_transform" type="bool" setter="set_use_bones_in_world_transform" getter="is_using_bones_in_world_transform">
</member>
</members>
<constants>
<constant name="NOTIFICATION_UPDATE_SKELETON" value="50">
</constant>

View File

@ -143,6 +143,12 @@
This is useful mostly to check if something changed from a saved version.
</description>
</method>
<method name="is_commiting_action" qualifiers="const">
<return type="bool">
</return>
<description>
</description>
</method>
<method name="redo">
<return type="bool">
</return>

View File

@ -17,6 +17,8 @@
<member name="as_normalmap" type="bool" setter="set_as_normalmap" getter="is_normalmap">
If true, the resulting texture contains a normal map created from the original noise interpreted as a bump map.
</member>
<member name="bump_strength" type="float" setter="set_bump_strength" getter="get_bump_strength">
</member>
<member name="height" type="int" setter="set_height" getter="get_height">
Height of the generated texture.
</member>