@dcl/playground-assets 7.9.2-16571768272.commit-f16406e → 7.9.3-16572655107.commit-d0b0754
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;
|
@@ -2455,6 +2474,58 @@ 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
|
+
color?: PBColor3 | undefined;
|
2481
|
+
intensity?: number | undefined;
|
2482
|
+
range?: number | undefined;
|
2483
|
+
shadow?: boolean | undefined;
|
2484
|
+
shadowMaskTexture?: TextureUnion | undefined;
|
2485
|
+
// (undocumented)
|
2486
|
+
type?: {
|
2487
|
+
$case: "point";
|
2488
|
+
point: PBLightSource_Point;
|
2489
|
+
} | {
|
2490
|
+
$case: "spot";
|
2491
|
+
spot: PBLightSource_Spot;
|
2492
|
+
} | undefined;
|
2493
|
+
}
|
2494
|
+
|
2495
|
+
// @public (undocumented)
|
2496
|
+
export namespace PBLightSource {
|
2497
|
+
// (undocumented)
|
2498
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
2499
|
+
// (undocumented)
|
2500
|
+
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
2501
|
+
}
|
2502
|
+
|
2503
|
+
// @public (undocumented)
|
2504
|
+
export interface PBLightSource_Point {
|
2505
|
+
}
|
2506
|
+
|
2507
|
+
// @public (undocumented)
|
2508
|
+
export namespace PBLightSource_Point {
|
2509
|
+
// (undocumented)
|
2510
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
2511
|
+
// (undocumented)
|
2512
|
+
export function encode(_: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
2513
|
+
}
|
2514
|
+
|
2515
|
+
// @public (undocumented)
|
2516
|
+
export interface PBLightSource_Spot {
|
2517
|
+
innerAngle?: number | undefined;
|
2518
|
+
outerAngle?: number | undefined;
|
2519
|
+
}
|
2520
|
+
|
2521
|
+
// @public (undocumented)
|
2522
|
+
export namespace PBLightSource_Spot {
|
2523
|
+
// (undocumented)
|
2524
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
2525
|
+
// (undocumented)
|
2526
|
+
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
2527
|
+
}
|
2528
|
+
|
2458
2529
|
// @public (undocumented)
|
2459
2530
|
export interface PBMainCamera {
|
2460
2531
|
virtualCameraEntity?: number | undefined;
|
@@ -3351,6 +3422,7 @@ export namespace PBVideoPlayer {
|
|
3351
3422
|
export interface PBVirtualCamera {
|
3352
3423
|
// (undocumented)
|
3353
3424
|
defaultTransition?: CameraTransition | undefined;
|
3425
|
+
fov?: number | undefined;
|
3354
3426
|
// (undocumented)
|
3355
3427
|
lookAtEntity?: number | undefined;
|
3356
3428
|
}
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.9.
|
4
|
+
"version": "7.9.3-16572655107.commit-d0b0754",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.9.
|
8
|
-
"@dcl/sdk": "7.9.
|
7
|
+
"@dcl/js-runtime": "7.9.3-16572655107.commit-d0b0754",
|
8
|
+
"@dcl/sdk": "7.9.3-16572655107.commit-d0b0754"
|
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": "d0b0754a13e71257fe9e84af3108509a16a578e8"
|
36
36
|
}
|