@dcl/playground-assets 7.14.1-19673051995.commit-94f9a7a → 7.14.1-19678724586.commit-33186ef

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 CHANGED
@@ -184,6 +184,9 @@ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBA
184
184
  /** @public */
185
185
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
186
186
 
187
+ /** @public */
188
+ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
189
+
187
190
  /** @public */
188
191
  export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
189
192
 
@@ -1301,6 +1304,7 @@ export declare const componentDefinitionByName: {
1301
1304
  "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
1302
1305
  "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
1303
1306
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
1307
+ "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
1304
1308
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
1305
1309
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
1306
1310
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -2492,7 +2496,8 @@ export declare const enum InputAction {
2492
2496
  IA_ACTION_3 = 10,
2493
2497
  IA_ACTION_4 = 11,
2494
2498
  IA_ACTION_5 = 12,
2495
- IA_ACTION_6 = 13
2499
+ IA_ACTION_6 = 13,
2500
+ IA_MODIFIER = 14
2496
2501
  }
2497
2502
 
2498
2503
  export declare const InputModifier: InputModifierComponentDefinitionExtended;
@@ -4197,6 +4202,16 @@ export declare interface PBAudioStream {
4197
4202
  volume?: number | undefined;
4198
4203
  /** the audio stream HTTP URL */
4199
4204
  url: string;
4205
+ /**
4206
+ * either the audio will be global or spatial (default: false)
4207
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
4208
+ * spatial: changes depending on where the listener is relative to the sound source
4209
+ */
4210
+ spatial?: boolean | undefined;
4211
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
4212
+ spatialMinDistance?: number | undefined;
4213
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
4214
+ spatialMaxDistance?: number | undefined;
4200
4215
  }
4201
4216
 
4202
4217
  /**
@@ -4298,6 +4313,36 @@ export declare namespace PBAvatarEquippedData {
4298
4313
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
4299
4314
  }
4300
4315
 
4316
+ /**
4317
+ * The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
4318
+ * as the avatar movement speed, jump height etc.
4319
+ */
4320
+ /**
4321
+ * @public
4322
+ */
4323
+ export declare interface PBAvatarLocomotionSettings {
4324
+ /** Maximum speed when walking (in meters per second) */
4325
+ walkSpeed?: number | undefined;
4326
+ /** Maximum speed when jogging (in meters per second) */
4327
+ jogSpeed?: number | undefined;
4328
+ /** Maximum speed when running (in meters per second) */
4329
+ runSpeed?: number | undefined;
4330
+ /** Height of a regular jump (in meters) */
4331
+ jumpHeight?: number | undefined;
4332
+ /** Height of a jump while running (in meters) */
4333
+ runJumpHeight?: number | undefined;
4334
+ /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
4335
+ hardLandingCooldown?: number | undefined;
4336
+ }
4337
+
4338
+ /**
4339
+ * @public
4340
+ */
4341
+ export declare namespace PBAvatarLocomotionSettings {
4342
+ export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
4343
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
4344
+ }
4345
+
4301
4346
  /**
4302
4347
  * The AvatarModifierArea component can be attached to an Entity to define a region of space where
4303
4348
  * avatar behavior changes.
@@ -5998,6 +6043,16 @@ export declare interface PBVideoPlayer {
5998
6043
  playbackRate?: number | undefined;
5999
6044
  /** default false */
6000
6045
  loop?: boolean | undefined;
6046
+ /**
6047
+ * either the audio will be global or spatial (default: false)
6048
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
6049
+ * spatial: changes depending on where the listener is relative to the sound source
6050
+ */
6051
+ spatial?: boolean | undefined;
6052
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
6053
+ spatialMinDistance?: number | undefined;
6054
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
6055
+ spatialMaxDistance?: number | undefined;
6001
6056
  }
6002
6057
 
6003
6058
  /**
@@ -6014,6 +6069,7 @@ export declare namespace PBVideoPlayer {
6014
6069
  * an 'instant' transition (like using speed/time = 0)
6015
6070
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6016
6071
  * the holding entity transform).
6072
+ * * The fov defines the Field of View of the virtual camera
6017
6073
  */
6018
6074
  /**
6019
6075
  * @public
@@ -6021,6 +6077,8 @@ export declare namespace PBVideoPlayer {
6021
6077
  export declare interface PBVirtualCamera {
6022
6078
  defaultTransition?: CameraTransition | undefined;
6023
6079
  lookAtEntity?: number | undefined;
6080
+ /** default: 60 */
6081
+ fov?: number | undefined;
6024
6082
  }
