iflow-engine-base-3d 3.12.17 → 3.12.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -118,9 +118,13 @@ const engine = await createEngine({
118
118
  }
119
119
  });
120
120
 
121
- await engine.loadModelByViewToken('vt_xxx');
121
+ await engine.loadModelByViewToken('vt_xxx', {
122
+ loadEdge: false
123
+ });
122
124
  ```
123
125
 
126
+ 3D token 加载的第二个参数与 `loaderModule.loadModels` 一致;`loadEdge` 默认为 `true`,传 `false` 时不会请求或创建模型边线。
127
+
124
128
  目前支持的方法:
125
129
 
126
130
  - `createEngine(...).loadModelByViewToken(viewToken, options?)`
@@ -1,6 +1,6 @@
1
- import { E as a } from "./chunks/engine-3d-BQ3j3IyB.js";
2
- import { M as d } from "./chunks/engine-3d-BQ3j3IyB.js";
3
- import { s, a as t, b as l } from "./chunks/sdk-assets-8pIGrzeP.js";
1
+ import { E as a } from "./chunks/engine-3d-CvtTt8DD.js";
2
+ import { M as d } from "./chunks/engine-3d-CvtTt8DD.js";
3
+ import { s, a as t, b as l } from "./chunks/sdk-assets-DAIj-7Ou.js";
4
4
  async function r(e) {
5
5
  e?.assetFiles ? await s(e.assetFiles) : e?.assetFile ? await t(e.assetFile) : e?.assetBaseUrl && await s(null), e?.assetBaseUrl && l(e.assetBaseUrl);
6
6
  }