@dcl/playground-assets 7.24.1-27169868884.commit-5ca22be → 7.24.1-27293561585.commit-8c5b5ad
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 -22
- package/dist/beta.d.ts +5 -22
- package/dist/index.bundled.d.ts +5 -22
- 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 -22
- package/etc/playground-assets.api.json +24 -191
- package/etc/playground-assets.api.md +1 -14
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -261,15 +261,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
261
261
|
/** @public */
|
|
262
262
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
263
263
|
|
|
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
264
|
/** @public */
|
|
274
265
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
275
266
|
|
|
@@ -633,9 +624,10 @@ export declare const enum ColliderLayer {
|
|
|
633
624
|
CL_POINTER = 1,
|
|
634
625
|
/** CL_PHYSICS - collision affecting your player's physics i.e. walls, floor, moving platfroms */
|
|
635
626
|
CL_PHYSICS = 2,
|
|
636
|
-
/** CL_PLAYER - layer corresponding to any player avatar */
|
|
627
|
+
/** CL_PLAYER - layer corresponding to any player avatar (main + remote) */
|
|
637
628
|
CL_PLAYER = 4,
|
|
638
|
-
|
|
629
|
+
/** CL_MAIN_PLAYER - layer corresponding to the local (main) player avatar */
|
|
630
|
+
CL_MAIN_PLAYER = 8,
|
|
639
631
|
CL_RESERVED3 = 16,
|
|
640
632
|
CL_RESERVED4 = 32,
|
|
641
633
|
CL_RESERVED5 = 64,
|
|
@@ -4857,12 +4849,6 @@ export declare interface PBAvatarLocomotionSettings {
|
|
|
4857
4849
|
runJumpHeight?: number | undefined;
|
|
4858
4850
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
4859
4851
|
hardLandingCooldown?: number | undefined;
|
|
4860
|
-
/** Height of the double jump (in meters) */
|
|
4861
|
-
doubleJumpHeight?: number | undefined;
|
|
4862
|
-
/** Maximum speed when gliding (in meters per second) */
|
|
4863
|
-
glidingSpeed?: number | undefined;
|
|
4864
|
-
/** Maximum falling speed when gliding (in meters per second) */
|
|
4865
|
-
glidingFallingSpeed?: number | undefined;
|
|
4866
4852
|
}
|
|
4867
4853
|
|
|
4868
4854
|
/**
|
|
@@ -6955,7 +6941,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6955
6941
|
* an 'instant' transition (like using speed/time = 0)
|
|
6956
6942
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6957
6943
|
* the holding entity transform).
|
|
6958
|
-
* * The fov defines the Field of View of the virtual camera
|
|
6959
6944
|
*/
|
|
6960
6945
|
/**
|
|
6961
6946
|
* @public
|
|
@@ -6963,8 +6948,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6963
6948
|
export declare interface PBVirtualCamera {
|
|
6964
6949
|
defaultTransition?: CameraTransition | undefined;
|
|
6965
6950
|
lookAtEntity?: number | undefined;
|
|
6966
|
-
/** default: 60 */
|
|
6967
|
-
fov?: number | undefined;
|
|
6968
6951
|
}
|
|
6969
6952
|
|
|
6970
6953
|
/**
|
|
@@ -9085,14 +9068,14 @@ export declare interface TriggerAreaComponentDefinitionExtended extends LastWrit
|
|
|
9085
9068
|
* @public
|
|
9086
9069
|
* Set a box in the MeshCollider component
|
|
9087
9070
|
* @param entity - entity to create or replace the TriggerArea component
|
|
9088
|
-
* @param collisionMask - the collision layers mask for the trigger to react, default:
|
|
9071
|
+
* @param collisionMask - the collision layers mask for the trigger to react, default: CL_PLAYER
|
|
9089
9072
|
*/
|
|
9090
9073
|
setBox(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
|
|
9091
9074
|
/**
|
|
9092
9075
|
* @public
|
|
9093
9076
|
* Set a sphere in the MeshCollider component
|
|
9094
9077
|
* @param entity - entity to create or replace the TriggerArea component
|
|
9095
|
-
* @param collisionMask - the collision layers mask for the trigger to react, default:
|
|
9078
|
+
* @param collisionMask - the collision layers mask for the trigger to react, default: CL_PLAYER
|
|
9096
9079
|
*/
|
|
9097
9080
|
setSphere(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
|
|
9098
9081
|
}
|
package/dist/beta.d.ts
CHANGED
|
@@ -261,15 +261,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
261
261
|
/** @public */
|
|
262
262
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
263
263
|
|
|
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
264
|
/** @public */
|
|
274
265
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
275
266
|
|
|
@@ -633,9 +624,10 @@ export declare const enum ColliderLayer {
|
|
|
633
624
|
CL_POINTER = 1,
|
|
634
625
|
/** CL_PHYSICS - collision affecting your player's physics i.e. walls, floor, moving platfroms */
|
|
635
626
|
CL_PHYSICS = 2,
|
|
636
|
-
/** CL_PLAYER - layer corresponding to any player avatar */
|
|
627
|
+
/** CL_PLAYER - layer corresponding to any player avatar (main + remote) */
|
|
637
628
|
CL_PLAYER = 4,
|
|
638
|
-
|
|
629
|
+
/** CL_MAIN_PLAYER - layer corresponding to the local (main) player avatar */
|
|
630
|
+
CL_MAIN_PLAYER = 8,
|
|
639
631
|
CL_RESERVED3 = 16,
|
|
640
632
|
CL_RESERVED4 = 32,
|
|
641
633
|
CL_RESERVED5 = 64,
|
|
@@ -4829,12 +4821,6 @@ export declare interface PBAvatarLocomotionSettings {
|
|
|
4829
4821
|
runJumpHeight?: number | undefined;
|
|
4830
4822
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
4831
4823
|
hardLandingCooldown?: number | undefined;
|
|
4832
|
-
/** Height of the double jump (in meters) */
|
|
4833
|
-
doubleJumpHeight?: number | undefined;
|
|
4834
|
-
/** Maximum speed when gliding (in meters per second) */
|
|
4835
|
-
glidingSpeed?: number | undefined;
|
|
4836
|
-
/** Maximum falling speed when gliding (in meters per second) */
|
|
4837
|
-
glidingFallingSpeed?: number | undefined;
|
|
4838
4824
|
}
|
|
4839
4825
|
|
|
4840
4826
|
/**
|
|
@@ -6927,7 +6913,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6927
6913
|
* an 'instant' transition (like using speed/time = 0)
|
|
6928
6914
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6929
6915
|
* the holding entity transform).
|
|
6930
|
-
* * The fov defines the Field of View of the virtual camera
|
|
6931
6916
|
*/
|
|
6932
6917
|
/**
|
|
6933
6918
|
* @public
|
|
@@ -6935,8 +6920,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6935
6920
|
export declare interface PBVirtualCamera {
|
|
6936
6921
|
defaultTransition?: CameraTransition | undefined;
|
|
6937
6922
|
lookAtEntity?: number | undefined;
|
|
6938
|
-
/** default: 60 */
|
|
6939
|
-
fov?: number | undefined;
|
|
6940
6923
|
}
|
|
6941
6924
|
|
|
6942
6925
|
/**
|
|
@@ -9052,14 +9035,14 @@ export declare interface TriggerAreaComponentDefinitionExtended extends LastWrit
|
|
|
9052
9035
|
* @public
|
|
9053
9036
|
* Set a box in the MeshCollider component
|
|
9054
9037
|
* @param entity - entity to create or replace the TriggerArea component
|
|
9055
|
-
* @param collisionMask - the collision layers mask for the trigger to react, default:
|
|
9038
|
+
* @param collisionMask - the collision layers mask for the trigger to react, default: CL_PLAYER
|
|
9056
9039
|
*/
|
|
9057
9040
|
setBox(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
|
|
9058
9041
|
/**
|
|
9059
9042
|
* @public
|
|
9060
9043
|
* Set a sphere in the MeshCollider component
|
|
9061
9044
|
* @param entity - entity to create or replace the TriggerArea component
|
|
9062
|
-
* @param collisionMask - the collision layers mask for the trigger to react, default:
|
|
9045
|
+
* @param collisionMask - the collision layers mask for the trigger to react, default: CL_PLAYER
|
|
9063
9046
|
*/
|
|
9064
9047
|
setSphere(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
|
|
9065
9048
|
}
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -261,15 +261,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
261
261
|
/** @public */
|
|
262
262
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
263
263
|
|
|
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
264
|
/** @public */
|
|
274
265
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
275
266
|
|
|
@@ -633,9 +624,10 @@ export declare const enum ColliderLayer {
|
|
|
633
624
|
CL_POINTER = 1,
|
|
634
625
|
/** CL_PHYSICS - collision affecting your player's physics i.e. walls, floor, moving platfroms */
|
|
635
626
|
CL_PHYSICS = 2,
|
|
636
|
-
/** CL_PLAYER - layer corresponding to any player avatar */
|
|
627
|
+
/** CL_PLAYER - layer corresponding to any player avatar (main + remote) */
|
|
637
628
|
CL_PLAYER = 4,
|
|
638
|
-
|
|
629
|
+
/** CL_MAIN_PLAYER - layer corresponding to the local (main) player avatar */
|
|
630
|
+
CL_MAIN_PLAYER = 8,
|
|
639
631
|
CL_RESERVED3 = 16,
|
|
640
632
|
CL_RESERVED4 = 32,
|
|
641
633
|
CL_RESERVED5 = 64,
|
|
@@ -4829,12 +4821,6 @@ export declare interface PBAvatarLocomotionSettings {
|
|
|
4829
4821
|
runJumpHeight?: number | undefined;
|
|
4830
4822
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
4831
4823
|
hardLandingCooldown?: number | undefined;
|
|
4832
|
-
/** Height of the double jump (in meters) */
|
|
4833
|
-
doubleJumpHeight?: number | undefined;
|
|
4834
|
-
/** Maximum speed when gliding (in meters per second) */
|
|
4835
|
-
glidingSpeed?: number | undefined;
|
|
4836
|
-
/** Maximum falling speed when gliding (in meters per second) */
|
|
4837
|
-
glidingFallingSpeed?: number | undefined;
|
|
4838
4824
|
}
|
|
4839
4825
|
|
|
4840
4826
|
/**
|
|
@@ -6927,7 +6913,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6927
6913
|
* an 'instant' transition (like using speed/time = 0)
|
|
6928
6914
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6929
6915
|
* the holding entity transform).
|
|
6930
|
-
* * The fov defines the Field of View of the virtual camera
|
|
6931
6916
|
*/
|
|
6932
6917
|
/**
|
|
6933
6918
|
* @public
|
|
@@ -6935,8 +6920,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6935
6920
|
export declare interface PBVirtualCamera {
|
|
6936
6921
|
defaultTransition?: CameraTransition | undefined;
|
|
6937
6922
|
lookAtEntity?: number | undefined;
|
|
6938
|
-
/** default: 60 */
|
|
6939
|
-
fov?: number | undefined;
|
|
6940
6923
|
}
|
|
6941
6924
|
|
|
6942
6925
|
/**
|
|
@@ -9052,14 +9035,14 @@ export declare interface TriggerAreaComponentDefinitionExtended extends LastWrit
|
|
|
9052
9035
|
* @public
|
|
9053
9036
|
* Set a box in the MeshCollider component
|
|
9054
9037
|
* @param entity - entity to create or replace the TriggerArea component
|
|
9055
|
-
* @param collisionMask - the collision layers mask for the trigger to react, default:
|
|
9038
|
+
* @param collisionMask - the collision layers mask for the trigger to react, default: CL_PLAYER
|
|
9056
9039
|
*/
|
|
9057
9040
|
setBox(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
|
|
9058
9041
|
/**
|
|
9059
9042
|
* @public
|
|
9060
9043
|
* Set a sphere in the MeshCollider component
|
|
9061
9044
|
* @param entity - entity to create or replace the TriggerArea component
|
|
9062
|
-
* @param collisionMask - the collision layers mask for the trigger to react, default:
|
|
9045
|
+
* @param collisionMask - the collision layers mask for the trigger to react, default: CL_PLAYER
|
|
9063
9046
|
*/
|
|
9064
9047
|
setSphere(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
|
|
9065
9048
|
}
|