添加折叠面板
This commit is contained in:
@@ -8,6 +8,14 @@ import { createEngine as createEngineSDK } from '../../bim-engine-sdk.es.js';
|
||||
// 重新导出类型,方便外部引用
|
||||
export type { EngineOptions, ModelLoadOptions };
|
||||
|
||||
/**
|
||||
* 创建 Engine 实例的工厂函数
|
||||
* 兼容旧代码直接 import { createEngine } 的方式
|
||||
*/
|
||||
export const createEngine = (options: EngineOptions) => {
|
||||
return new Engine(options);
|
||||
};
|
||||
|
||||
/**
|
||||
* 3D 引擎组件
|
||||
* 负责创建和管理第三方 3D 引擎实例
|
||||
|
||||
Reference in New Issue
Block a user