@dcl/playground-assets 7.18.2-21453292414.commit-1da934f → 7.18.2-21458377493.commit-ea4f3b6
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 +160 -1
- package/dist/beta.d.ts +160 -1
- package/dist/index.bundled.d.ts +160 -1
- 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-assets.d.ts +160 -1
- package/etc/playground-assets.api.json +2075 -614
- package/etc/playground-assets.api.md +93 -0
- package/package.json +4 -4
|
@@ -50,6 +50,31 @@ export namespace AppendValueOperation {
|
|
|
50
50
|
// @public
|
|
51
51
|
export function areConnected(parcels: Coords[]): boolean;
|
|
52
52
|
|
|
53
|
+
// 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)
|
|
54
|
+
//
|
|
55
|
+
// @public (undocumented)
|
|
56
|
+
export const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
|
|
57
|
+
|
|
58
|
+
// 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)
|
|
59
|
+
//
|
|
60
|
+
// @public (undocumented)
|
|
61
|
+
export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
|
|
62
|
+
createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
63
|
+
amplitudeGain?: number, bandsGain?: number): void;
|
|
64
|
+
createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
65
|
+
amplitudeGain?: number, bandsGain?: number): void;
|
|
66
|
+
readIntoView(entity: Entity, out: AudioAnalysisView): void;
|
|
67
|
+
tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// 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)
|
|
71
|
+
//
|
|
72
|
+
// @public
|
|
73
|
+
export type AudioAnalysisView = {
|
|
74
|
+
amplitude: number;
|
|
75
|
+
bands: number[];
|
|
76
|
+
};
|
|
77
|
+
|
|
53
78
|
// @public (undocumented)
|
|
54
79
|
export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
55
80
|
|
|
@@ -142,6 +167,9 @@ export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmo
|
|
|
142
167
|
// @public (undocumented)
|
|
143
168
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
144
169
|
|
|
170
|
+
// @public (undocumented)
|
|
171
|
+
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
172
|
+
|
|
145
173
|
// @public (undocumented)
|
|
146
174
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
147
175
|
|
|
@@ -622,6 +650,7 @@ export type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T
|
|
|
622
650
|
// @public
|
|
623
651
|
export const componentDefinitionByName: {
|
|
624
652
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
653
|
+
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
625
654
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
626
655
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
627
656
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -629,6 +658,7 @@ export const componentDefinitionByName: {
|
|
|
629
658
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
630
659
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
631
660
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
661
|
+
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
632
662
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
633
663
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
634
664
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -1156,6 +1186,7 @@ export type EventSystemOptions = {
|
|
|
1156
1186
|
maxDistance?: number;
|
|
1157
1187
|
showFeedback?: boolean;
|
|
1158
1188
|
showHighlight?: boolean;
|
|
1189
|
+
maxPlayerDistance?: number;
|
|
1159
1190
|
};
|
|
1160
1191
|
|
|
1161
1192
|
// @public
|
|
@@ -1476,6 +1507,8 @@ export const enum InputAction {
|
|
|
1476
1507
|
// (undocumented)
|
|
1477
1508
|
IA_LEFT = 7,
|
|
1478
1509
|
// (undocumented)
|
|
1510
|
+
IA_MODIFIER = 14,
|
|
1511
|
+
// (undocumented)
|
|
1479
1512
|
IA_POINTER = 0,
|
|
1480
1513
|
// (undocumented)
|
|
1481
1514
|
IA_PRIMARY = 1,
|
|
@@ -2187,6 +2220,46 @@ export namespace PBAnimator {
|
|
|
2187
2220
|
export function encode(message: PBAnimator, writer?: _m0.Writer): _m0.Writer;
|
|
2188
2221
|
}
|
|
2189
2222
|
|
|
2223
|
+
// @public (undocumented)
|
|
2224
|
+
export interface PBAudioAnalysis {
|
|
2225
|
+
amplitude: number;
|
|
2226
|
+
amplitudeGain?: number | undefined;
|
|
2227
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2228
|
+
band0: number;
|
|
2229
|
+
// (undocumented)
|
|
2230
|
+
band1: number;
|
|
2231
|
+
// (undocumented)
|
|
2232
|
+
band2: number;
|
|
2233
|
+
// (undocumented)
|
|
2234
|
+
band3: number;
|
|
2235
|
+
// (undocumented)
|
|
2236
|
+
band4: number;
|
|
2237
|
+
// (undocumented)
|
|
2238
|
+
band5: number;
|
|
2239
|
+
// (undocumented)
|
|
2240
|
+
band6: number;
|
|
2241
|
+
// (undocumented)
|
|
2242
|
+
band7: number;
|
|
2243
|
+
bandsGain?: number | undefined;
|
|
2244
|
+
mode: PBAudioAnalysisMode;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
// @public (undocumented)
|
|
2248
|
+
export namespace PBAudioAnalysis {
|
|
2249
|
+
// (undocumented)
|
|
2250
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
|
|
2251
|
+
// (undocumented)
|
|
2252
|
+
export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
// @public (undocumented)
|
|
2256
|
+
export const enum PBAudioAnalysisMode {
|
|
2257
|
+
// (undocumented)
|
|
2258
|
+
MODE_LOGARITHMIC = 1,
|
|
2259
|
+
// (undocumented)
|
|
2260
|
+
MODE_RAW = 0
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2190
2263
|
// @public (undocumented)
|
|
2191
2264
|
export interface PBAudioEvent {
|
|
2192
2265
|
// (undocumented)
|
|
@@ -2308,6 +2381,24 @@ export namespace PBAvatarEquippedData {
|
|
|
2308
2381
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2309
2382
|
}
|
|
2310
2383
|
|
|
2384
|
+
// @public (undocumented)
|
|
2385
|
+
export interface PBAvatarLocomotionSettings {
|
|
2386
|
+
hardLandingCooldown?: number | undefined;
|
|
2387
|
+
jogSpeed?: number | undefined;
|
|
2388
|
+
jumpHeight?: number | undefined;
|
|
2389
|
+
runJumpHeight?: number | undefined;
|
|
2390
|
+
runSpeed?: number | undefined;
|
|
2391
|
+
walkSpeed?: number | undefined;
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
// @public (undocumented)
|
|
2395
|
+
export namespace PBAvatarLocomotionSettings {
|
|
2396
|
+
// (undocumented)
|
|
2397
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
2398
|
+
// (undocumented)
|
|
2399
|
+
export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2311
2402
|
// @public (undocumented)
|
|
2312
2403
|
export interface PBAvatarModifierArea {
|
|
2313
2404
|
area: PBVector3 | undefined;
|
|
@@ -2886,6 +2977,7 @@ export interface PBPointerEvents_Info {
|
|
|
2886
2977
|
button?: InputAction | undefined;
|
|
2887
2978
|
hoverText?: string | undefined;
|
|
2888
2979
|
maxDistance?: number | undefined;
|
|
2980
|
+
maxPlayerDistance?: number | undefined;
|
|
2889
2981
|
showFeedback?: boolean | undefined;
|
|
2890
2982
|
showHighlight?: boolean | undefined;
|
|
2891
2983
|
}
|
|
@@ -3549,6 +3641,7 @@ export namespace PBVideoPlayer {
|
|
|
3549
3641
|
export interface PBVirtualCamera {
|
|
3550
3642
|
// (undocumented)
|
|
3551
3643
|
defaultTransition?: CameraTransition | undefined;
|
|
3644
|
+
fov?: number | undefined;
|
|
3552
3645
|
// (undocumented)
|
|
3553
3646
|
lookAtEntity?: number | undefined;
|
|
3554
3647
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.18.2-
|
|
4
|
+
"version": "7.18.2-21458377493.commit-ea4f3b6",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.18.2-
|
|
8
|
-
"@dcl/sdk": "7.18.2-
|
|
7
|
+
"@dcl/js-runtime": "7.18.2-21458377493.commit-ea4f3b6",
|
|
8
|
+
"@dcl/sdk": "7.18.2-21458377493.commit-ea4f3b6"
|
|
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": "ea4f3b6e07da35b43506558fd0038b660475a0f9"
|
|
36
36
|
}
|