@navaramap/engine-font-worker 0.0.5 → 0.0.6
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.
|
@@ -844,6 +844,18 @@ export class ModelMaterial {
|
|
|
844
844
|
set height(value: number | null | undefined);
|
|
845
845
|
get ior(): number | undefined;
|
|
846
846
|
set ior(value: number | null | undefined);
|
|
847
|
+
/**
|
|
848
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
849
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
850
|
+
* the shadow G-buffer keep being written.
|
|
851
|
+
*/
|
|
852
|
+
get lit(): boolean | undefined;
|
|
853
|
+
/**
|
|
854
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
855
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
856
|
+
* the shadow G-buffer keep being written.
|
|
857
|
+
*/
|
|
858
|
+
set lit(value: boolean | null | undefined);
|
|
847
859
|
get maxSse(): number | undefined;
|
|
848
860
|
set maxSse(value: number | null | undefined);
|
|
849
861
|
get metalness(): number | undefined;
|
|
@@ -1159,6 +1171,18 @@ export class PolygonMaterial {
|
|
|
1159
1171
|
set height(value: number | null | undefined);
|
|
1160
1172
|
get ior(): number | undefined;
|
|
1161
1173
|
set ior(value: number | null | undefined);
|
|
1174
|
+
/**
|
|
1175
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1176
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1177
|
+
* the shadow G-buffer keep being written.
|
|
1178
|
+
*/
|
|
1179
|
+
get lit(): boolean | undefined;
|
|
1180
|
+
/**
|
|
1181
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1182
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1183
|
+
* the shadow G-buffer keep being written.
|
|
1184
|
+
*/
|
|
1185
|
+
set lit(value: boolean | null | undefined);
|
|
1162
1186
|
/**
|
|
1163
1187
|
* Need to enable `transparent`.
|
|
1164
1188
|
*/
|
|
@@ -1425,6 +1449,18 @@ export class PolylineMaterial {
|
|
|
1425
1449
|
set emissiveIntensity(value: number | null | undefined);
|
|
1426
1450
|
get height(): number | undefined;
|
|
1427
1451
|
set height(value: number | null | undefined);
|
|
1452
|
+
/**
|
|
1453
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1454
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1455
|
+
* the shadow G-buffer keep being written.
|
|
1456
|
+
*/
|
|
1457
|
+
get lit(): boolean | undefined;
|
|
1458
|
+
/**
|
|
1459
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1460
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1461
|
+
* the shadow G-buffer keep being written.
|
|
1462
|
+
*/
|
|
1463
|
+
set lit(value: boolean | null | undefined);
|
|
1428
1464
|
/**
|
|
1429
1465
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
1430
1466
|
* Smaller values are cheaper to render as they reduce fragment shader overdraw.
|
|
@@ -1525,6 +1561,18 @@ export class RasterTileInternalMaterial {
|
|
|
1525
1561
|
isElevationHeatmaps: Uint8Array;
|
|
1526
1562
|
isHillshades: Uint8Array;
|
|
1527
1563
|
layerReproject: Uint8Array;
|
|
1564
|
+
/**
|
|
1565
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1566
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1567
|
+
* the shadow G-buffer keep being written.
|
|
1568
|
+
*/
|
|
1569
|
+
get lit(): boolean | undefined;
|
|
1570
|
+
/**
|
|
1571
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1572
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1573
|
+
* the shadow G-buffer keep being written.
|
|
1574
|
+
*/
|
|
1575
|
+
set lit(value: boolean | null | undefined);
|
|
1528
1576
|
logBoundary: number;
|
|
1529
1577
|
logarithmic: boolean;
|
|
1530
1578
|
opacities: Float32Array;
|
|
@@ -1607,6 +1655,18 @@ export class TerrainMaterial {
|
|
|
1607
1655
|
[Symbol.dispose](): void;
|
|
1608
1656
|
get castShadow(): boolean | undefined;
|
|
1609
1657
|
set castShadow(value: boolean | null | undefined);
|
|
1658
|
+
/**
|
|
1659
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1660
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1661
|
+
* the shadow G-buffer keep being written.
|
|
1662
|
+
*/
|
|
1663
|
+
get lit(): boolean | undefined;
|
|
1664
|
+
/**
|
|
1665
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
1666
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
1667
|
+
* the shadow G-buffer keep being written.
|
|
1668
|
+
*/
|
|
1669
|
+
set lit(value: boolean | null | undefined);
|
|
1610
1670
|
get receiveShadow(): boolean | undefined;
|
|
1611
1671
|
set receiveShadow(value: boolean | null | undefined);
|
|
1612
1672
|
get showBoundingBox(): boolean | undefined;
|
|
@@ -2245,6 +2305,7 @@ export interface InitOutput {
|
|
|
2245
2305
|
readonly __wbg_get_modelmaterial_emissiveIntensity: (a: number) => number;
|
|
2246
2306
|
readonly __wbg_get_modelmaterial_height: (a: number) => number;
|
|
2247
2307
|
readonly __wbg_get_modelmaterial_ior: (a: number) => number;
|
|
2308
|
+
readonly __wbg_get_modelmaterial_lit: (a: number) => number;
|
|
2248
2309
|
readonly __wbg_get_modelmaterial_maxSse: (a: number) => number;
|
|
2249
2310
|
readonly __wbg_get_modelmaterial_metalness: (a: number) => number;
|
|
2250
2311
|
readonly __wbg_get_modelmaterial_normals: (a: number) => number;
|
|
@@ -2281,6 +2342,7 @@ export interface InitOutput {
|
|
|
2281
2342
|
readonly __wbg_get_polygonmaterial_extrudedHeight: (a: number) => number;
|
|
2282
2343
|
readonly __wbg_get_polygonmaterial_height: (a: number) => number;
|
|
2283
2344
|
readonly __wbg_get_polygonmaterial_ior: (a: number) => number;
|
|
2345
|
+
readonly __wbg_get_polygonmaterial_lit: (a: number) => number;
|
|
2284
2346
|
readonly __wbg_get_polygonmaterial_opacity: (a: number) => number;
|
|
2285
2347
|
readonly __wbg_get_polygonmaterial_outline: (a: number) => number;
|
|
2286
2348
|
readonly __wbg_get_polygonmaterial_outlineColor: (a: number) => number;
|
|
@@ -2307,6 +2369,7 @@ export interface InitOutput {
|
|
|
2307
2369
|
readonly __wbg_get_polylinematerial_depthWrite: (a: number) => number;
|
|
2308
2370
|
readonly __wbg_get_polylinematerial_effectIds: (a: number) => [number, number];
|
|
2309
2371
|
readonly __wbg_get_polylinematerial_emissiveColor: (a: number) => number;
|
|
2372
|
+
readonly __wbg_get_polylinematerial_lit: (a: number) => number;
|
|
2310
2373
|
readonly __wbg_get_polylinematerial_opacity: (a: number) => number;
|
|
2311
2374
|
readonly __wbg_get_polylinematerial_receiveShadow: (a: number) => number;
|
|
2312
2375
|
readonly __wbg_get_polylinematerial_show: (a: number) => number;
|
|
@@ -2330,6 +2393,7 @@ export interface InitOutput {
|
|
|
2330
2393
|
readonly __wbg_get_rastertileinternalmaterial_isElevationHeatmaps: (a: number) => [number, number];
|
|
2331
2394
|
readonly __wbg_get_rastertileinternalmaterial_isHillshades: (a: number) => [number, number];
|
|
2332
2395
|
readonly __wbg_get_rastertileinternalmaterial_layerReproject: (a: number) => [number, number];
|
|
2396
|
+
readonly __wbg_get_rastertileinternalmaterial_lit: (a: number) => number;
|
|
2333
2397
|
readonly __wbg_get_rastertileinternalmaterial_logBoundary: (a: number) => number;
|
|
2334
2398
|
readonly __wbg_get_rastertileinternalmaterial_logarithmic: (a: number) => number;
|
|
2335
2399
|
readonly __wbg_get_rastertileinternalmaterial_opacities: (a: number) => [number, number];
|
|
@@ -2339,6 +2403,7 @@ export interface InitOutput {
|
|
|
2339
2403
|
readonly __wbg_get_rastertileinternalmaterial_terrainLatRange: (a: number) => [number, number];
|
|
2340
2404
|
readonly __wbg_get_returnedconstructedterrainmesh_rtc_translation: (a: number) => number;
|
|
2341
2405
|
readonly __wbg_get_terrainmaterial_castShadow: (a: number) => number;
|
|
2406
|
+
readonly __wbg_get_terrainmaterial_lit: (a: number) => number;
|
|
2342
2407
|
readonly __wbg_get_terrainmaterial_receiveShadow: (a: number) => number;
|
|
2343
2408
|
readonly __wbg_get_terrainmaterial_show: (a: number) => number;
|
|
2344
2409
|
readonly __wbg_get_terrainmaterial_showBoundingBox: (a: number) => number;
|
|
@@ -2469,6 +2534,7 @@ export interface InitOutput {
|
|
|
2469
2534
|
readonly __wbg_set_modelmaterial_emissiveIntensity: (a: number, b: number) => void;
|
|
2470
2535
|
readonly __wbg_set_modelmaterial_height: (a: number, b: number) => void;
|
|
2471
2536
|
readonly __wbg_set_modelmaterial_ior: (a: number, b: number) => void;
|
|
2537
|
+
readonly __wbg_set_modelmaterial_lit: (a: number, b: number) => void;
|
|
2472
2538
|
readonly __wbg_set_modelmaterial_maxSse: (a: number, b: number) => void;
|
|
2473
2539
|
readonly __wbg_set_modelmaterial_metalness: (a: number, b: number) => void;
|
|
2474
2540
|
readonly __wbg_set_modelmaterial_normals: (a: number, b: number) => void;
|
|
@@ -2505,6 +2571,7 @@ export interface InitOutput {
|
|
|
2505
2571
|
readonly __wbg_set_polygonmaterial_extrudedHeight: (a: number, b: number) => void;
|
|
2506
2572
|
readonly __wbg_set_polygonmaterial_height: (a: number, b: number) => void;
|
|
2507
2573
|
readonly __wbg_set_polygonmaterial_ior: (a: number, b: number) => void;
|
|
2574
|
+
readonly __wbg_set_polygonmaterial_lit: (a: number, b: number) => void;
|
|
2508
2575
|
readonly __wbg_set_polygonmaterial_opacity: (a: number, b: number) => void;
|
|
2509
2576
|
readonly __wbg_set_polygonmaterial_outline: (a: number, b: number) => void;
|
|
2510
2577
|
readonly __wbg_set_polygonmaterial_outlineColor: (a: number, b: number) => void;
|
|
@@ -2531,6 +2598,7 @@ export interface InitOutput {
|
|
|
2531
2598
|
readonly __wbg_set_polylinematerial_depthWrite: (a: number, b: number) => void;
|
|
2532
2599
|
readonly __wbg_set_polylinematerial_effectIds: (a: number, b: number, c: number) => void;
|
|
2533
2600
|
readonly __wbg_set_polylinematerial_emissiveColor: (a: number, b: number) => void;
|
|
2601
|
+
readonly __wbg_set_polylinematerial_lit: (a: number, b: number) => void;
|
|
2534
2602
|
readonly __wbg_set_polylinematerial_opacity: (a: number, b: number) => void;
|
|
2535
2603
|
readonly __wbg_set_polylinematerial_receiveShadow: (a: number, b: number) => void;
|
|
2536
2604
|
readonly __wbg_set_polylinematerial_show: (a: number, b: number) => void;
|
|
@@ -2554,6 +2622,7 @@ export interface InitOutput {
|
|
|
2554
2622
|
readonly __wbg_set_rastertileinternalmaterial_isElevationHeatmaps: (a: number, b: number, c: number) => void;
|
|
2555
2623
|
readonly __wbg_set_rastertileinternalmaterial_isHillshades: (a: number, b: number, c: number) => void;
|
|
2556
2624
|
readonly __wbg_set_rastertileinternalmaterial_layerReproject: (a: number, b: number, c: number) => void;
|
|
2625
|
+
readonly __wbg_set_rastertileinternalmaterial_lit: (a: number, b: number) => void;
|
|
2557
2626
|
readonly __wbg_set_rastertileinternalmaterial_logBoundary: (a: number, b: number) => void;
|
|
2558
2627
|
readonly __wbg_set_rastertileinternalmaterial_logarithmic: (a: number, b: number) => void;
|
|
2559
2628
|
readonly __wbg_set_rastertileinternalmaterial_opacities: (a: number, b: number, c: number) => void;
|
|
@@ -2562,6 +2631,7 @@ export interface InitOutput {
|
|
|
2562
2631
|
readonly __wbg_set_rastertileinternalmaterial_shows: (a: number, b: number, c: number) => void;
|
|
2563
2632
|
readonly __wbg_set_rastertileinternalmaterial_terrainLatRange: (a: number, b: number, c: number) => void;
|
|
2564
2633
|
readonly __wbg_set_terrainmaterial_castShadow: (a: number, b: number) => void;
|
|
2634
|
+
readonly __wbg_set_terrainmaterial_lit: (a: number, b: number) => void;
|
|
2565
2635
|
readonly __wbg_set_terrainmaterial_receiveShadow: (a: number, b: number) => void;
|
|
2566
2636
|
readonly __wbg_set_terrainmaterial_show: (a: number, b: number) => void;
|
|
2567
2637
|
readonly __wbg_set_terrainmaterial_showBoundingBox: (a: number, b: number) => void;
|
|
@@ -3061,6 +3061,16 @@ export class ModelMaterial {
|
|
|
3061
3061
|
const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
|
|
3062
3062
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
3063
3063
|
}
|
|
3064
|
+
/**
|
|
3065
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
3066
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
3067
|
+
* the shadow G-buffer keep being written.
|
|
3068
|
+
* @returns {boolean | undefined}
|
|
3069
|
+
*/
|
|
3070
|
+
get lit() {
|
|
3071
|
+
const ret = wasm.__wbg_get_modelmaterial_lit(this.__wbg_ptr);
|
|
3072
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
3073
|
+
}
|
|
3064
3074
|
/**
|
|
3065
3075
|
* @returns {number | undefined}
|
|
3066
3076
|
*/
|
|
@@ -3310,6 +3320,15 @@ export class ModelMaterial {
|
|
|
3310
3320
|
set ior(arg0) {
|
|
3311
3321
|
wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
3312
3322
|
}
|
|
3323
|
+
/**
|
|
3324
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
3325
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
3326
|
+
* the shadow G-buffer keep being written.
|
|
3327
|
+
* @param {boolean | null} [arg0]
|
|
3328
|
+
*/
|
|
3329
|
+
set lit(arg0) {
|
|
3330
|
+
wasm.__wbg_set_modelmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
3331
|
+
}
|
|
3313
3332
|
/**
|
|
3314
3333
|
* @param {number | null} [arg0]
|
|
3315
3334
|
*/
|
|
@@ -4179,6 +4198,16 @@ export class PolygonMaterial {
|
|
|
4179
4198
|
const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
|
|
4180
4199
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
4181
4200
|
}
|
|
4201
|
+
/**
|
|
4202
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
4203
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
4204
|
+
* the shadow G-buffer keep being written.
|
|
4205
|
+
* @returns {boolean | undefined}
|
|
4206
|
+
*/
|
|
4207
|
+
get lit() {
|
|
4208
|
+
const ret = wasm.__wbg_get_polygonmaterial_lit(this.__wbg_ptr);
|
|
4209
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
4210
|
+
}
|
|
4182
4211
|
/**
|
|
4183
4212
|
* Need to enable `transparent`.
|
|
4184
4213
|
* @returns {number | undefined}
|
|
@@ -4441,6 +4470,15 @@ export class PolygonMaterial {
|
|
|
4441
4470
|
set ior(arg0) {
|
|
4442
4471
|
wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
4443
4472
|
}
|
|
4473
|
+
/**
|
|
4474
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
4475
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
4476
|
+
* the shadow G-buffer keep being written.
|
|
4477
|
+
* @param {boolean | null} [arg0]
|
|
4478
|
+
*/
|
|
4479
|
+
set lit(arg0) {
|
|
4480
|
+
wasm.__wbg_set_polygonmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
4481
|
+
}
|
|
4444
4482
|
/**
|
|
4445
4483
|
* Need to enable `transparent`.
|
|
4446
4484
|
* @param {number | null} [arg0]
|
|
@@ -5132,6 +5170,16 @@ export class PolylineMaterial {
|
|
|
5132
5170
|
const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
|
|
5133
5171
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
5134
5172
|
}
|
|
5173
|
+
/**
|
|
5174
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
5175
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
5176
|
+
* the shadow G-buffer keep being written.
|
|
5177
|
+
* @returns {boolean | undefined}
|
|
5178
|
+
*/
|
|
5179
|
+
get lit() {
|
|
5180
|
+
const ret = wasm.__wbg_get_polylinematerial_lit(this.__wbg_ptr);
|
|
5181
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
5182
|
+
}
|
|
5135
5183
|
/**
|
|
5136
5184
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
5137
5185
|
* Smaller values are cheaper to render as they reduce fragment shader overdraw.
|
|
@@ -5278,6 +5326,15 @@ export class PolylineMaterial {
|
|
|
5278
5326
|
set height(arg0) {
|
|
5279
5327
|
wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
|
|
5280
5328
|
}
|
|
5329
|
+
/**
|
|
5330
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
5331
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
5332
|
+
* the shadow G-buffer keep being written.
|
|
5333
|
+
* @param {boolean | null} [arg0]
|
|
5334
|
+
*/
|
|
5335
|
+
set lit(arg0) {
|
|
5336
|
+
wasm.__wbg_set_polylinematerial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
5337
|
+
}
|
|
5281
5338
|
/**
|
|
5282
5339
|
* Maximum line width in pixels, clamping the rendered width regardless of zoom level.
|
|
5283
5340
|
* Smaller values are cheaper to render as they reduce fragment shader overdraw.
|
|
@@ -5590,6 +5647,16 @@ export class RasterTileInternalMaterial {
|
|
|
5590
5647
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
5591
5648
|
return v1;
|
|
5592
5649
|
}
|
|
5650
|
+
/**
|
|
5651
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
5652
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
5653
|
+
* the shadow G-buffer keep being written.
|
|
5654
|
+
* @returns {boolean | undefined}
|
|
5655
|
+
*/
|
|
5656
|
+
get lit() {
|
|
5657
|
+
const ret = wasm.__wbg_get_rastertileinternalmaterial_lit(this.__wbg_ptr);
|
|
5658
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
5659
|
+
}
|
|
5593
5660
|
/**
|
|
5594
5661
|
* @returns {number}
|
|
5595
5662
|
*/
|
|
@@ -5818,6 +5885,15 @@ export class RasterTileInternalMaterial {
|
|
|
5818
5885
|
const len0 = WASM_VECTOR_LEN;
|
|
5819
5886
|
wasm.__wbg_set_rastertileinternalmaterial_layerReproject(this.__wbg_ptr, ptr0, len0);
|
|
5820
5887
|
}
|
|
5888
|
+
/**
|
|
5889
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
5890
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
5891
|
+
* the shadow G-buffer keep being written.
|
|
5892
|
+
* @param {boolean | null} [arg0]
|
|
5893
|
+
*/
|
|
5894
|
+
set lit(arg0) {
|
|
5895
|
+
wasm.__wbg_set_rastertileinternalmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
5896
|
+
}
|
|
5821
5897
|
/**
|
|
5822
5898
|
* @param {number} arg0
|
|
5823
5899
|
*/
|
|
@@ -6298,6 +6374,16 @@ export class TerrainMaterial {
|
|
|
6298
6374
|
const ret = wasm.__wbg_get_terrainmaterial_castShadow(this.__wbg_ptr);
|
|
6299
6375
|
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6300
6376
|
}
|
|
6377
|
+
/**
|
|
6378
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
6379
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
6380
|
+
* the shadow G-buffer keep being written.
|
|
6381
|
+
* @returns {boolean | undefined}
|
|
6382
|
+
*/
|
|
6383
|
+
get lit() {
|
|
6384
|
+
const ret = wasm.__wbg_get_terrainmaterial_lit(this.__wbg_ptr);
|
|
6385
|
+
return ret === 0xFFFFFF ? undefined : ret !== 0;
|
|
6386
|
+
}
|
|
6301
6387
|
/**
|
|
6302
6388
|
* @returns {boolean | undefined}
|
|
6303
6389
|
*/
|
|
@@ -6343,6 +6429,15 @@ export class TerrainMaterial {
|
|
|
6343
6429
|
set castShadow(arg0) {
|
|
6344
6430
|
wasm.__wbg_set_terrainmaterial_castShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
6345
6431
|
}
|
|
6432
|
+
/**
|
|
6433
|
+
* Applies the lighting equation to the color output. When `false` the
|
|
6434
|
+
* material outputs plain albedo (for deferred lighting) while normals and
|
|
6435
|
+
* the shadow G-buffer keep being written.
|
|
6436
|
+
* @param {boolean | null} [arg0]
|
|
6437
|
+
*/
|
|
6438
|
+
set lit(arg0) {
|
|
6439
|
+
wasm.__wbg_set_terrainmaterial_lit(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
|
|
6440
|
+
}
|
|
6346
6441
|
/**
|
|
6347
6442
|
* @param {boolean | null} [arg0]
|
|
6348
6443
|
*/
|
|
Binary file
|