@soonspacejs/plugin-cps-soonmanager 2.6.33 → 2.6.35

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/dist/types.d.ts CHANGED
@@ -14,6 +14,7 @@ export interface IMetadata {
14
14
  treeModel: string;
15
15
  resource: string;
16
16
  exportTime: number;
17
+ environment?: string;
17
18
  }
18
19
  /**
19
20
  * 场景树
@@ -38,6 +39,10 @@ export interface ITopologyPath {
38
39
  scale: IVector3;
39
40
  nodes: ITopologyNode[];
40
41
  type: 'network';
42
+ imgUrl?: string;
43
+ animation?: {
44
+ duration: 0;
45
+ };
41
46
  }
42
47
  export interface ITopologyNode {
43
48
  id: string;
@@ -113,6 +118,16 @@ export interface IModelVisions {
113
118
  rotation: IVector3;
114
119
  target: IVector3 | null;
115
120
  }
121
+ /**
122
+ * 预设效果 options
123
+ */
124
+ export interface IPresetEffectsOptions {
125
+ hdr?: boolean;
126
+ ssao?: boolean;
127
+ directionalLightShadow?: boolean | {
128
+ angle?: number;
129
+ };
130
+ }
116
131
  /**
117
132
  * loadScene options
118
133
  */
@@ -129,6 +144,10 @@ export interface ILoadSceneOptions {
129
144
  * 计算 bounds tree
130
145
  */
131
146
  needsModelsBoundsTree?: boolean;
147
+ /**
148
+ * 应用预设效果
149
+ */
150
+ applyPresetEffects?: boolean;
132
151
  }
133
152
  /**
134
153
  * properties map
@@ -154,4 +173,7 @@ export interface TLicense {
154
173
  sign: string;
155
174
  content: string;
156
175
  }
176
+ export interface Options {
177
+ key?: string;
178
+ }
157
179
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soonspacejs/plugin-cps-soonmanager",
3
3
  "pluginName": "CpsSoonmanagerPlugin",
4
- "version": "2.6.33",
4
+ "version": "2.6.35",
5
5
  "description": "Sync cps soonmanager data plugin for SoonSpace.js",
6
6
  "main": "dist/index.esm.js",
7
7
  "module": "dist/index.esm.js",
@@ -13,8 +13,8 @@
13
13
  ],
14
14
  "author": "xuek",
15
15
  "license": "UNLICENSED",
16
- "gitHead": "2db4ab083d914bbd93ad273f406a40b6ee3a88e8",
16
+ "gitHead": "11457460b616b3d4e7e9de4f95033a7277a6942b",
17
17
  "peerDependencies": {
18
- "soonspacejs": "2.6.33"
18
+ "soonspacejs": "2.6.35"
19
19
  }
20
20
  }
@@ -1,10 +0,0 @@
1
- import { EncryptInfo } from './types';
2
- declare class License {
3
- /**
4
- * 序列号、公钥
5
- */
6
- readonly encryptInfo: EncryptInfo;
7
- constructor();
8
- setKey(key: string): void;
9
- }
10
- export { License, };