|
@@ -11,6 +11,11 @@ export class TypeEvent {
|
|
public objScene : any = null;
|
|
public objScene : any = null;
|
|
// babylon 对象,懂babylon,就可以使用babylon的api去操作
|
|
// babylon 对象,懂babylon,就可以使用babylon的api去操作
|
|
public BABYLON : any = null;
|
|
public BABYLON : any = null;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * stores 合集对象
|
|
|
|
+ */
|
|
|
|
+ public storesObj : any = null;
|
|
|
|
|
|
static instance: any;
|
|
static instance: any;
|
|
|
|
|
|
@@ -33,8 +38,9 @@ export class TypeEvent {
|
|
* objIframe iframe对象
|
|
* objIframe iframe对象
|
|
* objScene 场景对象
|
|
* objScene 场景对象
|
|
* BABYLON babylon.js对象,用于后续调用babylon的代码去创建更新等操作
|
|
* BABYLON babylon.js对象,用于后续调用babylon的代码去创建更新等操作
|
|
|
|
+ * storesObj stores 合集对象
|
|
*/
|
|
*/
|
|
- initObj = (objIframeEdit : any, objIframe : any, objScene : any, BABYLON : any) => {
|
|
|
|
|
|
+ initObj = (objIframeEdit : any, objIframe : any, objScene : any, BABYLON : any, storesObj : any) => {
|
|
|
|
|
|
if (this.objIframe != null && this.objIframe != undefined) {
|
|
if (this.objIframe != null && this.objIframe != undefined) {
|
|
return this;
|
|
return this;
|
|
@@ -44,6 +50,7 @@ export class TypeEvent {
|
|
this.objIframe = objIframe;
|
|
this.objIframe = objIframe;
|
|
this.objScene = objScene;
|
|
this.objScene = objScene;
|
|
this.BABYLON = BABYLON;
|
|
this.BABYLON = BABYLON;
|
|
|
|
+ this.storesObj = storesObj;
|
|
|
|
|
|
return this;
|
|
return this;
|
|
|
|
|
|
@@ -85,6 +92,12 @@ export class TypeEvent {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|