@dcl/playground-assets 7.5.6-9724511758.commit-cb2baa8 → 7.5.6-9766786409.commit-5232ccb
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 +1 -165
- package/dist/beta.d.ts +1 -165
- package/dist/index.bundled.d.ts +1 -165
- package/dist/index.js +6 -6
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +3 -3
- package/dist/playground-assets.d.ts +1 -165
- package/etc/playground-assets.api.json +554 -2474
- package/etc/playground-assets.api.md +0 -123
- package/package.json +4 -4
package/dist/index.bundled.d.ts
CHANGED
@@ -177,18 +177,6 @@ export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBA
|
|
177
177
|
/** @public */
|
178
178
|
export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
179
179
|
|
180
|
-
/**
|
181
|
-
* @public
|
182
|
-
*/
|
183
|
-
export declare const enum AvatarControlType {
|
184
|
-
/** CCT_NONE - avatar cannot move */
|
185
|
-
CCT_NONE = 0,
|
186
|
-
/** CCT_RELATIVE - avatar moves relative to the camera origin */
|
187
|
-
CCT_RELATIVE = 1,
|
188
|
-
/** CCT_TANK - avatar moves like a tank: left/right rotate the player, forward/backward advance/retreat the player */
|
189
|
-
CCT_TANK = 2
|
190
|
-
}
|
191
|
-
|
192
180
|
/** @public */
|
193
181
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
194
182
|
|
@@ -209,37 +197,6 @@ export declare const enum AvatarModifierType {
|
|
209
197
|
AMT_DISABLE_PASSPORTS = 1
|
210
198
|
}
|
211
199
|
|
212
|
-
/**
|
213
|
-
* @public
|
214
|
-
*/
|
215
|
-
export declare interface AvatarMovementSettings {
|
216
|
-
controlMode?: AvatarControlType | undefined;
|
217
|
-
/** if not explicitly set, the following properties default to user's preference settings */
|
218
|
-
runSpeed?: number | undefined;
|
219
|
-
/** how fast the player gets up to speed or comes to rest. higher = more responsive */
|
220
|
-
friction?: number | undefined;
|
221
|
-
/** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
|
222
|
-
gravity?: number | undefined;
|
223
|
-
/** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
|
224
|
-
jumpHeight?: number | undefined;
|
225
|
-
/** max fall speed in m/s. should normally be negative */
|
226
|
-
maxFallSpeed?: number | undefined;
|
227
|
-
/** speed the player turns in tank mode, in radians/s */
|
228
|
-
turnSpeed?: number | undefined;
|
229
|
-
/** speed the player walks at, in m/s */
|
230
|
-
walkSpeed?: number | undefined;
|
231
|
-
/** whether to allow player to move at a slower speed (e.g. with a walk-key or when using a gamepad/joystick). defaults to true */
|
232
|
-
allowWeightedMovement?: boolean | undefined;
|
233
|
-
}
|
234
|
-
|
235
|
-
/**
|
236
|
-
* @public
|
237
|
-
*/
|
238
|
-
export declare namespace AvatarMovementSettings {
|
239
|
-
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
240
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
241
|
-
}
|
242
|
-
|
243
200
|
/** @public */
|
244
201
|
export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
245
202
|
|
@@ -522,39 +479,6 @@ export declare const enum CameraType {
|
|
522
479
|
|
523
480
|
export declare type Children = ReactEcs.JSX.ReactNode;
|
524
481
|
|
525
|
-
/**
|
526
|
-
* @public
|
527
|
-
*/
|
528
|
-
export declare interface CinematicSettings {
|
529
|
-
/** Entity that defines the cinematic camera transform. */
|
530
|
-
cameraEntity: number;
|
531
|
-
/**
|
532
|
-
* Position -> camera's position
|
533
|
-
* Rotation -> camera's direction
|
534
|
-
* scale.z -> zoom level
|
535
|
-
* scale.x and scale.y -> unused
|
536
|
-
*/
|
537
|
-
allowManualRotation?: boolean | undefined;
|
538
|
-
/** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
|
539
|
-
yawRange?: number | undefined;
|
540
|
-
/** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
|
541
|
-
pitchRange?: number | undefined;
|
542
|
-
/** note: cameras can never look up/down further than Vec3::Y */
|
543
|
-
rollRange?: number | undefined;
|
544
|
-
/** minimum zoom level. must be greater than 0. defaults to the input zoom level */
|
545
|
-
zoomMin?: number | undefined;
|
546
|
-
/** maximum zoom level. must be greater than 0. defaults to the input zoom level */
|
547
|
-
zoomMax?: number | undefined;
|
548
|
-
}
|
549
|
-
|
550
|
-
/**
|
551
|
-
* @public
|
552
|
-
*/
|
553
|
-
export declare namespace CinematicSettings {
|
554
|
-
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
555
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
556
|
-
}
|
557
|
-
|
558
482
|
/** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
|
559
483
|
/**
|
560
484
|
* @public
|
@@ -1354,7 +1278,6 @@ export declare const componentDefinitionByName: {
|
|
1354
1278
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
1355
1279
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
1356
1280
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
1357
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
1358
1281
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
1359
1282
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
1360
1283
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
@@ -4212,9 +4135,6 @@ export declare interface PBAvatarModifierArea {
|
|
4212
4135
|
excludeIds: string[];
|
4213
4136
|
/** list of modifiers to apply */
|
4214
4137
|
modifiers: AvatarModifierType[];
|
4215
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
4216
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
4217
|
-
useColliderRange?: boolean | undefined;
|
4218
4138
|
}
|
4219
4139
|
|
4220
4140
|
/**
|
@@ -4327,7 +4247,7 @@ export declare namespace PBCameraMode {
|
|
4327
4247
|
|
4328
4248
|
/**
|
4329
4249
|
* The CameraModeArea component can be attached to an Entity to define a region of space where
|
4330
|
-
* the player's camera mode (1st-person
|
4250
|
+
* the player's camera mode (1st-person or 3rd-person) is overridden.
|
4331
4251
|
*
|
4332
4252
|
* The Entity's Transform position determines the center-point of the region, while its size is
|
4333
4253
|
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
@@ -4337,8 +4257,6 @@ export declare namespace PBCameraMode {
|
|
4337
4257
|
*
|
4338
4258
|
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
4339
4259
|
* is actually a 3D volume.
|
4340
|
-
*
|
4341
|
-
* When mode is set to CtCinematic, the cinematic_settings field must also be provided.
|
4342
4260
|
*/
|
4343
4261
|
/**
|
4344
4262
|
* @public
|
@@ -4348,9 +4266,6 @@ export declare interface PBCameraModeArea {
|
|
4348
4266
|
area: PBVector3 | undefined;
|
4349
4267
|
/** the camera mode to enforce */
|
4350
4268
|
mode: CameraType;
|
4351
|
-
cinematicSettings?: CinematicSettings | undefined;
|
4352
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
4353
|
-
useColliderRange?: boolean | undefined;
|
4354
4269
|
}
|
4355
4270
|
|
4356
4271
|
/**
|
@@ -5332,21 +5247,6 @@ export declare namespace PBUiInputResult {
|
|
5332
5247
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
|
5333
5248
|
}
|
5334
5249
|
|
5335
|
-
/**
|
5336
|
-
* @public
|
5337
|
-
*/
|
5338
|
-
export declare interface PBUiScrollResult {
|
5339
|
-
value: PBVector2 | undefined;
|
5340
|
-
}
|
5341
|
-
|
5342
|
-
/**
|
5343
|
-
* @public
|
5344
|
-
*/
|
5345
|
-
export declare namespace PBUiScrollResult {
|
5346
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
5347
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
5348
|
-
}
|
5349
|
-
|
5350
5250
|
/**
|
5351
5251
|
* @public
|
5352
5252
|
*/
|
@@ -5363,10 +5263,6 @@ export declare interface PBUiText {
|
|
5363
5263
|
fontSize?: number | undefined;
|
5364
5264
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
5365
5265
|
textWrap?: TextWrap | undefined;
|
5366
|
-
/** width of the outline (default: 0) */
|
5367
|
-
outlineWidth?: number | undefined;
|
5368
|
-
/** RGBA color of the outline (default: opaque black) */
|
5369
|
-
outlineColor?: PBColor4 | undefined;
|
5370
5266
|
}
|
5371
5267
|
|
5372
5268
|
/**
|
@@ -5463,14 +5359,6 @@ export declare interface PBUiTransform {
|
|
5463
5359
|
paddingBottom: number;
|
5464
5360
|
/** default: PointerFilterMode.PFM_NONE */
|
5465
5361
|
pointerFilter?: PointerFilterMode | undefined;
|
5466
|
-
/** default: 1 */
|
5467
|
-
opacity?: number | undefined;
|
5468
|
-
/** default empty */
|
5469
|
-
elementId?: string | undefined;
|
5470
|
-
/** default position=(0,0) */
|
5471
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
5472
|
-
/** default ShowScrollBar.SSB_BOTH */
|
5473
|
-
scrollVisible?: ShowScrollBar | undefined;
|
5474
5362
|
}
|
5475
5363
|
|
5476
5364
|
/**
|
@@ -6834,43 +6722,6 @@ export declare namespace Schemas {
|
|
6834
6722
|
}) => void;
|
6835
6723
|
}
|
6836
6724
|
|
6837
|
-
/**
|
6838
|
-
* @public
|
6839
|
-
*/
|
6840
|
-
export declare interface ScrollPositionValue {
|
6841
|
-
value?: {
|
6842
|
-
$case: "position";
|
6843
|
-
position: PBVector2;
|
6844
|
-
} | {
|
6845
|
-
$case: "reference";
|
6846
|
-
reference: string;
|
6847
|
-
} | undefined;
|
6848
|
-
}
|
6849
|
-
|
6850
|
-
/**
|
6851
|
-
* @public
|
6852
|
-
*/
|
6853
|
-
export declare namespace ScrollPositionValue {
|
6854
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
6855
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
6856
|
-
}
|
6857
|
-
|
6858
|
-
/**
|
6859
|
-
* @public
|
6860
|
-
* The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
|
6861
|
-
*/
|
6862
|
-
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
6863
|
-
|
6864
|
-
/**
|
6865
|
-
* @public
|
6866
|
-
*/
|
6867
|
-
export declare const enum ShowScrollBar {
|
6868
|
-
SSB_BOTH = 0,
|
6869
|
-
SSB_ONLY_VERTICAL = 1,
|
6870
|
-
SSB_ONLY_HORIZONTAL = 2,
|
6871
|
-
SSB_HIDDEN = 3
|
6872
|
-
}
|
6873
|
-
|
6874
6725
|
/**
|
6875
6726
|
* @public
|
6876
6727
|
*/
|
@@ -7294,10 +7145,6 @@ export declare interface UiLabelProps {
|
|
7294
7145
|
textAlign?: TextAlignType | undefined;
|
7295
7146
|
/** Label font type. @defaultValue 'sans-serif' */
|
7296
7147
|
font?: UiFontType | undefined;
|
7297
|
-
/** Outline width of the text. @defaultValue 0 */
|
7298
|
-
outlineWidth?: number | undefined;
|
7299
|
-
/** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
|
7300
|
-
outlineColor?: PBColor4 | undefined;
|
7301
7148
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
7302
7149
|
textWrap?: UiTextWrapType | undefined;
|
7303
7150
|
}
|
@@ -7307,9 +7154,6 @@ export declare interface UiLabelProps {
|
|
7307
7154
|
*/
|
7308
7155
|
export declare type uint32 = number;
|
7309
7156
|
|
7310
|
-
/** @public */
|
7311
|
-
export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
7312
|
-
|
7313
7157
|
/** @public */
|
7314
7158
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
7315
7159
|
|
@@ -7382,14 +7226,6 @@ export declare interface UiTransformProps {
|
|
7382
7226
|
overflow?: OverflowType;
|
7383
7227
|
/** The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property) **/
|
7384
7228
|
pointerFilter?: PointerFilterType;
|
7385
|
-
/** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
|
7386
|
-
opacity?: number;
|
7387
|
-
/** A reference value to identify the element, default empty */
|
7388
|
-
elementId?: string;
|
7389
|
-
/** default position=(0,0) if it aplies, a vector or a reference-id */
|
7390
|
-
scrollPosition?: PBVector2 | string;
|
7391
|
-
/** default ShowScrollBar.SSB_BOTH */
|
7392
|
-
scrollVisible?: ScrollVisibleType;
|
7393
7229
|
}
|
7394
7230
|
|
7395
7231
|
/**
|