@lumiscaphe/viewer 4.1.10 → 4.1.11
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/WRAPIv2.d.ts +22 -1
- package/package.json +1 -1
package/dist/WRAPIv2.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare namespace WRAPIv2 {
|
|
|
11
11
|
};
|
|
12
12
|
type Guid = string;
|
|
13
13
|
type LabelArray = Label[];
|
|
14
|
+
type LabelTextArray = LabelText[];
|
|
14
15
|
type LabelTransformArray = LabelTransform[];
|
|
15
16
|
type MaterialArray = Material[];
|
|
16
17
|
type MaterialMultiLayerArray = MaterialMultiLayer[];
|
|
@@ -76,6 +77,21 @@ export declare namespace WRAPIv2 {
|
|
|
76
77
|
rotation?: number;
|
|
77
78
|
scaling?: Vector2D;
|
|
78
79
|
}
|
|
80
|
+
interface LabelText {
|
|
81
|
+
surface?: string;
|
|
82
|
+
tag?: string;
|
|
83
|
+
id?: Guid;
|
|
84
|
+
filename?: string;
|
|
85
|
+
translation?: Vector2D;
|
|
86
|
+
rotation?: number;
|
|
87
|
+
text: string;
|
|
88
|
+
fontFamily: string;
|
|
89
|
+
fontStyle?: string;
|
|
90
|
+
fontSize: number;
|
|
91
|
+
color?: string;
|
|
92
|
+
opacity?: number;
|
|
93
|
+
textAlign?: string;
|
|
94
|
+
}
|
|
79
95
|
interface LabelTransform {
|
|
80
96
|
index?: number;
|
|
81
97
|
translation?: Vector2D;
|
|
@@ -149,6 +165,7 @@ export declare namespace WRAPIv2 {
|
|
|
149
165
|
materialStandards?: MaterialStandardArray;
|
|
150
166
|
partitions?: RenderPartitions;
|
|
151
167
|
surfaces?: SurfaceArray;
|
|
168
|
+
textLabels?: LabelTextArray;
|
|
152
169
|
translation?: Vector3D;
|
|
153
170
|
rotation?: Vector3D;
|
|
154
171
|
visible?: boolean;
|
|
@@ -181,6 +198,7 @@ export declare namespace WRAPIv2 {
|
|
|
181
198
|
sunAuthoringData?: SunAuthoringData;
|
|
182
199
|
}
|
|
183
200
|
interface RenderPartitions {
|
|
201
|
+
axfCpa2?: boolean;
|
|
184
202
|
environment?: boolean;
|
|
185
203
|
error?: boolean;
|
|
186
204
|
label?: boolean;
|
|
@@ -255,9 +273,12 @@ export declare namespace WRAPIv2 {
|
|
|
255
273
|
}
|
|
256
274
|
interface Surface {
|
|
257
275
|
tag: string;
|
|
258
|
-
labels?: LabelTransformArray;
|
|
259
276
|
hide?: boolean;
|
|
260
277
|
hideOthers?: boolean;
|
|
278
|
+
labels?: LabelTransformArray;
|
|
279
|
+
vertices?: number[];
|
|
280
|
+
normals?: number[];
|
|
281
|
+
uvs?: number[];
|
|
261
282
|
}
|
|
262
283
|
interface Vector2D {
|
|
263
284
|
x: number;
|