babylonjs-procedural-textures 8.41.2 → 8.42.0
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.brickProceduralTexture.min.js.map +1 -1
- package/babylon.cloudProceduralTexture.min.js.map +1 -1
- package/babylon.fireProceduralTexture.min.js.map +1 -1
- package/babylon.grassProceduralTexture.min.js.map +1 -1
- package/babylon.marbleProceduralTexture.min.js.map +1 -1
- package/babylon.normalMapProceduralTexture.min.js.map +1 -1
- package/babylon.perlinNoiseProceduralTexture.min.js.map +1 -1
- package/babylon.roadProceduralTexture.min.js.map +1 -1
- package/babylon.starfieldProceduralTexture.min.js.map +1 -1
- package/babylon.woodProceduralTexture.min.js.map +1 -1
- package/babylonjs.proceduralTextures.d.ts +0 -418
- package/babylonjs.proceduralTextures.min.js.map +1 -1
- package/babylonjs.proceduralTextures.module.d.ts +1 -970
- package/package.json +4 -4
|
@@ -1,980 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
declare module "babylonjs-procedural-textures/index" {
|
|
3
|
-
export * from "babylonjs-procedural-textures/brick/index";
|
|
4
|
-
export * from "babylonjs-procedural-textures/cloud/index";
|
|
5
|
-
export * from "babylonjs-procedural-textures/fire/index";
|
|
6
|
-
export * from "babylonjs-procedural-textures/grass/index";
|
|
7
|
-
export * from "babylonjs-procedural-textures/marble/index";
|
|
8
|
-
export * from "babylonjs-procedural-textures/normalMap/index";
|
|
9
|
-
export * from "babylonjs-procedural-textures/perlinNoise/index";
|
|
10
|
-
export * from "babylonjs-procedural-textures/road/index";
|
|
11
|
-
export * from "babylonjs-procedural-textures/starfield/index";
|
|
12
|
-
export * from "babylonjs-procedural-textures/wood/index";
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
declare module "babylonjs-procedural-textures/wood/woodProceduralTexture.fragment" {
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const woodProceduralTexturePixelShader: {
|
|
18
|
-
name: string;
|
|
19
|
-
shader: string;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
declare module "babylonjs-procedural-textures/wood/woodProceduralTexture" {
|
|
24
|
-
import { Color3 } from "babylonjs/Maths/math.color";
|
|
25
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
26
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
27
|
-
import { Scene } from "babylonjs/scene";
|
|
28
|
-
import { Nullable } from "babylonjs/types";
|
|
29
|
-
import "babylonjs-procedural-textures/wood/woodProceduralTexture.fragment";
|
|
30
|
-
export class WoodProceduralTexture extends ProceduralTexture {
|
|
31
|
-
private _ampScale;
|
|
32
|
-
private _woodColor;
|
|
33
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
34
|
-
updateShaderUniforms(): void;
|
|
35
|
-
get ampScale(): number;
|
|
36
|
-
set ampScale(value: number);
|
|
37
|
-
get woodColor(): Color3;
|
|
38
|
-
set woodColor(value: Color3);
|
|
39
|
-
/**
|
|
40
|
-
* Serializes this wood procedural texture
|
|
41
|
-
* @returns a serialized wood procedural texture object
|
|
42
|
-
*/
|
|
43
|
-
serialize(): any;
|
|
44
|
-
/**
|
|
45
|
-
* Creates a Wood Procedural Texture from parsed wood procedural texture data
|
|
46
|
-
* @param parsedTexture defines parsed texture data
|
|
47
|
-
* @param scene defines the current scene
|
|
48
|
-
* @param rootUrl defines the root URL containing wood procedural texture information
|
|
49
|
-
* @returns a parsed Wood Procedural Texture
|
|
50
|
-
*/
|
|
51
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
declare module "babylonjs-procedural-textures/wood/index" {
|
|
56
|
-
export * from "babylonjs-procedural-textures/wood/woodProceduralTexture";
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
declare module "babylonjs-procedural-textures/starfield/starfieldProceduralTexture.fragment" {
|
|
60
|
-
/** @internal */
|
|
61
|
-
export const starfieldProceduralTexturePixelShader: {
|
|
62
|
-
name: string;
|
|
63
|
-
shader: string;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
declare module "babylonjs-procedural-textures/starfield/starfieldProceduralTexture" {
|
|
68
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
69
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
70
|
-
import { Scene } from "babylonjs/scene";
|
|
71
|
-
import { Nullable } from "babylonjs/types";
|
|
72
|
-
import "babylonjs-procedural-textures/starfield/starfieldProceduralTexture.fragment";
|
|
73
|
-
export class StarfieldProceduralTexture extends ProceduralTexture {
|
|
74
|
-
private _time;
|
|
75
|
-
private _alpha;
|
|
76
|
-
private _beta;
|
|
77
|
-
private _zoom;
|
|
78
|
-
private _formuparam;
|
|
79
|
-
private _stepsize;
|
|
80
|
-
private _tile;
|
|
81
|
-
private _brightness;
|
|
82
|
-
private _darkmatter;
|
|
83
|
-
private _distfading;
|
|
84
|
-
private _saturation;
|
|
85
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
86
|
-
updateShaderUniforms(): void;
|
|
87
|
-
get time(): number;
|
|
88
|
-
set time(value: number);
|
|
89
|
-
get alpha(): number;
|
|
90
|
-
set alpha(value: number);
|
|
91
|
-
get beta(): number;
|
|
92
|
-
set beta(value: number);
|
|
93
|
-
get formuparam(): number;
|
|
94
|
-
set formuparam(value: number);
|
|
95
|
-
get stepsize(): number;
|
|
96
|
-
set stepsize(value: number);
|
|
97
|
-
get zoom(): number;
|
|
98
|
-
set zoom(value: number);
|
|
99
|
-
get tile(): number;
|
|
100
|
-
set tile(value: number);
|
|
101
|
-
get brightness(): number;
|
|
102
|
-
set brightness(value: number);
|
|
103
|
-
get darkmatter(): number;
|
|
104
|
-
set darkmatter(value: number);
|
|
105
|
-
get distfading(): number;
|
|
106
|
-
set distfading(value: number);
|
|
107
|
-
get saturation(): number;
|
|
108
|
-
set saturation(value: number);
|
|
109
|
-
/**
|
|
110
|
-
* Serializes this starfield procedural texture
|
|
111
|
-
* @returns a serialized starfield procedural texture object
|
|
112
|
-
*/
|
|
113
|
-
serialize(): any;
|
|
114
|
-
/**
|
|
115
|
-
* Creates a Starfield Procedural Texture from parsed startfield procedural texture data
|
|
116
|
-
* @param parsedTexture defines parsed texture data
|
|
117
|
-
* @param scene defines the current scene
|
|
118
|
-
* @param rootUrl defines the root URL containing startfield procedural texture information
|
|
119
|
-
* @returns a parsed Starfield Procedural Texture
|
|
120
|
-
*/
|
|
121
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
declare module "babylonjs-procedural-textures/starfield/index" {
|
|
126
|
-
export * from "babylonjs-procedural-textures/starfield/starfieldProceduralTexture";
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
declare module "babylonjs-procedural-textures/road/roadProceduralTexture.fragment" {
|
|
130
|
-
/** @internal */
|
|
131
|
-
export const roadProceduralTexturePixelShader: {
|
|
132
|
-
name: string;
|
|
133
|
-
shader: string;
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
}
|
|
137
|
-
declare module "babylonjs-procedural-textures/road/roadProceduralTexture" {
|
|
138
|
-
import { Color3 } from "babylonjs/Maths/math.color";
|
|
139
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
140
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
141
|
-
import { Scene } from "babylonjs/scene";
|
|
142
|
-
import { Nullable } from "babylonjs/types";
|
|
143
|
-
import "babylonjs-procedural-textures/road/roadProceduralTexture.fragment";
|
|
144
|
-
export class RoadProceduralTexture extends ProceduralTexture {
|
|
145
|
-
private _roadColor;
|
|
146
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
147
|
-
updateShaderUniforms(): void;
|
|
148
|
-
get roadColor(): Color3;
|
|
149
|
-
set roadColor(value: Color3);
|
|
150
|
-
/**
|
|
151
|
-
* Serializes this road procedural texture
|
|
152
|
-
* @returns a serialized road procedural texture object
|
|
153
|
-
*/
|
|
154
|
-
serialize(): any;
|
|
155
|
-
/**
|
|
156
|
-
* Creates a Road Procedural Texture from parsed road procedural texture data
|
|
157
|
-
* @param parsedTexture defines parsed texture data
|
|
158
|
-
* @param scene defines the current scene
|
|
159
|
-
* @param rootUrl defines the root URL containing road procedural texture information
|
|
160
|
-
* @returns a parsed Road Procedural Texture
|
|
161
|
-
*/
|
|
162
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
-
declare module "babylonjs-procedural-textures/road/index" {
|
|
167
|
-
export * from "babylonjs-procedural-textures/road/roadProceduralTexture";
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
declare module "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture.fragment" {
|
|
171
|
-
/** @internal */
|
|
172
|
-
export const perlinNoiseProceduralTexturePixelShader: {
|
|
173
|
-
name: string;
|
|
174
|
-
shader: string;
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
declare module "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture" {
|
|
179
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
180
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
181
|
-
import { Scene } from "babylonjs/scene";
|
|
182
|
-
import { Nullable } from "babylonjs/types";
|
|
183
|
-
import "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture.fragment";
|
|
184
|
-
export class PerlinNoiseProceduralTexture extends ProceduralTexture {
|
|
185
|
-
time: number;
|
|
186
|
-
timeScale: number;
|
|
187
|
-
translationSpeed: number;
|
|
188
|
-
private _currentTranslation;
|
|
189
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
190
|
-
updateShaderUniforms(): void;
|
|
191
|
-
render(useCameraPostProcess?: boolean): void;
|
|
192
|
-
resize(size: any, generateMipMaps: any): void;
|
|
193
|
-
/**
|
|
194
|
-
* Serializes this perlin noise procedural texture
|
|
195
|
-
* @returns a serialized perlin noise procedural texture object
|
|
196
|
-
*/
|
|
197
|
-
serialize(): any;
|
|
198
|
-
/**
|
|
199
|
-
* Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
|
|
200
|
-
* @param parsedTexture defines parsed texture data
|
|
201
|
-
* @param scene defines the current scene
|
|
202
|
-
* @param rootUrl defines the root URL containing perlin noise procedural texture information
|
|
203
|
-
* @returns a parsed Perlin Noise Procedural Texture
|
|
204
|
-
*/
|
|
205
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
}
|
|
209
|
-
declare module "babylonjs-procedural-textures/perlinNoise/index" {
|
|
210
|
-
export * from "babylonjs-procedural-textures/perlinNoise/perlinNoiseProceduralTexture";
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
declare module "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture.fragment" {
|
|
214
|
-
/** @internal */
|
|
215
|
-
export const normalMapProceduralTexturePixelShader: {
|
|
216
|
-
name: string;
|
|
217
|
-
shader: string;
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
declare module "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture" {
|
|
222
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
223
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
224
|
-
import { Scene } from "babylonjs/scene";
|
|
225
|
-
import { Nullable } from "babylonjs/types";
|
|
226
|
-
import "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture.fragment";
|
|
227
|
-
export class NormalMapProceduralTexture extends ProceduralTexture {
|
|
228
|
-
private _baseTexture;
|
|
229
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
230
|
-
updateShaderUniforms(): void;
|
|
231
|
-
render(useCameraPostProcess?: boolean): void;
|
|
232
|
-
resize(size: any, generateMipMaps: any): void;
|
|
233
|
-
isReady(): boolean;
|
|
234
|
-
get baseTexture(): Texture;
|
|
235
|
-
set baseTexture(texture: Texture);
|
|
236
|
-
/**
|
|
237
|
-
* Serializes this normal map procedural texture
|
|
238
|
-
* @returns a serialized normal map procedural texture object
|
|
239
|
-
*/
|
|
240
|
-
serialize(): any;
|
|
241
|
-
/**
|
|
242
|
-
* Creates a Normal Map Procedural Texture from parsed normal map procedural texture data
|
|
243
|
-
* @param parsedTexture defines parsed texture data
|
|
244
|
-
* @param scene defines the current scene
|
|
245
|
-
* @param rootUrl defines the root URL containing normal map procedural texture information
|
|
246
|
-
* @returns a parsed Normal Map Procedural Texture
|
|
247
|
-
*/
|
|
248
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): NormalMapProceduralTexture;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
declare module "babylonjs-procedural-textures/normalMap/index" {
|
|
253
|
-
export * from "babylonjs-procedural-textures/normalMap/normalMapProceduralTexture";
|
|
254
|
-
|
|
255
|
-
}
|
|
256
|
-
declare module "babylonjs-procedural-textures/marble/marbleProceduralTexture.fragment" {
|
|
257
|
-
/** @internal */
|
|
258
|
-
export const marbleProceduralTexturePixelShader: {
|
|
259
|
-
name: string;
|
|
260
|
-
shader: string;
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
}
|
|
264
|
-
declare module "babylonjs-procedural-textures/marble/marbleProceduralTexture" {
|
|
265
|
-
import { Color3 } from "babylonjs/Maths/math.color";
|
|
266
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
267
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
268
|
-
import { Scene } from "babylonjs/scene";
|
|
269
|
-
import { Nullable } from "babylonjs/types";
|
|
270
|
-
import "babylonjs-procedural-textures/marble/marbleProceduralTexture.fragment";
|
|
271
|
-
export class MarbleProceduralTexture extends ProceduralTexture {
|
|
272
|
-
private _numberOfTilesHeight;
|
|
273
|
-
private _numberOfTilesWidth;
|
|
274
|
-
private _amplitude;
|
|
275
|
-
private _jointColor;
|
|
276
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
277
|
-
updateShaderUniforms(): void;
|
|
278
|
-
get numberOfTilesHeight(): number;
|
|
279
|
-
set numberOfTilesHeight(value: number);
|
|
280
|
-
get amplitude(): number;
|
|
281
|
-
set amplitude(value: number);
|
|
282
|
-
get numberOfTilesWidth(): number;
|
|
283
|
-
set numberOfTilesWidth(value: number);
|
|
284
|
-
get jointColor(): Color3;
|
|
285
|
-
set jointColor(value: Color3);
|
|
286
|
-
/**
|
|
287
|
-
* Serializes this marble procedural texture
|
|
288
|
-
* @returns a serialized marble procedural texture object
|
|
289
|
-
*/
|
|
290
|
-
serialize(): any;
|
|
291
|
-
/**
|
|
292
|
-
* Creates a Marble Procedural Texture from parsed marble procedural texture data
|
|
293
|
-
* @param parsedTexture defines parsed texture data
|
|
294
|
-
* @param scene defines the current scene
|
|
295
|
-
* @param rootUrl defines the root URL containing marble procedural texture information
|
|
296
|
-
* @returns a parsed Marble Procedural Texture
|
|
297
|
-
*/
|
|
298
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): MarbleProceduralTexture;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
declare module "babylonjs-procedural-textures/marble/index" {
|
|
303
|
-
export * from "babylonjs-procedural-textures/marble/marbleProceduralTexture";
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
declare module "babylonjs-procedural-textures/grass/index" {
|
|
307
|
-
export * from "babylonjs-procedural-textures/grass/grassProceduralTexture";
|
|
308
|
-
|
|
309
|
-
}
|
|
310
|
-
declare module "babylonjs-procedural-textures/grass/grassProceduralTexture.fragment" {
|
|
311
|
-
/** @internal */
|
|
312
|
-
export const grassProceduralTexturePixelShader: {
|
|
313
|
-
name: string;
|
|
314
|
-
shader: string;
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
}
|
|
318
|
-
declare module "babylonjs-procedural-textures/grass/grassProceduralTexture" {
|
|
319
|
-
import { Color3 } from "babylonjs/Maths/math.color";
|
|
320
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
321
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
322
|
-
import { Scene } from "babylonjs/scene";
|
|
323
|
-
import { Nullable } from "babylonjs/types";
|
|
324
|
-
import "babylonjs-procedural-textures/grass/grassProceduralTexture.fragment";
|
|
325
|
-
export class GrassProceduralTexture extends ProceduralTexture {
|
|
326
|
-
private _grassColors;
|
|
327
|
-
private _groundColor;
|
|
328
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
329
|
-
updateShaderUniforms(): void;
|
|
330
|
-
get grassColors(): Color3[];
|
|
331
|
-
set grassColors(value: Color3[]);
|
|
332
|
-
get groundColor(): Color3;
|
|
333
|
-
set groundColor(value: Color3);
|
|
334
|
-
/**
|
|
335
|
-
* Serializes this grass procedural texture
|
|
336
|
-
* @returns a serialized grass procedural texture object
|
|
337
|
-
*/
|
|
338
|
-
serialize(): any;
|
|
339
|
-
/**
|
|
340
|
-
* Creates a Grass Procedural Texture from parsed grass procedural texture data
|
|
341
|
-
* @param parsedTexture defines parsed texture data
|
|
342
|
-
* @param scene defines the current scene
|
|
343
|
-
* @param rootUrl defines the root URL containing grass procedural texture information
|
|
344
|
-
* @returns a parsed Grass Procedural Texture
|
|
345
|
-
*/
|
|
346
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
}
|
|
350
|
-
declare module "babylonjs-procedural-textures/fire/index" {
|
|
351
|
-
export * from "babylonjs-procedural-textures/fire/fireProceduralTexture";
|
|
352
|
-
|
|
353
|
-
}
|
|
354
|
-
declare module "babylonjs-procedural-textures/fire/fireProceduralTexture.fragment" {
|
|
355
|
-
/** @internal */
|
|
356
|
-
export const fireProceduralTexturePixelShader: {
|
|
357
|
-
name: string;
|
|
358
|
-
shader: string;
|
|
359
|
-
};
|
|
360
|
-
|
|
361
|
-
}
|
|
362
|
-
declare module "babylonjs-procedural-textures/fire/fireProceduralTexture" {
|
|
363
|
-
import { Vector2 } from "babylonjs/Maths/math.vector";
|
|
364
|
-
import { Color3 } from "babylonjs/Maths/math.color";
|
|
365
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
366
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
367
|
-
import { Scene } from "babylonjs/scene";
|
|
368
|
-
import { Nullable } from "babylonjs/types";
|
|
369
|
-
import "babylonjs-procedural-textures/fire/fireProceduralTexture.fragment";
|
|
370
|
-
export class FireProceduralTexture extends ProceduralTexture {
|
|
371
|
-
private _time;
|
|
372
|
-
private _speed;
|
|
373
|
-
private _autoGenerateTime;
|
|
374
|
-
private _fireColors;
|
|
375
|
-
private _alphaThreshold;
|
|
376
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
377
|
-
updateShaderUniforms(): void;
|
|
378
|
-
render(useCameraPostProcess?: boolean): void;
|
|
379
|
-
static get PurpleFireColors(): Color3[];
|
|
380
|
-
static get GreenFireColors(): Color3[];
|
|
381
|
-
static get RedFireColors(): Color3[];
|
|
382
|
-
static get BlueFireColors(): Color3[];
|
|
383
|
-
get autoGenerateTime(): boolean;
|
|
384
|
-
set autoGenerateTime(value: boolean);
|
|
385
|
-
get fireColors(): Color3[];
|
|
386
|
-
set fireColors(value: Color3[]);
|
|
387
|
-
get time(): number;
|
|
388
|
-
set time(value: number);
|
|
389
|
-
get speed(): Vector2;
|
|
390
|
-
set speed(value: Vector2);
|
|
391
|
-
get alphaThreshold(): number;
|
|
392
|
-
set alphaThreshold(value: number);
|
|
393
|
-
/**
|
|
394
|
-
* Serializes this fire procedural texture
|
|
395
|
-
* @returns a serialized fire procedural texture object
|
|
396
|
-
*/
|
|
397
|
-
serialize(): any;
|
|
398
|
-
/**
|
|
399
|
-
* Creates a Fire Procedural Texture from parsed fire procedural texture data
|
|
400
|
-
* @param parsedTexture defines parsed texture data
|
|
401
|
-
* @param scene defines the current scene
|
|
402
|
-
* @param rootUrl defines the root URL containing fire procedural texture information
|
|
403
|
-
* @returns a parsed Fire Procedural Texture
|
|
404
|
-
*/
|
|
405
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
}
|
|
409
|
-
declare module "babylonjs-procedural-textures/cloud/index" {
|
|
410
|
-
export * from "babylonjs-procedural-textures/cloud/cloudProceduralTexture";
|
|
411
|
-
|
|
412
|
-
}
|
|
413
|
-
declare module "babylonjs-procedural-textures/cloud/cloudProceduralTexture.fragment" {
|
|
414
|
-
/** @internal */
|
|
415
|
-
export const cloudProceduralTexturePixelShader: {
|
|
416
|
-
name: string;
|
|
417
|
-
shader: string;
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
}
|
|
421
|
-
declare module "babylonjs-procedural-textures/cloud/cloudProceduralTexture" {
|
|
422
|
-
import { Color4 } from "babylonjs/Maths/math.color";
|
|
423
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
424
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
425
|
-
import { Scene } from "babylonjs/scene";
|
|
426
|
-
import { Nullable } from "babylonjs/types";
|
|
427
|
-
import "babylonjs-procedural-textures/cloud/cloudProceduralTexture.fragment";
|
|
428
|
-
export class CloudProceduralTexture extends ProceduralTexture {
|
|
429
|
-
private _skyColor;
|
|
430
|
-
private _cloudColor;
|
|
431
|
-
private _amplitude;
|
|
432
|
-
private _numOctaves;
|
|
433
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
434
|
-
updateShaderUniforms(): void;
|
|
435
|
-
get skyColor(): Color4;
|
|
436
|
-
set skyColor(value: Color4);
|
|
437
|
-
get cloudColor(): Color4;
|
|
438
|
-
set cloudColor(value: Color4);
|
|
439
|
-
get amplitude(): number;
|
|
440
|
-
set amplitude(value: number);
|
|
441
|
-
get numOctaves(): number;
|
|
442
|
-
set numOctaves(value: number);
|
|
443
|
-
/**
|
|
444
|
-
* Serializes this cloud procedural texture
|
|
445
|
-
* @returns a serialized cloud procedural texture object
|
|
446
|
-
*/
|
|
447
|
-
serialize(): any;
|
|
448
|
-
/**
|
|
449
|
-
* Creates a Cloud Procedural Texture from parsed cloud procedural texture data
|
|
450
|
-
* @param parsedTexture defines parsed texture data
|
|
451
|
-
* @param scene defines the current scene
|
|
452
|
-
* @param rootUrl defines the root URL containing cloud procedural texture information
|
|
453
|
-
* @returns a parsed Cloud Procedural Texture
|
|
454
|
-
*/
|
|
455
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
}
|
|
459
|
-
declare module "babylonjs-procedural-textures/brick/index" {
|
|
460
|
-
export * from "babylonjs-procedural-textures/brick/brickProceduralTexture";
|
|
461
|
-
|
|
462
|
-
}
|
|
463
|
-
declare module "babylonjs-procedural-textures/brick/brickProceduralTexture.fragment" {
|
|
464
|
-
/** @internal */
|
|
465
|
-
export const brickProceduralTexturePixelShader: {
|
|
466
|
-
name: string;
|
|
467
|
-
shader: string;
|
|
468
|
-
};
|
|
469
|
-
|
|
470
|
-
}
|
|
471
|
-
declare module "babylonjs-procedural-textures/brick/brickProceduralTexture" {
|
|
472
|
-
import { Color3 } from "babylonjs/Maths/math.color";
|
|
473
|
-
import { Texture } from "babylonjs/Materials/Textures/texture";
|
|
474
|
-
import { ProceduralTexture } from "babylonjs/Materials/Textures/Procedurals/proceduralTexture";
|
|
475
|
-
import { Scene } from "babylonjs/scene";
|
|
476
|
-
import { Nullable } from "babylonjs/types";
|
|
477
|
-
import "babylonjs-procedural-textures/brick/brickProceduralTexture.fragment";
|
|
478
|
-
export class BrickProceduralTexture extends ProceduralTexture {
|
|
479
|
-
private _numberOfBricksHeight;
|
|
480
|
-
private _numberOfBricksWidth;
|
|
481
|
-
private _jointColor;
|
|
482
|
-
private _brickColor;
|
|
483
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
484
|
-
updateShaderUniforms(): void;
|
|
485
|
-
get numberOfBricksHeight(): number;
|
|
486
|
-
set numberOfBricksHeight(value: number);
|
|
487
|
-
get numberOfBricksWidth(): number;
|
|
488
|
-
set numberOfBricksWidth(value: number);
|
|
489
|
-
get jointColor(): Color3;
|
|
490
|
-
set jointColor(value: Color3);
|
|
491
|
-
get brickColor(): Color3;
|
|
492
|
-
set brickColor(value: Color3);
|
|
493
|
-
/**
|
|
494
|
-
* Serializes this brick procedural texture
|
|
495
|
-
* @returns a serialized brick procedural texture object
|
|
496
|
-
*/
|
|
497
|
-
serialize(): any;
|
|
498
|
-
/**
|
|
499
|
-
* Creates a Brick Procedural Texture from parsed brick procedural texture data
|
|
500
|
-
* @param parsedTexture defines parsed texture data
|
|
501
|
-
* @param scene defines the current scene
|
|
502
|
-
* @param rootUrl defines the root URL containing brick procedural texture information
|
|
503
|
-
* @returns a parsed Brick Procedural Texture
|
|
504
|
-
*/
|
|
505
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
}
|
|
509
|
-
declare module "babylonjs-procedural-textures/legacy/legacy" {
|
|
510
|
-
export * from "babylonjs-procedural-textures/index";
|
|
511
|
-
|
|
512
|
-
}
|
|
513
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-wood" {
|
|
514
|
-
export * from "babylonjs-procedural-textures/wood/index";
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-starfield" {
|
|
518
|
-
export * from "babylonjs-procedural-textures/starfield/index";
|
|
519
|
-
|
|
520
|
-
}
|
|
521
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-road" {
|
|
522
|
-
export * from "babylonjs-procedural-textures/road/index";
|
|
523
|
-
|
|
524
|
-
}
|
|
525
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-perlinNoise" {
|
|
526
|
-
export * from "babylonjs-procedural-textures/perlinNoise/index";
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-normalMap" {
|
|
530
|
-
export * from "babylonjs-procedural-textures/normalMap/index";
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-marble" {
|
|
534
|
-
export * from "babylonjs-procedural-textures/marble/index";
|
|
535
|
-
|
|
536
|
-
}
|
|
537
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-grass" {
|
|
538
|
-
export * from "babylonjs-procedural-textures/grass/index";
|
|
539
|
-
|
|
540
|
-
}
|
|
541
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-fire" {
|
|
542
|
-
export * from "babylonjs-procedural-textures/fire/index";
|
|
543
|
-
|
|
544
|
-
}
|
|
545
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-cloud" {
|
|
546
|
-
export * from "babylonjs-procedural-textures/cloud/index";
|
|
547
|
-
|
|
548
|
-
}
|
|
549
|
-
declare module "babylonjs-procedural-textures/legacy/legacy-brick" {
|
|
550
|
-
export * from "babylonjs-procedural-textures/brick/index";
|
|
551
|
-
|
|
552
|
-
}
|
|
553
2
|
|
|
554
3
|
declare module "babylonjs-procedural-textures" {
|
|
555
|
-
export * from "babylonjs-procedural-textures/
|
|
4
|
+
export * from "babylonjs-procedural-textures/index";
|
|
556
5
|
}
|
|
557
6
|
|
|
558
7
|
|
|
559
8
|
declare module BABYLON {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
/** @internal */
|
|
563
|
-
export var woodProceduralTexturePixelShader: {
|
|
564
|
-
name: string;
|
|
565
|
-
shader: string;
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
export class WoodProceduralTexture extends ProceduralTexture {
|
|
570
|
-
private _ampScale;
|
|
571
|
-
private _woodColor;
|
|
572
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
573
|
-
updateShaderUniforms(): void;
|
|
574
|
-
get ampScale(): number;
|
|
575
|
-
set ampScale(value: number);
|
|
576
|
-
get woodColor(): Color3;
|
|
577
|
-
set woodColor(value: Color3);
|
|
578
|
-
/**
|
|
579
|
-
* Serializes this wood procedural texture
|
|
580
|
-
* @returns a serialized wood procedural texture object
|
|
581
|
-
*/
|
|
582
|
-
serialize(): any;
|
|
583
|
-
/**
|
|
584
|
-
* Creates a Wood Procedural Texture from parsed wood procedural texture data
|
|
585
|
-
* @param parsedTexture defines parsed texture data
|
|
586
|
-
* @param scene defines the current scene
|
|
587
|
-
* @param rootUrl defines the root URL containing wood procedural texture information
|
|
588
|
-
* @returns a parsed Wood Procedural Texture
|
|
589
|
-
*/
|
|
590
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
/** @internal */
|
|
597
|
-
export var starfieldProceduralTexturePixelShader: {
|
|
598
|
-
name: string;
|
|
599
|
-
shader: string;
|
|
600
|
-
};
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
export class StarfieldProceduralTexture extends ProceduralTexture {
|
|
604
|
-
private _time;
|
|
605
|
-
private _alpha;
|
|
606
|
-
private _beta;
|
|
607
|
-
private _zoom;
|
|
608
|
-
private _formuparam;
|
|
609
|
-
private _stepsize;
|
|
610
|
-
private _tile;
|
|
611
|
-
private _brightness;
|
|
612
|
-
private _darkmatter;
|
|
613
|
-
private _distfading;
|
|
614
|
-
private _saturation;
|
|
615
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
616
|
-
updateShaderUniforms(): void;
|
|
617
|
-
get time(): number;
|
|
618
|
-
set time(value: number);
|
|
619
|
-
get alpha(): number;
|
|
620
|
-
set alpha(value: number);
|
|
621
|
-
get beta(): number;
|
|
622
|
-
set beta(value: number);
|
|
623
|
-
get formuparam(): number;
|
|
624
|
-
set formuparam(value: number);
|
|
625
|
-
get stepsize(): number;
|
|
626
|
-
set stepsize(value: number);
|
|
627
|
-
get zoom(): number;
|
|
628
|
-
set zoom(value: number);
|
|
629
|
-
get tile(): number;
|
|
630
|
-
set tile(value: number);
|
|
631
|
-
get brightness(): number;
|
|
632
|
-
set brightness(value: number);
|
|
633
|
-
get darkmatter(): number;
|
|
634
|
-
set darkmatter(value: number);
|
|
635
|
-
get distfading(): number;
|
|
636
|
-
set distfading(value: number);
|
|
637
|
-
get saturation(): number;
|
|
638
|
-
set saturation(value: number);
|
|
639
|
-
/**
|
|
640
|
-
* Serializes this starfield procedural texture
|
|
641
|
-
* @returns a serialized starfield procedural texture object
|
|
642
|
-
*/
|
|
643
|
-
serialize(): any;
|
|
644
|
-
/**
|
|
645
|
-
* Creates a Starfield Procedural Texture from parsed startfield procedural texture data
|
|
646
|
-
* @param parsedTexture defines parsed texture data
|
|
647
|
-
* @param scene defines the current scene
|
|
648
|
-
* @param rootUrl defines the root URL containing startfield procedural texture information
|
|
649
|
-
* @returns a parsed Starfield Procedural Texture
|
|
650
|
-
*/
|
|
651
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
/** @internal */
|
|
658
|
-
export var roadProceduralTexturePixelShader: {
|
|
659
|
-
name: string;
|
|
660
|
-
shader: string;
|
|
661
|
-
};
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
export class RoadProceduralTexture extends ProceduralTexture {
|
|
665
|
-
private _roadColor;
|
|
666
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
667
|
-
updateShaderUniforms(): void;
|
|
668
|
-
get roadColor(): Color3;
|
|
669
|
-
set roadColor(value: Color3);
|
|
670
|
-
/**
|
|
671
|
-
* Serializes this road procedural texture
|
|
672
|
-
* @returns a serialized road procedural texture object
|
|
673
|
-
*/
|
|
674
|
-
serialize(): any;
|
|
675
|
-
/**
|
|
676
|
-
* Creates a Road Procedural Texture from parsed road procedural texture data
|
|
677
|
-
* @param parsedTexture defines parsed texture data
|
|
678
|
-
* @param scene defines the current scene
|
|
679
|
-
* @param rootUrl defines the root URL containing road procedural texture information
|
|
680
|
-
* @returns a parsed Road Procedural Texture
|
|
681
|
-
*/
|
|
682
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
/** @internal */
|
|
689
|
-
export var perlinNoiseProceduralTexturePixelShader: {
|
|
690
|
-
name: string;
|
|
691
|
-
shader: string;
|
|
692
|
-
};
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
export class PerlinNoiseProceduralTexture extends ProceduralTexture {
|
|
696
|
-
time: number;
|
|
697
|
-
timeScale: number;
|
|
698
|
-
translationSpeed: number;
|
|
699
|
-
private _currentTranslation;
|
|
700
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
701
|
-
updateShaderUniforms(): void;
|
|
702
|
-
render(useCameraPostProcess?: boolean): void;
|
|
703
|
-
resize(size: any, generateMipMaps: any): void;
|
|
704
|
-
/**
|
|
705
|
-
* Serializes this perlin noise procedural texture
|
|
706
|
-
* @returns a serialized perlin noise procedural texture object
|
|
707
|
-
*/
|
|
708
|
-
serialize(): any;
|
|
709
|
-
/**
|
|
710
|
-
* Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
|
|
711
|
-
* @param parsedTexture defines parsed texture data
|
|
712
|
-
* @param scene defines the current scene
|
|
713
|
-
* @param rootUrl defines the root URL containing perlin noise procedural texture information
|
|
714
|
-
* @returns a parsed Perlin Noise Procedural Texture
|
|
715
|
-
*/
|
|
716
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
/** @internal */
|
|
723
|
-
export var normalMapProceduralTexturePixelShader: {
|
|
724
|
-
name: string;
|
|
725
|
-
shader: string;
|
|
726
|
-
};
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
export class NormalMapProceduralTexture extends ProceduralTexture {
|
|
730
|
-
private _baseTexture;
|
|
731
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
732
|
-
updateShaderUniforms(): void;
|
|
733
|
-
render(useCameraPostProcess?: boolean): void;
|
|
734
|
-
resize(size: any, generateMipMaps: any): void;
|
|
735
|
-
isReady(): boolean;
|
|
736
|
-
get baseTexture(): Texture;
|
|
737
|
-
set baseTexture(texture: Texture);
|
|
738
|
-
/**
|
|
739
|
-
* Serializes this normal map procedural texture
|
|
740
|
-
* @returns a serialized normal map procedural texture object
|
|
741
|
-
*/
|
|
742
|
-
serialize(): any;
|
|
743
|
-
/**
|
|
744
|
-
* Creates a Normal Map Procedural Texture from parsed normal map procedural texture data
|
|
745
|
-
* @param parsedTexture defines parsed texture data
|
|
746
|
-
* @param scene defines the current scene
|
|
747
|
-
* @param rootUrl defines the root URL containing normal map procedural texture information
|
|
748
|
-
* @returns a parsed Normal Map Procedural Texture
|
|
749
|
-
*/
|
|
750
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): NormalMapProceduralTexture;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
/** @internal */
|
|
757
|
-
export var marbleProceduralTexturePixelShader: {
|
|
758
|
-
name: string;
|
|
759
|
-
shader: string;
|
|
760
|
-
};
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
export class MarbleProceduralTexture extends ProceduralTexture {
|
|
764
|
-
private _numberOfTilesHeight;
|
|
765
|
-
private _numberOfTilesWidth;
|
|
766
|
-
private _amplitude;
|
|
767
|
-
private _jointColor;
|
|
768
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
769
|
-
updateShaderUniforms(): void;
|
|
770
|
-
get numberOfTilesHeight(): number;
|
|
771
|
-
set numberOfTilesHeight(value: number);
|
|
772
|
-
get amplitude(): number;
|
|
773
|
-
set amplitude(value: number);
|
|
774
|
-
get numberOfTilesWidth(): number;
|
|
775
|
-
set numberOfTilesWidth(value: number);
|
|
776
|
-
get jointColor(): Color3;
|
|
777
|
-
set jointColor(value: Color3);
|
|
778
|
-
/**
|
|
779
|
-
* Serializes this marble procedural texture
|
|
780
|
-
* @returns a serialized marble procedural texture object
|
|
781
|
-
*/
|
|
782
|
-
serialize(): any;
|
|
783
|
-
/**
|
|
784
|
-
* Creates a Marble Procedural Texture from parsed marble procedural texture data
|
|
785
|
-
* @param parsedTexture defines parsed texture data
|
|
786
|
-
* @param scene defines the current scene
|
|
787
|
-
* @param rootUrl defines the root URL containing marble procedural texture information
|
|
788
|
-
* @returns a parsed Marble Procedural Texture
|
|
789
|
-
*/
|
|
790
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): MarbleProceduralTexture;
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
/** @internal */
|
|
799
|
-
export var grassProceduralTexturePixelShader: {
|
|
800
|
-
name: string;
|
|
801
|
-
shader: string;
|
|
802
|
-
};
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
export class GrassProceduralTexture extends ProceduralTexture {
|
|
806
|
-
private _grassColors;
|
|
807
|
-
private _groundColor;
|
|
808
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
809
|
-
updateShaderUniforms(): void;
|
|
810
|
-
get grassColors(): Color3[];
|
|
811
|
-
set grassColors(value: Color3[]);
|
|
812
|
-
get groundColor(): Color3;
|
|
813
|
-
set groundColor(value: Color3);
|
|
814
|
-
/**
|
|
815
|
-
* Serializes this grass procedural texture
|
|
816
|
-
* @returns a serialized grass procedural texture object
|
|
817
|
-
*/
|
|
818
|
-
serialize(): any;
|
|
819
|
-
/**
|
|
820
|
-
* Creates a Grass Procedural Texture from parsed grass procedural texture data
|
|
821
|
-
* @param parsedTexture defines parsed texture data
|
|
822
|
-
* @param scene defines the current scene
|
|
823
|
-
* @param rootUrl defines the root URL containing grass procedural texture information
|
|
824
|
-
* @returns a parsed Grass Procedural Texture
|
|
825
|
-
*/
|
|
826
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
/** @internal */
|
|
833
|
-
export var fireProceduralTexturePixelShader: {
|
|
834
|
-
name: string;
|
|
835
|
-
shader: string;
|
|
836
|
-
};
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
export class FireProceduralTexture extends ProceduralTexture {
|
|
840
|
-
private _time;
|
|
841
|
-
private _speed;
|
|
842
|
-
private _autoGenerateTime;
|
|
843
|
-
private _fireColors;
|
|
844
|
-
private _alphaThreshold;
|
|
845
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
846
|
-
updateShaderUniforms(): void;
|
|
847
|
-
render(useCameraPostProcess?: boolean): void;
|
|
848
|
-
static get PurpleFireColors(): Color3[];
|
|
849
|
-
static get GreenFireColors(): Color3[];
|
|
850
|
-
static get RedFireColors(): Color3[];
|
|
851
|
-
static get BlueFireColors(): Color3[];
|
|
852
|
-
get autoGenerateTime(): boolean;
|
|
853
|
-
set autoGenerateTime(value: boolean);
|
|
854
|
-
get fireColors(): Color3[];
|
|
855
|
-
set fireColors(value: Color3[]);
|
|
856
|
-
get time(): number;
|
|
857
|
-
set time(value: number);
|
|
858
|
-
get speed(): Vector2;
|
|
859
|
-
set speed(value: Vector2);
|
|
860
|
-
get alphaThreshold(): number;
|
|
861
|
-
set alphaThreshold(value: number);
|
|
862
|
-
/**
|
|
863
|
-
* Serializes this fire procedural texture
|
|
864
|
-
* @returns a serialized fire procedural texture object
|
|
865
|
-
*/
|
|
866
|
-
serialize(): any;
|
|
867
|
-
/**
|
|
868
|
-
* Creates a Fire Procedural Texture from parsed fire procedural texture data
|
|
869
|
-
* @param parsedTexture defines parsed texture data
|
|
870
|
-
* @param scene defines the current scene
|
|
871
|
-
* @param rootUrl defines the root URL containing fire procedural texture information
|
|
872
|
-
* @returns a parsed Fire Procedural Texture
|
|
873
|
-
*/
|
|
874
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
/** @internal */
|
|
881
|
-
export var cloudProceduralTexturePixelShader: {
|
|
882
|
-
name: string;
|
|
883
|
-
shader: string;
|
|
884
|
-
};
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
export class CloudProceduralTexture extends ProceduralTexture {
|
|
888
|
-
private _skyColor;
|
|
889
|
-
private _cloudColor;
|
|
890
|
-
private _amplitude;
|
|
891
|
-
private _numOctaves;
|
|
892
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
893
|
-
updateShaderUniforms(): void;
|
|
894
|
-
get skyColor(): Color4;
|
|
895
|
-
set skyColor(value: Color4);
|
|
896
|
-
get cloudColor(): Color4;
|
|
897
|
-
set cloudColor(value: Color4);
|
|
898
|
-
get amplitude(): number;
|
|
899
|
-
set amplitude(value: number);
|
|
900
|
-
get numOctaves(): number;
|
|
901
|
-
set numOctaves(value: number);
|
|
902
|
-
/**
|
|
903
|
-
* Serializes this cloud procedural texture
|
|
904
|
-
* @returns a serialized cloud procedural texture object
|
|
905
|
-
*/
|
|
906
|
-
serialize(): any;
|
|
907
|
-
/**
|
|
908
|
-
* Creates a Cloud Procedural Texture from parsed cloud procedural texture data
|
|
909
|
-
* @param parsedTexture defines parsed texture data
|
|
910
|
-
* @param scene defines the current scene
|
|
911
|
-
* @param rootUrl defines the root URL containing cloud procedural texture information
|
|
912
|
-
* @returns a parsed Cloud Procedural Texture
|
|
913
|
-
*/
|
|
914
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
/** @internal */
|
|
921
|
-
export var brickProceduralTexturePixelShader: {
|
|
922
|
-
name: string;
|
|
923
|
-
shader: string;
|
|
924
|
-
};
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
export class BrickProceduralTexture extends ProceduralTexture {
|
|
928
|
-
private _numberOfBricksHeight;
|
|
929
|
-
private _numberOfBricksWidth;
|
|
930
|
-
private _jointColor;
|
|
931
|
-
private _brickColor;
|
|
932
|
-
constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
|
|
933
|
-
updateShaderUniforms(): void;
|
|
934
|
-
get numberOfBricksHeight(): number;
|
|
935
|
-
set numberOfBricksHeight(value: number);
|
|
936
|
-
get numberOfBricksWidth(): number;
|
|
937
|
-
set numberOfBricksWidth(value: number);
|
|
938
|
-
get jointColor(): Color3;
|
|
939
|
-
set jointColor(value: Color3);
|
|
940
|
-
get brickColor(): Color3;
|
|
941
|
-
set brickColor(value: Color3);
|
|
942
|
-
/**
|
|
943
|
-
* Serializes this brick procedural texture
|
|
944
|
-
* @returns a serialized brick procedural texture object
|
|
945
|
-
*/
|
|
946
|
-
serialize(): any;
|
|
947
|
-
/**
|
|
948
|
-
* Creates a Brick Procedural Texture from parsed brick procedural texture data
|
|
949
|
-
* @param parsedTexture defines parsed texture data
|
|
950
|
-
* @param scene defines the current scene
|
|
951
|
-
* @param rootUrl defines the root URL containing brick procedural texture information
|
|
952
|
-
* @returns a parsed Brick Procedural Texture
|
|
953
|
-
*/
|
|
954
|
-
static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
9
|
|
|
979
10
|
}
|
|
980
11
|
|