瀏覽代碼

Add missing bone name return information

Flyn San 1 年之前
父節點
當前提交
75dd33f834
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/Skeleton3D.xml

+ 1 - 1
doc/classes/Skeleton3D.xml

@@ -41,7 +41,7 @@
 			<return type="int" />
 			<param index="0" name="name" type="String" />
 			<description>
-				Returns the bone index that matches [param name] as its name.
+				Returns the bone index that matches [param name] as its name. Returns [code]-1[/code] if no bone with this name exists.
 			</description>
 		</method>
 		<method name="force_update_all_bone_transforms" deprecated="This method should only be called internally.">