@dcl/sdk 7.0.0-3250968661.commit-2850bf7 → 7.0.0-3273214772.commit-180207d
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/ecs7/index.d.ts +13 -0
- package/dist/ecs7/index.js +79 -5
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +13 -0
package/dist/ecs7/index.d.ts
CHANGED
@@ -6,6 +6,9 @@ export declare const Animator: ComponentDefinition<ISchema<PBAnimator>, PBAnimat
|
|
6
6
|
/** @public */
|
7
7
|
export declare const AudioSource: ComponentDefinition<ISchema<PBAudioSource>, PBAudioSource>;
|
8
8
|
|
9
|
+
/** @public */
|
10
|
+
export declare const AudioStream: ComponentDefinition<ISchema<PBAudioStream>, PBAudioStream>;
|
11
|
+
|
9
12
|
declare const enum AvatarAnchorPointType {
|
10
13
|
AAPT_POSITION = 0,
|
11
14
|
AAPT_NAME_TAG = 1,
|
@@ -205,6 +208,8 @@ export declare namespace Components {
|
|
205
208
|
/** @public */
|
206
209
|
const AudioSource: ComponentDefinition<ISchema<PBAudioSource>, PBAudioSource>;
|
207
210
|
/** @public */
|
211
|
+
const AudioStream: ComponentDefinition<ISchema<PBAudioStream>, PBAudioStream>;
|
212
|
+
/** @public */
|
208
213
|
const AvatarAttach: ComponentDefinition<ISchema<PBAvatarAttach>, PBAvatarAttach>;
|
209
214
|
/** @public */
|
210
215
|
const AvatarModifierArea: ComponentDefinition<ISchema<PBAvatarModifierArea>, PBAvatarModifierArea>;
|
@@ -443,6 +448,7 @@ declare function defineSdkComponents(engine: PreEngine): {
|
|
443
448
|
MeshCollider: ComponentDefinition<ISchema<PBMeshCollider>, Partial<PBMeshCollider>>;
|
444
449
|
Animator: ComponentDefinition<ISchema<PBAnimator>, PBAnimator>;
|
445
450
|
AudioSource: ComponentDefinition<ISchema<PBAudioSource>, PBAudioSource>;
|
451
|
+
AudioStream: ComponentDefinition<ISchema<PBAudioStream>, PBAudioStream>;
|
446
452
|
AvatarAttach: ComponentDefinition<ISchema<PBAvatarAttach>, PBAvatarAttach>;
|
447
453
|
AvatarModifierArea: ComponentDefinition<ISchema<PBAvatarModifierArea>, PBAvatarModifierArea>;
|
448
454
|
AvatarShape: ComponentDefinition<ISchema<PBAvatarShape>, PBAvatarShape>;
|
@@ -1838,6 +1844,13 @@ declare interface PBAudioSource {
|
|
1838
1844
|
audioClipUrl: string;
|
1839
1845
|
}
|
1840
1846
|
|
1847
|
+
declare interface PBAudioStream {
|
1848
|
+
playing?: boolean | undefined;
|
1849
|
+
/** default=1.0f */
|
1850
|
+
volume?: number | undefined;
|
1851
|
+
url: string;
|
1852
|
+
}
|
1853
|
+
|
1841
1854
|
declare interface PBAvatarAttach {
|
1842
1855
|
avatarId: string;
|
1843
1856
|
anchorPointId: AvatarAnchorPointType;
|