@babylonjs/loaders 7.51.1 → 7.51.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/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +1 -0
- package/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +0 -299
- package/glTF/2.0/Extensions/KHR_animation_pointer.data.js +190 -224
- package/glTF/2.0/Extensions/KHR_animation_pointer.data.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_animation_pointer.js +11 -14
- package/glTF/2.0/Extensions/KHR_animation_pointer.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +339 -0
- package/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1507 -0
- package/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js.map +1 -0
- package/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
- package/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +20 -0
- package/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js.map +1 -0
- package/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
- package/glTF/2.0/Extensions/KHR_interactivity/index.js +4 -0
- package/glTF/2.0/Extensions/KHR_interactivity/index.js.map +1 -0
- package/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +71 -0
- package/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +442 -0
- package/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js.map +1 -0
- package/glTF/2.0/Extensions/KHR_interactivity.d.ts +7 -1
- package/glTF/2.0/Extensions/KHR_interactivity.js +105 -7
- package/glTF/2.0/Extensions/KHR_interactivity.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_node_hoverability.js +153 -0
- package/glTF/2.0/Extensions/KHR_node_hoverability.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
- package/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
- package/glTF/2.0/Extensions/KHR_node_selectability.js.map +1 -0
- package/glTF/2.0/Extensions/KHR_node_visibility.js +25 -0
- package/glTF/2.0/Extensions/KHR_node_visibility.js.map +1 -1
- package/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +5 -2
- package/glTF/2.0/Extensions/gltfPathToObjectConverter.js +26 -5
- package/glTF/2.0/Extensions/gltfPathToObjectConverter.js.map +1 -1
- package/glTF/2.0/Extensions/index.d.ts +4 -0
- package/glTF/2.0/Extensions/index.js +5 -0
- package/glTF/2.0/Extensions/index.js.map +1 -1
- package/glTF/2.0/Extensions/objectModelMapping.d.ts +289 -0
- package/glTF/2.0/Extensions/objectModelMapping.js +801 -0
- package/glTF/2.0/Extensions/objectModelMapping.js.map +1 -0
- package/glTF/2.0/glTFLoader.d.ts +4 -1
- package/glTF/2.0/glTFLoader.js +22 -11
- package/glTF/2.0/glTFLoader.js.map +1 -1
- package/glTF/2.0/glTFLoaderAnimation.d.ts +12 -10
- package/glTF/2.0/glTFLoaderAnimation.js +13 -11
- package/glTF/2.0/glTFLoaderAnimation.js.map +1 -1
- package/glTF/2.0/index.d.ts +1 -0
- package/glTF/2.0/index.js +1 -0
- package/glTF/2.0/index.js.map +1 -1
- package/package.json +3 -3
- package/glTF/2.0/Extensions/interactivityFunctions.d.ts +0 -9
- package/glTF/2.0/Extensions/interactivityFunctions.js +0 -198
- package/glTF/2.0/Extensions/interactivityFunctions.js.map +0 -1
- package/glTF/2.0/Extensions/interactivityPathToObjectConverter.d.ts +0 -9
- package/glTF/2.0/Extensions/interactivityPathToObjectConverter.js +0 -32
- package/glTF/2.0/Extensions/interactivityPathToObjectConverter.js.map +0 -1
- package/glTF/2.0/Extensions/interactivityUtils.d.ts +0 -4
- package/glTF/2.0/Extensions/interactivityUtils.js +0 -108
- package/glTF/2.0/Extensions/interactivityUtils.js.map +0 -1
@@ -4,6 +4,7 @@ import type { Nullable } from "@babylonjs/core/types.js";
|
|
4
4
|
import type { Animation } from "@babylonjs/core/Animations/animation.js";
|
5
5
|
import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
|
6
6
|
import type { IAnimation, IAnimationChannel } from "../glTFLoaderInterfaces";
|
7
|
+
import "./KHR_animation_pointer.data";
|
7
8
|
declare module "../../glTFFileLoader" {
|
8
9
|
interface GLTFLoaderExtensionOptions {
|
9
10
|
/**
|
@@ -1,300 +1 @@
|
|
1
|
-
import { Animation } from "@babylonjs/core/Animations/animation.js";
|
2
|
-
import type { ICamera, IKHRLightsPunctual_Light, IMaterial } from "../glTFLoaderInterfaces";
|
3
|
-
import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
|
4
|
-
import { AnimationPropertyInfo } from "../glTFLoaderAnimation";
|
5
|
-
declare class CameraAnimationPropertyInfo extends AnimationPropertyInfo {
|
6
|
-
/** @internal */
|
7
|
-
buildAnimations(target: ICamera, name: string, fps: number, keys: any[], callback: (babylonAnimatable: IAnimatable, babylonAnimation: Animation) => void): void;
|
8
|
-
}
|
9
|
-
declare class MaterialAnimationPropertyInfo extends AnimationPropertyInfo {
|
10
|
-
/** @internal */
|
11
|
-
buildAnimations(target: IMaterial, name: string, fps: number, keys: any[], callback: (babylonAnimatable: IAnimatable, babylonAnimation: Animation) => void): void;
|
12
|
-
}
|
13
|
-
declare class LightAnimationPropertyInfo extends AnimationPropertyInfo {
|
14
|
-
/** @internal */
|
15
|
-
buildAnimations(target: IKHRLightsPunctual_Light, name: string, fps: number, keys: any[], callback: (babylonAnimatable: IAnimatable, babylonAnimation: Animation) => void): void;
|
16
|
-
}
|
17
|
-
/** @internal */
|
18
|
-
export declare const animationPointerTree: {
|
19
|
-
nodes: {
|
20
|
-
__array__: {
|
21
|
-
translation: import("../glTFLoaderAnimation").TransformNodeAnimationPropertyInfo[];
|
22
|
-
rotation: import("../glTFLoaderAnimation").TransformNodeAnimationPropertyInfo[];
|
23
|
-
scale: import("../glTFLoaderAnimation").TransformNodeAnimationPropertyInfo[];
|
24
|
-
weights: import("../glTFLoaderAnimation").WeightAnimationPropertyInfo[];
|
25
|
-
__target__: boolean;
|
26
|
-
};
|
27
|
-
};
|
28
|
-
materials: {
|
29
|
-
__array__: {
|
30
|
-
__target__: boolean;
|
31
|
-
pbrMetallicRoughness: {
|
32
|
-
baseColorFactor: MaterialAnimationPropertyInfo[];
|
33
|
-
metallicFactor: MaterialAnimationPropertyInfo[];
|
34
|
-
roughnessFactor: MaterialAnimationPropertyInfo[];
|
35
|
-
baseColorTexture: {
|
36
|
-
extensions: {
|
37
|
-
KHR_texture_transform: {
|
38
|
-
scale: MaterialAnimationPropertyInfo[];
|
39
|
-
offset: MaterialAnimationPropertyInfo[];
|
40
|
-
rotation: MaterialAnimationPropertyInfo[];
|
41
|
-
};
|
42
|
-
};
|
43
|
-
};
|
44
|
-
metallicRoughnessTexture: {
|
45
|
-
extensions: {
|
46
|
-
KHR_texture_transform: {
|
47
|
-
scale: MaterialAnimationPropertyInfo[];
|
48
|
-
offset: MaterialAnimationPropertyInfo[];
|
49
|
-
rotation: MaterialAnimationPropertyInfo[];
|
50
|
-
};
|
51
|
-
};
|
52
|
-
};
|
53
|
-
};
|
54
|
-
emissiveFactor: MaterialAnimationPropertyInfo[];
|
55
|
-
normalTexture: {
|
56
|
-
scale: MaterialAnimationPropertyInfo[];
|
57
|
-
extensions: {
|
58
|
-
KHR_texture_transform: {
|
59
|
-
scale: MaterialAnimationPropertyInfo[];
|
60
|
-
offset: MaterialAnimationPropertyInfo[];
|
61
|
-
rotation: MaterialAnimationPropertyInfo[];
|
62
|
-
};
|
63
|
-
};
|
64
|
-
};
|
65
|
-
occlusionTexture: {
|
66
|
-
strength: MaterialAnimationPropertyInfo[];
|
67
|
-
extensions: {
|
68
|
-
KHR_texture_transform: {
|
69
|
-
scale: MaterialAnimationPropertyInfo[];
|
70
|
-
offset: MaterialAnimationPropertyInfo[];
|
71
|
-
rotation: MaterialAnimationPropertyInfo[];
|
72
|
-
};
|
73
|
-
};
|
74
|
-
};
|
75
|
-
emissiveTexture: {
|
76
|
-
extensions: {
|
77
|
-
KHR_texture_transform: {
|
78
|
-
scale: MaterialAnimationPropertyInfo[];
|
79
|
-
offset: MaterialAnimationPropertyInfo[];
|
80
|
-
rotation: MaterialAnimationPropertyInfo[];
|
81
|
-
};
|
82
|
-
};
|
83
|
-
};
|
84
|
-
extensions: {
|
85
|
-
KHR_materials_anisotropy: {
|
86
|
-
anisotropyStrength: MaterialAnimationPropertyInfo[];
|
87
|
-
anisotropyRotation: MaterialAnimationPropertyInfo[];
|
88
|
-
anisotropyTexture: {
|
89
|
-
extensions: {
|
90
|
-
KHR_texture_transform: {
|
91
|
-
scale: MaterialAnimationPropertyInfo[];
|
92
|
-
offset: MaterialAnimationPropertyInfo[];
|
93
|
-
rotation: MaterialAnimationPropertyInfo[];
|
94
|
-
};
|
95
|
-
};
|
96
|
-
};
|
97
|
-
};
|
98
|
-
KHR_materials_clearcoat: {
|
99
|
-
clearcoatFactor: MaterialAnimationPropertyInfo[];
|
100
|
-
clearcoatRoughnessFactor: MaterialAnimationPropertyInfo[];
|
101
|
-
clearcoatTexture: {
|
102
|
-
extensions: {
|
103
|
-
KHR_texture_transform: {
|
104
|
-
scale: MaterialAnimationPropertyInfo[];
|
105
|
-
offset: MaterialAnimationPropertyInfo[];
|
106
|
-
rotation: MaterialAnimationPropertyInfo[];
|
107
|
-
};
|
108
|
-
};
|
109
|
-
};
|
110
|
-
clearcoatNormalTexture: {
|
111
|
-
scale: MaterialAnimationPropertyInfo[];
|
112
|
-
extensions: {
|
113
|
-
KHR_texture_transform: {
|
114
|
-
scale: MaterialAnimationPropertyInfo[];
|
115
|
-
offset: MaterialAnimationPropertyInfo[];
|
116
|
-
rotation: MaterialAnimationPropertyInfo[];
|
117
|
-
};
|
118
|
-
};
|
119
|
-
};
|
120
|
-
clearcoatRoughnessTexture: {
|
121
|
-
extensions: {
|
122
|
-
KHR_texture_transform: {
|
123
|
-
scale: MaterialAnimationPropertyInfo[];
|
124
|
-
offset: MaterialAnimationPropertyInfo[];
|
125
|
-
rotation: MaterialAnimationPropertyInfo[];
|
126
|
-
};
|
127
|
-
};
|
128
|
-
};
|
129
|
-
};
|
130
|
-
KHR_materials_dispersion: {
|
131
|
-
dispersion: MaterialAnimationPropertyInfo[];
|
132
|
-
};
|
133
|
-
KHR_materials_emissive_strength: {
|
134
|
-
emissiveStrength: MaterialAnimationPropertyInfo[];
|
135
|
-
};
|
136
|
-
KHR_materials_ior: {
|
137
|
-
ior: MaterialAnimationPropertyInfo[];
|
138
|
-
};
|
139
|
-
KHR_materials_iridescence: {
|
140
|
-
iridescenceFactor: MaterialAnimationPropertyInfo[];
|
141
|
-
iridescenceIor: MaterialAnimationPropertyInfo[];
|
142
|
-
iridescenceThicknessMinimum: MaterialAnimationPropertyInfo[];
|
143
|
-
iridescenceThicknessMaximum: MaterialAnimationPropertyInfo[];
|
144
|
-
iridescenceTexture: {
|
145
|
-
extensions: {
|
146
|
-
KHR_texture_transform: {
|
147
|
-
scale: MaterialAnimationPropertyInfo[];
|
148
|
-
offset: MaterialAnimationPropertyInfo[];
|
149
|
-
rotation: MaterialAnimationPropertyInfo[];
|
150
|
-
};
|
151
|
-
};
|
152
|
-
};
|
153
|
-
iridescenceThicknessTexture: {
|
154
|
-
extensions: {
|
155
|
-
KHR_texture_transform: {
|
156
|
-
scale: MaterialAnimationPropertyInfo[];
|
157
|
-
offset: MaterialAnimationPropertyInfo[];
|
158
|
-
rotation: MaterialAnimationPropertyInfo[];
|
159
|
-
};
|
160
|
-
};
|
161
|
-
};
|
162
|
-
};
|
163
|
-
KHR_materials_sheen: {
|
164
|
-
sheenColorFactor: MaterialAnimationPropertyInfo[];
|
165
|
-
sheenRoughnessFactor: MaterialAnimationPropertyInfo[];
|
166
|
-
sheenColorTexture: {
|
167
|
-
extensions: {
|
168
|
-
KHR_texture_transform: {
|
169
|
-
scale: MaterialAnimationPropertyInfo[];
|
170
|
-
offset: MaterialAnimationPropertyInfo[];
|
171
|
-
rotation: MaterialAnimationPropertyInfo[];
|
172
|
-
};
|
173
|
-
};
|
174
|
-
};
|
175
|
-
sheenRoughnessTexture: {
|
176
|
-
extensions: {
|
177
|
-
KHR_texture_transform: {
|
178
|
-
scale: MaterialAnimationPropertyInfo[];
|
179
|
-
offset: MaterialAnimationPropertyInfo[];
|
180
|
-
rotation: MaterialAnimationPropertyInfo[];
|
181
|
-
};
|
182
|
-
};
|
183
|
-
};
|
184
|
-
};
|
185
|
-
KHR_materials_specular: {
|
186
|
-
specularFactor: MaterialAnimationPropertyInfo[];
|
187
|
-
specularColorFactor: MaterialAnimationPropertyInfo[];
|
188
|
-
specularTexture: {
|
189
|
-
extensions: {
|
190
|
-
KHR_texture_transform: {
|
191
|
-
scale: MaterialAnimationPropertyInfo[];
|
192
|
-
offset: MaterialAnimationPropertyInfo[];
|
193
|
-
rotation: MaterialAnimationPropertyInfo[];
|
194
|
-
};
|
195
|
-
};
|
196
|
-
};
|
197
|
-
specularColorTexture: {
|
198
|
-
extensions: {
|
199
|
-
KHR_texture_transform: {
|
200
|
-
scale: MaterialAnimationPropertyInfo[];
|
201
|
-
offset: MaterialAnimationPropertyInfo[];
|
202
|
-
rotation: MaterialAnimationPropertyInfo[];
|
203
|
-
};
|
204
|
-
};
|
205
|
-
};
|
206
|
-
};
|
207
|
-
KHR_materials_transmission: {
|
208
|
-
transmissionFactor: MaterialAnimationPropertyInfo[];
|
209
|
-
transmissionTexture: {
|
210
|
-
extensions: {
|
211
|
-
KHR_texture_transform: {
|
212
|
-
scale: MaterialAnimationPropertyInfo[];
|
213
|
-
offset: MaterialAnimationPropertyInfo[];
|
214
|
-
rotation: MaterialAnimationPropertyInfo[];
|
215
|
-
};
|
216
|
-
};
|
217
|
-
};
|
218
|
-
};
|
219
|
-
KHR_materials_volume: {
|
220
|
-
attenuationColor: MaterialAnimationPropertyInfo[];
|
221
|
-
attenuationDistance: MaterialAnimationPropertyInfo[];
|
222
|
-
thicknessFactor: MaterialAnimationPropertyInfo[];
|
223
|
-
thicknessTexture: {
|
224
|
-
extensions: {
|
225
|
-
KHR_texture_transform: {
|
226
|
-
scale: MaterialAnimationPropertyInfo[];
|
227
|
-
offset: MaterialAnimationPropertyInfo[];
|
228
|
-
rotation: MaterialAnimationPropertyInfo[];
|
229
|
-
};
|
230
|
-
};
|
231
|
-
};
|
232
|
-
};
|
233
|
-
KHR_materials_diffuse_transmission: {
|
234
|
-
diffuseTransmissionFactor: MaterialAnimationPropertyInfo[];
|
235
|
-
diffuseTransmissionTexture: {
|
236
|
-
extensions: {
|
237
|
-
KHR_texture_transform: {
|
238
|
-
scale: MaterialAnimationPropertyInfo[];
|
239
|
-
offset: MaterialAnimationPropertyInfo[];
|
240
|
-
rotation: MaterialAnimationPropertyInfo[];
|
241
|
-
};
|
242
|
-
};
|
243
|
-
};
|
244
|
-
diffuseTransmissionColorFactor: MaterialAnimationPropertyInfo[];
|
245
|
-
diffuseTransmissionColorTexture: {
|
246
|
-
extensions: {
|
247
|
-
KHR_texture_transform: {
|
248
|
-
scale: MaterialAnimationPropertyInfo[];
|
249
|
-
offset: MaterialAnimationPropertyInfo[];
|
250
|
-
rotation: MaterialAnimationPropertyInfo[];
|
251
|
-
};
|
252
|
-
};
|
253
|
-
};
|
254
|
-
};
|
255
|
-
};
|
256
|
-
};
|
257
|
-
};
|
258
|
-
cameras: {
|
259
|
-
__array__: {
|
260
|
-
__target__: boolean;
|
261
|
-
orthographic: {
|
262
|
-
xmag: CameraAnimationPropertyInfo[];
|
263
|
-
ymag: CameraAnimationPropertyInfo[];
|
264
|
-
zfar: CameraAnimationPropertyInfo[];
|
265
|
-
znear: CameraAnimationPropertyInfo[];
|
266
|
-
};
|
267
|
-
perspective: {
|
268
|
-
yfov: CameraAnimationPropertyInfo[];
|
269
|
-
zfar: CameraAnimationPropertyInfo[];
|
270
|
-
znear: CameraAnimationPropertyInfo[];
|
271
|
-
};
|
272
|
-
};
|
273
|
-
};
|
274
|
-
extensions: {
|
275
|
-
KHR_lights_punctual: {
|
276
|
-
lights: {
|
277
|
-
__array__: {
|
278
|
-
__target__: boolean;
|
279
|
-
color: LightAnimationPropertyInfo[];
|
280
|
-
intensity: LightAnimationPropertyInfo[];
|
281
|
-
range: LightAnimationPropertyInfo[];
|
282
|
-
spot: {
|
283
|
-
innerConeAngle: LightAnimationPropertyInfo[];
|
284
|
-
outerConeAngle: LightAnimationPropertyInfo[];
|
285
|
-
};
|
286
|
-
};
|
287
|
-
};
|
288
|
-
};
|
289
|
-
EXT_lights_ies: {
|
290
|
-
lights: {
|
291
|
-
__array__: {
|
292
|
-
__target__: boolean;
|
293
|
-
color: LightAnimationPropertyInfo[];
|
294
|
-
multiplier: LightAnimationPropertyInfo[];
|
295
|
-
};
|
296
|
-
};
|
297
|
-
};
|
298
|
-
};
|
299
|
-
};
|
300
1
|
export {};
|