@dcl/playground-assets 7.20.4-22489296066.commit-b055846 → 7.20.4-22561917759.commit-d944d0d

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.
@@ -70,6 +70,31 @@ export const assetLoadLoadingStateSystem: AssetLoadLoadingStateSystem;
70
70
  // @public (undocumented)
71
71
  export type AssetLoadLoadingStateSystemCallback = (event: DeepReadonlyObject<PBAssetLoadLoadingState>) => void;
72
72
 
73
+ // Warning: (ae-missing-release-tag) "AudioAnalysis" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
74
+ //
75
+ // @public (undocumented)
76
+ export const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
77
+
78
+ // Warning: (ae-missing-release-tag) "AudioAnalysisComponentDefinitionExtended" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
79
+ //
80
+ // @public (undocumented)
81
+ export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
82
+ createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
83
+ amplitudeGain?: number, bandsGain?: number): void;
84
+ createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
85
+ amplitudeGain?: number, bandsGain?: number): void;
86
+ readIntoView(entity: Entity, out: AudioAnalysisView): void;
87
+ tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
88
+ }
89
+
90
+ // Warning: (ae-missing-release-tag) "AudioAnalysisView" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
91
+ //
92
+ // @public
93
+ export type AudioAnalysisView = {
94
+ amplitude: number;
95
+ bands: number[];
96
+ };
97
+
73
98
  // @public (undocumented)
74
99
  export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
75
100
 
@@ -162,6 +187,9 @@ export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmo
162
187
  // @public (undocumented)
163
188
  export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
164
189
 
190
+ // @public (undocumented)
191
+ export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
192
+
165
193
  // @public (undocumented)
166
194
  export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
167
195
 
