babylonjs-procedural-textures 6.6.1 → 6.8.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.js +387 -358
- package/babylon.brickProceduralTexture.js.map +1 -1
- package/babylon.brickProceduralTexture.min.js.map +1 -1
- package/babylon.cloudProceduralTexture.js +387 -358
- package/babylon.cloudProceduralTexture.js.map +1 -1
- package/babylon.cloudProceduralTexture.min.js.map +1 -1
- package/babylon.fireProceduralTexture.js +391 -362
- package/babylon.fireProceduralTexture.js.map +1 -1
- package/babylon.fireProceduralTexture.min.js.map +1 -1
- package/babylon.grassProceduralTexture.js +382 -353
- package/babylon.grassProceduralTexture.js.map +1 -1
- package/babylon.grassProceduralTexture.min.js.map +1 -1
- package/babylon.marbleProceduralTexture.js +386 -357
- package/babylon.marbleProceduralTexture.js.map +1 -1
- package/babylon.marbleProceduralTexture.min.js.map +1 -1
- package/babylon.normalMapProceduralTexture.js +379 -350
- package/babylon.normalMapProceduralTexture.js.map +1 -1
- package/babylon.normalMapProceduralTexture.min.js.map +1 -1
- package/babylon.perlinNoiseProceduralTexture.js +383 -354
- package/babylon.perlinNoiseProceduralTexture.js.map +1 -1
- package/babylon.perlinNoiseProceduralTexture.min.js.map +1 -1
- package/babylon.roadProceduralTexture.js +380 -351
- package/babylon.roadProceduralTexture.js.map +1 -1
- package/babylon.roadProceduralTexture.min.js.map +1 -1
- package/babylon.starfieldProceduralTexture.js +399 -370
- package/babylon.starfieldProceduralTexture.js.map +1 -1
- package/babylon.starfieldProceduralTexture.min.js.map +1 -1
- package/babylon.woodProceduralTexture.js +382 -353
- package/babylon.woodProceduralTexture.js.map +1 -1
- package/babylon.woodProceduralTexture.min.js.map +1 -1
- package/babylonjs.proceduralTextures.js +591 -562
- package/babylonjs.proceduralTextures.js.map +1 -1
- package/babylonjs.proceduralTextures.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -12,341 +12,6 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/ "../../../../node_modules/tslib/tslib.es6.js":
|
|
16
|
-
/*!***************************************************!*\
|
|
17
|
-
!*** ../../../../node_modules/tslib/tslib.es6.js ***!
|
|
18
|
-
\***************************************************/
|
|
19
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
20
|
-
|
|
21
|
-
__webpack_require__.r(__webpack_exports__);
|
|
22
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23
|
-
/* harmony export */ "__assign": () => (/* binding */ __assign),
|
|
24
|
-
/* harmony export */ "__asyncDelegator": () => (/* binding */ __asyncDelegator),
|
|
25
|
-
/* harmony export */ "__asyncGenerator": () => (/* binding */ __asyncGenerator),
|
|
26
|
-
/* harmony export */ "__asyncValues": () => (/* binding */ __asyncValues),
|
|
27
|
-
/* harmony export */ "__await": () => (/* binding */ __await),
|
|
28
|
-
/* harmony export */ "__awaiter": () => (/* binding */ __awaiter),
|
|
29
|
-
/* harmony export */ "__classPrivateFieldGet": () => (/* binding */ __classPrivateFieldGet),
|
|
30
|
-
/* harmony export */ "__classPrivateFieldIn": () => (/* binding */ __classPrivateFieldIn),
|
|
31
|
-
/* harmony export */ "__classPrivateFieldSet": () => (/* binding */ __classPrivateFieldSet),
|
|
32
|
-
/* harmony export */ "__createBinding": () => (/* binding */ __createBinding),
|
|
33
|
-
/* harmony export */ "__decorate": () => (/* binding */ __decorate),
|
|
34
|
-
/* harmony export */ "__esDecorate": () => (/* binding */ __esDecorate),
|
|
35
|
-
/* harmony export */ "__exportStar": () => (/* binding */ __exportStar),
|
|
36
|
-
/* harmony export */ "__extends": () => (/* binding */ __extends),
|
|
37
|
-
/* harmony export */ "__generator": () => (/* binding */ __generator),
|
|
38
|
-
/* harmony export */ "__importDefault": () => (/* binding */ __importDefault),
|
|
39
|
-
/* harmony export */ "__importStar": () => (/* binding */ __importStar),
|
|
40
|
-
/* harmony export */ "__makeTemplateObject": () => (/* binding */ __makeTemplateObject),
|
|
41
|
-
/* harmony export */ "__metadata": () => (/* binding */ __metadata),
|
|
42
|
-
/* harmony export */ "__param": () => (/* binding */ __param),
|
|
43
|
-
/* harmony export */ "__propKey": () => (/* binding */ __propKey),
|
|
44
|
-
/* harmony export */ "__read": () => (/* binding */ __read),
|
|
45
|
-
/* harmony export */ "__rest": () => (/* binding */ __rest),
|
|
46
|
-
/* harmony export */ "__runInitializers": () => (/* binding */ __runInitializers),
|
|
47
|
-
/* harmony export */ "__setFunctionName": () => (/* binding */ __setFunctionName),
|
|
48
|
-
/* harmony export */ "__spread": () => (/* binding */ __spread),
|
|
49
|
-
/* harmony export */ "__spreadArray": () => (/* binding */ __spreadArray),
|
|
50
|
-
/* harmony export */ "__spreadArrays": () => (/* binding */ __spreadArrays),
|
|
51
|
-
/* harmony export */ "__values": () => (/* binding */ __values)
|
|
52
|
-
/* harmony export */ });
|
|
53
|
-
/******************************************************************************
|
|
54
|
-
Copyright (c) Microsoft Corporation.
|
|
55
|
-
|
|
56
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
57
|
-
purpose with or without fee is hereby granted.
|
|
58
|
-
|
|
59
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
60
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
61
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
62
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
63
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
64
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
65
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
66
|
-
***************************************************************************** */
|
|
67
|
-
/* global Reflect, Promise */
|
|
68
|
-
|
|
69
|
-
var extendStatics = function(d, b) {
|
|
70
|
-
extendStatics = Object.setPrototypeOf ||
|
|
71
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
72
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
73
|
-
return extendStatics(d, b);
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
function __extends(d, b) {
|
|
77
|
-
if (typeof b !== "function" && b !== null)
|
|
78
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
79
|
-
extendStatics(d, b);
|
|
80
|
-
function __() { this.constructor = d; }
|
|
81
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
var __assign = function() {
|
|
85
|
-
__assign = Object.assign || function __assign(t) {
|
|
86
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
87
|
-
s = arguments[i];
|
|
88
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
89
|
-
}
|
|
90
|
-
return t;
|
|
91
|
-
}
|
|
92
|
-
return __assign.apply(this, arguments);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function __rest(s, e) {
|
|
96
|
-
var t = {};
|
|
97
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
98
|
-
t[p] = s[p];
|
|
99
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
100
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
101
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
102
|
-
t[p[i]] = s[p[i]];
|
|
103
|
-
}
|
|
104
|
-
return t;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function __decorate(decorators, target, key, desc) {
|
|
108
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
109
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
110
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
111
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function __param(paramIndex, decorator) {
|
|
115
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
119
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
120
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
121
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
122
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
123
|
-
var _, done = false;
|
|
124
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
125
|
-
var context = {};
|
|
126
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
127
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
128
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
129
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
130
|
-
if (kind === "accessor") {
|
|
131
|
-
if (result === void 0) continue;
|
|
132
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
133
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
|
134
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
|
135
|
-
if (_ = accept(result.init)) initializers.push(_);
|
|
136
|
-
}
|
|
137
|
-
else if (_ = accept(result)) {
|
|
138
|
-
if (kind === "field") initializers.push(_);
|
|
139
|
-
else descriptor[key] = _;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
143
|
-
done = true;
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
function __runInitializers(thisArg, initializers, value) {
|
|
147
|
-
var useValue = arguments.length > 2;
|
|
148
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
149
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
150
|
-
}
|
|
151
|
-
return useValue ? value : void 0;
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
function __propKey(x) {
|
|
155
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
function __setFunctionName(f, name, prefix) {
|
|
159
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
160
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
function __metadata(metadataKey, metadataValue) {
|
|
164
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
168
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
169
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
170
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
171
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
172
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
173
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
function __generator(thisArg, body) {
|
|
178
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
179
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
180
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
181
|
-
function step(op) {
|
|
182
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
183
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
184
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
185
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
186
|
-
switch (op[0]) {
|
|
187
|
-
case 0: case 1: t = op; break;
|
|
188
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
189
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
190
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
191
|
-
default:
|
|
192
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
193
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
194
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
195
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
196
|
-
if (t[2]) _.ops.pop();
|
|
197
|
-
_.trys.pop(); continue;
|
|
198
|
-
}
|
|
199
|
-
op = body.call(thisArg, _);
|
|
200
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
201
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
206
|
-
if (k2 === undefined) k2 = k;
|
|
207
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
208
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
209
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
210
|
-
}
|
|
211
|
-
Object.defineProperty(o, k2, desc);
|
|
212
|
-
}) : (function(o, m, k, k2) {
|
|
213
|
-
if (k2 === undefined) k2 = k;
|
|
214
|
-
o[k2] = m[k];
|
|
215
|
-
});
|
|
216
|
-
|
|
217
|
-
function __exportStar(m, o) {
|
|
218
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
function __values(o) {
|
|
222
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
223
|
-
if (m) return m.call(o);
|
|
224
|
-
if (o && typeof o.length === "number") return {
|
|
225
|
-
next: function () {
|
|
226
|
-
if (o && i >= o.length) o = void 0;
|
|
227
|
-
return { value: o && o[i++], done: !o };
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
function __read(o, n) {
|
|
234
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
235
|
-
if (!m) return o;
|
|
236
|
-
var i = m.call(o), r, ar = [], e;
|
|
237
|
-
try {
|
|
238
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
239
|
-
}
|
|
240
|
-
catch (error) { e = { error: error }; }
|
|
241
|
-
finally {
|
|
242
|
-
try {
|
|
243
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
244
|
-
}
|
|
245
|
-
finally { if (e) throw e.error; }
|
|
246
|
-
}
|
|
247
|
-
return ar;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/** @deprecated */
|
|
251
|
-
function __spread() {
|
|
252
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
253
|
-
ar = ar.concat(__read(arguments[i]));
|
|
254
|
-
return ar;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
/** @deprecated */
|
|
258
|
-
function __spreadArrays() {
|
|
259
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
260
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
261
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
262
|
-
r[k] = a[j];
|
|
263
|
-
return r;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
function __spreadArray(to, from, pack) {
|
|
267
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
268
|
-
if (ar || !(i in from)) {
|
|
269
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
270
|
-
ar[i] = from[i];
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
function __await(v) {
|
|
277
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
281
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
282
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
283
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
284
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
285
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
286
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
287
|
-
function fulfill(value) { resume("next", value); }
|
|
288
|
-
function reject(value) { resume("throw", value); }
|
|
289
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
function __asyncDelegator(o) {
|
|
293
|
-
var i, p;
|
|
294
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
295
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
function __asyncValues(o) {
|
|
299
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
300
|
-
var m = o[Symbol.asyncIterator], i;
|
|
301
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
302
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
303
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
function __makeTemplateObject(cooked, raw) {
|
|
307
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
308
|
-
return cooked;
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
312
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
313
|
-
}) : function(o, v) {
|
|
314
|
-
o["default"] = v;
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
function __importStar(mod) {
|
|
318
|
-
if (mod && mod.__esModule) return mod;
|
|
319
|
-
var result = {};
|
|
320
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
321
|
-
__setModuleDefault(result, mod);
|
|
322
|
-
return result;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
function __importDefault(mod) {
|
|
326
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
330
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
331
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
332
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
336
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
337
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
338
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
339
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
343
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
344
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
/***/ }),
|
|
349
|
-
|
|
350
15
|
/***/ "../../../lts/proceduralTextures/dist/brick/brickProceduralTexture.fragment.js":
|
|
351
16
|
/*!*************************************************************************************!*\
|
|
352
17
|
!*** ../../../lts/proceduralTextures/dist/brick/brickProceduralTexture.fragment.js ***!
|
|
@@ -355,7 +20,7 @@ function __classPrivateFieldIn(state, receiver) {
|
|
|
355
20
|
|
|
356
21
|
__webpack_require__.r(__webpack_exports__);
|
|
357
22
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
358
|
-
/* harmony export */
|
|
23
|
+
/* harmony export */ brickProceduralTexturePixelShader: () => (/* binding */ brickProceduralTexturePixelShader)
|
|
359
24
|
/* harmony export */ });
|
|
360
25
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
361
26
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -379,12 +44,12 @@ var brickProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
379
44
|
|
|
380
45
|
__webpack_require__.r(__webpack_exports__);
|
|
381
46
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
382
|
-
/* harmony export */
|
|
47
|
+
/* harmony export */ BrickProceduralTexture: () => (/* binding */ BrickProceduralTexture)
|
|
383
48
|
/* harmony export */ });
|
|
384
|
-
/* harmony import */ var
|
|
385
|
-
/* harmony import */ var
|
|
386
|
-
/* harmony import */ var
|
|
387
|
-
/* harmony import */ var
|
|
49
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
50
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
51
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
52
|
+
/* harmony import */ var _brickProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./brickProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/brick/brickProceduralTexture.fragment.js");
|
|
388
53
|
|
|
389
54
|
|
|
390
55
|
|
|
@@ -392,14 +57,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
392
57
|
|
|
393
58
|
|
|
394
59
|
var BrickProceduralTexture = /** @class */ (function (_super) {
|
|
395
|
-
(0,
|
|
60
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(BrickProceduralTexture, _super);
|
|
396
61
|
function BrickProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
397
62
|
if (scene === void 0) { scene = null; }
|
|
398
63
|
var _this = _super.call(this, name, size, "brickProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
399
64
|
_this._numberOfBricksHeight = 15;
|
|
400
65
|
_this._numberOfBricksWidth = 5;
|
|
401
|
-
_this._jointColor = new
|
|
402
|
-
_this._brickColor = new
|
|
66
|
+
_this._jointColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.72, 0.72, 0.72);
|
|
67
|
+
_this._brickColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.77, 0.47, 0.4);
|
|
403
68
|
_this.updateShaderUniforms();
|
|
404
69
|
return _this;
|
|
405
70
|
}
|
|
@@ -458,7 +123,7 @@ var BrickProceduralTexture = /** @class */ (function (_super) {
|
|
|
458
123
|
* @returns a serialized brick procedural texture object
|
|
459
124
|
*/
|
|
460
125
|
BrickProceduralTexture.prototype.serialize = function () {
|
|
461
|
-
var serializationObject =
|
|
126
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
462
127
|
serializationObject.customType = "BABYLON.BrickProceduralTexture";
|
|
463
128
|
return serializationObject;
|
|
464
129
|
};
|
|
@@ -470,25 +135,25 @@ var BrickProceduralTexture = /** @class */ (function (_super) {
|
|
|
470
135
|
* @returns a parsed Brick Procedural Texture
|
|
471
136
|
*/
|
|
472
137
|
BrickProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
473
|
-
var texture =
|
|
138
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new BrickProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
474
139
|
return texture;
|
|
475
140
|
};
|
|
476
|
-
(0,
|
|
477
|
-
(0,
|
|
141
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
142
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
478
143
|
], BrickProceduralTexture.prototype, "numberOfBricksHeight", null);
|
|
479
|
-
(0,
|
|
480
|
-
(0,
|
|
144
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
145
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
481
146
|
], BrickProceduralTexture.prototype, "numberOfBricksWidth", null);
|
|
482
|
-
(0,
|
|
483
|
-
(0,
|
|
147
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
148
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
484
149
|
], BrickProceduralTexture.prototype, "jointColor", null);
|
|
485
|
-
(0,
|
|
486
|
-
(0,
|
|
150
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
151
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
487
152
|
], BrickProceduralTexture.prototype, "brickColor", null);
|
|
488
153
|
return BrickProceduralTexture;
|
|
489
|
-
}(
|
|
154
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
490
155
|
|
|
491
|
-
(0,
|
|
156
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.BrickProceduralTexture", BrickProceduralTexture);
|
|
492
157
|
|
|
493
158
|
|
|
494
159
|
/***/ }),
|
|
@@ -501,7 +166,7 @@ var BrickProceduralTexture = /** @class */ (function (_super) {
|
|
|
501
166
|
|
|
502
167
|
__webpack_require__.r(__webpack_exports__);
|
|
503
168
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
504
|
-
/* harmony export */
|
|
169
|
+
/* harmony export */ BrickProceduralTexture: () => (/* reexport safe */ _brickProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.BrickProceduralTexture)
|
|
505
170
|
/* harmony export */ });
|
|
506
171
|
/* harmony import */ var _brickProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./brickProceduralTexture */ "../../../lts/proceduralTextures/dist/brick/brickProceduralTexture.js");
|
|
507
172
|
|
|
@@ -517,7 +182,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
517
182
|
|
|
518
183
|
__webpack_require__.r(__webpack_exports__);
|
|
519
184
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
520
|
-
/* harmony export */
|
|
185
|
+
/* harmony export */ cloudProceduralTexturePixelShader: () => (/* binding */ cloudProceduralTexturePixelShader)
|
|
521
186
|
/* harmony export */ });
|
|
522
187
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
523
188
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -541,12 +206,12 @@ var cloudProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
541
206
|
|
|
542
207
|
__webpack_require__.r(__webpack_exports__);
|
|
543
208
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
544
|
-
/* harmony export */
|
|
209
|
+
/* harmony export */ CloudProceduralTexture: () => (/* binding */ CloudProceduralTexture)
|
|
545
210
|
/* harmony export */ });
|
|
546
|
-
/* harmony import */ var
|
|
547
|
-
/* harmony import */ var
|
|
548
|
-
/* harmony import */ var
|
|
549
|
-
/* harmony import */ var
|
|
211
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
212
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
213
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
214
|
+
/* harmony import */ var _cloudProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cloudProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/cloud/cloudProceduralTexture.fragment.js");
|
|
550
215
|
|
|
551
216
|
|
|
552
217
|
|
|
@@ -554,12 +219,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
554
219
|
|
|
555
220
|
|
|
556
221
|
var CloudProceduralTexture = /** @class */ (function (_super) {
|
|
557
|
-
(0,
|
|
222
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(CloudProceduralTexture, _super);
|
|
558
223
|
function CloudProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
559
224
|
if (scene === void 0) { scene = null; }
|
|
560
225
|
var _this = _super.call(this, name, size, "cloudProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
561
|
-
_this._skyColor = new
|
|
562
|
-
_this._cloudColor = new
|
|
226
|
+
_this._skyColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color4(0.15, 0.68, 1.0, 1.0);
|
|
227
|
+
_this._cloudColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color4(1, 1, 1, 1.0);
|
|
563
228
|
_this._amplitude = 1;
|
|
564
229
|
_this._numOctaves = 4;
|
|
565
230
|
_this.updateShaderUniforms();
|
|
@@ -620,7 +285,7 @@ var CloudProceduralTexture = /** @class */ (function (_super) {
|
|
|
620
285
|
* @returns a serialized cloud procedural texture object
|
|
621
286
|
*/
|
|
622
287
|
CloudProceduralTexture.prototype.serialize = function () {
|
|
623
|
-
var serializationObject =
|
|
288
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
624
289
|
serializationObject.customType = "BABYLON.CloudProceduralTexture";
|
|
625
290
|
return serializationObject;
|
|
626
291
|
};
|
|
@@ -632,25 +297,25 @@ var CloudProceduralTexture = /** @class */ (function (_super) {
|
|
|
632
297
|
* @returns a parsed Cloud Procedural Texture
|
|
633
298
|
*/
|
|
634
299
|
CloudProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
635
|
-
var texture =
|
|
300
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new CloudProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
636
301
|
return texture;
|
|
637
302
|
};
|
|
638
|
-
(0,
|
|
639
|
-
(0,
|
|
303
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
304
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor4)()
|
|
640
305
|
], CloudProceduralTexture.prototype, "skyColor", null);
|
|
641
|
-
(0,
|
|
642
|
-
(0,
|
|
306
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
307
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor4)()
|
|
643
308
|
], CloudProceduralTexture.prototype, "cloudColor", null);
|
|
644
|
-
(0,
|
|
645
|
-
(0,
|
|
309
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
310
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
646
311
|
], CloudProceduralTexture.prototype, "amplitude", null);
|
|
647
|
-
(0,
|
|
648
|
-
(0,
|
|
312
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
313
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
649
314
|
], CloudProceduralTexture.prototype, "numOctaves", null);
|
|
650
315
|
return CloudProceduralTexture;
|
|
651
|
-
}(
|
|
316
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
652
317
|
|
|
653
|
-
(0,
|
|
318
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.CloudProceduralTexture", CloudProceduralTexture);
|
|
654
319
|
|
|
655
320
|
|
|
656
321
|
/***/ }),
|
|
@@ -663,7 +328,7 @@ var CloudProceduralTexture = /** @class */ (function (_super) {
|
|
|
663
328
|
|
|
664
329
|
__webpack_require__.r(__webpack_exports__);
|
|
665
330
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
666
|
-
/* harmony export */
|
|
331
|
+
/* harmony export */ CloudProceduralTexture: () => (/* reexport safe */ _cloudProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.CloudProceduralTexture)
|
|
667
332
|
/* harmony export */ });
|
|
668
333
|
/* harmony import */ var _cloudProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cloudProceduralTexture */ "../../../lts/proceduralTextures/dist/cloud/cloudProceduralTexture.js");
|
|
669
334
|
|
|
@@ -679,7 +344,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
679
344
|
|
|
680
345
|
__webpack_require__.r(__webpack_exports__);
|
|
681
346
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
682
|
-
/* harmony export */
|
|
347
|
+
/* harmony export */ fireProceduralTexturePixelShader: () => (/* binding */ fireProceduralTexturePixelShader)
|
|
683
348
|
/* harmony export */ });
|
|
684
349
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
685
350
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -703,12 +368,12 @@ var fireProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
703
368
|
|
|
704
369
|
__webpack_require__.r(__webpack_exports__);
|
|
705
370
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
706
|
-
/* harmony export */
|
|
371
|
+
/* harmony export */ FireProceduralTexture: () => (/* binding */ FireProceduralTexture)
|
|
707
372
|
/* harmony export */ });
|
|
708
|
-
/* harmony import */ var
|
|
709
|
-
/* harmony import */ var
|
|
710
|
-
/* harmony import */ var
|
|
711
|
-
/* harmony import */ var
|
|
373
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
374
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
375
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
376
|
+
/* harmony import */ var _fireProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fireProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/fire/fireProceduralTexture.fragment.js");
|
|
712
377
|
|
|
713
378
|
|
|
714
379
|
|
|
@@ -717,12 +382,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
717
382
|
|
|
718
383
|
|
|
719
384
|
var FireProceduralTexture = /** @class */ (function (_super) {
|
|
720
|
-
(0,
|
|
385
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(FireProceduralTexture, _super);
|
|
721
386
|
function FireProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
722
387
|
if (scene === void 0) { scene = null; }
|
|
723
388
|
var _this = _super.call(this, name, size, "fireProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
724
389
|
_this._time = 0.0;
|
|
725
|
-
_this._speed = new
|
|
390
|
+
_this._speed = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Vector2(0.5, 0.3);
|
|
726
391
|
_this._autoGenerateTime = true;
|
|
727
392
|
_this._alphaThreshold = 0.5;
|
|
728
393
|
_this._fireColors = FireProceduralTexture.RedFireColors;
|
|
@@ -750,28 +415,28 @@ var FireProceduralTexture = /** @class */ (function (_super) {
|
|
|
750
415
|
};
|
|
751
416
|
Object.defineProperty(FireProceduralTexture, "PurpleFireColors", {
|
|
752
417
|
get: function () {
|
|
753
|
-
return [new
|
|
418
|
+
return [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 0.0, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.9, 0.0, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.2, 0.0, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(1.0, 0.9, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.1, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.9, 0.9, 1.0)];
|
|
754
419
|
},
|
|
755
420
|
enumerable: false,
|
|
756
421
|
configurable: true
|
|
757
422
|
});
|
|
758
423
|
Object.defineProperty(FireProceduralTexture, "GreenFireColors", {
|
|
759
424
|
get: function () {
|
|
760
|
-
return [new
|
|
425
|
+
return [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 1.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 1.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.3, 0.4, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 1.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.2, 0.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 1.0, 0.0)];
|
|
761
426
|
},
|
|
762
427
|
enumerable: false,
|
|
763
428
|
configurable: true
|
|
764
429
|
});
|
|
765
430
|
Object.defineProperty(FireProceduralTexture, "RedFireColors", {
|
|
766
431
|
get: function () {
|
|
767
|
-
return [new
|
|
432
|
+
return [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.5, 0.0, 0.1), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.9, 0.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.2, 0.0, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(1.0, 0.9, 0.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.1, 0.1), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.9, 0.9, 0.9)];
|
|
768
433
|
},
|
|
769
434
|
enumerable: false,
|
|
770
435
|
configurable: true
|
|
771
436
|
});
|
|
772
437
|
Object.defineProperty(FireProceduralTexture, "BlueFireColors", {
|
|
773
438
|
get: function () {
|
|
774
|
-
return [new
|
|
439
|
+
return [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.0, 0.5), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.0, 0.0, 0.5), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.0, 0.2), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.0, 0.0, 1.0), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.1, 0.2, 0.3), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.0, 0.2, 0.9)];
|
|
775
440
|
},
|
|
776
441
|
enumerable: false,
|
|
777
442
|
configurable: true
|
|
@@ -835,7 +500,7 @@ var FireProceduralTexture = /** @class */ (function (_super) {
|
|
|
835
500
|
* @returns a serialized fire procedural texture object
|
|
836
501
|
*/
|
|
837
502
|
FireProceduralTexture.prototype.serialize = function () {
|
|
838
|
-
var serializationObject =
|
|
503
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
839
504
|
serializationObject.customType = "BABYLON.FireProceduralTexture";
|
|
840
505
|
serializationObject.fireColors = [];
|
|
841
506
|
for (var i = 0; i < this._fireColors.length; i++) {
|
|
@@ -851,30 +516,30 @@ var FireProceduralTexture = /** @class */ (function (_super) {
|
|
|
851
516
|
* @returns a parsed Fire Procedural Texture
|
|
852
517
|
*/
|
|
853
518
|
FireProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
854
|
-
var texture =
|
|
519
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new FireProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
855
520
|
var colors = [];
|
|
856
521
|
for (var i = 0; i < parsedTexture.fireColors.length; i++) {
|
|
857
|
-
colors.push(
|
|
522
|
+
colors.push(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3.FromArray(parsedTexture.fireColors[i]));
|
|
858
523
|
}
|
|
859
524
|
texture.fireColors = colors;
|
|
860
525
|
return texture;
|
|
861
526
|
};
|
|
862
|
-
(0,
|
|
863
|
-
(0,
|
|
527
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
528
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
864
529
|
], FireProceduralTexture.prototype, "autoGenerateTime", null);
|
|
865
|
-
(0,
|
|
866
|
-
(0,
|
|
530
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
531
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
867
532
|
], FireProceduralTexture.prototype, "time", null);
|
|
868
|
-
(0,
|
|
869
|
-
(0,
|
|
533
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
534
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsVector2)()
|
|
870
535
|
], FireProceduralTexture.prototype, "speed", null);
|
|
871
|
-
(0,
|
|
872
|
-
(0,
|
|
536
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
537
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
873
538
|
], FireProceduralTexture.prototype, "alphaThreshold", null);
|
|
874
539
|
return FireProceduralTexture;
|
|
875
|
-
}(
|
|
540
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
876
541
|
|
|
877
|
-
(0,
|
|
542
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.FireProceduralTexture", FireProceduralTexture);
|
|
878
543
|
|
|
879
544
|
|
|
880
545
|
/***/ }),
|
|
@@ -887,7 +552,7 @@ var FireProceduralTexture = /** @class */ (function (_super) {
|
|
|
887
552
|
|
|
888
553
|
__webpack_require__.r(__webpack_exports__);
|
|
889
554
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
890
|
-
/* harmony export */
|
|
555
|
+
/* harmony export */ FireProceduralTexture: () => (/* reexport safe */ _fireProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.FireProceduralTexture)
|
|
891
556
|
/* harmony export */ });
|
|
892
557
|
/* harmony import */ var _fireProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fireProceduralTexture */ "../../../lts/proceduralTextures/dist/fire/fireProceduralTexture.js");
|
|
893
558
|
|
|
@@ -903,7 +568,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
903
568
|
|
|
904
569
|
__webpack_require__.r(__webpack_exports__);
|
|
905
570
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
906
|
-
/* harmony export */
|
|
571
|
+
/* harmony export */ grassProceduralTexturePixelShader: () => (/* binding */ grassProceduralTexturePixelShader)
|
|
907
572
|
/* harmony export */ });
|
|
908
573
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
909
574
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -927,12 +592,12 @@ var grassProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
927
592
|
|
|
928
593
|
__webpack_require__.r(__webpack_exports__);
|
|
929
594
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
930
|
-
/* harmony export */
|
|
595
|
+
/* harmony export */ GrassProceduralTexture: () => (/* binding */ GrassProceduralTexture)
|
|
931
596
|
/* harmony export */ });
|
|
932
|
-
/* harmony import */ var
|
|
933
|
-
/* harmony import */ var
|
|
934
|
-
/* harmony import */ var
|
|
935
|
-
/* harmony import */ var
|
|
597
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
598
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
599
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
600
|
+
/* harmony import */ var _grassProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./grassProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/grass/grassProceduralTexture.fragment.js");
|
|
936
601
|
|
|
937
602
|
|
|
938
603
|
|
|
@@ -940,12 +605,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
940
605
|
|
|
941
606
|
|
|
942
607
|
var GrassProceduralTexture = /** @class */ (function (_super) {
|
|
943
|
-
(0,
|
|
608
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(GrassProceduralTexture, _super);
|
|
944
609
|
function GrassProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
945
610
|
if (scene === void 0) { scene = null; }
|
|
946
611
|
var _this = _super.call(this, name, size, "grassProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
947
|
-
_this._groundColor = new
|
|
948
|
-
_this._grassColors = [new
|
|
612
|
+
_this._groundColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(1, 1, 1);
|
|
613
|
+
_this._grassColors = [new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.29, 0.38, 0.02), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.36, 0.49, 0.09), new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.51, 0.6, 0.28)];
|
|
949
614
|
_this.updateShaderUniforms();
|
|
950
615
|
return _this;
|
|
951
616
|
}
|
|
@@ -982,7 +647,7 @@ var GrassProceduralTexture = /** @class */ (function (_super) {
|
|
|
982
647
|
* @returns a serialized grass procedural texture object
|
|
983
648
|
*/
|
|
984
649
|
GrassProceduralTexture.prototype.serialize = function () {
|
|
985
|
-
var serializationObject =
|
|
650
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
986
651
|
serializationObject.customType = "BABYLON.GrassProceduralTexture";
|
|
987
652
|
serializationObject.grassColors = [];
|
|
988
653
|
for (var i = 0; i < this._grassColors.length; i++) {
|
|
@@ -998,21 +663,21 @@ var GrassProceduralTexture = /** @class */ (function (_super) {
|
|
|
998
663
|
* @returns a parsed Grass Procedural Texture
|
|
999
664
|
*/
|
|
1000
665
|
GrassProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1001
|
-
var texture =
|
|
666
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new GrassProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1002
667
|
var colors = [];
|
|
1003
668
|
for (var i = 0; i < parsedTexture.grassColors.length; i++) {
|
|
1004
|
-
colors.push(
|
|
669
|
+
colors.push(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3.FromArray(parsedTexture.grassColors[i]));
|
|
1005
670
|
}
|
|
1006
671
|
texture.grassColors = colors;
|
|
1007
672
|
return texture;
|
|
1008
673
|
};
|
|
1009
|
-
(0,
|
|
1010
|
-
(0,
|
|
674
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
675
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
1011
676
|
], GrassProceduralTexture.prototype, "groundColor", null);
|
|
1012
677
|
return GrassProceduralTexture;
|
|
1013
|
-
}(
|
|
678
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1014
679
|
|
|
1015
|
-
(0,
|
|
680
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.GrassProceduralTexture", GrassProceduralTexture);
|
|
1016
681
|
|
|
1017
682
|
|
|
1018
683
|
/***/ }),
|
|
@@ -1025,7 +690,7 @@ var GrassProceduralTexture = /** @class */ (function (_super) {
|
|
|
1025
690
|
|
|
1026
691
|
__webpack_require__.r(__webpack_exports__);
|
|
1027
692
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1028
|
-
/* harmony export */
|
|
693
|
+
/* harmony export */ GrassProceduralTexture: () => (/* reexport safe */ _grassProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.GrassProceduralTexture)
|
|
1029
694
|
/* harmony export */ });
|
|
1030
695
|
/* harmony import */ var _grassProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./grassProceduralTexture */ "../../../lts/proceduralTextures/dist/grass/grassProceduralTexture.js");
|
|
1031
696
|
|
|
@@ -1041,16 +706,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1041
706
|
|
|
1042
707
|
__webpack_require__.r(__webpack_exports__);
|
|
1043
708
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1044
|
-
/* harmony export */
|
|
1045
|
-
/* harmony export */
|
|
1046
|
-
/* harmony export */
|
|
1047
|
-
/* harmony export */
|
|
1048
|
-
/* harmony export */
|
|
1049
|
-
/* harmony export */
|
|
1050
|
-
/* harmony export */
|
|
1051
|
-
/* harmony export */
|
|
1052
|
-
/* harmony export */
|
|
1053
|
-
/* harmony export */
|
|
709
|
+
/* harmony export */ BrickProceduralTexture: () => (/* reexport safe */ _brick_index__WEBPACK_IMPORTED_MODULE_0__.BrickProceduralTexture),
|
|
710
|
+
/* harmony export */ CloudProceduralTexture: () => (/* reexport safe */ _cloud_index__WEBPACK_IMPORTED_MODULE_1__.CloudProceduralTexture),
|
|
711
|
+
/* harmony export */ FireProceduralTexture: () => (/* reexport safe */ _fire_index__WEBPACK_IMPORTED_MODULE_2__.FireProceduralTexture),
|
|
712
|
+
/* harmony export */ GrassProceduralTexture: () => (/* reexport safe */ _grass_index__WEBPACK_IMPORTED_MODULE_3__.GrassProceduralTexture),
|
|
713
|
+
/* harmony export */ MarbleProceduralTexture: () => (/* reexport safe */ _marble_index__WEBPACK_IMPORTED_MODULE_4__.MarbleProceduralTexture),
|
|
714
|
+
/* harmony export */ NormalMapProceduralTexture: () => (/* reexport safe */ _normalMap_index__WEBPACK_IMPORTED_MODULE_5__.NormalMapProceduralTexture),
|
|
715
|
+
/* harmony export */ PerlinNoiseProceduralTexture: () => (/* reexport safe */ _perlinNoise_index__WEBPACK_IMPORTED_MODULE_6__.PerlinNoiseProceduralTexture),
|
|
716
|
+
/* harmony export */ RoadProceduralTexture: () => (/* reexport safe */ _road_index__WEBPACK_IMPORTED_MODULE_7__.RoadProceduralTexture),
|
|
717
|
+
/* harmony export */ StarfieldProceduralTexture: () => (/* reexport safe */ _starfield_index__WEBPACK_IMPORTED_MODULE_8__.StarfieldProceduralTexture),
|
|
718
|
+
/* harmony export */ WoodProceduralTexture: () => (/* reexport safe */ _wood_index__WEBPACK_IMPORTED_MODULE_9__.WoodProceduralTexture)
|
|
1054
719
|
/* harmony export */ });
|
|
1055
720
|
/* harmony import */ var _brick_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./brick/index */ "../../../lts/proceduralTextures/dist/brick/index.js");
|
|
1056
721
|
/* harmony import */ var _cloud_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cloud/index */ "../../../lts/proceduralTextures/dist/cloud/index.js");
|
|
@@ -1085,16 +750,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1085
750
|
|
|
1086
751
|
__webpack_require__.r(__webpack_exports__);
|
|
1087
752
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1088
|
-
/* harmony export */
|
|
1089
|
-
/* harmony export */
|
|
1090
|
-
/* harmony export */
|
|
1091
|
-
/* harmony export */
|
|
1092
|
-
/* harmony export */
|
|
1093
|
-
/* harmony export */
|
|
1094
|
-
/* harmony export */
|
|
1095
|
-
/* harmony export */
|
|
1096
|
-
/* harmony export */
|
|
1097
|
-
/* harmony export */
|
|
753
|
+
/* harmony export */ BrickProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.BrickProceduralTexture),
|
|
754
|
+
/* harmony export */ CloudProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.CloudProceduralTexture),
|
|
755
|
+
/* harmony export */ FireProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.FireProceduralTexture),
|
|
756
|
+
/* harmony export */ GrassProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.GrassProceduralTexture),
|
|
757
|
+
/* harmony export */ MarbleProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.MarbleProceduralTexture),
|
|
758
|
+
/* harmony export */ NormalMapProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.NormalMapProceduralTexture),
|
|
759
|
+
/* harmony export */ PerlinNoiseProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.PerlinNoiseProceduralTexture),
|
|
760
|
+
/* harmony export */ RoadProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.RoadProceduralTexture),
|
|
761
|
+
/* harmony export */ StarfieldProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.StarfieldProceduralTexture),
|
|
762
|
+
/* harmony export */ WoodProceduralTexture: () => (/* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_0__.WoodProceduralTexture)
|
|
1098
763
|
/* harmony export */ });
|
|
1099
764
|
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../index */ "../../../lts/proceduralTextures/dist/index.js");
|
|
1100
765
|
/* eslint-disable import/no-internal-modules */
|
|
@@ -1125,7 +790,7 @@ if (typeof globalObject !== "undefined") {
|
|
|
1125
790
|
|
|
1126
791
|
__webpack_require__.r(__webpack_exports__);
|
|
1127
792
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1128
|
-
/* harmony export */
|
|
793
|
+
/* harmony export */ MarbleProceduralTexture: () => (/* reexport safe */ _marbleProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.MarbleProceduralTexture)
|
|
1129
794
|
/* harmony export */ });
|
|
1130
795
|
/* harmony import */ var _marbleProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./marbleProceduralTexture */ "../../../lts/proceduralTextures/dist/marble/marbleProceduralTexture.js");
|
|
1131
796
|
|
|
@@ -1141,7 +806,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1141
806
|
|
|
1142
807
|
__webpack_require__.r(__webpack_exports__);
|
|
1143
808
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1144
|
-
/* harmony export */
|
|
809
|
+
/* harmony export */ marbleProceduralTexturePixelShader: () => (/* binding */ marbleProceduralTexturePixelShader)
|
|
1145
810
|
/* harmony export */ });
|
|
1146
811
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1147
812
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1165,12 +830,12 @@ var marbleProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1165
830
|
|
|
1166
831
|
__webpack_require__.r(__webpack_exports__);
|
|
1167
832
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1168
|
-
/* harmony export */
|
|
833
|
+
/* harmony export */ MarbleProceduralTexture: () => (/* binding */ MarbleProceduralTexture)
|
|
1169
834
|
/* harmony export */ });
|
|
1170
|
-
/* harmony import */ var
|
|
1171
|
-
/* harmony import */ var
|
|
1172
|
-
/* harmony import */ var
|
|
1173
|
-
/* harmony import */ var
|
|
835
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
836
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
837
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
838
|
+
/* harmony import */ var _marbleProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./marbleProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/marble/marbleProceduralTexture.fragment.js");
|
|
1174
839
|
|
|
1175
840
|
|
|
1176
841
|
|
|
@@ -1178,14 +843,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1178
843
|
|
|
1179
844
|
|
|
1180
845
|
var MarbleProceduralTexture = /** @class */ (function (_super) {
|
|
1181
|
-
(0,
|
|
846
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(MarbleProceduralTexture, _super);
|
|
1182
847
|
function MarbleProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1183
848
|
if (scene === void 0) { scene = null; }
|
|
1184
849
|
var _this = _super.call(this, name, size, "marbleProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
1185
850
|
_this._numberOfTilesHeight = 3;
|
|
1186
851
|
_this._numberOfTilesWidth = 3;
|
|
1187
852
|
_this._amplitude = 9.0;
|
|
1188
|
-
_this._jointColor = new
|
|
853
|
+
_this._jointColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.72, 0.72, 0.72);
|
|
1189
854
|
_this.updateShaderUniforms();
|
|
1190
855
|
return _this;
|
|
1191
856
|
}
|
|
@@ -1244,7 +909,7 @@ var MarbleProceduralTexture = /** @class */ (function (_super) {
|
|
|
1244
909
|
* @returns a serialized marble procedural texture object
|
|
1245
910
|
*/
|
|
1246
911
|
MarbleProceduralTexture.prototype.serialize = function () {
|
|
1247
|
-
var serializationObject =
|
|
912
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1248
913
|
serializationObject.customType = "BABYLON.MarbleProceduralTexture";
|
|
1249
914
|
return serializationObject;
|
|
1250
915
|
};
|
|
@@ -1256,25 +921,25 @@ var MarbleProceduralTexture = /** @class */ (function (_super) {
|
|
|
1256
921
|
* @returns a parsed Marble Procedural Texture
|
|
1257
922
|
*/
|
|
1258
923
|
MarbleProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1259
|
-
var texture =
|
|
924
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new MarbleProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1260
925
|
return texture;
|
|
1261
926
|
};
|
|
1262
|
-
(0,
|
|
1263
|
-
(0,
|
|
927
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
928
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1264
929
|
], MarbleProceduralTexture.prototype, "numberOfTilesHeight", null);
|
|
1265
|
-
(0,
|
|
1266
|
-
(0,
|
|
930
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
931
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1267
932
|
], MarbleProceduralTexture.prototype, "amplitude", null);
|
|
1268
|
-
(0,
|
|
1269
|
-
(0,
|
|
933
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
934
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1270
935
|
], MarbleProceduralTexture.prototype, "numberOfTilesWidth", null);
|
|
1271
|
-
(0,
|
|
1272
|
-
(0,
|
|
936
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
937
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1273
938
|
], MarbleProceduralTexture.prototype, "jointColor", null);
|
|
1274
939
|
return MarbleProceduralTexture;
|
|
1275
|
-
}(
|
|
940
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1276
941
|
|
|
1277
|
-
(0,
|
|
942
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.MarbleProceduralTexture", MarbleProceduralTexture);
|
|
1278
943
|
|
|
1279
944
|
|
|
1280
945
|
/***/ }),
|
|
@@ -1287,7 +952,7 @@ var MarbleProceduralTexture = /** @class */ (function (_super) {
|
|
|
1287
952
|
|
|
1288
953
|
__webpack_require__.r(__webpack_exports__);
|
|
1289
954
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1290
|
-
/* harmony export */
|
|
955
|
+
/* harmony export */ NormalMapProceduralTexture: () => (/* reexport safe */ _normalMapProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.NormalMapProceduralTexture)
|
|
1291
956
|
/* harmony export */ });
|
|
1292
957
|
/* harmony import */ var _normalMapProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./normalMapProceduralTexture */ "../../../lts/proceduralTextures/dist/normalMap/normalMapProceduralTexture.js");
|
|
1293
958
|
|
|
@@ -1303,7 +968,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1303
968
|
|
|
1304
969
|
__webpack_require__.r(__webpack_exports__);
|
|
1305
970
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1306
|
-
/* harmony export */
|
|
971
|
+
/* harmony export */ normalMapProceduralTexturePixelShader: () => (/* binding */ normalMapProceduralTexturePixelShader)
|
|
1307
972
|
/* harmony export */ });
|
|
1308
973
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1309
974
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1327,19 +992,19 @@ var normalMapProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1327
992
|
|
|
1328
993
|
__webpack_require__.r(__webpack_exports__);
|
|
1329
994
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1330
|
-
/* harmony export */
|
|
995
|
+
/* harmony export */ NormalMapProceduralTexture: () => (/* binding */ NormalMapProceduralTexture)
|
|
1331
996
|
/* harmony export */ });
|
|
1332
|
-
/* harmony import */ var
|
|
1333
|
-
/* harmony import */ var
|
|
1334
|
-
/* harmony import */ var
|
|
1335
|
-
/* harmony import */ var
|
|
997
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
998
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
999
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1000
|
+
/* harmony import */ var _normalMapProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./normalMapProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/normalMap/normalMapProceduralTexture.fragment.js");
|
|
1336
1001
|
|
|
1337
1002
|
|
|
1338
1003
|
|
|
1339
1004
|
|
|
1340
1005
|
|
|
1341
1006
|
var NormalMapProceduralTexture = /** @class */ (function (_super) {
|
|
1342
|
-
(0,
|
|
1007
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(NormalMapProceduralTexture, _super);
|
|
1343
1008
|
function NormalMapProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1344
1009
|
if (scene === void 0) { scene = null; }
|
|
1345
1010
|
var _this = _super.call(this, name, size, "normalMapProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
@@ -1380,7 +1045,7 @@ var NormalMapProceduralTexture = /** @class */ (function (_super) {
|
|
|
1380
1045
|
* @returns a serialized normal map procedural texture object
|
|
1381
1046
|
*/
|
|
1382
1047
|
NormalMapProceduralTexture.prototype.serialize = function () {
|
|
1383
|
-
var serializationObject =
|
|
1048
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1384
1049
|
serializationObject.customType = "BABYLON.NormalMapProceduralTexture";
|
|
1385
1050
|
return serializationObject;
|
|
1386
1051
|
};
|
|
@@ -1392,16 +1057,16 @@ var NormalMapProceduralTexture = /** @class */ (function (_super) {
|
|
|
1392
1057
|
* @returns a parsed Normal Map Procedural Texture
|
|
1393
1058
|
*/
|
|
1394
1059
|
NormalMapProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1395
|
-
var texture =
|
|
1060
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new NormalMapProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1396
1061
|
return texture;
|
|
1397
1062
|
};
|
|
1398
|
-
(0,
|
|
1399
|
-
(0,
|
|
1063
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1064
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsTexture)()
|
|
1400
1065
|
], NormalMapProceduralTexture.prototype, "baseTexture", null);
|
|
1401
1066
|
return NormalMapProceduralTexture;
|
|
1402
|
-
}(
|
|
1067
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1403
1068
|
|
|
1404
|
-
(0,
|
|
1069
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.NormalMapProceduralTexture", NormalMapProceduralTexture);
|
|
1405
1070
|
|
|
1406
1071
|
|
|
1407
1072
|
/***/ }),
|
|
@@ -1414,7 +1079,7 @@ var NormalMapProceduralTexture = /** @class */ (function (_super) {
|
|
|
1414
1079
|
|
|
1415
1080
|
__webpack_require__.r(__webpack_exports__);
|
|
1416
1081
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1417
|
-
/* harmony export */
|
|
1082
|
+
/* harmony export */ PerlinNoiseProceduralTexture: () => (/* reexport safe */ _perlinNoiseProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.PerlinNoiseProceduralTexture)
|
|
1418
1083
|
/* harmony export */ });
|
|
1419
1084
|
/* harmony import */ var _perlinNoiseProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./perlinNoiseProceduralTexture */ "../../../lts/proceduralTextures/dist/perlinNoise/perlinNoiseProceduralTexture.js");
|
|
1420
1085
|
|
|
@@ -1430,7 +1095,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1430
1095
|
|
|
1431
1096
|
__webpack_require__.r(__webpack_exports__);
|
|
1432
1097
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1433
|
-
/* harmony export */
|
|
1098
|
+
/* harmony export */ perlinNoiseProceduralTexturePixelShader: () => (/* binding */ perlinNoiseProceduralTexturePixelShader)
|
|
1434
1099
|
/* harmony export */ });
|
|
1435
1100
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1436
1101
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1454,19 +1119,19 @@ var perlinNoiseProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1454
1119
|
|
|
1455
1120
|
__webpack_require__.r(__webpack_exports__);
|
|
1456
1121
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1457
|
-
/* harmony export */
|
|
1122
|
+
/* harmony export */ PerlinNoiseProceduralTexture: () => (/* binding */ PerlinNoiseProceduralTexture)
|
|
1458
1123
|
/* harmony export */ });
|
|
1459
|
-
/* harmony import */ var
|
|
1460
|
-
/* harmony import */ var
|
|
1461
|
-
/* harmony import */ var
|
|
1462
|
-
/* harmony import */ var
|
|
1124
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
1125
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
1126
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1127
|
+
/* harmony import */ var _perlinNoiseProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./perlinNoiseProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/perlinNoise/perlinNoiseProceduralTexture.fragment.js");
|
|
1463
1128
|
|
|
1464
1129
|
|
|
1465
1130
|
|
|
1466
1131
|
|
|
1467
1132
|
|
|
1468
1133
|
var PerlinNoiseProceduralTexture = /** @class */ (function (_super) {
|
|
1469
|
-
(0,
|
|
1134
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(PerlinNoiseProceduralTexture, _super);
|
|
1470
1135
|
function PerlinNoiseProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1471
1136
|
if (scene === void 0) { scene = null; }
|
|
1472
1137
|
var _this = _super.call(this, name, size, "perlinNoiseProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
@@ -1501,7 +1166,7 @@ var PerlinNoiseProceduralTexture = /** @class */ (function (_super) {
|
|
|
1501
1166
|
* @returns a serialized perlin noise procedural texture object
|
|
1502
1167
|
*/
|
|
1503
1168
|
PerlinNoiseProceduralTexture.prototype.serialize = function () {
|
|
1504
|
-
var serializationObject =
|
|
1169
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1505
1170
|
serializationObject.customType = "BABYLON.PerlinNoiseProceduralTexture";
|
|
1506
1171
|
return serializationObject;
|
|
1507
1172
|
};
|
|
@@ -1513,22 +1178,22 @@ var PerlinNoiseProceduralTexture = /** @class */ (function (_super) {
|
|
|
1513
1178
|
* @returns a parsed Perlin Noise Procedural Texture
|
|
1514
1179
|
*/
|
|
1515
1180
|
PerlinNoiseProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1516
|
-
var texture =
|
|
1181
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new PerlinNoiseProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1517
1182
|
return texture;
|
|
1518
1183
|
};
|
|
1519
|
-
(0,
|
|
1520
|
-
(0,
|
|
1184
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1185
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1521
1186
|
], PerlinNoiseProceduralTexture.prototype, "time", void 0);
|
|
1522
|
-
(0,
|
|
1523
|
-
(0,
|
|
1187
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1188
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1524
1189
|
], PerlinNoiseProceduralTexture.prototype, "timeScale", void 0);
|
|
1525
|
-
(0,
|
|
1526
|
-
(0,
|
|
1190
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1191
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1527
1192
|
], PerlinNoiseProceduralTexture.prototype, "translationSpeed", void 0);
|
|
1528
1193
|
return PerlinNoiseProceduralTexture;
|
|
1529
|
-
}(
|
|
1194
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1530
1195
|
|
|
1531
|
-
(0,
|
|
1196
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.PerlinNoiseProceduralTexture", PerlinNoiseProceduralTexture);
|
|
1532
1197
|
|
|
1533
1198
|
|
|
1534
1199
|
/***/ }),
|
|
@@ -1541,7 +1206,7 @@ var PerlinNoiseProceduralTexture = /** @class */ (function (_super) {
|
|
|
1541
1206
|
|
|
1542
1207
|
__webpack_require__.r(__webpack_exports__);
|
|
1543
1208
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1544
|
-
/* harmony export */
|
|
1209
|
+
/* harmony export */ RoadProceduralTexture: () => (/* reexport safe */ _roadProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.RoadProceduralTexture)
|
|
1545
1210
|
/* harmony export */ });
|
|
1546
1211
|
/* harmony import */ var _roadProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./roadProceduralTexture */ "../../../lts/proceduralTextures/dist/road/roadProceduralTexture.js");
|
|
1547
1212
|
|
|
@@ -1557,7 +1222,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1557
1222
|
|
|
1558
1223
|
__webpack_require__.r(__webpack_exports__);
|
|
1559
1224
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1560
|
-
/* harmony export */
|
|
1225
|
+
/* harmony export */ roadProceduralTexturePixelShader: () => (/* binding */ roadProceduralTexturePixelShader)
|
|
1561
1226
|
/* harmony export */ });
|
|
1562
1227
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1563
1228
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1581,12 +1246,12 @@ var roadProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1581
1246
|
|
|
1582
1247
|
__webpack_require__.r(__webpack_exports__);
|
|
1583
1248
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1584
|
-
/* harmony export */
|
|
1249
|
+
/* harmony export */ RoadProceduralTexture: () => (/* binding */ RoadProceduralTexture)
|
|
1585
1250
|
/* harmony export */ });
|
|
1586
|
-
/* harmony import */ var
|
|
1587
|
-
/* harmony import */ var
|
|
1588
|
-
/* harmony import */ var
|
|
1589
|
-
/* harmony import */ var
|
|
1251
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
1252
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
1253
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1254
|
+
/* harmony import */ var _roadProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./roadProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/road/roadProceduralTexture.fragment.js");
|
|
1590
1255
|
|
|
1591
1256
|
|
|
1592
1257
|
|
|
@@ -1594,11 +1259,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1594
1259
|
|
|
1595
1260
|
|
|
1596
1261
|
var RoadProceduralTexture = /** @class */ (function (_super) {
|
|
1597
|
-
(0,
|
|
1262
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(RoadProceduralTexture, _super);
|
|
1598
1263
|
function RoadProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1599
1264
|
if (scene === void 0) { scene = null; }
|
|
1600
1265
|
var _this = _super.call(this, name, size, "roadProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
1601
|
-
_this._roadColor = new
|
|
1266
|
+
_this._roadColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.53, 0.53, 0.53);
|
|
1602
1267
|
_this.updateShaderUniforms();
|
|
1603
1268
|
return _this;
|
|
1604
1269
|
}
|
|
@@ -1621,7 +1286,7 @@ var RoadProceduralTexture = /** @class */ (function (_super) {
|
|
|
1621
1286
|
* @returns a serialized road procedural texture object
|
|
1622
1287
|
*/
|
|
1623
1288
|
RoadProceduralTexture.prototype.serialize = function () {
|
|
1624
|
-
var serializationObject =
|
|
1289
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1625
1290
|
serializationObject.customType = "BABYLON.RoadProceduralTexture";
|
|
1626
1291
|
return serializationObject;
|
|
1627
1292
|
};
|
|
@@ -1633,16 +1298,16 @@ var RoadProceduralTexture = /** @class */ (function (_super) {
|
|
|
1633
1298
|
* @returns a parsed Road Procedural Texture
|
|
1634
1299
|
*/
|
|
1635
1300
|
RoadProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1636
|
-
var texture =
|
|
1301
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new RoadProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1637
1302
|
return texture;
|
|
1638
1303
|
};
|
|
1639
|
-
(0,
|
|
1640
|
-
(0,
|
|
1304
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1305
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
1641
1306
|
], RoadProceduralTexture.prototype, "roadColor", null);
|
|
1642
1307
|
return RoadProceduralTexture;
|
|
1643
|
-
}(
|
|
1308
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1644
1309
|
|
|
1645
|
-
(0,
|
|
1310
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.RoadProceduralTexture", RoadProceduralTexture);
|
|
1646
1311
|
|
|
1647
1312
|
|
|
1648
1313
|
/***/ }),
|
|
@@ -1655,7 +1320,7 @@ var RoadProceduralTexture = /** @class */ (function (_super) {
|
|
|
1655
1320
|
|
|
1656
1321
|
__webpack_require__.r(__webpack_exports__);
|
|
1657
1322
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1658
|
-
/* harmony export */
|
|
1323
|
+
/* harmony export */ StarfieldProceduralTexture: () => (/* reexport safe */ _starfieldProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.StarfieldProceduralTexture)
|
|
1659
1324
|
/* harmony export */ });
|
|
1660
1325
|
/* harmony import */ var _starfieldProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./starfieldProceduralTexture */ "../../../lts/proceduralTextures/dist/starfield/starfieldProceduralTexture.js");
|
|
1661
1326
|
|
|
@@ -1671,7 +1336,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1671
1336
|
|
|
1672
1337
|
__webpack_require__.r(__webpack_exports__);
|
|
1673
1338
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1674
|
-
/* harmony export */
|
|
1339
|
+
/* harmony export */ starfieldProceduralTexturePixelShader: () => (/* binding */ starfieldProceduralTexturePixelShader)
|
|
1675
1340
|
/* harmony export */ });
|
|
1676
1341
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1677
1342
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1695,19 +1360,19 @@ var starfieldProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1695
1360
|
|
|
1696
1361
|
__webpack_require__.r(__webpack_exports__);
|
|
1697
1362
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1698
|
-
/* harmony export */
|
|
1363
|
+
/* harmony export */ StarfieldProceduralTexture: () => (/* binding */ StarfieldProceduralTexture)
|
|
1699
1364
|
/* harmony export */ });
|
|
1700
|
-
/* harmony import */ var
|
|
1701
|
-
/* harmony import */ var
|
|
1702
|
-
/* harmony import */ var
|
|
1703
|
-
/* harmony import */ var
|
|
1365
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
1366
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
1367
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1368
|
+
/* harmony import */ var _starfieldProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./starfieldProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/starfield/starfieldProceduralTexture.fragment.js");
|
|
1704
1369
|
|
|
1705
1370
|
|
|
1706
1371
|
|
|
1707
1372
|
|
|
1708
1373
|
|
|
1709
1374
|
var StarfieldProceduralTexture = /** @class */ (function (_super) {
|
|
1710
|
-
(0,
|
|
1375
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(StarfieldProceduralTexture, _super);
|
|
1711
1376
|
function StarfieldProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1712
1377
|
if (scene === void 0) { scene = null; }
|
|
1713
1378
|
var _this = _super.call(this, name, size, "starfieldProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
@@ -1864,7 +1529,7 @@ var StarfieldProceduralTexture = /** @class */ (function (_super) {
|
|
|
1864
1529
|
* @returns a serialized starfield procedural texture object
|
|
1865
1530
|
*/
|
|
1866
1531
|
StarfieldProceduralTexture.prototype.serialize = function () {
|
|
1867
|
-
var serializationObject =
|
|
1532
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
1868
1533
|
serializationObject.customType = "BABYLON.StarfieldProceduralTexture";
|
|
1869
1534
|
return serializationObject;
|
|
1870
1535
|
};
|
|
@@ -1876,46 +1541,46 @@ var StarfieldProceduralTexture = /** @class */ (function (_super) {
|
|
|
1876
1541
|
* @returns a parsed Starfield Procedural Texture
|
|
1877
1542
|
*/
|
|
1878
1543
|
StarfieldProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
1879
|
-
var texture =
|
|
1544
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new StarfieldProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
1880
1545
|
return texture;
|
|
1881
1546
|
};
|
|
1882
|
-
(0,
|
|
1883
|
-
(0,
|
|
1547
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1548
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1884
1549
|
], StarfieldProceduralTexture.prototype, "time", null);
|
|
1885
|
-
(0,
|
|
1886
|
-
(0,
|
|
1550
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1551
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1887
1552
|
], StarfieldProceduralTexture.prototype, "alpha", null);
|
|
1888
|
-
(0,
|
|
1889
|
-
(0,
|
|
1553
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1554
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1890
1555
|
], StarfieldProceduralTexture.prototype, "beta", null);
|
|
1891
|
-
(0,
|
|
1892
|
-
(0,
|
|
1556
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1557
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1893
1558
|
], StarfieldProceduralTexture.prototype, "formuparam", null);
|
|
1894
|
-
(0,
|
|
1895
|
-
(0,
|
|
1559
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1560
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1896
1561
|
], StarfieldProceduralTexture.prototype, "stepsize", null);
|
|
1897
|
-
(0,
|
|
1898
|
-
(0,
|
|
1562
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1563
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1899
1564
|
], StarfieldProceduralTexture.prototype, "zoom", null);
|
|
1900
|
-
(0,
|
|
1901
|
-
(0,
|
|
1565
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1566
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1902
1567
|
], StarfieldProceduralTexture.prototype, "tile", null);
|
|
1903
|
-
(0,
|
|
1904
|
-
(0,
|
|
1568
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1569
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1905
1570
|
], StarfieldProceduralTexture.prototype, "brightness", null);
|
|
1906
|
-
(0,
|
|
1907
|
-
(0,
|
|
1571
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1572
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1908
1573
|
], StarfieldProceduralTexture.prototype, "darkmatter", null);
|
|
1909
|
-
(0,
|
|
1910
|
-
(0,
|
|
1574
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1575
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1911
1576
|
], StarfieldProceduralTexture.prototype, "distfading", null);
|
|
1912
|
-
(0,
|
|
1913
|
-
(0,
|
|
1577
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1578
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
1914
1579
|
], StarfieldProceduralTexture.prototype, "saturation", null);
|
|
1915
1580
|
return StarfieldProceduralTexture;
|
|
1916
|
-
}(
|
|
1581
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
1917
1582
|
|
|
1918
|
-
(0,
|
|
1583
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.StarfieldProceduralTexture", StarfieldProceduralTexture);
|
|
1919
1584
|
|
|
1920
1585
|
|
|
1921
1586
|
/***/ }),
|
|
@@ -1928,7 +1593,7 @@ var StarfieldProceduralTexture = /** @class */ (function (_super) {
|
|
|
1928
1593
|
|
|
1929
1594
|
__webpack_require__.r(__webpack_exports__);
|
|
1930
1595
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1931
|
-
/* harmony export */
|
|
1596
|
+
/* harmony export */ WoodProceduralTexture: () => (/* reexport safe */ _woodProceduralTexture__WEBPACK_IMPORTED_MODULE_0__.WoodProceduralTexture)
|
|
1932
1597
|
/* harmony export */ });
|
|
1933
1598
|
/* harmony import */ var _woodProceduralTexture__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./woodProceduralTexture */ "../../../lts/proceduralTextures/dist/wood/woodProceduralTexture.js");
|
|
1934
1599
|
|
|
@@ -1944,7 +1609,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1944
1609
|
|
|
1945
1610
|
__webpack_require__.r(__webpack_exports__);
|
|
1946
1611
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1947
|
-
/* harmony export */
|
|
1612
|
+
/* harmony export */ woodProceduralTexturePixelShader: () => (/* binding */ woodProceduralTexturePixelShader)
|
|
1948
1613
|
/* harmony export */ });
|
|
1949
1614
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Engines/shaderStore */ "core/Misc/decorators");
|
|
1950
1615
|
/* harmony import */ var core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Engines_shaderStore__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -1968,12 +1633,12 @@ var woodProceduralTexturePixelShader = { name: name, shader: shader };
|
|
|
1968
1633
|
|
|
1969
1634
|
__webpack_require__.r(__webpack_exports__);
|
|
1970
1635
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1971
|
-
/* harmony export */
|
|
1636
|
+
/* harmony export */ WoodProceduralTexture: () => (/* binding */ WoodProceduralTexture)
|
|
1972
1637
|
/* harmony export */ });
|
|
1973
|
-
/* harmony import */ var
|
|
1974
|
-
/* harmony import */ var
|
|
1975
|
-
/* harmony import */ var
|
|
1976
|
-
/* harmony import */ var
|
|
1638
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../../node_modules/tslib/tslib.es6.mjs");
|
|
1639
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Misc/typeStore */ "core/Misc/decorators");
|
|
1640
|
+
/* harmony import */ var core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__);
|
|
1641
|
+
/* harmony import */ var _woodProceduralTexture_fragment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./woodProceduralTexture.fragment */ "../../../lts/proceduralTextures/dist/wood/woodProceduralTexture.fragment.js");
|
|
1977
1642
|
|
|
1978
1643
|
|
|
1979
1644
|
|
|
@@ -1981,12 +1646,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1981
1646
|
|
|
1982
1647
|
|
|
1983
1648
|
var WoodProceduralTexture = /** @class */ (function (_super) {
|
|
1984
|
-
(0,
|
|
1649
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__extends)(WoodProceduralTexture, _super);
|
|
1985
1650
|
function WoodProceduralTexture(name, size, scene, fallbackTexture, generateMipMaps) {
|
|
1986
1651
|
if (scene === void 0) { scene = null; }
|
|
1987
1652
|
var _this = _super.call(this, name, size, "woodProceduralTexture", scene, fallbackTexture, generateMipMaps) || this;
|
|
1988
1653
|
_this._ampScale = 100.0;
|
|
1989
|
-
_this._woodColor = new
|
|
1654
|
+
_this._woodColor = new core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.Color3(0.32, 0.17, 0.09);
|
|
1990
1655
|
_this.updateShaderUniforms();
|
|
1991
1656
|
return _this;
|
|
1992
1657
|
}
|
|
@@ -2021,7 +1686,7 @@ var WoodProceduralTexture = /** @class */ (function (_super) {
|
|
|
2021
1686
|
* @returns a serialized wood procedural texture object
|
|
2022
1687
|
*/
|
|
2023
1688
|
WoodProceduralTexture.prototype.serialize = function () {
|
|
2024
|
-
var serializationObject =
|
|
1689
|
+
var serializationObject = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Serialize(this, _super.prototype.serialize.call(this));
|
|
2025
1690
|
serializationObject.customType = "BABYLON.WoodProceduralTexture";
|
|
2026
1691
|
return serializationObject;
|
|
2027
1692
|
};
|
|
@@ -2033,19 +1698,19 @@ var WoodProceduralTexture = /** @class */ (function (_super) {
|
|
|
2033
1698
|
* @returns a parsed Wood Procedural Texture
|
|
2034
1699
|
*/
|
|
2035
1700
|
WoodProceduralTexture.Parse = function (parsedTexture, scene, rootUrl) {
|
|
2036
|
-
var texture =
|
|
1701
|
+
var texture = core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.SerializationHelper.Parse(function () { return new WoodProceduralTexture(parsedTexture.name, parsedTexture._size, scene, undefined, parsedTexture._generateMipMaps); }, parsedTexture, scene, rootUrl);
|
|
2037
1702
|
return texture;
|
|
2038
1703
|
};
|
|
2039
|
-
(0,
|
|
2040
|
-
(0,
|
|
1704
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1705
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serialize)()
|
|
2041
1706
|
], WoodProceduralTexture.prototype, "ampScale", null);
|
|
2042
|
-
(0,
|
|
2043
|
-
(0,
|
|
1707
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([
|
|
1708
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.serializeAsColor3)()
|
|
2044
1709
|
], WoodProceduralTexture.prototype, "woodColor", null);
|
|
2045
1710
|
return WoodProceduralTexture;
|
|
2046
|
-
}(
|
|
1711
|
+
}(core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.ProceduralTexture));
|
|
2047
1712
|
|
|
2048
|
-
(0,
|
|
1713
|
+
(0,core_Misc_decorators__WEBPACK_IMPORTED_MODULE_0__.RegisterClass)("BABYLON.WoodProceduralTexture", WoodProceduralTexture);
|
|
2049
1714
|
|
|
2050
1715
|
|
|
2051
1716
|
/***/ }),
|
|
@@ -2058,6 +1723,370 @@ var WoodProceduralTexture = /** @class */ (function (_super) {
|
|
|
2058
1723
|
|
|
2059
1724
|
module.exports = __WEBPACK_EXTERNAL_MODULE_core_Misc_decorators__;
|
|
2060
1725
|
|
|
1726
|
+
/***/ }),
|
|
1727
|
+
|
|
1728
|
+
/***/ "../../../../node_modules/tslib/tslib.es6.mjs":
|
|
1729
|
+
/*!****************************************************!*\
|
|
1730
|
+
!*** ../../../../node_modules/tslib/tslib.es6.mjs ***!
|
|
1731
|
+
\****************************************************/
|
|
1732
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
1733
|
+
|
|
1734
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1735
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1736
|
+
/* harmony export */ __assign: () => (/* binding */ __assign),
|
|
1737
|
+
/* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator),
|
|
1738
|
+
/* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator),
|
|
1739
|
+
/* harmony export */ __asyncValues: () => (/* binding */ __asyncValues),
|
|
1740
|
+
/* harmony export */ __await: () => (/* binding */ __await),
|
|
1741
|
+
/* harmony export */ __awaiter: () => (/* binding */ __awaiter),
|
|
1742
|
+
/* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet),
|
|
1743
|
+
/* harmony export */ __classPrivateFieldIn: () => (/* binding */ __classPrivateFieldIn),
|
|
1744
|
+
/* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet),
|
|
1745
|
+
/* harmony export */ __createBinding: () => (/* binding */ __createBinding),
|
|
1746
|
+
/* harmony export */ __decorate: () => (/* binding */ __decorate),
|
|
1747
|
+
/* harmony export */ __esDecorate: () => (/* binding */ __esDecorate),
|
|
1748
|
+
/* harmony export */ __exportStar: () => (/* binding */ __exportStar),
|
|
1749
|
+
/* harmony export */ __extends: () => (/* binding */ __extends),
|
|
1750
|
+
/* harmony export */ __generator: () => (/* binding */ __generator),
|
|
1751
|
+
/* harmony export */ __importDefault: () => (/* binding */ __importDefault),
|
|
1752
|
+
/* harmony export */ __importStar: () => (/* binding */ __importStar),
|
|
1753
|
+
/* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject),
|
|
1754
|
+
/* harmony export */ __metadata: () => (/* binding */ __metadata),
|
|
1755
|
+
/* harmony export */ __param: () => (/* binding */ __param),
|
|
1756
|
+
/* harmony export */ __propKey: () => (/* binding */ __propKey),
|
|
1757
|
+
/* harmony export */ __read: () => (/* binding */ __read),
|
|
1758
|
+
/* harmony export */ __rest: () => (/* binding */ __rest),
|
|
1759
|
+
/* harmony export */ __runInitializers: () => (/* binding */ __runInitializers),
|
|
1760
|
+
/* harmony export */ __setFunctionName: () => (/* binding */ __setFunctionName),
|
|
1761
|
+
/* harmony export */ __spread: () => (/* binding */ __spread),
|
|
1762
|
+
/* harmony export */ __spreadArray: () => (/* binding */ __spreadArray),
|
|
1763
|
+
/* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays),
|
|
1764
|
+
/* harmony export */ __values: () => (/* binding */ __values),
|
|
1765
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1766
|
+
/* harmony export */ });
|
|
1767
|
+
/******************************************************************************
|
|
1768
|
+
Copyright (c) Microsoft Corporation.
|
|
1769
|
+
|
|
1770
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
1771
|
+
purpose with or without fee is hereby granted.
|
|
1772
|
+
|
|
1773
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1774
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1775
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1776
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1777
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1778
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1779
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
1780
|
+
***************************************************************************** */
|
|
1781
|
+
/* global Reflect, Promise */
|
|
1782
|
+
|
|
1783
|
+
var extendStatics = function(d, b) {
|
|
1784
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1785
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1786
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
1787
|
+
return extendStatics(d, b);
|
|
1788
|
+
};
|
|
1789
|
+
|
|
1790
|
+
function __extends(d, b) {
|
|
1791
|
+
if (typeof b !== "function" && b !== null)
|
|
1792
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1793
|
+
extendStatics(d, b);
|
|
1794
|
+
function __() { this.constructor = d; }
|
|
1795
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
var __assign = function() {
|
|
1799
|
+
__assign = Object.assign || function __assign(t) {
|
|
1800
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1801
|
+
s = arguments[i];
|
|
1802
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
1803
|
+
}
|
|
1804
|
+
return t;
|
|
1805
|
+
}
|
|
1806
|
+
return __assign.apply(this, arguments);
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
function __rest(s, e) {
|
|
1810
|
+
var t = {};
|
|
1811
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1812
|
+
t[p] = s[p];
|
|
1813
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
1814
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1815
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
1816
|
+
t[p[i]] = s[p[i]];
|
|
1817
|
+
}
|
|
1818
|
+
return t;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
function __decorate(decorators, target, key, desc) {
|
|
1822
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1823
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1824
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1825
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
function __param(paramIndex, decorator) {
|
|
1829
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
1833
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
1834
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
1835
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
1836
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
1837
|
+
var _, done = false;
|
|
1838
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
1839
|
+
var context = {};
|
|
1840
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
1841
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
1842
|
+
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
1843
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
1844
|
+
if (kind === "accessor") {
|
|
1845
|
+
if (result === void 0) continue;
|
|
1846
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
1847
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
1848
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
1849
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
1850
|
+
}
|
|
1851
|
+
else if (_ = accept(result)) {
|
|
1852
|
+
if (kind === "field") initializers.unshift(_);
|
|
1853
|
+
else descriptor[key] = _;
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
1857
|
+
done = true;
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
1861
|
+
var useValue = arguments.length > 2;
|
|
1862
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
1863
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
1864
|
+
}
|
|
1865
|
+
return useValue ? value : void 0;
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1868
|
+
function __propKey(x) {
|
|
1869
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
1870
|
+
};
|
|
1871
|
+
|
|
1872
|
+
function __setFunctionName(f, name, prefix) {
|
|
1873
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
1874
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
1875
|
+
};
|
|
1876
|
+
|
|
1877
|
+
function __metadata(metadataKey, metadataValue) {
|
|
1878
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
1882
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
1883
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
1884
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
1885
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
1886
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
1887
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1888
|
+
});
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
function __generator(thisArg, body) {
|
|
1892
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
1893
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
1894
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
1895
|
+
function step(op) {
|
|
1896
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
1897
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
1898
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
1899
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
1900
|
+
switch (op[0]) {
|
|
1901
|
+
case 0: case 1: t = op; break;
|
|
1902
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
1903
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
1904
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
1905
|
+
default:
|
|
1906
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
1907
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
1908
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
1909
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
1910
|
+
if (t[2]) _.ops.pop();
|
|
1911
|
+
_.trys.pop(); continue;
|
|
1912
|
+
}
|
|
1913
|
+
op = body.call(thisArg, _);
|
|
1914
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
1915
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
1920
|
+
if (k2 === undefined) k2 = k;
|
|
1921
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1922
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1923
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1924
|
+
}
|
|
1925
|
+
Object.defineProperty(o, k2, desc);
|
|
1926
|
+
}) : (function(o, m, k, k2) {
|
|
1927
|
+
if (k2 === undefined) k2 = k;
|
|
1928
|
+
o[k2] = m[k];
|
|
1929
|
+
});
|
|
1930
|
+
|
|
1931
|
+
function __exportStar(m, o) {
|
|
1932
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
function __values(o) {
|
|
1936
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
1937
|
+
if (m) return m.call(o);
|
|
1938
|
+
if (o && typeof o.length === "number") return {
|
|
1939
|
+
next: function () {
|
|
1940
|
+
if (o && i >= o.length) o = void 0;
|
|
1941
|
+
return { value: o && o[i++], done: !o };
|
|
1942
|
+
}
|
|
1943
|
+
};
|
|
1944
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
function __read(o, n) {
|
|
1948
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1949
|
+
if (!m) return o;
|
|
1950
|
+
var i = m.call(o), r, ar = [], e;
|
|
1951
|
+
try {
|
|
1952
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
1953
|
+
}
|
|
1954
|
+
catch (error) { e = { error: error }; }
|
|
1955
|
+
finally {
|
|
1956
|
+
try {
|
|
1957
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
1958
|
+
}
|
|
1959
|
+
finally { if (e) throw e.error; }
|
|
1960
|
+
}
|
|
1961
|
+
return ar;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
/** @deprecated */
|
|
1965
|
+
function __spread() {
|
|
1966
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
1967
|
+
ar = ar.concat(__read(arguments[i]));
|
|
1968
|
+
return ar;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
/** @deprecated */
|
|
1972
|
+
function __spreadArrays() {
|
|
1973
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
1974
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
1975
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
1976
|
+
r[k] = a[j];
|
|
1977
|
+
return r;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
function __spreadArray(to, from, pack) {
|
|
1981
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1982
|
+
if (ar || !(i in from)) {
|
|
1983
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
1984
|
+
ar[i] = from[i];
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
function __await(v) {
|
|
1991
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
1995
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1996
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
1997
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
1998
|
+
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
1999
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
2000
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
2001
|
+
function fulfill(value) { resume("next", value); }
|
|
2002
|
+
function reject(value) { resume("throw", value); }
|
|
2003
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
function __asyncDelegator(o) {
|
|
2007
|
+
var i, p;
|
|
2008
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
2009
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
function __asyncValues(o) {
|
|
2013
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
2014
|
+
var m = o[Symbol.asyncIterator], i;
|
|
2015
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
2016
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
2017
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
function __makeTemplateObject(cooked, raw) {
|
|
2021
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
2022
|
+
return cooked;
|
|
2023
|
+
};
|
|
2024
|
+
|
|
2025
|
+
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
2026
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
2027
|
+
}) : function(o, v) {
|
|
2028
|
+
o["default"] = v;
|
|
2029
|
+
};
|
|
2030
|
+
|
|
2031
|
+
function __importStar(mod) {
|
|
2032
|
+
if (mod && mod.__esModule) return mod;
|
|
2033
|
+
var result = {};
|
|
2034
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
2035
|
+
__setModuleDefault(result, mod);
|
|
2036
|
+
return result;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
function __importDefault(mod) {
|
|
2040
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
2044
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
2045
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
2046
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
2050
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
2051
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
2052
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
2053
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
2057
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
2058
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
2062
|
+
__extends,
|
|
2063
|
+
__assign,
|
|
2064
|
+
__rest,
|
|
2065
|
+
__decorate,
|
|
2066
|
+
__param,
|
|
2067
|
+
__metadata,
|
|
2068
|
+
__awaiter,
|
|
2069
|
+
__generator,
|
|
2070
|
+
__createBinding,
|
|
2071
|
+
__exportStar,
|
|
2072
|
+
__values,
|
|
2073
|
+
__read,
|
|
2074
|
+
__spread,
|
|
2075
|
+
__spreadArrays,
|
|
2076
|
+
__spreadArray,
|
|
2077
|
+
__await,
|
|
2078
|
+
__asyncGenerator,
|
|
2079
|
+
__asyncDelegator,
|
|
2080
|
+
__asyncValues,
|
|
2081
|
+
__makeTemplateObject,
|
|
2082
|
+
__importStar,
|
|
2083
|
+
__importDefault,
|
|
2084
|
+
__classPrivateFieldGet,
|
|
2085
|
+
__classPrivateFieldSet,
|
|
2086
|
+
__classPrivateFieldIn,
|
|
2087
|
+
});
|
|
2088
|
+
|
|
2089
|
+
|
|
2061
2090
|
/***/ })
|
|
2062
2091
|
|
|
2063
2092
|
/******/ });
|
|
@@ -2149,7 +2178,7 @@ var __webpack_exports__ = {};
|
|
|
2149
2178
|
__webpack_require__.r(__webpack_exports__);
|
|
2150
2179
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2151
2180
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
2152
|
-
/* harmony export */
|
|
2181
|
+
/* harmony export */ proceduralTextures: () => (/* reexport module object */ procedural_textures_legacy_legacy__WEBPACK_IMPORTED_MODULE_0__)
|
|
2153
2182
|
/* harmony export */ });
|
|
2154
2183
|
/* harmony import */ var procedural_textures_legacy_legacy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! procedural-textures/legacy/legacy */ "../../../lts/proceduralTextures/dist/legacy/legacy.js");
|
|
2155
2184
|
|