Skip to content

Commit 585effa

Browse files
committed
add dependence API for readme (#92)
1 parent 3c77bbc commit 585effa

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,14 @@ Loads data to the controller periodically.
248248

249249
Close live load function.
250250

251+
**[`getScene()`](http://giojs.org/html/docs/interfaceThree.html)**
252+
253+
Get the reference of three.js scene object.
254+
255+
**[`getStatsObject()`](http://giojs.org/html/docs/interfaceStats.html)**
256+
257+
Get the reference of Stats.js panel object.
258+
251259
**[`onCountryPicked(callback)`](http://giojs.org/html/docs/callbackPicked.html)**
252260

253261
Fired when selected country changes.

README_zh.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,14 @@ Gio.js有很多codepen的例子,你可以在codepen中编辑修改它们。点
247247

248248
关闭周期性加载功能。
249249

250+
**[`getScene()`](http://giojs.org/html/docs/interfaceThree_zh.html)**
251+
252+
获得three.js中scene对象的引用。
253+
254+
**[`getStatsObject()`](http://giojs.org/html/docs/interfaceStats_zh.html)**
255+
256+
获得Stats面板对象的引用。
257+
250258
**[`onCountryPicked(callback)`](http://giojs.org/html/docs/callbackPicked_zh.html)**
251259

252260
当"被选中的国家"改变时被调用。

0 commit comments

Comments
 (0)