@soonspacejs/plugin-cps-soonmanager 2.6.33 → 2.6.34
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/WaterMark/index.d.ts +2 -1
- package/dist/index.d.ts +16 -5
- package/dist/index.esm.js +2 -2
- package/dist/types.d.ts +22 -0
- package/package.json +3 -3
- package/dist/License/index.d.ts +0 -10
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.
|
|
4
|
+
"version": "2.6.34",
|
|
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": "
|
|
16
|
+
"gitHead": "c6430385b7555fa4da6bfb112c48a176d7174187",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"soonspacejs": "2.6.
|
|
18
|
+
"soonspacejs": "2.6.34"
|
|
19
19
|
}
|
|
20
20
|
}
|