babylonjs-procedural-textures 7.16.0 → 7.17.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.
Files changed (36) hide show
  1. package/babylon.brickProceduralTexture.js +1 -5
  2. package/babylon.brickProceduralTexture.min.js +1 -1
  3. package/babylon.brickProceduralTexture.min.js.map +1 -1
  4. package/babylon.cloudProceduralTexture.js +1 -5
  5. package/babylon.cloudProceduralTexture.min.js +1 -1
  6. package/babylon.cloudProceduralTexture.min.js.map +1 -1
  7. package/babylon.fireProceduralTexture.js +1 -5
  8. package/babylon.fireProceduralTexture.min.js +1 -1
  9. package/babylon.fireProceduralTexture.min.js.map +1 -1
  10. package/babylon.grassProceduralTexture.js +1 -5
  11. package/babylon.grassProceduralTexture.min.js +1 -1
  12. package/babylon.grassProceduralTexture.min.js.map +1 -1
  13. package/babylon.marbleProceduralTexture.js +1 -5
  14. package/babylon.marbleProceduralTexture.min.js +1 -1
  15. package/babylon.marbleProceduralTexture.min.js.map +1 -1
  16. package/babylon.normalMapProceduralTexture.js +1 -5
  17. package/babylon.normalMapProceduralTexture.min.js +1 -1
  18. package/babylon.normalMapProceduralTexture.min.js.map +1 -1
  19. package/babylon.perlinNoiseProceduralTexture.js +1 -5
  20. package/babylon.perlinNoiseProceduralTexture.min.js +1 -1
  21. package/babylon.perlinNoiseProceduralTexture.min.js.map +1 -1
  22. package/babylon.roadProceduralTexture.js +1 -5
  23. package/babylon.roadProceduralTexture.min.js +1 -1
  24. package/babylon.roadProceduralTexture.min.js.map +1 -1
  25. package/babylon.starfieldProceduralTexture.js +1 -5
  26. package/babylon.starfieldProceduralTexture.min.js +1 -1
  27. package/babylon.starfieldProceduralTexture.min.js.map +1 -1
  28. package/babylon.woodProceduralTexture.js +1 -5
  29. package/babylon.woodProceduralTexture.min.js +1 -1
  30. package/babylon.woodProceduralTexture.min.js.map +1 -1
  31. package/babylonjs.proceduralTextures.d.ts +209 -209
  32. package/babylonjs.proceduralTextures.js +1 -5
  33. package/babylonjs.proceduralTextures.min.js +1 -1
  34. package/babylonjs.proceduralTextures.min.js.map +1 -1
  35. package/babylonjs.proceduralTextures.module.d.ts +517 -517
  36. package/package.json +2 -2
@@ -1,211 +1,174 @@
1
1
 
