@dcl/playground-assets 7.22.3 → 7.22.4-24244806167.commit-6559014
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 +149 -1
- package/dist/beta.d.ts +149 -1
- package/dist/index.bundled.d.ts +149 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +6 -0
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +149 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +2513 -939
- package/etc/playground-assets.api.md +102 -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
|
|
|
@@ -159,9 +184,20 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
|
|
|
159
184
|
// @public (undocumented)
|
|
160
185
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
161
186
|
|
|
187
|
+
// @public (undocumented)
|
|
188
|
+
export const enum AvatarEmoteMask {
|
|
189
|
+
// (undocumented)
|
|
190
|
+
AEM_FULL_BODY = 0,
|
|
191
|
+
// (undocumented)
|
|
192
|
+
AEM_UPPER_BODY = 1
|
|
193
|
+
}
|
|
194
|
+
|
|
162
195
|
// @public (undocumented)
|
|
163
196
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
164
197
|
|
|
198
|
+
// @public (undocumented)
|
|
199
|
+
export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
200
|
+
|
|
165
201
|
// @public (undocumented)
|
|
166
202
|
export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
167
203
|
|
|
@@ -660,6 +696,7 @@ export const componentDefinitionByName: {
|
|
|
660
696
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
661
697
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
662
698
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
699
|
+
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
663
700
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
664
701
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
665
702
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -667,6 +704,7 @@ export const componentDefinitionByName: {
|
|
|
667
704
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
668
705
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
669
706
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
707
|
+
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
670
708
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
671
709
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
672
710
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -1538,6 +1576,8 @@ export const enum InputAction {
|
|
|
1538
1576
|
// (undocumented)
|
|
1539
1577
|
IA_LEFT = 7,
|
|
1540
1578
|
// (undocumented)
|
|
1579
|
+
IA_MODIFIER = 14,
|
|
1580
|
+
// (undocumented)
|
|
1541
1581
|
IA_POINTER = 0,
|
|
1542
1582
|
// (undocumented)
|
|
1543
1583
|
IA_PRIMARY = 1,
|
|
@@ -2351,6 +2391,46 @@ export namespace PBAssetLoadLoadingState {
|
|
|
2351
2391
|
export function encode(message: PBAssetLoadLoadingState, writer?: _m0.Writer): _m0.Writer;
|
|
2352
2392
|
}
|
|
2353
2393
|
|
|
2394
|
+
// @public (undocumented)
|
|
2395
|
+
export interface PBAudioAnalysis {
|
|
2396
|
+
amplitude: number;
|
|
2397
|
+
amplitudeGain?: number | undefined;
|
|
2398
|
+
// Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
|
|
2399
|
+
band0: number;
|
|
2400
|
+
// (undocumented)
|
|
2401
|
+
band1: number;
|
|
2402
|
+
// (undocumented)
|
|
2403
|
+
band2: number;
|
|
2404
|
+
// (undocumented)
|
|
2405
|
+
band3: number;
|
|
2406
|
+
// (undocumented)
|
|
2407
|
+
band4: number;
|
|
2408
|
+
// (undocumented)
|
|
2409
|
+
band5: number;
|
|
2410
|
+
// (undocumented)
|
|
2411
|
+
band6: number;
|
|
2412
|
+
// (undocumented)
|
|
2413
|
+
band7: number;
|
|
2414
|
+
bandsGain?: number | undefined;
|
|
2415
|
+
mode: PBAudioAnalysisMode;
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
// @public (undocumented)
|
|
2419
|
+
export namespace PBAudioAnalysis {
|
|
2420
|
+
// (undocumented)
|
|
2421
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
|
|
2422
|
+
// (undocumented)
|
|
2423
|
+
export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
// @public (undocumented)
|
|
2427
|
+
export const enum PBAudioAnalysisMode {
|
|
2428
|
+
// (undocumented)
|
|
2429
|
+
MODE_LOGARITHMIC = 1,
|
|
2430
|
+
// (undocumented)
|
|
2431
|
+
MODE_RAW = 0
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2354
2434
|
// @public (undocumented)
|
|
2355
2435
|
export interface PBAudioEvent {
|
|
2356
2436
|
// (undocumented)
|
|
@@ -2472,6 +2552,27 @@ export namespace PBAvatarEquippedData {
|
|
|
2472
2552
|
export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
2473
2553
|
}
|
|
2474
2554
|
|
|
2555
|
+
// @public (undocumented)
|
|
2556
|
+
export interface PBAvatarLocomotionSettings {
|
|
2557
|
+
doubleJumpHeight?: number | undefined;
|
|
2558
|
+
glidingFallingSpeed?: number | undefined;
|
|
2559
|
+
glidingSpeed?: number | undefined;
|
|
2560
|
+
hardLandingCooldown?: number | undefined;
|
|
2561
|
+
jogSpeed?: number | undefined;
|
|
2562
|
+
jumpHeight?: number | undefined;
|
|
2563
|
+
runJumpHeight?: number | undefined;
|
|
2564
|
+
runSpeed?: number | undefined;
|
|
2565
|
+
walkSpeed?: number | undefined;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
// @public (undocumented)
|
|
2569
|
+
export namespace PBAvatarLocomotionSettings {
|
|
2570
|
+
// (undocumented)
|
|
2571
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
2572
|
+
// (undocumented)
|
|
2573
|
+
export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2475
2576
|
// @public (undocumented)
|
|
2476
2577
|
export interface PBAvatarModifierArea {
|
|
2477
2578
|
area: PBVector3 | undefined;
|
|
@@ -3928,6 +4029,7 @@ export namespace PBVideoPlayer {
|
|
|
3928
4029
|
export interface PBVirtualCamera {
|
|
3929
4030
|
// (undocumented)
|
|
3930
4031
|
defaultTransition?: CameraTransition | undefined;
|
|
4032
|
+
fov?: number | undefined;
|
|
3931
4033
|
// (undocumented)
|
|
3932
4034
|
lookAtEntity?: number | undefined;
|
|
3933
4035
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.22.
|
|
4
|
+
"version": "7.22.4-24244806167.commit-6559014",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.22.
|
|
8
|
-
"@dcl/sdk": "7.22.
|
|
7
|
+
"@dcl/js-runtime": "7.22.4-24244806167.commit-6559014",
|
|
8
|
+
"@dcl/sdk": "7.22.4-24244806167.commit-6559014"
|
|
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": "6559014d9d29a8d8bab1bbff430ce3397f1d3f66"
|
|
36
36
|
}
|