@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 +59 -1
- package/dist/beta.d.ts +59 -1
- package/dist/index.bundled.d.ts +59 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +59 -1
- package/etc/playground-assets.api.json +606 -1
- package/etc/playground-assets.api.md +31 -0
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.14.1-
|
|
4
|
+
"version": "7.14.1-19678724586.commit-33186ef",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
},
|
|
36
36
|
"types": "./index.d.ts",
|
|
37
37
|
"typings": "./index.d.ts",
|
|
38
|
-
"commit": "
|
|
38
|
+
"commit": "33186efbcd48f65eea8fa06e1de23168f7f06a8b"
|
|
39
39
|
}
|
|
@@ -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
|
/**
|