@@ -644,6 +672,7 @@ export const componentDefinitionByName: {
644
672
  "core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
645
673
  "core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
646
674
  "core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
675
+ "core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
647
676
  "core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
648
677
  "core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
649
678
  "core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
@@ -651,6 +680,7 @@ export const componentDefinitionByName: {
651
680
  "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
652
681
  "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
653
682
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
683
+ "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
654
684
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
655
685
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
656
686
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -1499,6 +1529,8 @@ export const enum InputAction {
1499
1529
  // (undocumented)
1500
1530
  IA_LEFT = 7,
1501
1531
  // (undocumented)
1532
+ IA_MODIFIER = 14,
1533
+ // (undocumented)
1502
1534
  IA_POINTER = 0,
1503
1535
  // (undocumented)
1504
1536
  IA_PRIMARY = 1,
@@ -1542,6 +1574,14 @@ export type InstanceCompositeOptions = {
1542
1574
  alreadyRequestedSrc?: Set<string>;
1543
1575
  };
1544
1576
 
1577
+ // @public (undocumented)
1578
+ export const enum InteractionType {
1579
+ // (undocumented)
1580
+ CURSOR = 0,
1581
+ // (undocumented)
1582
+ PROXIMITY = 1
1583
+ }
1584
+
1545
1585
  // @public (undocumented)
1546
1586
  export interface ISchema<T = any> {
1547
1587
  // (undocumented)
@@ -1970,6 +2010,80 @@ export namespace MoveContinuous {
1970
2010
  export function encode(message: MoveContinuous, writer?: _m0.Writer): _m0.Writer;
1971
2011
  }
1972
2012
 
2013
+ // @public (undocumented)
2014
+ export interface MoveRotateScale {
2015
+ // (undocumented)
2016
+ positionEnd: PBVector3 | undefined;
2017
+ // (undocumented)
2018
+ positionStart: PBVector3 | undefined;
2019
+ // (undocumented)
2020
+ rotationEnd: PBQuaternion | undefined;
2021
+ // (undocumented)
2022
+ rotationStart: PBQuaternion | undefined;
2023
+ // (undocumented)
2024
+ scaleEnd: PBVector3 | undefined;
2025
+ // (undocumented)
2026
+ scaleStart: PBVector3 | undefined;
2027
+ }
2028
+
2029
+ // @public (undocumented)
2030
+ export namespace MoveRotateScale {
2031
+ // (undocumented)
2032
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScale;
2033
+ // (undocumented)
2034
+ export function encode(message: MoveRotateScale, writer?: _m0.Writer): _m0.Writer;
2035
+ }
2036
+
2037
+ // @public (undocumented)
2038
+ export interface MoveRotateScaleContinuous {
2039
+ // (undocumented)
2040
+ positionDirection: PBVector3 | undefined;
2041
+ // (undocumented)
2042
+ rotationDirection: PBQuaternion | undefined;
2043
+ // (undocumented)
2044
+ scaleDirection: PBVector3 | undefined;
2045
+ // (undocumented)
2046
+ speed: number;
2047
+ }
2048
+
2049
+ // @public (undocumented)
2050
+ export namespace MoveRotateScaleContinuous {
2051
+ // (undocumented)
2052
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): MoveRotateScaleContinuous;
2053
+ // (undocumented)
2054
+ export function encode(message: MoveRotateScaleContinuous, writer?: _m0.Writer): _m0.Writer;
2055
+ }
2056
+
2057
+ // @public
2058
+ export interface MoveRotateScaleContinuousModeParams {
2059
+ position?: {
2060
+ direction: PBVector3;
2061
+ };
2062
+ rotation?: {
2063
+ direction: PBQuaternion;
2064
+ };
2065
+ scale?: {
2066
+ direction: PBVector3;
2067
+ };
2068
+ speed: number;
2069
+ }
2070
+
2071
+ // @public
2072
+ export interface MoveRotateScaleModeParams {
2073
+ position?: {
2074
+ start: PBVector3;
2075
+ end: PBVector3;
2076
+ };
2077
+ rotation?: {
2078
+ start: PBQuaternion;
2079
+ end: PBQuaternion;
2080
+ };
2081
+ scale?: {
2082
+ start: PBVector3;
2083
+ end: PBVector3;
2084
+ };
2085
+ }
2086
+
1973
2087
  // Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1974
2088
  //
1975
2089
  // @public (undocumented)
@@ -2239,6 +2353,46 @@ export namespace PBAssetLoadLoadingState {
2239
2353
  export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
2240
2354
  }
2241
2355
 
2356
+ // @public (undocumented)
2357
+ export interface PBAudioAnalysis {
2358
+ amplitude: number;
2359
+ amplitudeGain?: number | undefined;
2360
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2361
+ band0: number;
2362
+ // (undocumented)
2363
+ band1: number;
2364
+ // (undocumented)
2365
+ band2: number;
2366
+ // (undocumented)
2367
+ band3: number;
2368
+ // (undocumented)
2369
+ band4: number;
2370
+ // (undocumented)
2371
+ band5: number;
2372
+ // (undocumented)
2373
+ band6: number;
2374
+ // (undocumented)
2375
+ band7: number;
2376
+ bandsGain?: number | undefined;
2377
+ mode: PBAudioAnalysisMode;
2378
+ }
2379
+
2380
+ // @public (undocumented)
2381
+ export namespace PBAudioAnalysis {
2382
+ // (undocumented)
2383
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
2384
+ // (undocumented)
2385
+ export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
2386
+ }
2387
+
2388
+ // @public (undocumented)
2389
+ export const enum PBAudioAnalysisMode {
2390
+ // (undocumented)
2391
+ MODE_LOGARITHMIC = 1,
2392
+ // (undocumented)
2393
+ MODE_RAW = 0
2394
+ }
2395
+
2242
2396
  // @public (undocumented)
2243
2397
  export interface PBAudioEvent {
2244
2398
  // (undocumented)
@@ -2360,6 +2514,24 @@ export namespace PBAvatarEquippedData {
2360
2514
  export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
2361
2515
  }
2362
2516
 
2517
+ // @public (undocumented)
2518
+ export interface PBAvatarLocomotionSettings {
2519
+ hardLandingCooldown?: number | undefined;
2520
+ jogSpeed?: number | undefined;
2521
+ jumpHeight?: number | undefined;
2522
+ runJumpHeight?: number | undefined;
2523
+ runSpeed?: number | undefined;
2524
+ walkSpeed?: number | undefined;
2525
+ }
2526
+
2527
+ // @public (undocumented)
2528
+ export namespace PBAvatarLocomotionSettings {
2529
+ // (undocumented)
2530
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
2531
+ // (undocumented)
2532
+ export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
2533
+ }
2534
+
2363
2535
  // @public (undocumented)
2364
2536
  export interface PBAvatarModifierArea {
2365
2537
  area: PBVector3 | undefined;
@@ -2923,6 +3095,7 @@ export namespace PBPointerEvents {
2923
3095
  export interface PBPointerEvents_Entry {
2924
3096
  eventInfo: PBPointerEvents_Info | undefined;
2925
3097
  eventType: PointerEventType;
3098
+ interactionType?: InteractionType | undefined;
2926
3099
  }
2927
3100
 
2928
3101
  // @public (undocumented)
@@ -2939,6 +3112,7 @@ export interface PBPointerEvents_Info {
2939
3112
  hoverText?: string | undefined;
2940
3113
  maxDistance?: number | undefined;
2941
3114
  maxPlayerDistance?: number | undefined;
3115
+ priority?: number | undefined;
2942
3116
  showFeedback?: boolean | undefined;
2943
3117
  showHighlight?: boolean | undefined;
2944
3118
  }
@@ -3231,6 +3405,12 @@ export interface PBTween {
3231
3405
  } | {
3232
3406
  $case: "textureMoveContinuous";
3233
3407
  textureMoveContinuous: TextureMoveContinuous;
3408
+ } | {
3409
+ $case: "moveRotateScale";
3410
+ moveRotateScale: MoveRotateScale;
3411
+ } | {
3412
+ $case: "moveRotateScaleContinuous";
3413
+ moveRotateScaleContinuous: MoveRotateScaleContinuous;
3234
3414
  } | undefined;
3235
3415
  playing?: boolean | undefined;
3236
3416
  }
@@ -3602,6 +3782,7 @@ export namespace PBVideoPlayer {
3602
3782
  export interface PBVirtualCamera {
3603
3783
  // (undocumented)
3604
3784
  defaultTransition?: CameraTransition | undefined;
3785
+ fov?: number | undefined;
3605
3786
  // (undocumented)
3606
3787
  lookAtEntity?: number | undefined;
3607
3788
  }
@@ -3711,6 +3892,10 @@ export const enum PointerEventType {
3711
3892
  // (undocumented)
3712
3893
  PET_HOVER_LEAVE = 3,
3713
3894
  // (undocumented)
3895
+ PET_PROXIMITY_ENTER = 4,
3896
+ // (undocumented)
3897
+ PET_PROXIMITY_LEAVE = 5,
3898
+ // (undocumented)
3714
3899
  PET_UP = 0
3715
3900
  }
3716
3901
 
@@ -4275,6 +4460,17 @@ export namespace Schemas {
4275
4460
  }) => void;
4276
4461
  }
4277
4462
 
4463
+ // @public
4464
+ export interface SetMoveRotateScaleContinuousParams extends MoveRotateScaleContinuousModeParams {
4465
+ duration?: number;
4466
+ }
4467
+
4468
+ // @public
4469
+ export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
4470
+ duration: number;
4471
+ easingFunction?: EasingFunction;
4472
+ }
4473
+
4278
4474
  // @public (undocumented)
4279
4475
  export const SkyboxTime: LastWriteWinElementSetComponentDefinition<PBSkyboxTime>;
4280
4476
 
@@ -4646,6 +4842,8 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
4646
4842
  Mode: TweenHelper;
4647
4843
  setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
4648
4844
  setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
4845
+ setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
4846
+ setMoveRotateScaleContinuous(entity: Entity, params: SetMoveRotateScaleContinuousParams): void;
4649
4847
  setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
4650
4848
  setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
4651
4849
  setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
@@ -4660,6 +4858,10 @@ export interface TweenHelper {
4660
4858
  // (undocumented)
4661
4859
  MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
4662
4860
  // (undocumented)
4861
+ MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
4862
+ // (undocumented)
4863
+ MoveRotateScaleContinuous: (params: MoveRotateScaleContinuousModeParams) => PBTween['mode'];
4864
+ // (undocumented)
4663
4865
  Rotate: (rotate: Rotate) => PBTween['mode'];
4664
4866
  // (undocumented)
4665
4867
  RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.20.4-22489296066.commit-b055846",
4
+ "version": "7.20.4-22561917759.commit-d944d0d",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.20.4-22489296066.commit-b055846",
8
- "@dcl/sdk": "7.20.4-22489296066.commit-b055846"
7
+ "@dcl/js-runtime": "7.20.4-22561917759.commit-d944d0d",
8
+ "@dcl/sdk": "7.20.4-22561917759.commit-d944d0d"
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": "b055846a29706be0436e42d09dd63d2d7951b3a8"
35
+ "commit": "d944d0d2c33610fa8151a4f771063e28c84ed187"
36
36
  }