@dcl/playground-assets 7.8.9 → 7.8.10-15468321387.commit-ea03486
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 +176 -0
- package/dist/beta.d.ts +176 -0
- package/dist/index.bundled.d.ts +176 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +7 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +176 -0
- package/etc/playground-assets.api.json +2006 -432
- package/etc/playground-assets.api.md +106 -7
- 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>>;
|
@@ -648,6 +649,7 @@ export const componentDefinitionByName: {
|
|
648
649
|
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
649
650
|
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
650
651
|
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
652
|
+
"core::PrimaryPointerInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>>;
|
651
653
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
652
654
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
653
655
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
@@ -1572,6 +1574,24 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
1572
1574
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
1573
1575
|
}
|
1574
1576
|
|
1577
|
+
// 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)
|
1578
|
+
//
|
1579
|
+
// @public (undocumented)
|
1580
|
+
export const LightSource: LightSourceComponentDefinitionExtended;
|
1581
|
+
|
1582
|
+
// @public (undocumented)
|
1583
|
+
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
1584
|
+
Type: LightSourceHelper;
|
1585
|
+
}
|
1586
|
+
|
1587
|
+
// @public (undocumented)
|
1588
|
+
export interface LightSourceHelper {
|
1589
|
+
// (undocumented)
|
1590
|
+
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
1591
|
+
// (undocumented)
|
1592
|
+
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
1593
|
+
}
|
1594
|
+
|
1575
1595
|
// @public
|
1576
1596
|
export type Listeners = {
|
1577
1597
|
onMouseDown?: Callback;
|
@@ -2420,6 +2440,66 @@ export namespace PBInputModifier_StandardInput {
|
|
2420
2440
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
2421
2441
|
}
|
2422
2442
|
|
2443
|
+
// @public (undocumented)
|
2444
|
+
export interface PBLightSource {
|
2445
|
+
active?: boolean | undefined;
|
2446
|
+
brightness?: number | undefined;
|
2447
|
+
color?: PBColor3 | undefined;
|
2448
|
+
range?: number | undefined;
|
2449
|
+
// (undocumented)
|
2450
|
+
type?: {
|
2451
|
+
$case: "point";
|
2452
|
+
point: PBLightSource_Point;
|
2453
|
+
} | {
|
2454
|
+
$case: "spot";
|
2455
|
+
spot: PBLightSource_Spot;
|
2456
|
+
} | undefined;
|
2457
|
+
}
|
2458
|
+
|
2459
|
+
// @public (undocumented)
|
2460
|
+
export namespace PBLightSource {
|
2461
|
+
// (undocumented)
|
2462
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
2463
|
+
// (undocumented)
|
2464
|
+
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
2465
|
+
}
|
2466
|
+
|
2467
|
+
// @public (undocumented)
|
2468
|
+
export interface PBLightSource_Point {
|
2469
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2470
|
+
}
|
2471
|
+
|
2472
|
+
// @public (undocumented)
|
2473
|
+
export namespace PBLightSource_Point {
|
2474
|
+
// (undocumented)
|
2475
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
2476
|
+
// (undocumented)
|
2477
|
+
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
2478
|
+
}
|
2479
|
+
|
2480
|
+
// @public (undocumented)
|
2481
|
+
export const enum PBLightSource_ShadowType {
|
2482
|
+
ST_HARD = 2,
|
2483
|
+
ST_NONE = 0,
|
2484
|
+
ST_SOFT = 1
|
2485
|
+
}
|
2486
|
+
|
2487
|
+
// @public (undocumented)
|
2488
|
+
export interface PBLightSource_Spot {
|
2489
|
+
innerAngle?: number | undefined;
|
2490
|
+
outerAngle?: number | undefined;
|
2491
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
2492
|
+
shadowMaskTexture?: TextureUnion | undefined;
|
2493
|
+
}
|
2494
|
+
|
2495
|
+
// @public (undocumented)
|
2496
|
+
export namespace PBLightSource_Spot {
|
2497
|
+
// (undocumented)
|
2498
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
2499
|
+
// (undocumented)
|
2500
|
+
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
2501
|
+
}
|
2502
|
+
|
2423
2503
|
// @public (undocumented)
|
2424
2504
|
export interface PBMainCamera {
|
2425
2505
|
virtualCameraEntity?: number | undefined;
|
@@ -2778,6 +2858,22 @@ export namespace PBPosition {
|
|
2778
2858
|
export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
|
2779
2859
|
}
|
2780
2860
|
|
2861
|
+
// @public (undocumented)
|
2862
|
+
export interface PBPrimaryPointerInfo {
|
2863
|
+
pointerType?: PointerType | undefined;
|
2864
|
+
screenCoordinates?: PBVector2 | undefined;
|
2865
|
+
screenDelta?: PBVector2 | undefined;
|
2866
|
+
worldRayDirection?: PBVector3 | undefined;
|
2867
|
+
}
|
2868
|
+
|
2869
|
+
// @public (undocumented)
|
2870
|
+
export namespace PBPrimaryPointerInfo {
|
2871
|
+
// (undocumented)
|
2872
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBPrimaryPointerInfo;
|
2873
|
+
// (undocumented)
|
2874
|
+
export function encode(message: PBPrimaryPointerInfo, writer?: _m0.Writer): _m0.Writer;
|
2875
|
+
}
|
2876
|
+
|
2781
2877
|
// @public (undocumented)
|
2782
2878
|
export interface PBQuaternion {
|
2783
2879
|
// (undocumented)
|
@@ -2849,19 +2945,12 @@ export namespace PBRaycastResult {
|
|
2849
2945
|
|
2850
2946
|
// @public (undocumented)
|
2851
2947
|
export interface PBRealmInfo {
|
2852
|
-
// (undocumented)
|
2853
2948
|
baseUrl: string;
|
2854
|
-
// (undocumented)
|
2855
2949
|
commsAdapter: string;
|
2856
|
-
// (undocumented)
|
2857
2950
|
isConnectedSceneRoom?: boolean | undefined;
|
2858
|
-
// (undocumented)
|
2859
2951
|
isPreview: boolean;
|
2860
|
-
// (undocumented)
|
2861
2952
|
networkId: number;
|
2862
|
-
// (undocumented)
|
2863
2953
|
realmName: string;
|
2864
|
-
// (undocumented)
|
2865
2954
|
room?: string | undefined;
|
2866
2955
|
}
|
2867
2956
|
|
@@ -3291,6 +3380,7 @@ export namespace PBVideoPlayer {
|
|
3291
3380
|
export interface PBVirtualCamera {
|
3292
3381
|
// (undocumented)
|
3293
3382
|
defaultTransition?: CameraTransition | undefined;
|
3383
|
+
fov?: number | undefined;
|
3294
3384
|
// (undocumented)
|
3295
3385
|
lookAtEntity?: number | undefined;
|
3296
3386
|
}
|
@@ -3416,6 +3506,12 @@ export type PointerFilterType = 'none' | 'block';
|
|
3416
3506
|
// @public (undocumented)
|
3417
3507
|
export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
|
3418
3508
|
|
3509
|
+
// @public (undocumented)
|
3510
|
+
export const enum PointerType {
|
3511
|
+
POT_MOUSE = 1,
|
3512
|
+
POT_NONE = 0
|
3513
|
+
}
|
3514
|
+
|
3419
3515
|
// @public
|
3420
3516
|
export interface Position {
|
3421
3517
|
// (undocumented)
|
@@ -3437,6 +3533,9 @@ export type PositionType = 'absolute' | 'relative';
|
|
3437
3533
|
// @public
|
3438
3534
|
export type PositionUnit = `${number}px` | `${number}%` | number | `${number}` | ScaleUnit;
|
3439
3535
|
|
3536
|
+
// @public (undocumented)
|
3537
|
+
export const PrimaryPointerInfo: LastWriteWinElementSetComponentDefinition<PBPrimaryPointerInfo>;
|
3538
|
+
|
3440
3539
|
// Warning: (ae-missing-release-tag) "ProcessMessageResultType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
3441
3540
|
//
|
3442
3541
|
// @public (undocumented)
|
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.10-15468321387.commit-ea03486",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.8.
|
8
|
-
"@dcl/sdk": "7.8.
|
7
|
+
"@dcl/js-runtime": "7.8.10-15468321387.commit-ea03486",
|
8
|
+
"@dcl/sdk": "7.8.10-15468321387.commit-ea03486"
|
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": "ea03486cffda411467debb1acb22715999daf0a3"
|
36
36
|
}
|