@dcl/playground-assets 7.14.1-19676464210.commit-6775120 → 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 +39 -1
- package/dist/beta.d.ts +39 -1
- package/dist/index.bundled.d.ts +39 -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 +39 -1
- package/etc/playground-assets.api.json +444 -1
- package/etc/playground-assets.api.md +25 -0
- package/package.json +4 -4
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;
|
|
@@ -4308,6 +4313,36 @@ export declare namespace PBAvatarEquippedData {
|
|
|
4308
4313
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
|
4309
4314
|
}
|
|
4310
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
|
+
|
|
4311
4346
|
/**
|
|
4312
4347
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
|
4313
4348
|
* avatar behavior changes.
|
|
@@ -6034,6 +6069,7 @@ export declare namespace PBVideoPlayer {
|
|
|
6034
6069
|
* an 'instant' transition (like using speed/time = 0)
|
|
6035
6070
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6036
6071
|
* the holding entity transform).
|
|
6072
|
+
* * The fov defines the Field of View of the virtual camera
|
|
6037
6073
|
*/
|
|
6038
6074
|
/**
|
|
6039
6075
|
* @public
|
|
@@ -6041,6 +6077,8 @@ export declare namespace PBVideoPlayer {
|
|
|
6041
6077
|
export declare interface PBVirtualCamera {
|
|
6042
6078
|
defaultTransition?: CameraTransition | undefined;
|
|
6043
6079
|
lookAtEntity?: number | undefined;
|
|
6080
|
+
/** default: 60 */
|
|
6081
|
+
fov?: number | undefined;
|
|
6044
6082
|
}
|
|
6045
6083
|
|
|
6046
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;
|
|
@@ -4280,6 +4285,36 @@ export declare namespace PBAvatarEquippedData {
|
|
|
4280
4285
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
|
4281
4286
|
}
|
|
4282
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
|
+
|
|
4283
4318
|
/**
|
|
4284
4319
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
|
4285
4320
|
* avatar behavior changes.
|
|
@@ -6006,6 +6041,7 @@ export declare namespace PBVideoPlayer {
|
|
|
6006
6041
|
* an 'instant' transition (like using speed/time = 0)
|
|
6007
6042
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6008
6043
|
* the holding entity transform).
|
|
6044
|
+
* * The fov defines the Field of View of the virtual camera
|
|
6009
6045
|
*/
|
|
6010
6046
|
/**
|
|
6011
6047
|
* @public
|
|
@@ -6013,6 +6049,8 @@ export declare namespace PBVideoPlayer {
|
|
|
6013
6049
|
export declare interface PBVirtualCamera {
|
|
6014
6050
|
defaultTransition?: CameraTransition | undefined;
|
|
6015
6051
|
lookAtEntity?: number | undefined;
|
|
6052
|
+
/** default: 60 */
|
|
6053
|
+
fov?: number | undefined;
|
|
6016
6054
|
}
|
|
6017
6055
|
|
|
6018
6056
|
/**
|
package/dist/index.bundled.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;
|
|
@@ -4280,6 +4285,36 @@ export declare namespace PBAvatarEquippedData {
|
|
|
4280
4285
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
|
4281
4286
|
}
|
|
4282
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
|
+
|
|
4283
4318
|
/**
|
|
4284
4319
|
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
|
4285
4320
|
* avatar behavior changes.
|
|
@@ -6006,6 +6041,7 @@ export declare namespace PBVideoPlayer {
|
|
|
6006
6041
|
* an 'instant' transition (like using speed/time = 0)
|
|
6007
6042
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6008
6043
|
* the holding entity transform).
|
|
6044
|
+
* * The fov defines the Field of View of the virtual camera
|
|
6009
6045
|
*/
|
|
6010
6046
|
/**
|
|
6011
6047
|
* @public
|
|
@@ -6013,6 +6049,8 @@ export declare namespace PBVideoPlayer {
|
|
|
6013
6049
|
export declare interface PBVirtualCamera {
|
|
6014
6050
|
defaultTransition?: CameraTransition | undefined;
|
|
6015
6051
|
lookAtEntity?: number | undefined;
|
|
6052
|
+
/** default: 60 */
|
|
6053
|
+
fov?: number | undefined;
|
|
6016
6054
|
}
|
|
6017
6055
|
|
|
6018
6056
|
/**
|