6025
6083
 
6026
6084
  /**
package/dist/beta.d.ts CHANGED
@@ -184,6 +184,9 @@ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBA
184
184
  /** @public */
185
185
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
186
186
 
187
+ /** @public */
188
+ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
189
+
187
190
  /** @public */
188
191
  export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
189
192
 
@@ -1301,6 +1304,7 @@ export declare const componentDefinitionByName: {
1301
1304
  "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
1302
1305
  "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
1303
1306
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
1307
+ "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
1304
1308
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
1305
1309
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
1306
1310
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -2483,7 +2487,8 @@ export declare const enum InputAction {
2483
2487
  IA_ACTION_3 = 10,
2484
2488
  IA_ACTION_4 = 11,
2485
2489
  IA_ACTION_5 = 12,
2486
- IA_ACTION_6 = 13
2490
+ IA_ACTION_6 = 13,
2491
+ IA_MODIFIER = 14
2487
2492
  }
2488
2493
 
2489
2494
  export declare const InputModifier: InputModifierComponentDefinitionExtended;
@@ -4169,6 +4174,16 @@ export declare interface PBAudioStream {
4169
4174
  volume?: number | undefined;
4170
4175
  /** the audio stream HTTP URL */
4171
4176
  url: string;
4177
+ /**
4178
+ * either the audio will be global or spatial (default: false)
4179
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
4180
+ * spatial: changes depending on where the listener is relative to the sound source
4181
+ */
4182
+ spatial?: boolean | undefined;
4183
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
4184
+ spatialMinDistance?: number | undefined;
4185
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
4186
+ spatialMaxDistance?: number | undefined;
4172
4187
  }
4173
4188
 
4174
4189
  /**
@@ -4270,6 +4285,36 @@ export declare namespace PBAvatarEquippedData {
4270
4285
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
4271
4286
  }
4272
4287
 
4288
+ /**
4289
+ * The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
4290
+ * as the avatar movement speed, jump height etc.
4291
+ */
4292
+ /**
4293
+ * @public
4294
+ */
4295
+ export declare interface PBAvatarLocomotionSettings {
4296
+ /** Maximum speed when walking (in meters per second) */
4297
+ walkSpeed?: number | undefined;
4298
+ /** Maximum speed when jogging (in meters per second) */
4299
+ jogSpeed?: number | undefined;
4300
+ /** Maximum speed when running (in meters per second) */
4301
+ runSpeed?: number | undefined;
4302
+ /** Height of a regular jump (in meters) */
4303
+ jumpHeight?: number | undefined;
4304
+ /** Height of a jump while running (in meters) */
4305
+ runJumpHeight?: number | undefined;
4306
+ /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
4307
+ hardLandingCooldown?: number | undefined;
4308
+ }
4309
+
4310
+ /**
4311
+ * @public
4312
+ */
4313
+ export declare namespace PBAvatarLocomotionSettings {
4314
+ export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
4315
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
4316
+ }
4317
+
4273
4318
  /**
4274
4319
  * The AvatarModifierArea component can be attached to an Entity to define a region of space where
4275
4320
  * avatar behavior changes.
@@ -5970,6 +6015,16 @@ export declare interface PBVideoPlayer {
5970
6015
  playbackRate?: number | undefined;
5971
6016
  /** default false */
5972
6017
  loop?: boolean | undefined;
6018
+ /**
6019
+ * either the audio will be global or spatial (default: false)
6020
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
6021
+ * spatial: changes depending on where the listener is relative to the sound source
6022
+ */
6023
+ spatial?: boolean | undefined;
6024
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
6025
+ spatialMinDistance?: number | undefined;
6026
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
6027
+ spatialMaxDistance?: number | undefined;
5973
6028
  }
5974
6029
 
5975
6030
  /**
@@ -5986,6 +6041,7 @@ export declare namespace PBVideoPlayer {
5986
6041
  * an 'instant' transition (like using speed/time = 0)
5987
6042
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
5988
6043
  * the holding entity transform).
6044
+ * * The fov defines the Field of View of the virtual camera
5989
6045
  */
5990
6046
  /**
5991
6047
  * @public
@@ -5993,6 +6049,8 @@ export declare namespace PBVideoPlayer {
5993
6049
  export declare interface PBVirtualCamera {
5994
6050
  defaultTransition?: CameraTransition | undefined;
5995
6051
  lookAtEntity?: number | undefined;
6052
+ /** default: 60 */
6053
+ fov?: number | undefined;
5996
6054
  }
