@dcl/playground-assets 7.22.2-23600507492.commit-5f7f8a0 → 7.22.2-23601767788.commit-ff97f2f

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>>;
@@ -1505,6 +1535,8 @@ export const enum InputAction {
1505
1535
  // (undocumented)
1506
1536
  IA_LEFT = 7,
1507
1537
  // (undocumented)
1538
+ IA_MODIFIER = 14,
1539
+ // (undocumented)
1508
1540
  IA_POINTER = 0,
1509
1541
  // (undocumented)
1510
1542
  IA_PRIMARY = 1,
@@ -2300,6 +2332,46 @@ export namespace PBAssetLoadLoadingState {
2300
2332
  export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
2301
2333
  }
2302
2334
 
2335
+ // @public (undocumented)
2336
+ export interface PBAudioAnalysis {
2337
+ amplitude: number;
2338
+ amplitudeGain?: number | undefined;
2339
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2340
+ band0: number;
2341
+ // (undocumented)
2342
+ band1: number;
2343
+ // (undocumented)
2344
+ band2: number;
2345
+ // (undocumented)
2346
+ band3: number;
2347
+ // (undocumented)
2348
+ band4: number;
2349
+ // (undocumented)
2350
+ band5: number;
2351
+ // (undocumented)
2352
+ band6: number;
2353
+ // (undocumented)
2354
+ band7: number;
2355
+ bandsGain?: number | undefined;
2356
+ mode: PBAudioAnalysisMode;
2357
+ }
2358
+
2359
+ // @public (undocumented)
2360
+ export namespace PBAudioAnalysis {
2361
+ // (undocumented)
2362
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
2363
+ // (undocumented)
2364
+ export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
2365
+ }
2366
+
2367
+ // @public (undocumented)
2368
+ export const enum PBAudioAnalysisMode {
2369
+ // (undocumented)
2370
+ MODE_LOGARITHMIC = 1,
2371
+ // (undocumented)
2372
+ MODE_RAW = 0
2373
+ }
2374
+
2303
2375
  // @public (undocumented)
2304
2376
  export interface PBAudioEvent {
2305
2377
  // (undocumented)
@@ -2421,6 +2493,27 @@ export namespace PBAvatarEquippedData {
2421
2493
  export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
2422
2494
  }
2423
2495
 
2496
+ // @public (undocumented)
2497
+ export interface PBAvatarLocomotionSettings {
2498
+ doubleJumpHeight?: number | undefined;
2499
+ glidingFallingSpeed?: number | undefined;
2500
+ glidingSpeed?: number | undefined;
2501
+ hardLandingCooldown?: number | undefined;
2502
+ jogSpeed?: number | undefined;
2503
+ jumpHeight?: number | undefined;
2504
+ runJumpHeight?: number | undefined;
2505
+ runSpeed?: number | undefined;
2506
+ walkSpeed?: number | undefined;
2507
+ }
2508
+
2509
+ // @public (undocumented)
2510
+ export namespace PBAvatarLocomotionSettings {
2511
+ // (undocumented)
2512
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
2513
+ // (undocumented)
2514
+ export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
2515
+ }
2516
+
2424
2517
  // @public (undocumented)
2425
2518
  export interface PBAvatarModifierArea {
2426
2519
  area: PBVector3 | undefined;
@@ -3699,6 +3792,7 @@ export namespace PBVideoPlayer {
3699
3792
  export interface PBVirtualCamera {
3700
3793
  // (undocumented)
3701
3794
  defaultTransition?: CameraTransition | undefined;
3795
+ fov?: number | undefined;
3702
3796
  // (undocumented)
3703
3797
  lookAtEntity?: number | undefined;
3704
3798
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.22.2-23600507492.commit-5f7f8a0",
4
+ "version": "7.22.2-23601767788.commit-ff97f2f",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.22.2-23600507492.commit-5f7f8a0",
8
- "@dcl/sdk": "7.22.2-23600507492.commit-5f7f8a0"
7
+ "@dcl/js-runtime": "7.22.2-23601767788.commit-ff97f2f",
8
+ "@dcl/sdk": "7.22.2-23601767788.commit-ff97f2f"
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": "5f7f8a09410c9cb0e2e0e0d669dfc3733e76a8e8"
35
+ "commit": "ff97f2f45a5d3f23080fb3f22de85711b15f0858"
36
36
  }