2
2
  declare module BABYLON {
3
- export class BrickProceduralTexture extends ProceduralTexture {
4
- private _numberOfBricksHeight;
5
- private _numberOfBricksWidth;
6
- private _jointColor;
7
- private _brickColor;
8
- constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
9
- updateShaderUniforms(): void;
10
- get numberOfBricksHeight(): number;
11
- set numberOfBricksHeight(value: number);
12
- get numberOfBricksWidth(): number;
13
- set numberOfBricksWidth(value: number);
14
- get jointColor(): Color3;
15
- set jointColor(value: Color3);
16
- get brickColor(): Color3;
17
- set brickColor(value: Color3);
18
- /**
19
- * Serializes this brick procedural texture
20
- * @returns a serialized brick procedural texture object
21
- */
22
- serialize(): any;
23
- /**
24
- * Creates a Brick Procedural Texture from parsed brick procedural texture data
25
- * @param parsedTexture defines parsed texture data
26
- * @param scene defines the current scene
27
- * @param rootUrl defines the root URL containing brick procedural texture information
28
- * @returns a parsed Brick Procedural Texture
29
- */
30
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
31
- }
32
3
 
33
4
 
34
5
  /** @internal */
35
- export var brickProceduralTexturePixelShader: {
6
+ export var woodProceduralTexturePixelShader: {
36
7
  name: string;
37
8
  shader: string;
38
9
  };
39
10
 
40
11
 
41
-
42
-
43
- export class CloudProceduralTexture extends ProceduralTexture {
44
- private _skyColor;
45
- private _cloudColor;
46
- private _amplitude;
47
- private _numOctaves;
12
+ export class WoodProceduralTexture extends ProceduralTexture {
13
+ private _ampScale;
14
+ private _woodColor;
48
15
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
49
16
  updateShaderUniforms(): void;
50
- get skyColor(): Color4;
51
- set skyColor(value: Color4);
52
- get cloudColor(): Color4;
53
- set cloudColor(value: Color4);
54
- get amplitude(): number;
55
- set amplitude(value: number);
56
- get numOctaves(): number;
57
- set numOctaves(value: number);
17
+ get ampScale(): number;
18
+ set ampScale(value: number);
19
+ get woodColor(): Color3;
20
+ set woodColor(value: Color3);
58
21
  /**
59
- * Serializes this cloud procedural texture
60
- * @returns a serialized cloud procedural texture object
22
+ * Serializes this wood procedural texture
23
+ * @returns a serialized wood procedural texture object
61
24
  */
62
25
  serialize(): any;
63
26
  /**
64
- * Creates a Cloud Procedural Texture from parsed cloud procedural texture data
27
+ * Creates a Wood Procedural Texture from parsed wood procedural texture data
65
28
  * @param parsedTexture defines parsed texture data
66
29
  * @param scene defines the current scene
67
- * @param rootUrl defines the root URL containing cloud procedural texture information
68
- * @returns a parsed Cloud Procedural Texture
30
+ * @param rootUrl defines the root URL containing wood procedural texture information
31
+ * @returns a parsed Wood Procedural Texture
69
32
  */
70
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
33
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
71
34
  }
72
35
 
73
36
 
37
+
38
+
74
39
  /** @internal */
75
- export var cloudProceduralTexturePixelShader: {
40
+ export var starfieldProceduralTexturePixelShader: {
76
41
  name: string;
77
42
  shader: string;
78
43
  };
79
44
 
80
45
 
81
-
82
-
83
- export class FireProceduralTexture extends ProceduralTexture {
46
+ export class StarfieldProceduralTexture extends ProceduralTexture {
84
47
  private _time;
85
- private _speed;
86
- private _autoGenerateTime;
87
- private _fireColors;
88
- private _alphaThreshold;
48
+ private _alpha;
49
+ private _beta;
50
+ private _zoom;
51
+ private _formuparam;
52
+ private _stepsize;
53
+ private _tile;
54
+ private _brightness;
55
+ private _darkmatter;
56
+ private _distfading;
57
+ private _saturation;
89
58
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
90
59
  updateShaderUniforms(): void;
91
- render(useCameraPostProcess?: boolean): void;
92
- static get PurpleFireColors(): Color3[];
93
- static get GreenFireColors(): Color3[];
94
- static get RedFireColors(): Color3[];
95
- static get BlueFireColors(): Color3[];
96
- get autoGenerateTime(): boolean;
97
- set autoGenerateTime(value: boolean);
98
- get fireColors(): Color3[];
99
- set fireColors(value: Color3[]);
100
60
  get time(): number;
101
61
  set time(value: number);
102
- get speed(): Vector2;
103
- set speed(value: Vector2);
104
- get alphaThreshold(): number;
105
- set alphaThreshold(value: number);
62
+ get alpha(): number;
63
+ set alpha(value: number);
64
+ get beta(): number;
65
+ set beta(value: number);
66
+ get formuparam(): number;
67
+ set formuparam(value: number);
68
+ get stepsize(): number;
69
+ set stepsize(value: number);
70
+ get zoom(): number;
71
+ set zoom(value: number);
72
+ get tile(): number;
73
+ set tile(value: number);
74
+ get brightness(): number;
75
+ set brightness(value: number);
76
+ get darkmatter(): number;
77
+ set darkmatter(value: number);
78
+ get distfading(): number;
79
+ set distfading(value: number);
80
+ get saturation(): number;
81
+ set saturation(value: number);
106
82
  /**
107
- * Serializes this fire procedural texture
108
- * @returns a serialized fire procedural texture object
83
+ * Serializes this starfield procedural texture
84
+ * @returns a serialized starfield procedural texture object
109
85
  */
110
86
  serialize(): any;
111
87
  /**
112
- * Creates a Fire Procedural Texture from parsed fire procedural texture data
88
+ * Creates a Starfield Procedural Texture from parsed startfield procedural texture data
113
89
  * @param parsedTexture defines parsed texture data
114
90
  * @param scene defines the current scene
115
- * @param rootUrl defines the root URL containing fire procedural texture information
116
- * @returns a parsed Fire Procedural Texture
91
+ * @param rootUrl defines the root URL containing startfield procedural texture information
92
+ * @returns a parsed Starfield Procedural Texture
117
93
  */
118
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
94
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
119
95
  }
120
96
 
121
97
 
98
+
99
+
122
100
  /** @internal */
123
- export var fireProceduralTexturePixelShader: {
101
+ export var roadProceduralTexturePixelShader: {
124
102
  name: string;
125
103
  shader: string;
126
104
  };
127
105
 
128
106
 
129
-
130
-
131
- export class GrassProceduralTexture extends ProceduralTexture {
132
- private _grassColors;
133
- private _groundColor;
107
+ export class RoadProceduralTexture extends ProceduralTexture {
108
+ private _roadColor;
134
109
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
135
110
  updateShaderUniforms(): void;
136
- get grassColors(): Color3[];
137
- set grassColors(value: Color3[]);
138
- get groundColor(): Color3;
139
- set groundColor(value: Color3);
111
+ get roadColor(): Color3;
112
+ set roadColor(value: Color3);
140
113
  /**
141
- * Serializes this grass procedural texture
142
- * @returns a serialized grass procedural texture object
114
+ * Serializes this road procedural texture
115
+ * @returns a serialized road procedural texture object
143
116
  */
144
117
  serialize(): any;
145
118
  /**
146
- * Creates a Grass Procedural Texture from parsed grass procedural texture data
119
+ * Creates a Road Procedural Texture from parsed road procedural texture data
147
120
  * @param parsedTexture defines parsed texture data
148
121
  * @param scene defines the current scene
149
- * @param rootUrl defines the root URL containing grass procedural texture information
150
- * @returns a parsed Grass Procedural Texture
122
+ * @param rootUrl defines the root URL containing road procedural texture information
123
+ * @returns a parsed Road Procedural Texture
151
124
  */
152
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
125
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
153
126
  }
154
127
 
155
128
 
129
+
130
+
156
131
  /** @internal */
157
- export var grassProceduralTexturePixelShader: {
132
+ export var perlinNoiseProceduralTexturePixelShader: {
158
133
  name: string;
159
134
  shader: string;
160
135
  };
161
136
 
162
137
 
163
-
164
-
165
-
166
-
167
-
168
-
169
- export class MarbleProceduralTexture extends ProceduralTexture {
170
- private _numberOfTilesHeight;
171
- private _numberOfTilesWidth;
172
- private _amplitude;
173
- private _jointColor;
138
+ export class PerlinNoiseProceduralTexture extends ProceduralTexture {
139
+ time: number;
140
+ timeScale: number;
141
+ translationSpeed: number;
142
+ private _currentTranslation;
174
143
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
175
144
  updateShaderUniforms(): void;
176
- get numberOfTilesHeight(): number;
177
- set numberOfTilesHeight(value: number);
178
- get amplitude(): number;
179
- set amplitude(value: number);
180
- get numberOfTilesWidth(): number;
181
- set numberOfTilesWidth(value: number);
182
- get jointColor(): Color3;
183
- set jointColor(value: Color3);
145
+ render(useCameraPostProcess?: boolean): void;
146
+ resize(size: any, generateMipMaps: any): void;
184
147
  /**
185
- * Serializes this marble procedural texture
186
- * @returns a serialized marble procedural texture object
148
+ * Serializes this perlin noise procedural texture
149
+ * @returns a serialized perlin noise procedural texture object
187
150
  */
188
151
  serialize(): any;
189
152
  /**
190
- * Creates a Marble Procedural Texture from parsed marble procedural texture data
153
+ * Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
191
154
  * @param parsedTexture defines parsed texture data
192
155
  * @param scene defines the current scene
193
- * @param rootUrl defines the root URL containing marble procedural texture information
194
- * @returns a parsed Marble Procedural Texture
156
+ * @param rootUrl defines the root URL containing perlin noise procedural texture information
157
+ * @returns a parsed Perlin Noise Procedural Texture
195
158
  */
196
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): MarbleProceduralTexture;
159
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
197
160
  }
198
161
 
199
162
 
163
+
164
+
200
165
  /** @internal */
201
- export var marbleProceduralTexturePixelShader: {
166
+ export var normalMapProceduralTexturePixelShader: {
202
167
  name: string;
203
168
  shader: string;
204
169
  };
205
170
 
206
171
 
207
-
208
-
209
172
  export class NormalMapProceduralTexture extends ProceduralTexture {
210
173
  private _baseTexture;
211
174
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
@@ -231,173 +194,210 @@ declare module BABYLON {
231
194
  }
232
195
 
233
196
 
197
+
198
+
234
199
  /** @internal */
235
- export var normalMapProceduralTexturePixelShader: {
200
+ export var marbleProceduralTexturePixelShader: {
236
201
  name: string;
237
202
  shader: string;
238
203
  };
239
204
 
240
205
 
241
-
242
-
243
- export class PerlinNoiseProceduralTexture extends ProceduralTexture {
244
- time: number;
245
- timeScale: number;
246
- translationSpeed: number;
247
- private _currentTranslation;
206
+ export class MarbleProceduralTexture extends ProceduralTexture {
207
+ private _numberOfTilesHeight;
208
+ private _numberOfTilesWidth;
209
+ private _amplitude;
210
+ private _jointColor;
248
211
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
249
212
  updateShaderUniforms(): void;
250
- render(useCameraPostProcess?: boolean): void;
251
- resize(size: any, generateMipMaps: any): void;
213
+ get numberOfTilesHeight(): number;
214
+ set numberOfTilesHeight(value: number);
215
+ get amplitude(): number;
216
+ set amplitude(value: number);
217
+ get numberOfTilesWidth(): number;
218
+ set numberOfTilesWidth(value: number);
219
+ get jointColor(): Color3;
220
+ set jointColor(value: Color3);
252
221
  /**
253
- * Serializes this perlin noise procedural texture
254
- * @returns a serialized perlin noise procedural texture object
222
+ * Serializes this marble procedural texture
223
+ * @returns a serialized marble procedural texture object
255
224
  */
256
225
  serialize(): any;
257
226
  /**
258
- * Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
227
+ * Creates a Marble Procedural Texture from parsed marble procedural texture data
259
228
  * @param parsedTexture defines parsed texture data
260
229
  * @param scene defines the current scene
261
- * @param rootUrl defines the root URL containing perlin noise procedural texture information
262
- * @returns a parsed Perlin Noise Procedural Texture
230
+ * @param rootUrl defines the root URL containing marble procedural texture information
231
+ * @returns a parsed Marble Procedural Texture
263
232
  */
264
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
233
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): MarbleProceduralTexture;
265
234
  }
266
235
 
267
236
 
237
+
238
+
239
+
240
+
268
241
  /** @internal */
269
- export var perlinNoiseProceduralTexturePixelShader: {
242
+ export var grassProceduralTexturePixelShader: {
270
243
  name: string;
271
244
  shader: string;
272
245
  };
273
246
 
274
247
 
275
-
276
-
277
- export class RoadProceduralTexture extends ProceduralTexture {
278
- private _roadColor;
248
+ export class GrassProceduralTexture extends ProceduralTexture {
249
+ private _grassColors;
250
+ private _groundColor;
279
251
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
280
252
  updateShaderUniforms(): void;
281
- get roadColor(): Color3;
282
- set roadColor(value: Color3);
253
+ get grassColors(): Color3[];
254
+ set grassColors(value: Color3[]);
255
+ get groundColor(): Color3;
256
+ set groundColor(value: Color3);
283
257
  /**
284
- * Serializes this road procedural texture
285
- * @returns a serialized road procedural texture object
258
+ * Serializes this grass procedural texture
259
+ * @returns a serialized grass procedural texture object
286
260
  */
287
261
  serialize(): any;
288
262
  /**
289
- * Creates a Road Procedural Texture from parsed road procedural texture data
263
+ * Creates a Grass Procedural Texture from parsed grass procedural texture data
290
264
  * @param parsedTexture defines parsed texture data
291
265
  * @param scene defines the current scene
292
- * @param rootUrl defines the root URL containing road procedural texture information
293
- * @returns a parsed Road Procedural Texture
266
+ * @param rootUrl defines the root URL containing grass procedural texture information
267
+ * @returns a parsed Grass Procedural Texture
294
268
  */
295
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
269
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
296
270
  }
297
271
 
298
272
 
273
+
274
+
299
275
  /** @internal */
300
- export var roadProceduralTexturePixelShader: {
276
+ export var fireProceduralTexturePixelShader: {
301
277
  name: string;
302
278
  shader: string;
303
279
  };
304
280
 
305
281
 
306
-
307
-
308
- export class StarfieldProceduralTexture extends ProceduralTexture {
282
+ export class FireProceduralTexture extends ProceduralTexture {
309
283
  private _time;
310
- private _alpha;
311
- private _beta;
312
- private _zoom;
313
- private _formuparam;
314
- private _stepsize;
315
- private _tile;
316
- private _brightness;
317
- private _darkmatter;
318
- private _distfading;
319
- private _saturation;
284
+ private _speed;
285
+ private _autoGenerateTime;
286
+ private _fireColors;
287
+ private _alphaThreshold;
320
288
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
321
289
  updateShaderUniforms(): void;
290
+ render(useCameraPostProcess?: boolean): void;
291
+ static get PurpleFireColors(): Color3[];
292
+ static get GreenFireColors(): Color3[];
293
+ static get RedFireColors(): Color3[];
294
+ static get BlueFireColors(): Color3[];
295
+ get autoGenerateTime(): boolean;
296
+ set autoGenerateTime(value: boolean);
297
+ get fireColors(): Color3[];
298
+ set fireColors(value: Color3[]);
322
299
  get time(): number;
323
300
  set time(value: number);
324
- get alpha(): number;
325
- set alpha(value: number);
326
- get beta(): number;
327
- set beta(value: number);
328
- get formuparam(): number;
329
- set formuparam(value: number);
330
- get stepsize(): number;
331
- set stepsize(value: number);
332
- get zoom(): number;
333
- set zoom(value: number);
334
- get tile(): number;
335
- set tile(value: number);
336
- get brightness(): number;
337
- set brightness(value: number);
338
- get darkmatter(): number;
339
- set darkmatter(value: number);
340
- get distfading(): number;
341
- set distfading(value: number);
342
- get saturation(): number;
343
- set saturation(value: number);
301
+ get speed(): Vector2;
302
+ set speed(value: Vector2);
303
+ get alphaThreshold(): number;
304
+ set alphaThreshold(value: number);
344
305
  /**
345
- * Serializes this starfield procedural texture
346
- * @returns a serialized starfield procedural texture object
306
+ * Serializes this fire procedural texture
307
+ * @returns a serialized fire procedural texture object
347
308
  */
348
309
  serialize(): any;
349
310
  /**
350
- * Creates a Starfield Procedural Texture from parsed startfield procedural texture data
311
+ * Creates a Fire Procedural Texture from parsed fire procedural texture data
351
312
  * @param parsedTexture defines parsed texture data
352
313
  * @param scene defines the current scene
353
- * @param rootUrl defines the root URL containing startfield procedural texture information
354
- * @returns a parsed Starfield Procedural Texture
314
+ * @param rootUrl defines the root URL containing fire procedural texture information
315
+ * @returns a parsed Fire Procedural Texture
355
316
  */
356
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
317
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
357
318
  }
358
319
 
359
320
 
321
+
322
+
360
323
  /** @internal */
361
- export var starfieldProceduralTexturePixelShader: {
324
+ export var cloudProceduralTexturePixelShader: {
362
325
  name: string;
363
326
  shader: string;
364
327
  };
365
328
 
366
329
 
367
-
368
-
369
- export class WoodProceduralTexture extends ProceduralTexture {
370
- private _ampScale;
371
- private _woodColor;
330
+ export class CloudProceduralTexture extends ProceduralTexture {
331
+ private _skyColor;
332
+ private _cloudColor;
333
+ private _amplitude;
334
+ private _numOctaves;
372
335
  constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
373
336
  updateShaderUniforms(): void;
374
- get ampScale(): number;
375
- set ampScale(value: number);
376
- get woodColor(): Color3;
377
- set woodColor(value: Color3);
337
+ get skyColor(): Color4;
338
+ set skyColor(value: Color4);
339
+ get cloudColor(): Color4;
340
+ set cloudColor(value: Color4);
341
+ get amplitude(): number;
342
+ set amplitude(value: number);
343
+ get numOctaves(): number;
344
+ set numOctaves(value: number);
378
345
  /**
379
- * Serializes this wood procedural texture
380
- * @returns a serialized wood procedural texture object
346
+ * Serializes this cloud procedural texture
347
+ * @returns a serialized cloud procedural texture object
381
348
  */
382
349
  serialize(): any;
383
350
  /**
384
- * Creates a Wood Procedural Texture from parsed wood procedural texture data
351
+ * Creates a Cloud Procedural Texture from parsed cloud procedural texture data
385
352
  * @param parsedTexture defines parsed texture data
386
353
  * @param scene defines the current scene
387
- * @param rootUrl defines the root URL containing wood procedural texture information
388
- * @returns a parsed Wood Procedural Texture
354
+ * @param rootUrl defines the root URL containing cloud procedural texture information
355
+ * @returns a parsed Cloud Procedural Texture
389
356
  */
390
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
357
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
391
358
  }
392
359
 
393
360
 
361
+
362
+
394
363
  /** @internal */
395
- export var woodProceduralTexturePixelShader: {
364
+ export var brickProceduralTexturePixelShader: {
396
365
  name: string;
397
366
  shader: string;
398
367
  };
399
368
 
400
369
 
370
+ export class BrickProceduralTexture extends ProceduralTexture {
371
+ private _numberOfBricksHeight;
372
+ private _numberOfBricksWidth;
373
+ private _jointColor;
374
+ private _brickColor;
375
+ constructor(name: string, size: number, scene?: Nullable<Scene>, fallbackTexture?: Texture, generateMipMaps?: boolean);
376
+ updateShaderUniforms(): void;
377
+ get numberOfBricksHeight(): number;
378
+ set numberOfBricksHeight(value: number);
379
+ get numberOfBricksWidth(): number;
380
+ set numberOfBricksWidth(value: number);
381
+ get jointColor(): Color3;
382
+ set jointColor(value: Color3);
383
+ get brickColor(): Color3;
384
+ set brickColor(value: Color3);
385
+ /**
386
+ * Serializes this brick procedural texture
387
+ * @returns a serialized brick procedural texture object
388
+ */
389
+ serialize(): any;
390
+ /**
391
+ * Creates a Brick Procedural Texture from parsed brick procedural texture data
392
+ * @param parsedTexture defines parsed texture data
393
+ * @param scene defines the current scene
394
+ * @param rootUrl defines the root URL containing brick procedural texture information
395
+ * @returns a parsed Brick Procedural Texture
396
+ */
397
+ static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
398
+ }
399
+
400
+
401
401
 
402
402
 
403
403