Просмотр исходного кода

doc: Sync classref with current source

Rémi Verschelde 6 лет назад
Родитель
Сommit
8f5d9b6391

+ 0 - 7
doc/classes/ArrayMesh.xml

@@ -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>

+ 9 - 0
doc/classes/Input.xml

@@ -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>

+ 8 - 0
doc/classes/InputEvent.xml

@@ -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>

+ 3 - 1
doc/classes/KinematicBody.xml

@@ -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.

+ 4 - 0
doc/classes/Skeleton.xml

@@ -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>

+ 6 - 0
doc/classes/UndoRedo.xml

@@ -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>

+ 2 - 0
modules/opensimplex/doc_classes/NoiseTexture.xml

@@ -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>