@dcl/playground-assets 7.7.5-13241529782.commit-5a272e6 → 7.7.5-13413116060.commit-43029a2
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 +106 -0
- package/dist/beta.d.ts +106 -0
- package/dist/index.bundled.d.ts +106 -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 +106 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +1520 -393
- package/etc/playground-assets.api.md +79 -0
- package/package.json +4 -4
- package/README.md +0 -27
@@ -627,6 +627,7 @@ export const componentDefinitionByName: {
|
|
627
627
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
628
628
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
629
629
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
630
|
+
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
630
631
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
631
632
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
632
633
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
@@ -1556,6 +1557,24 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1556
1557
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1557
1558
|
}
|
1558
1559
|
|
1560
|
+
// 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)
|
1561
|
+
//
|
1562
|
+
// @public (undocumented)
|
1563
|
+
export const LightSource: LightSourceComponentDefinitionExtended;
|
1564
|
+
|
1565
|
+
// @public (undocumented)
|
1566
|
+
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
1567
|
+
Type: LightSourceHelper;
|
1568
|
+
}
|
1569
|
+
|
1570
|
+
// @public (undocumented)
|
1571
|
+
export interface LightSourceHelper {
|
1572
|
+
// (undocumented)
|
1573
|
+
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
1574
|
+
// (undocumented)
|
1575
|
+
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
1576
|
+
}
|
1577
|
+
|
1559
1578
|
// @public
|
1560
1579
|
export type Listeners = {
|
1561
1580
|
onMouseDown?: Callback;
|
@@ -2404,6 +2423,66 @@ export namespace PBInputModifier_StandardInput {
|
|
2404
2423
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2405
2424
|
}
|
2406
2425
|
|
2426
|
+
// @public (undocumented)
|
2427
|
+
export interface PBLightSource {
|
2428
|
+
active?: boolean | undefined;
|
2429
|
+
brightness?: number | undefined;
|
2430
|
+
color?: PBColor3 | undefined;
|
2431
|
+
range?: number | undefined;
|
2432
|
+
// (undocumented)
|
2433
|
+
type?: {
|
2434
|
+
$case: "point";
|
2435
|
+
point: PBLightSource_Point;
|
2436
|
+
} | {
|
2437
|
+
$case: "spot";
|
2438
|
+
spot: PBLightSource_Spot;
|
2439
|
+
} | undefined;
|
2440
|
+
}
|
2441
|
+
|
2442
|
+
// @public (undocumented)
|
2443
|
+
export namespace PBLightSource {
|
2444
|
+
// (undocumented)
|
2445
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
2446
|
+
// (undocumented)
|
2447
|
+
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
2448
|
+
}
|
2449
|
+
|
2450
|
+
// @public (undocumented)
|
2451
|
+
export interface PBLightSource_Point {
|
2452
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2453
|
+
}
|
2454
|
+
|
2455
|
+
// @public (undocumented)
|
2456
|
+
export namespace PBLightSource_Point {
|
2457
|
+
// (undocumented)
|
2458
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
2459
|
+
// (undocumented)
|
2460
|
+
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
2461
|
+
}
|
2462
|
+
|
2463
|
+
// @public (undocumented)
|
2464
|
+
export const enum PBLightSource_ShadowType {
|
2465
|
+
ST_HARD = 2,
|
2466
|
+
ST_NONE = 0,
|
2467
|
+
ST_SOFT = 1
|
2468
|
+
}
|
2469
|
+
|
2470
|
+
// @public (undocumented)
|
2471
|
+
export interface PBLightSource_Spot {
|
2472
|
+
innerAngle?: number | undefined;
|
2473
|
+
outerAngle?: number | undefined;
|
2474
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2475
|
+
shadowMaskTexture?: TextureUnion | undefined;
|
2476
|
+
}
|
2477
|
+
|
2478
|
+
// @public (undocumented)
|
2479
|
+
export namespace PBLightSource_Spot {
|
2480
|
+
// (undocumented)
|
2481
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
2482
|
+
// (undocumented)
|
2483
|
+
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
2484
|
+
}
|
2485
|
+
|
2407
2486
|
// @public (undocumented)
|
2408
2487
|
export interface PBMainCamera {
|
2409
2488
|
virtualCameraEntity?: number | undefined;
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.7.5-
|
4
|
+
"version": "7.7.5-13413116060.commit-43029a2",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.7.5-
|
8
|
-
"@dcl/sdk": "7.7.5-
|
7
|
+
"@dcl/js-runtime": "7.7.5-13413116060.commit-43029a2",
|
8
|
+
"@dcl/sdk": "7.7.5-13413116060.commit-43029a2"
|
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": "43029a27b8a2b43e7dea9bc64e2593ff189373f9"
|
36
36
|
}
|
package/README.md
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
# @dcl/playground-assets
|
2
|
-
|
3
|
-
Assets package for the [Decentraland Playground](https://playground.decentraland.org/).
|
4
|
-
|
5
|
-
## Overview
|
6
|
-
|
7
|
-
This package contains the built assets required by the Decentraland Playground - an experimental web IDE that allows developers to:
|
8
|
-
|
9
|
-
- Write and preview Decentraland scenes in real-time
|
10
|
-
- Share code snippets with other developers
|
11
|
-
- Test and iterate on scene code directly in the browser
|
12
|
-
- View changes instantly in the integrated Decentraland web explorer
|
13
|
-
|
14
|
-
Similar to [Babylon.js Playground](https://playground.babylonjs.com/), the Decentraland Playground provides an interactive environment for rapid prototyping and experimentation.
|
15
|
-
|
16
|
-
## Development
|
17
|
-
|
18
|
-
The assets in this package are automatically built during the monorepo's build process:
|
19
|
-
|
20
|
-
```bash
|
21
|
-
# From the root of the monorepo
|
22
|
-
make build
|
23
|
-
```
|
24
|
-
|
25
|
-
## Related Documentation
|
26
|
-
|
27
|
-
- [Playground](https://playground.decentraland.org)
|