babylonjs-gltf2interface 6.33.1 → 6.33.2
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/babylon.glTF2Interface.d.ts +59 -0
- package/package.json +1 -1
@@ -1328,4 +1328,63 @@ declare module BABYLON.GLTF2 {
|
|
1328
1328
|
mode: "ATTRIBUTES" | "TRIANGLES" | "INDICES";
|
1329
1329
|
filter?: "NONE" | "OCTAHEDRAL" | "QUATERNION" | "EXPONENTIAL";
|
1330
1330
|
}
|
1331
|
+
|
1332
|
+
/**
|
1333
|
+
* Interfaces for the KHR_interactivity extension
|
1334
|
+
*/
|
1335
|
+
interface IKHRInteractivity {
|
1336
|
+
nodes: IKHRInteractivity_Node[];
|
1337
|
+
customEvents?: IKHRInteractivity_CustomEvent[];
|
1338
|
+
types?: IKHRInteractivity_Type[];
|
1339
|
+
variables?: IKHRInteractivity_Variable[];
|
1340
|
+
}
|
1341
|
+
|
1342
|
+
interface IKHRInteractivity_Node {
|
1343
|
+
type: string;
|
1344
|
+
flows?: IKHRInteractivity_Flow[];
|
1345
|
+
configuration?: IKHRInteractivity_Configuration[];
|
1346
|
+
values?: IKHRInteractivity_Value[];
|
1347
|
+
metadata?: any;
|
1348
|
+
}
|
1349
|
+
|
1350
|
+
interface IKHRInteractivity_Flow {
|
1351
|
+
id: string;
|
1352
|
+
node: number;
|
1353
|
+
socket: string;
|
1354
|
+
}
|
1355
|
+
|
1356
|
+
interface IKHRInteractivity_Configuration {
|
1357
|
+
id: string;
|
1358
|
+
value: any;
|
1359
|
+
type?: number;
|
1360
|
+
}
|
1361
|
+
|
1362
|
+
interface IKHRInteractivity_Value {
|
1363
|
+
id: string;
|
1364
|
+
value?: any;
|
1365
|
+
node?: number;
|
1366
|
+
socket?: string;
|
1367
|
+
type?: number;
|
1368
|
+
}
|
1369
|
+
|
1370
|
+
interface IKHRInteractivity_CustomEvent {
|
1371
|
+
id: string;
|
1372
|
+
values: IKHRInteractivity_CustomEventValue[];
|
1373
|
+
}
|
1374
|
+
|
1375
|
+
interface IKHRInteractivity_CustomEventValue {
|
1376
|
+
id: string;
|
1377
|
+
type: number;
|
1378
|
+
description: string;
|
1379
|
+
}
|
1380
|
+
|
1381
|
+
interface IKHRInteractivity_Type {
|
1382
|
+
signature: string;
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
interface IKHRInteractivity_Variable {
|
1386
|
+
id: string;
|
1387
|
+
value: any;
|
1388
|
+
type: number;
|
1389
|
+
}
|
1331
1390
|
}
|
package/package.json
CHANGED