@dcl/playground-assets 7.24.1-27294863236.commit-bff98c4 → 7.24.1-27386133361.commit-558451f
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 +5 -21
- package/dist/beta.d.ts +5 -21
- package/dist/index.bundled.d.ts +5 -21
- package/dist/index.js +5 -5
- package/dist/playground/sdk/apis.d.ts +0 -6
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +5 -21
- package/etc/playground-assets.api.json +1 -168
- package/etc/playground-assets.api.md +0 -12
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -182,11 +182,13 @@ export declare interface AudioSourceComponentDefinitionExtended extends LastWrit
|
|
|
182
182
|
/**
|
|
183
183
|
* @public
|
|
184
184
|
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
185
|
+
* Play the sound `src` on the given entity. Creates the AudioSource component
|
|
186
|
+
* if it does not yet exist. Always emits a CRDT PUT, so repeated calls with
|
|
187
|
+
* identical parameters reliably retrigger playback.
|
|
188
|
+
* @param entity - target entity (AudioSource will be created if missing)
|
|
187
189
|
* @param src - the path to the sound to play
|
|
188
190
|
* @param resetCursor - the sound starts at 0 or continues from the current cursor position
|
|
189
|
-
* @returns true
|
|
191
|
+
* @returns always true; retained for backwards compatibility
|
|
190
192
|
*/
|
|
191
193
|
playSound(entity: Entity, src: string, resetCursor?: boolean): boolean;
|
|
192
194
|
/**
|
|
@@ -261,15 +263,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
261
263
|
/** @public */
|
|
262
264
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
263
265
|
|
|
264
|
-
/** Mask for which bones an animation applies to. */
|
|
265
|
-
/**
|
|
266
|
-
* @public
|
|
267
|
-
*/
|
|
268
|
-
export declare const enum AvatarEmoteMask {
|
|
269
|
-
AEM_FULL_BODY = 0,
|
|
270
|
-
AEM_UPPER_BODY = 1
|
|
271
|
-
}
|
|
272
|
-
|
|
273
266
|
/** @public */
|
|
274
267
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
275
268
|
|
|
@@ -4858,12 +4851,6 @@ export declare interface PBAvatarLocomotionSettings {
|
|
|
4858
4851
|
runJumpHeight?: number | undefined;
|
|
4859
4852
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
4860
4853
|
hardLandingCooldown?: number | undefined;
|
|
4861
|
-
/** Height of the double jump (in meters) */
|
|
4862
|
-
doubleJumpHeight?: number | undefined;
|
|
4863
|
-
/** Maximum speed when gliding (in meters per second) */
|
|
4864
|
-
glidingSpeed?: number | undefined;
|
|
4865
|
-
/** Maximum falling speed when gliding (in meters per second) */
|
|
4866
|
-
glidingFallingSpeed?: number | undefined;
|
|
4867
4854
|
}
|
|
4868
4855
|
|
|
4869
4856
|
/**
|
|
@@ -6956,7 +6943,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6956
6943
|
* an 'instant' transition (like using speed/time = 0)
|
|
6957
6944
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6958
6945
|
* the holding entity transform).
|
|
6959
|
-
* * The fov defines the Field of View of the virtual camera
|
|
6960
6946
|
*/
|
|
6961
6947
|
/**
|
|
6962
6948
|
* @public
|
|
@@ -6964,8 +6950,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6964
6950
|
export declare interface PBVirtualCamera {
|
|
6965
6951
|
defaultTransition?: CameraTransition | undefined;
|
|
6966
6952
|
lookAtEntity?: number | undefined;
|
|
6967
|
-
/** default: 60 */
|
|
6968
|
-
fov?: number | undefined;
|
|
6969
6953
|
}
|
|
6970
6954
|
|
|
6971
6955
|
/**
|
package/dist/beta.d.ts
CHANGED
|
@@ -182,11 +182,13 @@ export declare interface AudioSourceComponentDefinitionExtended extends LastWrit
|
|
|
182
182
|
/**
|
|
183
183
|
* @public
|
|
184
184
|
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
185
|
+
* Play the sound `src` on the given entity. Creates the AudioSource component
|
|
186
|
+
* if it does not yet exist. Always emits a CRDT PUT, so repeated calls with
|
|
187
|
+
* identical parameters reliably retrigger playback.
|
|
188
|
+
* @param entity - target entity (AudioSource will be created if missing)
|
|
187
189
|
* @param src - the path to the sound to play
|
|
188
190
|
* @param resetCursor - the sound starts at 0 or continues from the current cursor position
|
|
189
|
-
* @returns true
|
|
191
|
+
* @returns always true; retained for backwards compatibility
|
|
190
192
|
*/
|
|
191
193
|
playSound(entity: Entity, src: string, resetCursor?: boolean): boolean;
|
|
192
194
|
/**
|
|
@@ -261,15 +263,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
261
263
|
/** @public */
|
|
262
264
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
263
265
|
|
|
264
|
-
/** Mask for which bones an animation applies to. */
|
|
265
|
-
/**
|
|
266
|
-
* @public
|
|
267
|
-
*/
|
|
268
|
-
export declare const enum AvatarEmoteMask {
|
|
269
|
-
AEM_FULL_BODY = 0,
|
|
270
|
-
AEM_UPPER_BODY = 1
|
|
271
|
-
}
|
|
272
|
-
|
|
273
266
|
/** @public */
|
|
274
267
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
275
268
|
|
|
@@ -4830,12 +4823,6 @@ export declare interface PBAvatarLocomotionSettings {
|
|
|
4830
4823
|
runJumpHeight?: number | undefined;
|
|
4831
4824
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
4832
4825
|
hardLandingCooldown?: number | undefined;
|
|
4833
|
-
/** Height of the double jump (in meters) */
|
|
4834
|
-
doubleJumpHeight?: number | undefined;
|
|
4835
|
-
/** Maximum speed when gliding (in meters per second) */
|
|
4836
|
-
glidingSpeed?: number | undefined;
|
|
4837
|
-
/** Maximum falling speed when gliding (in meters per second) */
|
|
4838
|
-
glidingFallingSpeed?: number | undefined;
|
|
4839
4826
|
}
|
|
4840
4827
|
|
|
4841
4828
|
/**
|
|
@@ -6928,7 +6915,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6928
6915
|
* an 'instant' transition (like using speed/time = 0)
|
|
6929
6916
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6930
6917
|
* the holding entity transform).
|
|
6931
|
-
* * The fov defines the Field of View of the virtual camera
|
|
6932
6918
|
*/
|
|
6933
6919
|
/**
|
|
6934
6920
|
* @public
|
|
@@ -6936,8 +6922,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6936
6922
|
export declare interface PBVirtualCamera {
|
|
6937
6923
|
defaultTransition?: CameraTransition | undefined;
|
|
6938
6924
|
lookAtEntity?: number | undefined;
|
|
6939
|
-
/** default: 60 */
|
|
6940
|
-
fov?: number | undefined;
|
|
6941
6925
|
}
|
|
6942
6926
|
|
|
6943
6927
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -182,11 +182,13 @@ export declare interface AudioSourceComponentDefinitionExtended extends LastWrit
|
|
|
182
182
|
/**
|
|
183
183
|
* @public
|
|
184
184
|
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
185
|
+
* Play the sound `src` on the given entity. Creates the AudioSource component
|
|
186
|
+
* if it does not yet exist. Always emits a CRDT PUT, so repeated calls with
|
|
187
|
+
* identical parameters reliably retrigger playback.
|
|
188
|
+
* @param entity - target entity (AudioSource will be created if missing)
|
|
187
189
|
* @param src - the path to the sound to play
|
|
188
190
|
* @param resetCursor - the sound starts at 0 or continues from the current cursor position
|
|
189
|
-
* @returns true
|
|
191
|
+
* @returns always true; retained for backwards compatibility
|
|
190
192
|
*/
|
|
191
193
|
playSound(entity: Entity, src: string, resetCursor?: boolean): boolean;
|
|
192
194
|
/**
|
|
@@ -261,15 +263,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
261
263
|
/** @public */
|
|
262
264
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
263
265
|
|
|
264
|
-
/** Mask for which bones an animation applies to. */
|
|
265
|
-
/**
|
|
266
|
-
* @public
|
|
267
|
-
*/
|
|
268
|
-
export declare const enum AvatarEmoteMask {
|
|
269
|
-
AEM_FULL_BODY = 0,
|
|
270
|
-
AEM_UPPER_BODY = 1
|
|
271
|
-
}
|
|
272
|
-
|
|
273
266
|
/** @public */
|
|
274
267
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
275
268
|
|
|
@@ -4830,12 +4823,6 @@ export declare interface PBAvatarLocomotionSettings {
|
|
|
4830
4823
|
runJumpHeight?: number | undefined;
|
|
4831
4824
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
4832
4825
|
hardLandingCooldown?: number | undefined;
|
|
4833
|
-
/** Height of the double jump (in meters) */
|
|
4834
|
-
doubleJumpHeight?: number | undefined;
|
|
4835
|
-
/** Maximum speed when gliding (in meters per second) */
|
|
4836
|
-
glidingSpeed?: number | undefined;
|
|
4837
|
-
/** Maximum falling speed when gliding (in meters per second) */
|
|
4838
|
-
glidingFallingSpeed?: number | undefined;
|
|
4839
4826
|
}
|
|
4840
4827
|
|
|
4841
4828
|
/**
|
|
@@ -6928,7 +6915,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6928
6915
|
* an 'instant' transition (like using speed/time = 0)
|
|
6929
6916
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6930
6917
|
* the holding entity transform).
|
|
6931
|
-
* * The fov defines the Field of View of the virtual camera
|
|
6932
6918
|
*/
|
|
6933
6919
|
/**
|
|
6934
6920
|
* @public
|
|
@@ -6936,8 +6922,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6936
6922
|
export declare interface PBVirtualCamera {
|
|
6937
6923
|
defaultTransition?: CameraTransition | undefined;
|
|
6938
6924
|
lookAtEntity?: number | undefined;
|
|
6939
|
-
/** default: 60 */
|
|
6940
|
-
fov?: number | undefined;
|
|
6941
6925
|
}
|
|
6942
6926
|
|
|
6943
6927
|
/**
|