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