@dcl/playground-assets 7.8.10-15453890617.commit-9dc90d3 → 7.8.10-15468321387.commit-ea03486
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 +5 -5
- 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>>;
|
@@ -1573,6 +1574,24 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1573
1574
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1574
1575
|
}
|
1575
1576
|
|
1577
|
+
// 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)
|
1578
|
+
//
|
1579
|
+
// @public (undocumented)
|
1580
|
+
export const LightSource: LightSourceComponentDefinitionExtended;
|
1581
|
+
|
1582
|
+
// @public (undocumented)
|
1583
|
+
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
1584
|
+
Type: LightSourceHelper;
|
1585
|
+
}
|
1586
|
+
|
1587
|
+
// @public (undocumented)
|
1588
|
+
export interface LightSourceHelper {
|
1589
|
+
// (undocumented)
|
1590
|
+
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
1591
|
+
// (undocumented)
|
1592
|
+
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
1593
|
+
}
|
1594
|
+
|
1576
1595
|
// @public
|
1577
1596
|
export type Listeners = {
|
1578
1597
|
onMouseDown?: Callback;
|
@@ -2421,6 +2440,66 @@ export namespace PBInputModifier_StandardInput {
|
|
2421
2440
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2422
2441
|
}
|
2423
2442
|
|
2443
|
+
// @public (undocumented)
|
2444
|
+
export interface PBLightSource {
|
2445
|
+
active?: boolean | undefined;
|
2446
|
+
brightness?: number | undefined;
|
2447
|
+
color?: PBColor3 | undefined;
|
2448
|
+
range?: number | undefined;
|
2449
|
+
// (undocumented)
|
2450
|
+
type?: {
|
2451
|
+
$case: "point";
|
2452
|
+
point: PBLightSource_Point;
|
2453
|
+
} | {
|
2454
|
+
$case: "spot";
|
2455
|
+
spot: PBLightSource_Spot;
|
2456
|
+
} | undefined;
|
2457
|
+
}
|
2458
|
+
|
2459
|
+
// @public (undocumented)
|
2460
|
+
export namespace PBLightSource {
|
2461
|
+
// (undocumented)
|
2462
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
2463
|
+
// (undocumented)
|
2464
|
+
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
2465
|
+
}
|
2466
|
+
|
2467
|
+
// @public (undocumented)
|
2468
|
+
export interface PBLightSource_Point {
|
2469
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2470
|
+
}
|
2471
|
+
|
2472
|
+
// @public (undocumented)
|
2473
|
+
export namespace PBLightSource_Point {
|
2474
|
+
// (undocumented)
|
2475
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
2476
|
+
// (undocumented)
|
2477
|
+
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
2478
|
+
}
|
2479
|
+
|
2480
|
+
// @public (undocumented)
|
2481
|
+
export const enum PBLightSource_ShadowType {
|
2482
|
+
ST_HARD = 2,
|
2483
|
+
ST_NONE = 0,
|
2484
|
+
ST_SOFT = 1
|
2485
|
+
}
|
2486
|
+
|
2487
|
+
// @public (undocumented)
|
2488
|
+
export interface PBLightSource_Spot {
|
2489
|
+
innerAngle?: number | undefined;
|
2490
|
+
outerAngle?: number | undefined;
|
2491
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2492
|
+
shadowMaskTexture?: TextureUnion | undefined;
|
2493
|
+
}
|
2494
|
+
|
2495
|
+
// @public (undocumented)
|
2496
|
+
export namespace PBLightSource_Spot {
|
2497
|
+
// (undocumented)
|
2498
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
2499
|
+
// (undocumented)
|
2500
|
+
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
2501
|
+
}
|
2502
|
+
|
2424
2503
|
// @public (undocumented)
|
2425
2504
|
export interface PBMainCamera {
|
2426
2505
|
virtualCameraEntity?: number | undefined;
|
@@ -3301,6 +3380,7 @@ export namespace PBVideoPlayer {
|
|
3301
3380
|
export interface PBVirtualCamera {
|
3302
3381
|
// (undocumented)
|
3303
3382
|
defaultTransition?: CameraTransition | undefined;
|
3383
|
+
fov?: number | undefined;
|
3304
3384
|
// (undocumented)
|
3305
3385
|
lookAtEntity?: number | undefined;
|
3306
3386
|
}
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.8.10-
|
4
|
+
"version": "7.8.10-15468321387.commit-ea03486",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.8.10-
|
8
|
-
"@dcl/sdk": "7.8.10-
|
7
|
+
"@dcl/js-runtime": "7.8.10-15468321387.commit-ea03486",
|
8
|
+
"@dcl/sdk": "7.8.10-15468321387.commit-ea03486"
|
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": "ea03486cffda411467debb1acb22715999daf0a3"
|
36
36
|
}
|