@dcl/playground-assets 7.23.4-26110424113.commit-4b40cec → 7.23.4-26770223094.commit-52b9415

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 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
 
@@ -4843,12 +4834,6 @@ export declare interface PBAvatarLocomotionSettings {
4843
4834
  runJumpHeight?: number | undefined;
4844
4835
  /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
4845
4836
  hardLandingCooldown?: number | undefined;
4846
- /** Height of the double jump (in meters) */
4847
- doubleJumpHeight?: number | undefined;
4848
- /** Maximum speed when gliding (in meters per second) */
4849
- glidingSpeed?: number | undefined;
4850
- /** Maximum falling speed when gliding (in meters per second) */
4851
- glidingFallingSpeed?: number | undefined;
4852
4837
  }
4853
4838
 
4854
4839
  /**
@@ -6585,6 +6570,14 @@ export declare interface PBUiCanvasInformation {
6585
6570
  * on the contrary, if the chat UI is shown, the rect would be smaller.
6586
6571
  */
6587
6572
  interactableArea: BorderRect | undefined;
6573
+ /**
6574
+ * informs the sdk about the screen inset area (safe margins). these are the
6575
+ * insets from each edge of the screen that are reserved by the device or
6576
+ * platform UI (for example: the notch, status bar, home indicator, or rounded
6577
+ * corners on mobile). scenes should avoid placing critical UI within these
6578
+ * insets to ensure it is not occluded. on desktop this is typically (0, 0, 0, 0).
6579
+ */
6580
+ screenInsetArea?: BorderRect | undefined;
6588
6581
  }
6589
6582
 
6590
6583
  /**
@@ -6933,7 +6926,6 @@ export declare namespace PBVideoPlayer {
6933
6926
  * an 'instant' transition (like using speed/time = 0)
6934
6927
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6935
6928
  * the holding entity transform).
6936
- * * The fov defines the Field of View of the virtual camera
6937
6929
  */
6938
6930
  /**
6939
6931
  * @public
@@ -6941,8 +6933,6 @@ export declare namespace PBVideoPlayer {
6941
6933
  export declare interface PBVirtualCamera {
6942
6934
  defaultTransition?: CameraTransition | undefined;
6943
6935
  lookAtEntity?: number | undefined;
6944
- /** default: 60 */
6945
- fov?: number | undefined;
6946
6936
  }
6947
6937
 
6948
6938
  /**
@@ -8578,6 +8568,27 @@ export declare namespace Schemas {
8578
8568
  }) => void;
8579
8569
  }
8580
8570
 
8571
+ /**
8572
+ *
8573
+ * @public
8574
+ * ScreenInsetArea component
8575
+ *
8576
+ * Constrains its children to the area inside the renderer-reported screen
8577
+ * inset (safe margins). On mobile this is the area excluding the notch,
8578
+ * status bar, home indicator and rounded corners. On desktop the insets are
8579
+ * typically zero, so the container fills the canvas.
8580
+ *
8581
+ * The container is absolutely positioned with top/left/right/bottom matching
8582
+ * the current `UiCanvasInformation.screenInsetArea`, so a child sized
8583
+ * 100%x100% fills the safe area exactly.
8584
+ *
8585
+ * @example
8586
+ * <ScreenInsetArea><MyHud /></ScreenInsetArea>
8587
+ *
8588
+ * @category Component
8589
+ */
8590
+ export declare function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
8591
+
8581
8592
  /**
8582
8593
  * Sets a globalThis property as a polyfill (only if undefined/null).
8583
8594
  * @public
@@ -9433,6 +9444,28 @@ export declare type UiRendererOptions = {
9433
9444
  virtualHeight: number;
9434
9445
  };
9435
9446
 
9447
+ /**
9448
+ * ScreenInsetArea component props
9449
+ *
9450
+ * The container reads the current `screenInsetArea` reported by the renderer
9451
+ * via `UiCanvasInformation` (the device safe margins — notch, status bar,
9452
+ * home indicator, rounded corners) and constrains its children to the area
9453
+ * inside those insets using absolute positioning. Layout props that control
9454
+ * the container's own position (`positionType`, `position`) are owned by the
9455
+ * component and are not configurable from props — every other layout,
9456
+ * background and event prop is forwarded as usual.
9457
+ *
9458
+ * @public
9459
+ */
9460
+ export declare type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
9461
+ /**
9462
+ * Layout overrides forwarded to the underlying entity. The
9463
+ * `positionType` and `position` fields are reserved by the container and
9464
+ * any value provided here is ignored.
9465
+ */
9466
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
9467
+ };
9468
+
9436
9469
  /** @public */
