Skip to content

Commit ee537cc

Browse files
authored
fix getObjectByProperty docs (#21953)
* fix getObjectByProperty docs * fix getObjectByProperty docs (zh) * fix getObjectByProperty docs (ko)
1 parent cf8fba8 commit ee537cc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/api/en/core/Object3D.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ <h3>[method:Object3D getObjectByName]( [param:String name] )</h3>
258258
have to set it manually to make use of this method.
259259
</p>
260260

261-
<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
261+
<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:any value] )</h3>
262262
<p>
263263
name -- the property name to search for. <br />
264264
value -- value of the given property. <br /><br />

docs/api/ko/core/Object3D.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ <h3>[method:Object3D getObjectByName]( [param:String name] )</h3>
247247
대부분의 객체는 기본값으로 이름이 빈 문자열입니다. 이 메서드를 사용하기 위해서는 직접 이름을 지정해야 합니다.
248248
</p>
249249

250-
<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
250+
<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:any value] )</h3>
251251
<p>
252252
name -- 검색하고자하는 이름 프로퍼티. <br />
253253
value -- 프로퍼티의 값. <br /><br />

docs/api/zh/core/Object3D.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ <h3>[method:Object3D getObjectByName]( [param:String name] )</h3>
247247
请注意,大多数的对象中name默认是一个空字符串,要使用这个方法,你将需要手动地设置name属性。
248248
</p>
249249

250-
<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:Float value] )</h3>
250+
<h3>[method:Object3D getObjectByProperty]( [param:String name], [param:any value] )</h3>
251251
<p>
252252
name —— 将要用于查找的属性的名称。<br />
253253
value —— 给定的属性的值。 <br /><br />

0 commit comments

Comments
 (0)