5997
6055
 
5998
6056
  /**
@@ -184,6 +184,9 @@ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBA
184
184
  /** @public */
185
185
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
186
186
 
187
+ /** @public */
188
+ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
189
+
187
190
  /** @public */
188
191
  export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
189
192
 
@@ -1301,6 +1304,7 @@ export declare const componentDefinitionByName: {
1301
1304
  "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
1302
1305
  "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
1303
1306
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
1307
+ "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
1304
1308
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
1305
1309
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
1306
1310
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -2483,7 +2487,8 @@ export declare const enum InputAction {
2483
2487
  IA_ACTION_3 = 10,
2484
2488
  IA_ACTION_4 = 11,
2485
2489
  IA_ACTION_5 = 12,
2486
- IA_ACTION_6 = 13
2490
+ IA_ACTION_6 = 13,
2491
+ IA_MODIFIER = 14
2487
2492
  }
2488
2493
 
2489
2494
  export declare const InputModifier: InputModifierComponentDefinitionExtended;
@@ -4169,6 +4174,16 @@ export declare interface PBAudioStream {
4169
4174
  volume?: number | undefined;
4170
4175
  /** the audio stream HTTP URL */
4171
4176
  url: string;
4177
+ /**
4178
+ * either the audio will be global or spatial (default: false)
4179
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
4180
+ * spatial: changes depending on where the listener is relative to the sound source
4181
+ */
4182
+ spatial?: boolean | undefined;
4183
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
4184
+ spatialMinDistance?: number | undefined;
4185
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
4186
+ spatialMaxDistance?: number | undefined;
4172
4187
  }
4173
4188
 
4174
4189
  /**
@@ -4270,6 +4285,36 @@ export declare namespace PBAvatarEquippedData {
4270
4285
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
4271
4286
  }
4272
4287
 
4288
+ /**
4289
+ * The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
4290
+ * as the avatar movement speed, jump height etc.
4291
+ */
4292
+ /**
4293
+ * @public
4294
+ */
4295
+ export declare interface PBAvatarLocomotionSettings {
4296
+ /** Maximum speed when walking (in meters per second) */
4297
+ walkSpeed?: number | undefined;
4298
+ /** Maximum speed when jogging (in meters per second) */
4299
+ jogSpeed?: number | undefined;
4300
+ /** Maximum speed when running (in meters per second) */
4301
+ runSpeed?: number | undefined;
4302
+ /** Height of a regular jump (in meters) */
4303
+ jumpHeight?: number | undefined;
4304
+ /** Height of a jump while running (in meters) */
4305
+ runJumpHeight?: number | undefined;
4306
+ /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
4307
+ hardLandingCooldown?: number | undefined;
4308
+ }
4309
+
4310
+ /**
4311
+ * @public
4312
+ */
4313
+ export declare namespace PBAvatarLocomotionSettings {
4314
+ export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
4315
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
4316
+ }
4317
+
4273
4318
  /**
4274
4319
  * The AvatarModifierArea component can be attached to an Entity to define a region of space where
4275
4320
  * avatar behavior changes.
@@ -5970,6 +6015,16 @@ export declare interface PBVideoPlayer {
5970
6015
  playbackRate?: number | undefined;
5971
6016
  /** default false */
5972
6017
  loop?: boolean | undefined;
6018
+ /**
6019
+ * either the audio will be global or spatial (default: false)
6020
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
6021
+ * spatial: changes depending on where the listener is relative to the sound source
6022
+ */
6023
+ spatial?: boolean | undefined;
6024
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
6025
+ spatialMinDistance?: number | undefined;
6026
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
6027
+ spatialMaxDistance?: number | undefined;
5973
6028
  }
5974
6029
 
5975
6030
  /**
@@ -5986,6 +6041,7 @@ export declare namespace PBVideoPlayer {
5986
6041
  * an 'instant' transition (like using speed/time = 0)
5987
6042
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
5988
6043
  * the holding entity transform).
6044
+ * * The fov defines the Field of View of the virtual camera
5989
6045
  */
5990
6046
  /**
5991
6047
  * @public
@@ -5993,6 +6049,8 @@ export declare namespace PBVideoPlayer {
5993
6049
  export declare interface PBVirtualCamera {
5994
6050
  defaultTransition?: CameraTransition | undefined;
5995
6051
  lookAtEntity?: number | undefined;
6052
+ /** default: 60 */
6053
+ fov?: number | undefined;
5996
6054
  }
5997
6055
 
5998
6056
  /**