9437
9470
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
9438
9471
 
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
 
@@ -4815,12 +4806,6 @@ export declare interface PBAvatarLocomotionSettings {
4815
4806
  runJumpHeight?: number | undefined;
4816
4807
  /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
4817
4808
  hardLandingCooldown?: number | undefined;
4818
- /** Height of the double jump (in meters) */
4819
- doubleJumpHeight?: number | undefined;
4820
- /** Maximum speed when gliding (in meters per second) */
4821
- glidingSpeed?: number | undefined;
4822
- /** Maximum falling speed when gliding (in meters per second) */
4823
- glidingFallingSpeed?: number | undefined;
4824
4809
  }
4825
4810
 
4826
4811
  /**
@@ -6557,6 +6542,14 @@ export declare interface PBUiCanvasInformation {
6557
6542
  * on the contrary, if the chat UI is shown, the rect would be smaller.
6558
6543
  */
6559
6544
  interactableArea: BorderRect | undefined;
6545
+ /**
6546
+ * informs the sdk about the screen inset area (safe margins). these are the
6547
+ * insets from each edge of the screen that are reserved by the device or
6548
+ * platform UI (for example: the notch, status bar, home indicator, or rounded
6549
+ * corners on mobile). scenes should avoid placing critical UI within these
6550
+ * insets to ensure it is not occluded. on desktop this is typically (0, 0, 0, 0).
6551
+ */
6552
+ screenInsetArea?: BorderRect | undefined;
6560
6553
  }
6561
6554
 
6562
6555
  /**
@@ -6905,7 +6898,6 @@ export declare namespace PBVideoPlayer {
6905
6898
  * an 'instant' transition (like using speed/time = 0)
6906
6899
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6907
6900
  * the holding entity transform).
6908
- * * The fov defines the Field of View of the virtual camera
6909
6901
  */
6910
6902
  /**
6911
6903
  * @public
@@ -6913,8 +6905,6 @@ export declare namespace PBVideoPlayer {
6913
6905
  export declare interface PBVirtualCamera {
6914
6906
  defaultTransition?: CameraTransition | undefined;
6915
6907
  lookAtEntity?: number | undefined;
6916
- /** default: 60 */
6917
- fov?: number | undefined;
6918
6908
  }
6919
6909
 
6920
6910
  /**
@@ -8550,6 +8540,27 @@ export declare namespace Schemas {
8550
8540
  }) => void;
8551
8541
  }
8552
8542
 
8543
+ /**
8544
+ *
8545
+ * @public
8546
+ * ScreenInsetArea component
8547
+ *
8548
+ * Constrains its children to the area inside the renderer-reported screen
8549
+ * inset (safe margins). On mobile this is the area excluding the notch,
8550
+ * status bar, home indicator and rounded corners. On desktop the insets are
8551
+ * typically zero, so the container fills the canvas.
8552
+ *
8553
+ * The container is absolutely positioned with top/left/right/bottom matching
8554
+ * the current `UiCanvasInformation.screenInsetArea`, so a child sized
8555
+ * 100%x100% fills the safe area exactly.
8556
+ *
8557
+ * @example
8558
+ * <ScreenInsetArea><MyHud /></ScreenInsetArea>
8559
+ *
8560
+ * @category Component
8561
+ */
8562
+ export declare function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
8563
+
8553
8564
  /**
8554
8565
  * Sets a globalThis property as a polyfill (only if undefined/null).
8555
8566
  * @public
@@ -9400,6 +9411,28 @@ export declare type UiRendererOptions = {
9400
9411
  virtualHeight: number;
9401
9412
  };
9402
9413
 
9414
+ /**
9415
+ * ScreenInsetArea component props
9416
+ *
9417
+ * The container reads the current `screenInsetArea` reported by the renderer
9418
+ * via `UiCanvasInformation` (the device safe margins — notch, status bar,
9419
+ * home indicator, rounded corners) and constrains its children to the area
9420
+ * inside those insets using absolute positioning. Layout props that control
9421
+ * the container's own position (`positionType`, `position`) are owned by the
9422
+ * component and are not configurable from props — every other layout,
9423
+ * background and event prop is forwarded as usual.
9424
+ *
9425
+ * @public
9426
+ */
9427
+ export declare type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
9428
+ /**
9429
+ * Layout overrides forwarded to the underlying entity. The
9430
+ * `positionType` and `position` fields are reserved by the container and
9431
+ * any value provided here is ignored.
9432
+ */
9433
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
9434
+ };
9435
+
9403
9436
  /** @public */
