@dcl/playground-assets 7.8.7-14862279953.commit-72a7f7e → 7.8.7-14910296669.commit-0575dbe
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/dist/alpha.d.ts +109 -0
- package/dist/beta.d.ts +109 -0
- package/dist/index.bundled.d.ts +109 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +109 -0
- package/etc/playground-assets.api.json +1525 -371
- package/etc/playground-assets.api.md +80 -0
- package/package.json +4 -4
@@ -639,6 +639,7 @@ export const componentDefinitionByName: {
|
|
639
639
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
640
640
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
641
641
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
642
|
+
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
642
643
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
643
644
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
644
645
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -1572,6 +1573,24 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1572
1573
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1573
1574
|
}
|
1574
1575
|
|
1576
|
+
// Warning: (ae-missing-release-tag) "LightSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
1577
|
+
//
|
1578
|
+
// @public (undocumented)
|
1579
|
+
export const LightSource: LightSourceComponentDefinitionExtended;
|
1580
|
+
|
1581
|
+
// @public (undocumented)
|
1582
|
+
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
1583
|
+
Type: LightSourceHelper;
|
1584
|
+
}
|
1585
|
+
|
1586
|
+
// @public (undocumented)
|
1587
|
+
export interface LightSourceHelper {
|
1588
|
+
// (undocumented)
|
1589
|
+
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
1590
|
+
// (undocumented)
|
1591
|
+
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
1592
|
+
}
|
1593
|
+
|
1575
1594
|
// @public
|
1576
1595
|
export type Listeners = {
|
1577
1596
|
onMouseDown?: Callback;
|
@@ -2420,6 +2439,66 @@ export namespace PBInputModifier_StandardInput {
|
|
2420
2439
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2421
2440
|
}
|
2422
2441
|
|
2442
|
+
// @public (undocumented)
|
2443
|
+
export interface PBLightSource {
|
2444
|
+
active?: boolean | undefined;
|
2445
|
+
brightness?: number | undefined;
|
2446
|
+
color?: PBColor3 | undefined;
|
2447
|
+
range?: number | undefined;
|
2448
|
+
// (undocumented)
|
2449
|
+
type?: {
|
2450
|
+
$case: "point";
|
2451
|
+
point: PBLightSource_Point;
|
2452
|
+
} | {
|
2453
|
+
$case: "spot";
|
2454
|
+
spot: PBLightSource_Spot;
|
2455
|
+
} | undefined;
|
2456
|
+
}
|
2457
|
+
|
2458
|
+
// @public (undocumented)
|
2459
|
+
export namespace PBLightSource {
|
2460
|
+
// (undocumented)
|
2461
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
2462
|
+
// (undocumented)
|
2463
|
+
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
2464
|
+
}
|
2465
|
+
|
2466
|
+
// @public (undocumented)
|
2467
|
+
export interface PBLightSource_Point {
|
2468
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2469
|
+
}
|
2470
|
+
|
2471
|
+
// @public (undocumented)
|
2472
|
+
export namespace PBLightSource_Point {
|
2473
|
+
// (undocumented)
|
2474
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
2475
|
+
// (undocumented)
|
2476
|
+
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
2477
|
+
}
|
2478
|
+
|
2479
|
+
// @public (undocumented)
|
2480
|
+
export const enum PBLightSource_ShadowType {
|
2481
|
+
ST_HARD = 2,
|
2482
|
+
ST_NONE = 0,
|
2483
|
+
ST_SOFT = 1
|
2484
|
+
}
|
2485
|
+
|
2486
|
+
// @public (undocumented)
|
2487
|
+
export interface PBLightSource_Spot {
|
2488
|
+
innerAngle?: number | undefined;
|
2489
|
+
outerAngle?: number | undefined;
|
2490
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2491
|
+
shadowMaskTexture?: TextureUnion | undefined;
|
2492
|
+
}
|
2493
|
+
|
2494
|
+
// @public (undocumented)
|
2495
|
+
export namespace PBLightSource_Spot {
|
2496
|
+
// (undocumented)
|
2497
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
2498
|
+
// (undocumented)
|
2499
|
+
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
2500
|
+
}
|
2501
|
+
|
2423
2502
|
// @public (undocumented)
|
2424
2503
|
export interface PBMainCamera {
|
2425
2504
|
virtualCameraEntity?: number | undefined;
|
@@ -3291,6 +3370,7 @@ export namespace PBVideoPlayer {
|
|
3291
3370
|
export interface PBVirtualCamera {
|
3292
3371
|
// (undocumented)
|
3293
3372
|
defaultTransition?: CameraTransition | undefined;
|
3373
|
+
fov?: number | undefined;
|
3294
3374
|
// (undocumented)
|
3295
3375
|
lookAtEntity?: number | undefined;
|
3296
3376
|
}
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.8.7-
|
4
|
+
"version": "7.8.7-14910296669.commit-0575dbe",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.8.7-
|
8
|
-
"@dcl/sdk": "7.8.7-
|
7
|
+
"@dcl/js-runtime": "7.8.7-14910296669.commit-0575dbe",
|
8
|
+
"@dcl/sdk": "7.8.7-14910296669.commit-0575dbe"
|
9
9
|
},
|
10
10
|
"devDependencies": {
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
@@ -32,5 +32,5 @@
|
|
32
32
|
},
|
33
33
|
"types": "./dist/index.d.ts",
|
34
34
|
"typings": "./dist/index.d.ts",
|
35
|
-
"commit": "
|
35
|
+
"commit": "0575dbe72baac2ddc76e6784e3fc52a4d330d60f"
|
36
36
|
}
|