浏览代码

doc: Sync classref with current source

Rémi Verschelde 5 年之前
父节点
当前提交
4ac78e6a5f
共有 3 个文件被更改,包括 22 次插入8 次删除
  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.
 				Selects the file, with the path provided by [code]file[/code], in the FileSystem dock.
 			</description>
 			</description>
 		</method>
 		</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">
 		<method name="set_main_screen_editor">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
@@ -210,6 +202,10 @@
 			</description>
 			</description>
 		</method>
 		</method>
 	</methods>
 	</methods>
+	<members>
+		<member name="distraction_free_mode" type="bool" setter="set_distraction_free_mode" getter="is_distraction_free_mode_enabled">
+		</member>
+	</members>
 	<constants>
 	<constants>
 	</constants>
 	</constants>
 </class>
 </class>

+ 6 - 0
doc/classes/Image.xml

@@ -436,6 +436,12 @@
 				Saves the image as a PNG file to [code]path[/code].
 				Saves the image as a PNG file to [code]path[/code].
 			</description>
 			</description>
 		</method>
 		</method>
+		<method name="save_png_to_buffer" qualifiers="const">
+			<return type="PackedByteArray">
+			</return>
+			<description>
+			</description>
+		</method>
 		<method name="set_pixel">
 		<method name="set_pixel">
 			<return type="void">
 			<return type="void">
 			</return>
 			</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.
 				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>
 			</description>
 		</method>
 		</method>
+		<method name="get_bone_process_orders">
+			<return type="PackedInt32Array">
+			</return>
+			<description>
+			</description>
+		</method>
 		<method name="get_bone_rest" qualifiers="const">
 		<method name="get_bone_rest" qualifiers="const">
 			<return type="Transform">
 			<return type="Transform">
 			</return>
 			</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 name="animate_physical_bones" type="bool" setter="set_animate_physical_bones" getter="get_animate_physical_bones" default="true">
 		</member>
 		</member>
 	</members>
 	</members>
+	<signals>
+		<signal name="pose_updated">
+			<description>
+			</description>
+		</signal>
+	</signals>
 	<constants>
 	<constants>
 		<constant name="NOTIFICATION_UPDATE_SKELETON" value="50">
 		<constant name="NOTIFICATION_UPDATE_SKELETON" value="50">
 		</constant>
 		</constant>