9404
9437
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
9405
9438
 
@@ -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
 
@@ -4815,12 +4806,6 @@ export declare interface PBAvatarLocomotionSettings {
4815
4806
  runJumpHeight?: number | undefined;
4816
4807
  /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
4817
4808
  hardLandingCooldown?: number | undefined;
4818
- /** Height of the double jump (in meters) */
4819
- doubleJumpHeight?: number | undefined;
4820
- /** Maximum speed when gliding (in meters per second) */
4821
- glidingSpeed?: number | undefined;
4822
- /** Maximum falling speed when gliding (in meters per second) */
4823
- glidingFallingSpeed?: number | undefined;
4824
4809
  }
4825
4810
 
4826
4811
  /**
@@ -6557,6 +6542,14 @@ export declare interface PBUiCanvasInformation {
6557
6542
  * on the contrary, if the chat UI is shown, the rect would be smaller.
6558
6543
  */
6559
6544
  interactableArea: BorderRect | undefined;
6545
+ /**
6546
+ * informs the sdk about the screen inset area (safe margins). these are the
6547
+ * insets from each edge of the screen that are reserved by the device or
6548
+ * platform UI (for example: the notch, status bar, home indicator, or rounded
6549
+ * corners on mobile). scenes should avoid placing critical UI within these
6550
+ * insets to ensure it is not occluded. on desktop this is typically (0, 0, 0, 0).
6551
+ */
6552
+ screenInsetArea?: BorderRect | undefined;
6560
6553
  }
6561
6554
 
6562
6555
  /**
@@ -6905,7 +6898,6 @@ export declare namespace PBVideoPlayer {
6905
6898
  * an 'instant' transition (like using speed/time = 0)
6906
6899
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6907
6900
  * the holding entity transform).
6908
- * * The fov defines the Field of View of the virtual camera
6909
6901
  */
6910
6902
  /**
6911
6903
  * @public
@@ -6913,8 +6905,6 @@ export declare namespace PBVideoPlayer {
6913
6905
  export declare interface PBVirtualCamera {
6914
6906
  defaultTransition?: CameraTransition | undefined;
6915
6907
  lookAtEntity?: number | undefined;
6916
- /** default: 60 */
6917
- fov?: number | undefined;
6918
6908
  }
6919
6909
 
6920
6910
  /**
@@ -8550,6 +8540,27 @@ export declare namespace Schemas {
8550
8540
  }) => void;
8551
8541
  }
8552
8542
 
8543
+ /**
8544
+ *
8545
+ * @public
8546
+ * ScreenInsetArea component
8547
+ *
8548
+ * Constrains its children to the area inside the renderer-reported screen
8549
+ * inset (safe margins). On mobile this is the area excluding the notch,
8550
+ * status bar, home indicator and rounded corners. On desktop the insets are
8551
+ * typically zero, so the container fills the canvas.
8552
+ *
8553
+ * The container is absolutely positioned with top/left/right/bottom matching
8554
+ * the current `UiCanvasInformation.screenInsetArea`, so a child sized
8555
+ * 100%x100% fills the safe area exactly.
8556
+ *
8557
+ * @example
8558
+ * <ScreenInsetArea><MyHud /></ScreenInsetArea>
8559
+ *
8560
+ * @category Component
8561
+ */
8562
+ export declare function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
8563
+
8553
8564
  /**
8554
8565
  * Sets a globalThis property as a polyfill (only if undefined/null).
8555
8566
  * @public
@@ -9400,6 +9411,28 @@ export declare type UiRendererOptions = {
9400
9411
  virtualHeight: number;
9401
9412
  };
9402
9413
 
9414
+ /**
9415
+ * ScreenInsetArea component props
9416
+ *
9417
+ * The container reads the current `screenInsetArea` reported by the renderer
9418
+ * via `UiCanvasInformation` (the device safe margins — notch, status bar,
9419
+ * home indicator, rounded corners) and constrains its children to the area
9420
+ * inside those insets using absolute positioning. Layout props that control
9421
+ * the container's own position (`positionType`, `position`) are owned by the
9422
+ * component and are not configurable from props — every other layout,
9423
+ * background and event prop is forwarded as usual.
9424
+ *
9425
+ * @public
9426
+ */
9427
+ export declare type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
9428
+ /**
9429
+ * Layout overrides forwarded to the underlying entity. The
9430
+ * `positionType` and `position` fields are reserved by the container and
9431
+ * any value provided here is ignored.
9432
+ */
9433
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
9434
+ };
9435
+
9403
9436
  /** @public */
9404
9437
  export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
9405
9438