update threejs/three

getObjectById() should accept a number
This commit is contained in:
Qinsi ZHU
2015-10-23 14:50:21 +08:00
parent 44cbde48ee
commit 9e401c8a40
+1 -1
View File
@@ -1213,7 +1213,7 @@ declare module THREE {
* Searches through the object's children and returns the first with a matching id, optionally recursive.
* @param id Unique number of the object instance
*/
getObjectById(id: string): Object3D;
getObjectById(id: number): Object3D;
/**
* Searches through the object's children and returns the first with a matching name, optionally recursive.