@dcl/playground-assets 7.20.1 → 7.20.2-22104870534.commit-0df3cc0
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 +134 -1
- package/dist/beta.d.ts +134 -1
- package/dist/index.bundled.d.ts +134 -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 +134 -1
- package/etc/playground-assets.api.json +1435 -1
- package/etc/playground-assets.api.md +91 -0
- package/package.json +4 -4
|
@@ -70,6 +70,31 @@ 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
|
+
|
|
73
98
|
// @public (undocumented)
|
|
74
99
|
export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
75
100
|
|
|
@@ -162,6 +187,9 @@ export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmo
|
|
|
162
187
|
// @public (undocumented)
|
|
163
188
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
164
189
|
|
|
190
|
+
// @public (undocumented)
|
|
191
|
+
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
192
|
+
|
|
165
193
|
// @public (undocumented)
|
|
166
194
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
167
195
|
|
|
@@ -644,6 +672,7 @@ export const componentDefinitionByName: {
|
|
|
644
672
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
645
673
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
646
674
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
675
|
+
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
647
676
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
648
677
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
649
678
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -651,6 +680,7 @@ export const componentDefinitionByName: {
|
|
|
651
680
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
652
681
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
653
682
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
683
|
+
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
654
684
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
655
685
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
656
686
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -1499,6 +1529,8 @@ export const enum InputAction {
|
|
|
1499
1529
|
// (undocumented)
|
|
1500
1530
|
IA_LEFT = 7,
|
|
1501
1531
|
// (undocumented)
|
|
1532
|
+
IA_MODIFIER = 14,
|
|
1533
|
+
// (undocumented)
|
|
1502
1534
|
IA_POINTER = 0,
|
|
1503
1535
|
// (undocumented)
|
|
1504
1536
|
IA_PRIMARY = 1,
|
|
@@ -2239,6 +2271,46 @@ export namespace PBAssetLoadLoadingState {
|
|
|
2239
2271
|
export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2240
2272
|
}
|
|
2241
2273
|
|
|
2274
|
+
// @public (undocumented)
|
|
2275
|
+
export interface PBAudioAnalysis {
|
|
2276
|
+
amplitude: number;
|
|
2277
|
+
amplitudeGain?: number | undefined;
|
|
2278
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2279
|
+
band0: number;
|
|
2280
|
+
// (undocumented)
|
|
2281
|
+
band1: number;
|
|
2282
|
+
// (undocumented)
|
|
2283
|
+
band2: number;
|
|
2284
|
+
// (undocumented)
|
|
2285
|
+
band3: number;
|
|
2286
|
+
// (undocumented)
|
|
2287
|
+
band4: number;
|
|
2288
|
+
// (undocumented)
|
|
2289
|
+
band5: number;
|
|
2290
|
+
// (undocumented)
|
|
2291
|
+
band6: number;
|
|
2292
|
+
// (undocumented)
|
|
2293
|
+
band7: number;
|
|
2294
|
+
bandsGain?: number | undefined;
|
|
2295
|
+
mode: PBAudioAnalysisMode;
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
// @public (undocumented)
|
|
2299
|
+
export namespace PBAudioAnalysis {
|
|
2300
|
+
// (undocumented)
|
|
2301
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
|
|
2302
|
+
// (undocumented)
|
|
2303
|
+
export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
// @public (undocumented)
|
|
2307
|
+
export const enum PBAudioAnalysisMode {
|
|
2308
|
+
// (undocumented)
|
|
2309
|
+
MODE_LOGARITHMIC = 1,
|
|
2310
|
+
// (undocumented)
|
|
2311
|
+
MODE_RAW = 0
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2242
2314
|
// @public (undocumented)
|
|
2243
2315
|
export interface PBAudioEvent {
|
|
2244
2316
|
// (undocumented)
|
|
@@ -2360,6 +2432,24 @@ export namespace PBAvatarEquippedData {
|
|
|
2360
2432
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2361
2433
|
}
|
|
2362
2434
|
|
|
2435
|
+
// @public (undocumented)
|
|
2436
|
+
export interface PBAvatarLocomotionSettings {
|
|
2437
|
+
hardLandingCooldown?: number | undefined;
|
|
2438
|
+
jogSpeed?: number | undefined;
|
|
2439
|
+
jumpHeight?: number | undefined;
|
|
2440
|
+
runJumpHeight?: number | undefined;
|
|
2441
|
+
runSpeed?: number | undefined;
|
|
2442
|
+
walkSpeed?: number | undefined;
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
// @public (undocumented)
|
|
2446
|
+
export namespace PBAvatarLocomotionSettings {
|
|
2447
|
+
// (undocumented)
|
|
2448
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
2449
|
+
// (undocumented)
|
|
2450
|
+
export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2363
2453
|
// @public (undocumented)
|
|
2364
2454
|
export interface PBAvatarModifierArea {
|
|
2365
2455
|
area: PBVector3 | undefined;
|
|
@@ -3602,6 +3692,7 @@ export namespace PBVideoPlayer {
|
|
|
3602
3692
|
export interface PBVirtualCamera {
|
|
3603
3693
|
// (undocumented)
|
|
3604
3694
|
defaultTransition?: CameraTransition | undefined;
|
|
3695
|
+
fov?: number | undefined;
|
|
3605
3696
|
// (undocumented)
|
|
3606
3697
|
lookAtEntity?: number | undefined;
|
|
3607
3698
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.20.
|
|
4
|
+
"version": "7.20.2-22104870534.commit-0df3cc0",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.20.
|
|
8
|
-
"@dcl/sdk": "7.20.
|
|
7
|
+
"@dcl/js-runtime": "7.20.2-22104870534.commit-0df3cc0",
|
|
8
|
+
"@dcl/sdk": "7.20.2-22104870534.commit-0df3cc0"
|
|
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": "0df3cc09f672669cf4f67ffc4f9946ca5b3ebeb7"
|
|
36
36
|
}
|