@dcl/playground-assets 7.20.5-22674879735.commit-6a30e67 → 7.20.5-22869988861.commit-9d0cc3a
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 +17 -220
- package/dist/beta.d.ts +17 -220
- package/dist/index.bundled.d.ts +17 -220
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground/snippets/pointer-events.ts +7 -14
- package/dist/playground-assets.d.ts +17 -220
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +207 -2290
- package/etc/playground-assets.api.md +6 -129
- package/package.json +4 -4
|
@@ -70,31 +70,6 @@ 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
|
-
|
|
98
73
|
// @public (undocumented)
|
|
99
74
|
export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
100
75
|
|
|
@@ -187,9 +162,6 @@ export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmo
|
|
|
187
162
|
// @public (undocumented)
|
|
188
163
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
189
164
|
|
|
190
|
-
// @public (undocumented)
|
|
191
|
-
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
192
|
-
|
|
193
165
|
// @public (undocumented)
|
|
194
166
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
195
167
|
|
|
@@ -672,7 +644,6 @@ export const componentDefinitionByName: {
|
|
|
672
644
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
673
645
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
674
646
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
675
|
-
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
676
647
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
677
648
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
678
649
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -680,7 +651,6 @@ export const componentDefinitionByName: {
|
|
|
680
651
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
681
652
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
682
653
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
683
|
-
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
684
654
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
685
655
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
686
656
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -1211,7 +1181,6 @@ export type EventSystemOptions = {
|
|
|
1211
1181
|
showFeedback?: boolean;
|
|
1212
1182
|
showHighlight?: boolean;
|
|
1213
1183
|
maxPlayerDistance?: number;
|
|
1214
|
-
priority?: number;
|
|
1215
1184
|
};
|
|
1216
1185
|
|
|
1217
1186
|
// @public
|
|
@@ -1284,6 +1253,9 @@ export const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystem
|
|
|
1284
1253
|
// @public
|
|
1285
1254
|
export function getEntitiesWithParent(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema'>, parent: Entity): Entity[];
|
|
1286
1255
|
|
|
1256
|
+
// @public
|
|
1257
|
+
export function getGlobal<T>(key: string): T | undefined;
|
|
1258
|
+
|
|
1287
1259
|
// @public
|
|
1288
1260
|
export function getWorldPosition(engine: WorldTransformEngine, entity: Entity): Vector3Type;
|
|
1289
1261
|
|
|
@@ -1532,8 +1504,6 @@ export const enum InputAction {
|
|
|
1532
1504
|
// (undocumented)
|
|
1533
1505
|
IA_LEFT = 7,
|
|
1534
1506
|
// (undocumented)
|
|
1535
|
-
IA_MODIFIER = 14,
|
|
1536
|
-
// (undocumented)
|
|
1537
1507
|
IA_POINTER = 0,
|
|
1538
1508
|
// (undocumented)
|
|
1539
1509
|
IA_PRIMARY = 1,
|
|
@@ -1577,14 +1547,6 @@ export type InstanceCompositeOptions = {
|
|
|
1577
1547
|
alreadyRequestedSrc?: Set<string>;
|
|
1578
1548
|
};
|
|
1579
1549
|
|
|
1580
|
-
// @public (undocumented)
|
|
1581
|
-
export const enum InteractionType {
|
|
1582
|
-
// (undocumented)
|
|
1583
|
-
CURSOR = 0,
|
|
1584
|
-
// (undocumented)
|
|
1585
|
-
PROXIMITY = 1
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
1550
|
// @public (undocumented)
|
|
1589
1551
|
export interface ISchema<T = any> {
|
|
1590
1552
|
// (undocumented)
|
|
@@ -2322,46 +2284,6 @@ export namespace PBAssetLoadLoadingState {
|
|
|
2322
2284
|
export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2323
2285
|
}
|
|
2324
2286
|
|
|
2325
|
-
// @public (undocumented)
|
|
2326
|
-
export interface PBAudioAnalysis {
|
|
2327
|
-
amplitude: number;
|
|
2328
|
-
amplitudeGain?: number | undefined;
|
|
2329
|
-
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2330
|
-
band0: number;
|
|
2331
|
-
// (undocumented)
|
|
2332
|
-
band1: number;
|
|
2333
|
-
// (undocumented)
|
|
2334
|
-
band2: number;
|
|
2335
|
-
// (undocumented)
|
|
2336
|
-
band3: number;
|
|
2337
|
-
// (undocumented)
|
|
2338
|
-
band4: number;
|
|
2339
|
-
// (undocumented)
|
|
2340
|
-
band5: number;
|
|
2341
|
-
// (undocumented)
|
|
2342
|
-
band6: number;
|
|
2343
|
-
// (undocumented)
|
|
2344
|
-
band7: number;
|
|
2345
|
-
bandsGain?: number | undefined;
|
|
2346
|
-
mode: PBAudioAnalysisMode;
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
// @public (undocumented)
|
|
2350
|
-
export namespace PBAudioAnalysis {
|
|
2351
|
-
// (undocumented)
|
|
2352
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
|
|
2353
|
-
// (undocumented)
|
|
2354
|
-
export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
|
|
2355
|
-
}
|
|
2356
|
-
|
|
2357
|
-
// @public (undocumented)
|
|
2358
|
-
export const enum PBAudioAnalysisMode {
|
|
2359
|
-
// (undocumented)
|
|
2360
|
-
MODE_LOGARITHMIC = 1,
|
|
2361
|
-
// (undocumented)
|
|
2362
|
-
MODE_RAW = 0
|
|
2363
|
-
}
|
|
2364
|
-
|
|
2365
2287
|
// @public (undocumented)
|
|
2366
2288
|
export interface PBAudioEvent {
|
|
2367
2289
|
// (undocumented)
|
|
@@ -2483,27 +2405,6 @@ export namespace PBAvatarEquippedData {
|
|
|
2483
2405
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2484
2406
|
}
|
|
2485
2407
|
|
|
2486
|
-
// @public (undocumented)
|
|
2487
|
-
export interface PBAvatarLocomotionSettings {
|
|
2488
|
-
doubleJumpHeight?: number | undefined;
|
|
2489
|
-
glidingFallingSpeed?: number | undefined;
|
|
2490
|
-
glidingSpeed?: number | undefined;
|
|
2491
|
-
hardLandingCooldown?: number | undefined;
|
|
2492
|
-
jogSpeed?: number | undefined;
|
|
2493
|
-
jumpHeight?: number | undefined;
|
|
2494
|
-
runJumpHeight?: number | undefined;
|
|
2495
|
-
runSpeed?: number | undefined;
|
|
2496
|
-
walkSpeed?: number | undefined;
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
// @public (undocumented)
|
|
2500
|
-
export namespace PBAvatarLocomotionSettings {
|
|
2501
|
-
// (undocumented)
|
|
2502
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
2503
|
-
// (undocumented)
|
|
2504
|
-
export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
2408
|
// @public (undocumented)
|
|
2508
2409
|
export interface PBAvatarModifierArea {
|
|
2509
2410
|
area: PBVector3 | undefined;
|
|
@@ -3098,7 +2999,6 @@ export namespace PBPointerEvents {
|
|
|
3098
2999
|
export interface PBPointerEvents_Entry {
|
|
3099
3000
|
eventInfo: PBPointerEvents_Info | undefined;
|
|
3100
3001
|
eventType: PointerEventType;
|
|
3101
|
-
interactionType?: InteractionType | undefined;
|
|
3102
3002
|
}
|
|
3103
3003
|
|
|
3104
3004
|
// @public (undocumented)
|
|
@@ -3115,7 +3015,6 @@ export interface PBPointerEvents_Info {
|
|
|
3115
3015
|
hoverText?: string | undefined;
|
|
3116
3016
|
maxDistance?: number | undefined;
|
|
3117
3017
|
maxPlayerDistance?: number | undefined;
|
|
3118
|
-
priority?: number | undefined;
|
|
3119
3018
|
showFeedback?: boolean | undefined;
|
|
3120
3019
|
showHighlight?: boolean | undefined;
|
|
3121
3020
|
}
|
|
@@ -3782,7 +3681,6 @@ export namespace PBVideoPlayer {
|
|
|
3782
3681
|
export interface PBVirtualCamera {
|
|
3783
3682
|
// (undocumented)
|
|
3784
3683
|
defaultTransition?: CameraTransition | undefined;
|
|
3785
|
-
fov?: number | undefined;
|
|
3786
3684
|
// (undocumented)
|
|
3787
3685
|
lookAtEntity?: number | undefined;
|
|
3788
3686
|
}
|
|
@@ -3880,30 +3778,10 @@ export interface PointerEventsSystem {
|
|
|
3880
3778
|
}, cb: EventSystemCallback): void;
|
|
3881
3779
|
// @deprecated (undocumented)
|
|
3882
3780
|
onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
|
|
3883
|
-
onProximityDown(pointerData: {
|
|
3884
|
-
entity: Entity;
|
|
3885
|
-
opts?: Partial<EventSystemOptions>;
|
|
3886
|
-
}, cb: EventSystemCallback): void;
|
|
3887
|
-
onProximityEnter(pointerData: {
|
|
3888
|
-
entity: Entity;
|
|
3889
|
-
opts?: Partial<EventSystemOptions>;
|
|
3890
|
-
}, cb: EventSystemCallback): void;
|
|
3891
|
-
onProximityLeave(pointerData: {
|
|
3892
|
-
entity: Entity;
|
|
3893
|
-
opts?: Partial<EventSystemOptions>;
|
|
3894
|
-
}, cb: EventSystemCallback): void;
|
|
3895
|
-
onProximityUp(pointerData: {
|
|
3896
|
-
entity: Entity;
|
|
3897
|
-
opts?: Partial<EventSystemOptions>;
|
|
3898
|
-
}, cb: EventSystemCallback): void;
|
|
3899
3781
|
removeOnPointerDown(entity: Entity): void;
|
|
3900
3782
|
removeOnPointerHoverEnter(entity: Entity): void;
|
|
3901
3783
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
3902
3784
|
removeOnPointerUp(entity: Entity): void;
|
|
3903
|
-
removeOnProximityDown(entity: Entity): void;
|
|
3904
|
-
removeOnProximityEnter(entity: Entity): void;
|
|
3905
|
-
removeOnProximityLeave(entity: Entity): void;
|
|
3906
|
-
removeOnProximityUp(entity: Entity): void;
|
|
3907
3785
|
}
|
|
3908
3786
|
|
|
3909
3787
|
// @public
|
|
@@ -3918,10 +3796,6 @@ export const enum PointerEventType {
|
|
|
3918
3796
|
// (undocumented)
|
|
3919
3797
|
PET_HOVER_LEAVE = 3,
|
|
3920
3798
|
// (undocumented)
|
|
3921
|
-
PET_PROXIMITY_ENTER = 4,
|
|
3922
|
-
// (undocumented)
|
|
3923
|
-
PET_PROXIMITY_LEAVE = 5,
|
|
3924
|
-
// (undocumented)
|
|
3925
3799
|
PET_UP = 0
|
|
3926
3800
|
}
|
|
3927
3801
|
|
|
@@ -4486,6 +4360,9 @@ export namespace Schemas {
|
|
|
4486
4360
|
}) => void;
|
|
4487
4361
|
}
|
|
4488
4362
|
|
|
4363
|
+
// @public
|
|
4364
|
+
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4365
|
+
|
|
4489
4366
|
// @public
|
|
4490
4367
|
export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
|
|
4491
4368
|
duration: number;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.20.5-
|
|
4
|
+
"version": "7.20.5-22869988861.commit-9d0cc3a",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.20.5-
|
|
8
|
-
"@dcl/sdk": "7.20.5-
|
|
7
|
+
"@dcl/js-runtime": "7.20.5-22869988861.commit-9d0cc3a",
|
|
8
|
+
"@dcl/sdk": "7.20.5-22869988861.commit-9d0cc3a"
|
|
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": "
|
|
35
|
+
"commit": "9d0cc3ae3ae3f717a56275731d6bc478bc48fb67"
|
|
36
36
|
}
|