Browse Source

fix getObjectByProperty docs (#21953)

* fix getObjectByProperty docs

* fix getObjectByProperty docs (zh)

* fix getObjectByProperty docs (ko)
makc 4 years ago
parent
commit
ee537cc4d1

+ 1 - 1
docs/api/en/core/Object3D.html

@@ -258,7 +258,7 @@
 		have to set it manually to make use of this method.
 		</p>
 
-		<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
+		<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:any value] )</h3>
 		<p>
 		name -- the property name to search for. <br />
 		value -- value of the given property. <br /><br />

+ 1 - 1
docs/api/ko/core/Object3D.html

@@ -247,7 +247,7 @@
 		대부분의 객체는 기본값으로 이름이 빈 문자열입니다. 이 메서드를 사용하기 위해서는 직접 이름을 지정해야 합니다.
 		</p>
 
-		<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
+		<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:any value] )</h3>
 		<p>
 		name -- 검색하고자하는 이름 프로퍼티. <br />
 		value -- 프로퍼티의 값. <br /><br />

+ 1 - 1
docs/api/zh/core/Object3D.html

@@ -247,7 +247,7 @@
 		请注意,大多数的对象中name默认是一个空字符串,要使用这个方法,你将需要手动地设置name属性。
 	</p>
 
-	<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
+	<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:any value] )</h3>
 	<p>
 		name —— 将要用于查找的属性的名称。<br />
 		value —— 给定的属性的值。 <br /><br />