@dcl/playground-assets 7.9.3-16574576809.commit-c0a4156 → 7.9.3-16616194522.commit-20ff207
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 +95 -0
- package/dist/beta.d.ts +95 -0
- package/dist/index.bundled.d.ts +95 -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 +95 -0
- package/etc/playground-assets.api.json +1614 -578
- package/etc/playground-assets.api.md +72 -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;
|
|
@@ -2456,6 +2475,58 @@ export namespace PBInputModifier_StandardInput {
|
|
|
2456
2475
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
|
2457
2476
|
}
|
|
2458
2477
|
|
|
2478
|
+
// @public (undocumented)
|
|
2479
|
+
export interface PBLightSource {
|
|
2480
|
+
active?: boolean | undefined;
|
|
2481
|
+
color?: PBColor3 | undefined;
|
|
2482
|
+
intensity?: number | undefined;
|
|
2483
|
+
range?: number | undefined;
|
|
2484
|
+
shadow?: boolean | undefined;
|
|
2485
|
+
shadowMaskTexture?: TextureUnion | undefined;
|
|
2486
|
+
// (undocumented)
|
|
2487
|
+
type?: {
|
|
2488
|
+
$case: "point";
|
|
2489
|
+
point: PBLightSource_Point;
|
|
2490
|
+
} | {
|
|
2491
|
+
$case: "spot";
|
|
2492
|
+
spot: PBLightSource_Spot;
|
|
2493
|
+
} | undefined;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
// @public (undocumented)
|
|
2497
|
+
export namespace PBLightSource {
|
|
2498
|
+
// (undocumented)
|
|
2499
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
|
2500
|
+
// (undocumented)
|
|
2501
|
+
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
// @public (undocumented)
|
|
2505
|
+
export interface PBLightSource_Point {
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
// @public (undocumented)
|
|
2509
|
+
export namespace PBLightSource_Point {
|
|
2510
|
+
// (undocumented)
|
|
2511
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
|
2512
|
+
// (undocumented)
|
|
2513
|
+
export function encode(_: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
// @public (undocumented)
|
|
2517
|
+
export interface PBLightSource_Spot {
|
|
2518
|
+
innerAngle?: number | undefined;
|
|
2519
|
+
outerAngle?: number | undefined;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
// @public (undocumented)
|
|
2523
|
+
export namespace PBLightSource_Spot {
|
|
2524
|
+
// (undocumented)
|
|
2525
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
|
2526
|
+
// (undocumented)
|
|
2527
|
+
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2459
2530
|
// @public (undocumented)
|
|
2460
2531
|
export interface PBMainCamera {
|
|
2461
2532
|
virtualCameraEntity?: number | undefined;
|
|
@@ -3352,6 +3423,7 @@ export namespace PBVideoPlayer {
|
|
|
3352
3423
|
export interface PBVirtualCamera {
|
|
3353
3424
|
// (undocumented)
|
|
3354
3425
|
defaultTransition?: CameraTransition | undefined;
|
|
3426
|
+
fov?: number | undefined;
|
|
3355
3427
|
// (undocumented)
|
|
3356
3428
|
lookAtEntity?: number | undefined;
|
|
3357
3429
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.9.3-
|
|
4
|
+
"version": "7.9.3-16616194522.commit-20ff207",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.9.3-
|
|
8
|
-
"@dcl/sdk": "7.9.3-
|
|
7
|
+
"@dcl/js-runtime": "7.9.3-16616194522.commit-20ff207",
|
|
8
|
+
"@dcl/sdk": "7.9.3-16616194522.commit-20ff207"
|
|
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": "20ff207b3b50a0af06592f5794b40563fa445601"
|
|
36
36
|
}
|