|
也可以通过下面的方式进行多场景加载- var app = new THING.App();
- var campus1 = app.create({
- type: "Campus",
- url: "models/storehouse",
- complete: function (ev) {
- console.log("Campus created: " + ev.object.id);
- }
- });
- var campus2 = app.create({
- type: "Campus",
- url: "models/chinesehouse",
- position: [50, 0, 0],
- complete: function (ev) {
- console.log("Campus created: " + ev.object.id);
- }
- });
复制代码 |
|