Browse Source

doc: Sync classref with current source

Rémi Verschelde 5 năm trước cách đây
mục cha
commit
4ac78e6a5f
3 tập tin đã thay đổi với 22 bổ sung8 xóa
  1. 4 8
      doc/classes/EditorInterface.xml
  2. 6 0
      doc/classes/Image.xml
  3. 12 0
      doc/classes/Skeleton3D.xml

+ 4 - 8
doc/classes/EditorInterface.xml

@@ -182,14 +182,6 @@
 				Selects the file, with the path provided by [code]file[/code], in the FileSystem dock.
 			</description>
 		</method>
-		<method name="set_distraction_free_mode">
-			<return type="void">
-			</return>
-			<argument index="0" name="enter" type="bool">
-			</argument>
-			<description>
-			</description>
-		</method>
 		<method name="set_main_screen_editor">
 			<return type="void">
 			</return>
@@ -210,6 +202,10 @@
 			</description>
 		</method>
 	</methods>
+	<members>
+		<member name="distraction_free_mode" type="bool" setter="set_distraction_free_mode" getter="is_distraction_free_mode_enabled">
+		</member>
+	</members>
 	<constants>
 	</constants>
 </class>

+ 6 - 0
doc/classes/Image.xml

@@ -436,6 +436,12 @@
 				Saves the image as a PNG file to [code]path[/code].
 			</description>
 		</method>
+		<method name="save_png_to_buffer" qualifiers="const">
+			<return type="PackedByteArray">
+			</return>
+			<description>
+			</description>
+		</method>
 		<method name="set_pixel">
 			<return type="void">
 			</return>

+ 12 - 0
doc/classes/Skeleton3D.xml

@@ -106,6 +106,12 @@
 				Returns the pose transform of the specified bone. Pose is applied on top of the custom pose, which is applied on top the rest pose.
 			</description>
 		</method>
+		<method name="get_bone_process_orders">
+			<return type="PackedInt32Array">
+			</return>
+			<description>
+			</description>
+		</method>
 		<method name="get_bone_rest" qualifiers="const">
 			<return type="Transform">
 			</return>
@@ -268,6 +274,12 @@
 		<member name="animate_physical_bones" type="bool" setter="set_animate_physical_bones" getter="get_animate_physical_bones" default="true">
 		</member>
 	</members>
+	<signals>
+		<signal name="pose_updated">
+			<description>
+			</description>
+		</signal>
+	</signals>
 	<constants>
 		<constant name="NOTIFICATION_UPDATE_SKELETON" value="50">
 		</constant>