|
@@ -18,7 +18,7 @@ import { WindowVideoRemoveColorStore } from "@/components/WindowQingXiCheAndQv/s
|
|
|
import { QingXiCheAndQvComClipPlaneMeshEvent } from "./js/QingXiCheAndQvComClipPlaneMeshEvent.js";
|
|
|
import { QingXiCheAdnQvCarEventStep } from "./js/QingXiCheAdnQvCarEventStep.js";
|
|
|
import { QingXiCheAndQvProcessEventStore } from "./event/store/QingXiCheAndQvProcessEventStore.js";
|
|
|
-
|
|
|
+import { CommonGuiDbListTwo } from "../../utils/common/CommonGuiDbListTwo.js";
|
|
|
|
|
|
/**
|
|
|
* 平时开发3d代码逻辑可以写这里
|
|
@@ -160,6 +160,24 @@ const callbackLoadEndEvent = (json) => {
|
|
|
WindowEvent.find().ComStore["WindowCountdownStore"] = WindowCountdownStore;
|
|
|
WindowEvent.find().ComStore["WindowVideoRemoveColorStore"] = WindowVideoRemoveColorStore;
|
|
|
|
|
|
+ // 初始化GUI会用到的对象
|
|
|
+ CommonGuiDbListTwo.find().objScene = CommonVal().obj.CommonValQingXiCheAndQv.objIframe.ChengGuangYuanJing.CommonVal.find().objScene;
|
|
|
+ CommonGuiDbListTwo.find().objEngine = CommonVal().obj.CommonValQingXiCheAndQv.objIframe.ChengGuangYuanJing.CommonVal.find().objEngine;
|
|
|
+ CommonGuiDbListTwo.find().BABYLON = CommonVal().obj.CommonValQingXiCheAndQv.objIframe.BABYLON;
|
|
|
+
|
|
|
+ // 配置自定义背景图
|
|
|
+ CommonGuiDbListTwo.find().bgImgConfig = {
|
|
|
+ "url" : new URL("../../utils/common/bg.webp", import.meta.url).href,
|
|
|
+ "width" : 409,
|
|
|
+ "height" : 304,
|
|
|
+ }
|
|
|
+
|
|
|
+ // console.log(
|
|
|
+ // "三维场景初始化 ==========",
|
|
|
+ // CommonGuiDbListTwo.find().bgImgConfig,
|
|
|
+ // CommonVal().obj.CommonValQingXiCheAndQv.objIframe.ChengGuangYuanJing.CommonVal.find().objEngine
|
|
|
+ // );
|
|
|
+
|
|
|
configMusicEvent();
|
|
|
configVideoEvent();
|
|
|
|