@dcl/playground-assets 7.22.3-24033264917.commit-024caa7 → 7.22.3-24082946861.commit-0d8c4f2

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
 
@@ -610,6 +638,22 @@ export type Color4Type = {
610
638
  a: number;
611
639
  };
612
640
 
641
+ // @public (undocumented)
642
+ export interface ColorRange {
643
+ // (undocumented)
644
+ end: PBColor4 | undefined;
645
+ // (undocumented)
646
+ start: PBColor4 | undefined;
647
+ }
648
+
649
+ // @public (undocumented)
650
+ export namespace ColorRange {
651
+ // (undocumented)
652
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): ColorRange;
653
+ // (undocumented)
654
+ export function encode(message: ColorRange, writer?: _m0.Writer): _m0.Writer;
655
+ }
656
+
613
657
  // @public (undocumented)
614
658
  export interface ComponentData {
615
659
  // (undocumented)
@@ -644,6 +688,7 @@ export const componentDefinitionByName: {
644
688
  "core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
645
689
  "core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
646
690
  "core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
691
+ "core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
647
692
  "core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
648
693
  "core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
649
694
  "core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
@@ -651,6 +696,7 @@ export const componentDefinitionByName: {
651
696
  "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
652
697
  "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
653
698
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
699
+ "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
654
700
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
655
701
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
656
702
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -667,6 +713,7 @@ export const componentDefinitionByName: {
667
713
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
668
714
  "core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
669
715
  "core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
716
+ "core::ParticleSystem": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBParticleSystem>>;
670
717
  "core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
671
718
  "core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
672
719
  "core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
@@ -1228,6 +1275,22 @@ export type FlexWrapType = 'wrap' | 'nowrap' | 'wrap-reverse';
1228
1275
  // @public (undocumented)
1229
1276
  export type FloatArray = number[];
1230
1277
 
1278
+ // @public (undocumented)
1279
+ export interface FloatRange {
1280
+ // (undocumented)
1281
+ end: number;
1282
+ // (undocumented)
1283
+ start: number;
1284
+ }
1285
+
1286
+ // @public (undocumented)
1287
+ export namespace FloatRange {
1288
+ // (undocumented)
1289
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): FloatRange;
1290
+ // (undocumented)
1291
+ export function encode(message: FloatRange, writer?: _m0.Writer): _m0.Writer;
1292
+ }
1293
+
1231
1294
  // @public (undocumented)
1232
1295
  export const enum Font {
1233
1296
  // (undocumented)
@@ -1505,6 +1568,8 @@ export const enum InputAction {
1505
1568
  // (undocumented)
1506
1569
  IA_LEFT = 7,
1507
1570
  // (undocumented)
1571
+ IA_MODIFIER = 14,
1572
+ // (undocumented)
1508
1573
  IA_POINTER = 0,
1509
1574
  // (undocumented)
1510
1575
  IA_PRIMARY = 1,
@@ -2240,6 +2305,24 @@ export const onVideoEvent: Observable<{
2240
2305
  // @public
2241
2306
  export type OverflowType = 'hidden' | 'scroll' | 'visible';
2242
2307
 
2308
+ // Warning: (ae-missing-release-tag) "ParticleSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2309
+ //
2310
+ // @public (undocumented)
2311
+ export const ParticleSystem: ParticleSystemComponentDefinitionExtended;
2312
+
2313
+ // @public (undocumented)
2314
+ export interface ParticleSystemComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBParticleSystem> {
2315
+ Shape: ParticleSystemHelper;
2316
+ }
2317
+
2318
+ // @public (undocumented)
2319
+ export interface ParticleSystemHelper {
2320
+ Box: (box?: PBParticleSystem_Box) => PBParticleSystem['shape'];
2321
+ Cone: (cone?: PBParticleSystem_Cone) => PBParticleSystem['shape'];
2322
+ Point: (point?: PBParticleSystem_Point) => PBParticleSystem['shape'];
2323
+ Sphere: (sphere?: PBParticleSystem_Sphere) => PBParticleSystem['shape'];
2324
+ }
2325
+
2243
2326
  // @public (undocumented)
2244
2327
  export interface PBAnimationState {
2245
2328
  clip: string;
@@ -2300,6 +2383,46 @@ export namespace PBAssetLoadLoadingState {
2300
2383
  export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
2301
2384
  }
2302
2385
 
2386
+ // @public (undocumented)
2387
+ export interface PBAudioAnalysis {
2388
+ amplitude: number;
2389
+ amplitudeGain?: number | undefined;
2390
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2391
+ band0: number;
2392
+ // (undocumented)
2393
+ band1: number;
2394
+ // (undocumented)
2395
+ band2: number;
2396
+ // (undocumented)
2397
+ band3: number;
2398
+ // (undocumented)
2399
+ band4: number;
2400
+ // (undocumented)
2401
+ band5: number;
2402
+ // (undocumented)
2403
+ band6: number;
2404
+ // (undocumented)
2405
+ band7: number;
2406
+ bandsGain?: number | undefined;
2407
+ mode: PBAudioAnalysisMode;
2408
+ }
2409
+
2410
+ // @public (undocumented)
2411
+ export namespace PBAudioAnalysis {
2412
+ // (undocumented)
2413
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
2414
+ // (undocumented)
2415
+ export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
2416
+ }
2417
+
2418
+ // @public (undocumented)
2419
+ export const enum PBAudioAnalysisMode {
2420
+ // (undocumented)
2421
+ MODE_LOGARITHMIC = 1,
2422
+ // (undocumented)
2423
+ MODE_RAW = 0
2424
+ }
2425
+
2303
2426
  // @public (undocumented)
2304
2427
  export interface PBAudioEvent {
2305
2428
  // (undocumented)
@@ -2421,6 +2544,27 @@ export namespace PBAvatarEquippedData {
2421
2544
  export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
2422
2545
  }
2423
2546
 
2547
+ // @public (undocumented)
2548
+ export interface PBAvatarLocomotionSettings {
2549
+ doubleJumpHeight?: number | undefined;
2550
+ glidingFallingSpeed?: number | undefined;
2551
+ glidingSpeed?: number | undefined;
2552
+ hardLandingCooldown?: number | undefined;
2553
+ jogSpeed?: number | undefined;
2554
+ jumpHeight?: number | undefined;
2555
+ runJumpHeight?: number | undefined;
2556
+ runSpeed?: number | undefined;
2557
+ walkSpeed?: number | undefined;
2558
+ }
2559
+
2560
+ // @public (undocumented)
2561
+ export namespace PBAvatarLocomotionSettings {
2562
+ // (undocumented)
2563
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
2564
+ // (undocumented)
2565
+ export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
2566
+ }
2567
+
2424
2568
  // @public (undocumented)
2425
2569
  export interface PBAvatarModifierArea {
2426
2570
  area: PBVector3 | undefined;
@@ -2956,6 +3100,184 @@ export namespace PBNftShape {
2956
3100
  export function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
2957
3101
  }
2958
3102
 
3103
+ // @public (undocumented)
3104
+ export interface PBParticleSystem {
3105
+ active?: boolean | undefined;
3106
+ additionalForce?: PBVector3 | undefined;
3107
+ billboard?: boolean | undefined;
3108
+ blendMode?: PBParticleSystem_BlendMode | undefined;
3109
+ bursts: PBParticleSystem_Burst[];
3110
+ // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
3111
+ // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
3112
+ colorOverTime?: ColorRange | undefined;
3113
+ faceTravelDirection?: boolean | undefined;
3114
+ gravity?: number | undefined;
3115
+ initialColor?: ColorRange | undefined;
3116
+ initialRotation?: PBQuaternion | undefined;
3117
+ initialSize?: FloatRange | undefined;
3118
+ initialVelocitySpeed?: FloatRange | undefined;
3119
+ lifetime?: number | undefined;
3120
+ limitVelocity?: PBParticleSystem_LimitVelocity | undefined;
3121
+ loop?: boolean | undefined;
3122
+ maxParticles?: number | undefined;
3123
+ playbackState?: PBParticleSystem_PlaybackState | undefined;
3124
+ prewarm?: boolean | undefined;
3125
+ rate?: number | undefined;
3126
+ rotationOverTime?: PBQuaternion | undefined;
3127
+ // (undocumented)
3128
+ shape?: {
3129
+ $case: "point";
3130
+ point: PBParticleSystem_Point;
3131
+ } | {
3132
+ $case: "sphere";
3133
+ sphere: PBParticleSystem_Sphere;
3134
+ } | {
3135
+ $case: "cone";
3136
+ cone: PBParticleSystem_Cone;
3137
+ } | {
3138
+ $case: "box";
3139
+ box: PBParticleSystem_Box;
3140
+ } | undefined;
3141
+ simulationSpace?: PBParticleSystem_SimulationSpace | undefined;
3142
+ // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
3143
+ // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
3144
+ sizeOverTime?: FloatRange | undefined;
3145
+ spriteSheet?: PBParticleSystem_SpriteSheetAnimation | undefined;
3146
+ texture?: Texture | undefined;
3147
+ }
3148
+
3149
+ // @public (undocumented)
3150
+ export namespace PBParticleSystem {
3151
+ // (undocumented)
3152
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem;
3153
+ // (undocumented)
3154
+ export function encode(message: PBParticleSystem, writer?: _m0.Writer): _m0.Writer;
3155
+ }
3156
+
3157
+ // @public (undocumented)
3158
+ const enum PBParticleSystem_BlendMode {
3159
+ PSB_ADD = 1,
3160
+ PSB_ALPHA = 0,
3161
+ PSB_MULTIPLY = 2
3162
+ }
3163
+ export { PBParticleSystem_BlendMode }
3164
+ export { PBParticleSystem_BlendMode as ParticleSystemBlendMode }
3165
+
3166
+ // @public (undocumented)
3167
+ export interface PBParticleSystem_Box {
3168
+ // Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
3169
+ // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
3170
+ size?: PBVector3 | undefined;
3171
+ }
3172
+
3173
+ // @public (undocumented)
3174
+ export namespace PBParticleSystem_Box {
3175
+ // (undocumented)
3176
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Box;
3177
+ // (undocumented)
3178
+ export function encode(message: PBParticleSystem_Box, writer?: _m0.Writer): _m0.Writer;
3179
+ }
3180
+
3181
+ // @public (undocumented)
3182
+ export interface PBParticleSystem_Burst {
3183
+ count: number;
3184
+ cycles?: number | undefined;
3185
+ interval?: number | undefined;
3186
+ probability?: number | undefined;
3187
+ time: number;
3188
+ }
3189
+
3190
+ // @public (undocumented)
3191
+ export namespace PBParticleSystem_Burst {
3192
+ // (undocumented)
3193
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Burst;
3194
+ // (undocumented)
3195
+ export function encode(message: PBParticleSystem_Burst, writer?: _m0.Writer): _m0.Writer;
3196
+ }
3197
+
3198
+ // @public (undocumented)
3199
+ export interface PBParticleSystem_Cone {
3200
+ angle?: number | undefined;
3201
+ radius?: number | undefined;
3202
+ }
3203
+
3204
+ // @public (undocumented)
3205
+ export namespace PBParticleSystem_Cone {
3206
+ // (undocumented)
3207
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Cone;
3208
+ // (undocumented)
3209
+ export function encode(message: PBParticleSystem_Cone, writer?: _m0.Writer): _m0.Writer;
3210
+ }
3211
+
3212
+ // @public (undocumented)
3213
+ export interface PBParticleSystem_LimitVelocity {
3214
+ dampen?: number | undefined;
3215
+ speed: number;
3216
+ }
3217
+
3218
+ // @public (undocumented)
3219
+ export namespace PBParticleSystem_LimitVelocity {
3220
+ // (undocumented)
3221
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_LimitVelocity;
3222
+ // (undocumented)
3223
+ export function encode(message: PBParticleSystem_LimitVelocity, writer?: _m0.Writer): _m0.Writer;
3224
+ }
3225
+
3226
+ // @public (undocumented)
3227
+ const enum PBParticleSystem_PlaybackState {
3228
+ PS_PAUSED = 1,
3229
+ PS_PLAYING = 0,
3230
+ PS_STOPPED = 2
3231
+ }
3232
+ export { PBParticleSystem_PlaybackState }
3233
+ export { PBParticleSystem_PlaybackState as ParticleSystemPlaybackState }
3234
+
3235
+ // @public (undocumented)
3236
+ export interface PBParticleSystem_Point {
3237
+ }
3238
+
3239
+ // @public (undocumented)
3240
+ export namespace PBParticleSystem_Point {
3241
+ // (undocumented)
3242
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Point;
3243
+ // (undocumented)
3244
+ export function encode(_: PBParticleSystem_Point, writer?: _m0.Writer): _m0.Writer;
3245
+ }
3246
+
3247
+ // @public (undocumented)
3248
+ export const enum PBParticleSystem_SimulationSpace {
3249
+ PSS_LOCAL = 0,
3250
+ PSS_WORLD = 1
3251
+ }
3252
+
3253
+ // @public (undocumented)
3254
+ export interface PBParticleSystem_Sphere {
3255
+ radius?: number | undefined;
3256
+ }
3257
+
3258
+ // @public (undocumented)
3259
+ export namespace PBParticleSystem_Sphere {
3260
+ // (undocumented)
3261
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_Sphere;
3262
+ // (undocumented)
3263
+ export function encode(message: PBParticleSystem_Sphere, writer?: _m0.Writer): _m0.Writer;
3264
+ }
3265
+
3266
+ // @public (undocumented)
3267
+ export interface PBParticleSystem_SpriteSheetAnimation {
3268
+ framesPerSecond?: number | undefined;
3269
+ tilesX: number;
3270
+ tilesY: number;
3271
+ }
3272
+
3273
+ // @public (undocumented)
3274
+ export namespace PBParticleSystem_SpriteSheetAnimation {
3275
+ // (undocumented)
3276
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBParticleSystem_SpriteSheetAnimation;
3277
+ // (undocumented)
3278
+ export function encode(message: PBParticleSystem_SpriteSheetAnimation, writer?: _m0.Writer): _m0.Writer;
3279
+ }
3280
+
2959
3281
  // @public (undocumented)
2960
3282
  export interface PBPhysicsCombinedForce {
2961
3283
  vector: PBVector3 | undefined;
@@ -3699,6 +4021,7 @@ export namespace PBVideoPlayer {
3699
4021
  export interface PBVirtualCamera {
3700
4022
  // (undocumented)
3701
4023
  defaultTransition?: CameraTransition | undefined;
4024
+ fov?: number | undefined;
3702
4025
  // (undocumented)
3703
4026
  lookAtEntity?: number | undefined;
3704
4027
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.22.3-24033264917.commit-024caa7",
4
+ "version": "7.22.3-24082946861.commit-0d8c4f2",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.22.3-24033264917.commit-024caa7",
8
- "@dcl/sdk": "7.22.3-24033264917.commit-024caa7"
7
+ "@dcl/js-runtime": "7.22.3-24082946861.commit-0d8c4f2",
8
+ "@dcl/sdk": "7.22.3-24082946861.commit-0d8c4f2"
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": "024caa70418ea028924584df5eda597c1e17b00b"
35
+ "commit": "0d8c4f2d8d191ae8b74913efa4d84f92db7afd5c"
36
36
  }