@dcl/playground-assets 7.8.21 → 7.8.22-16119591948.commit-9ef869d

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.
@@ -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>>;
@@ -652,6 +653,7 @@ export const componentDefinitionByName: {
652
653
  "core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
653
654
  "core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
654
655
  "core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
656
+ "core::SkyboxTime": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSkyboxTime>>;
655
657
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
656
658
  "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
657
659
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
@@ -1573,6 +1575,24 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
1573
1575
  getOrNull(entity: Entity): DeepReadonly<T> | null;
1574
1576
  }
1575
1577
 
1578
+ // 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)
1579
+ //
1580
+ // @public (undocumented)
1581
+ export const LightSource: LightSourceComponentDefinitionExtended;
1582
+
1583
+ // @public (undocumented)
1584
+ export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
1585
+ Type: LightSourceHelper;
1586
+ }
1587
+
1588
+ // @public (undocumented)
1589
+ export interface LightSourceHelper {
1590
+ // (undocumented)
1591
+ Point: (point: PBLightSource_Point) => PBLightSource['type'];
1592
+ // (undocumented)
1593
+ Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
1594
+ }
1595
+
1576
1596
  // @public
1577
1597
  export type Listeners = {
1578
1598
  onMouseDown?: Callback;
@@ -2421,6 +2441,66 @@ export namespace PBInputModifier_StandardInput {
2421
2441
  export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
2422
2442
  }
2423
2443
 
2444
+ // @public (undocumented)
2445
+ export interface PBLightSource {
2446
+ active?: boolean | undefined;
2447
+ brightness?: number | undefined;
2448
+ color?: PBColor3 | undefined;
2449
+ range?: number | undefined;
2450
+ // (undocumented)
2451
+ type?: {
2452
+ $case: "point";
2453
+ point: PBLightSource_Point;
2454
+ } | {
2455
+ $case: "spot";
2456
+ spot: PBLightSource_Spot;
2457
+ } | undefined;
2458
+ }
2459
+
2460
+ // @public (undocumented)
2461
+ export namespace PBLightSource {
2462
+ // (undocumented)
2463
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
2464
+ // (undocumented)
2465
+ export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
2466
+ }
2467
+
2468
+ // @public (undocumented)
2469
+ export interface PBLightSource_Point {
2470
+ shadow?: PBLightSource_ShadowType | undefined;
2471
+ }
2472
+
2473
+ // @public (undocumented)
2474
+ export namespace PBLightSource_Point {
2475
+ // (undocumented)
2476
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
2477
+ // (undocumented)
2478
+ export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
2479
+ }
2480
+
2481
+ // @public (undocumented)
2482
+ export const enum PBLightSource_ShadowType {
2483
+ ST_HARD = 2,
2484
+ ST_NONE = 0,
2485
+ ST_SOFT = 1
2486
+ }
2487
+
2488
+ // @public (undocumented)
2489
+ export interface PBLightSource_Spot {
2490
+ innerAngle?: number | undefined;
2491
+ outerAngle?: number | undefined;
2492
+ shadow?: PBLightSource_ShadowType | undefined;
2493
+ shadowMaskTexture?: TextureUnion | undefined;
2494
+ }
2495
+
2496
+ // @public (undocumented)
2497
+ export namespace PBLightSource_Spot {
2498
+ // (undocumented)
2499
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
2500
+ // (undocumented)
2501
+ export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
2502
+ }
2503
+
2424
2504
  // @public (undocumented)
2425
2505
  export interface PBMainCamera {
2426
2506
  virtualCameraEntity?: number | undefined;
@@ -2883,6 +2963,20 @@ export namespace PBRealmInfo {
2883
2963
  export function encode(message: PBRealmInfo, writer?: _m0.Writer): _m0.Writer;
2884
2964
  }
2885
2965
 
2966
+ // @public (undocumented)
2967
+ export interface PBSkyboxTime {
2968
+ fixedTime: number;
2969
+ transitionMode?: TransitionMode | undefined;
2970
+ }
2971
+
2972
+ // @public (undocumented)
2973
+ export namespace PBSkyboxTime {
2974
+ // (undocumented)
2975
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSkyboxTime;
2976
+ // (undocumented)
2977
+ export function encode(message: PBSkyboxTime, writer?: _m0.Writer): _m0.Writer;
2978
+ }
2979
+
2886
2980
  // @public (undocumented)
2887
2981
  export interface PBTextShape {
2888
2982
  font?: Font | undefined;
@@ -3303,6 +3397,7 @@ export namespace PBVideoPlayer {
3303
3397
  export interface PBVirtualCamera {
3304
3398
  // (undocumented)
3305
3399
  defaultTransition?: CameraTransition | undefined;
3400
+ fov?: number | undefined;
3306
3401
  // (undocumented)
3307
3402
  lookAtEntity?: number | undefined;
3308
3403
  }
@@ -3932,6 +4027,9 @@ export namespace Schemas {
3932
4027
  }) => void;
3933
4028
  }
3934
4029
 
4030
+ // @public (undocumented)
4031
+ export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
4032
+
3935
4033
  // @public (undocumented)
3936
4034
  export interface Spec {
3937
4035
  // (undocumented)
@@ -4164,6 +4262,12 @@ export type TransformType = {
4164
4262
  // @public (undocumented)
4165
4263
  export type TransformTypeWithOptionals = Partial<TransformType>;
4166
4264
 
4265
+ // @public (undocumented)
4266
+ export const enum TransitionMode {
4267
+ TM_BACKWARD = 1,
4268
+ TM_FORWARD = 0
4269
+ }
4270
+
4167
4271
  // @public (undocumented)
4168
4272
  export type Transport = {
4169
4273
  send(message: Uint8Array | Uint8Array[]): Promise<void>;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.8.21",
4
+ "version": "7.8.22-16119591948.commit-9ef869d",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.8.21",
8
- "@dcl/sdk": "7.8.21"
7
+ "@dcl/js-runtime": "7.8.22-16119591948.commit-9ef869d",
8
+ "@dcl/sdk": "7.8.22-16119591948.commit-9ef869d"
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": "8c6802f0eb9549241b18239107639c534ece088c"
35
+ "commit": "9ef869df14b805f6567304eef915422dcfc41d40"
36
36
  }