@dcl/playground-assets 7.8.22-16440664916.commit-1438afe → 7.8.22-16446000492.commit-c18a4fd
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 +1643 -489
- package/etc/playground-assets.api.md +80 -0
- package/package.json +4 -4
@@ -640,6 +640,7 @@ export const componentDefinitionByName: {
|
|
640
640
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
641
641
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
642
642
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
643
|
+
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
643
644
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
644
645
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
645
646
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -1578,6 +1579,24 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1578
1579
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1579
1580
|
}
|
1580
1581
|
|
1582
|
+
// 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)
|
1583
|
+
//
|
1584
|
+
// @public (undocumented)
|
1585
|
+
export const LightSource: LightSourceComponentDefinitionExtended;
|
1586
|
+
|
1587
|
+
// @public (undocumented)
|
1588
|
+
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
1589
|
+
Type: LightSourceHelper;
|
1590
|
+
}
|
1591
|
+
|
1592
|
+
// @public (undocumented)
|
1593
|
+
export interface LightSourceHelper {
|
1594
|
+
// (undocumented)
|
1595
|
+
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
1596
|
+
// (undocumented)
|
1597
|
+
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
1598
|
+
}
|
1599
|
+
|
1581
1600
|
// @public
|
1582
1601
|
export type Listeners = {
|
1583
1602
|
onMouseDown?: Callback;
|
@@ -2455,6 +2474,66 @@ export namespace PBInputModifier_StandardInput {
|
|
2455
2474
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2456
2475
|
}
|
2457
2476
|
|
2477
|
+
// @public (undocumented)
|
2478
|
+
export interface PBLightSource {
|
2479
|
+
active?: boolean | undefined;
|
2480
|
+
brightness?: number | undefined;
|
2481
|
+
color?: PBColor3 | undefined;
|
2482
|
+
range?: number | undefined;
|
2483
|
+
// (undocumented)
|
2484
|
+
type?: {
|
2485
|
+
$case: "point";
|
2486
|
+
point: PBLightSource_Point;
|
2487
|
+
} | {
|
2488
|
+
$case: "spot";
|
2489
|
+
spot: PBLightSource_Spot;
|
2490
|
+
} | undefined;
|
2491
|
+
}
|
2492
|
+
|
2493
|
+
// @public (undocumented)
|
2494
|
+
export namespace PBLightSource {
|
2495
|
+
// (undocumented)
|
2496
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
2497
|
+
// (undocumented)
|
2498
|
+
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
2499
|
+
}
|
2500
|
+
|
2501
|
+
// @public (undocumented)
|
2502
|
+
export interface PBLightSource_Point {
|
2503
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2504
|
+
}
|
2505
|
+
|
2506
|
+
// @public (undocumented)
|
2507
|
+
export namespace PBLightSource_Point {
|
2508
|
+
// (undocumented)
|
2509
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
2510
|
+
// (undocumented)
|
2511
|
+
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
2512
|
+
}
|
2513
|
+
|
2514
|
+
// @public (undocumented)
|
2515
|
+
export const enum PBLightSource_ShadowType {
|
2516
|
+
ST_HARD = 2,
|
2517
|
+
ST_NONE = 0,
|
2518
|
+
ST_SOFT = 1
|
2519
|
+
}
|
2520
|
+
|
2521
|
+
// @public (undocumented)
|
2522
|
+
export interface PBLightSource_Spot {
|
2523
|
+
innerAngle?: number | undefined;
|
2524
|
+
outerAngle?: number | undefined;
|
2525
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2526
|
+
shadowMaskTexture?: TextureUnion | undefined;
|
2527
|
+
}
|
2528
|
+
|
2529
|
+
// @public (undocumented)
|
2530
|
+
export namespace PBLightSource_Spot {
|
2531
|
+
// (undocumented)
|
2532
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
2533
|
+
// (undocumented)
|
2534
|
+
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
2535
|
+
}
|
2536
|
+
|
2458
2537
|
// @public (undocumented)
|
2459
2538
|
export interface PBMainCamera {
|
2460
2539
|
virtualCameraEntity?: number | undefined;
|
@@ -3351,6 +3430,7 @@ export namespace PBVideoPlayer {
|
|
3351
3430
|
export interface PBVirtualCamera {
|
3352
3431
|
// (undocumented)
|
3353
3432
|
defaultTransition?: CameraTransition | undefined;
|
3433
|
+
fov?: number | undefined;
|
3354
3434
|
// (undocumented)
|
3355
3435
|
lookAtEntity?: number | undefined;
|
3356
3436
|
}
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.8.22-
|
4
|
+
"version": "7.8.22-16446000492.commit-c18a4fd",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.8.22-
|
8
|
-
"@dcl/sdk": "7.8.22-
|
7
|
+
"@dcl/js-runtime": "7.8.22-16446000492.commit-c18a4fd",
|
8
|
+
"@dcl/sdk": "7.8.22-16446000492.commit-c18a4fd"
|
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": "c18a4fd7d4d342026012cc0de239b9cdc8c26060"
|
36
36
|
}
|