@dcl/playground-assets 7.24.4-28553021180.commit-e8ab68c → 7.24.4-28656241733.commit-c65544e

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
@@ -263,15 +263,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
263
263
  /** @public */
264
264
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
265
265
 
266
- /** Mask for which bones an animation applies to. */
267
- /**
268
- * @public
269
- */
270
- export declare const enum AvatarEmoteMask {
271
- AEM_FULL_BODY = 0,
272
- AEM_UPPER_BODY = 1
273
- }
274
-
275
266
  /** @public */
276
267
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
277
268
 
@@ -289,9 +280,7 @@ export declare const enum AvatarModifierType {
289
280
  /** AMT_HIDE_AVATARS - avatars are invisible */
290
281
  AMT_HIDE_AVATARS = 0,
291
282
  /** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
292
- AMT_DISABLE_PASSPORTS = 1,
293
- /** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
294
- AMT_HIDE_NAMETAGS = 2
283
+ AMT_DISABLE_PASSPORTS = 1
295
284
  }
296
285
 
297
286
  /** @public */
@@ -2870,6 +2859,28 @@ export declare type InstanceCompositeOptions = {
2870
2859
  alreadyRequestedSrc?: Set<string>;
2871
2860
  };
2872
2861
 
2862
+ /**
2863
+ *
2864
+ * @public
2865
+ * InteractableArea component
2866
+ *
2867
+ * Constrains its children to the area inside the renderer-reported interactable
2868
+ * area. This is the portion of the screen not covered by client UI such as the
2869
+ * minimap, chat window, or other platform overlays. On the Unity desktop client
2870
+ * the left 25% of the screen is reserved for client UI, so this container
2871
+ * positions its children within the remaining 75%.
2872
+ *
2873
+ * The container is absolutely positioned with top/left/right/bottom matching
2874
+ * the current `UiCanvasInformation.interactableArea`, so a child sized
2875
+ * 100%x100% fills the interactable area exactly.
2876
+ *
2877
+ * @example
2878
+ * <InteractableArea><MyHud /></InteractableArea>
2879
+ *
2880
+ * @category Component
2881
+ */
2882
+ export declare function InteractableArea(props: UiInteractableAreaProps): ReactEcs.JSX.Element;
2883
+
2873
2884
  /**
2874
2885
  * @public
2875
2886
  */
@@ -6960,7 +6971,6 @@ export declare namespace PBVideoPlayer {
6960
6971
  * an 'instant' transition (like using speed/time = 0)
6961
6972
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6962
6973
  * the holding entity transform).
6963
- * * The fov defines the Field of View of the virtual camera
6964
6974
  */
6965
6975
  /**
6966
6976
  * @public
@@ -6968,8 +6978,6 @@ export declare namespace PBVideoPlayer {
6968
6978
  export declare interface PBVirtualCamera {
6969
6979
  defaultTransition?: CameraTransition | undefined;
6970
6980
  lookAtEntity?: number | undefined;
6971
- /** default: 60 */
6972
- fov?: number | undefined;
6973
6981
  }
6974
6982
 
6975
6983
  /**
@@ -9457,6 +9465,29 @@ export declare interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlig
9457
9465
  /** @public */
9458
9466
  export declare const UiInputResult: LastWriteWinElementSetComponentDefinition<PBUiInputResult>;
9459
9467
 
9468
+ /**
9469
+ * InteractableArea component props
9470
+ *
9471
+ * The container reads the current `interactableArea` reported by the renderer
9472
+ * via `UiCanvasInformation` (the HUD-safe zone — the portion of the screen not
9473
+ * covered by client UI such as the minimap, chat window, or other overlays) and
9474
+ * constrains its children to the area inside those insets using absolute
9475
+ * positioning. Layout props that control the container's own position
9476
+ * (`positionType`, `position`) are owned by the component and are not
9477
+ * configurable from props — every other layout, background and event prop is
9478
+ * forwarded as usual.
9479
+ *
9480
+ * @public
9481
+ */
9482
+ export declare type UiInteractableAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
9483
+ /**
9484
+ * Layout overrides forwarded to the underlying entity. The
9485
+ * `positionType` and `position` fields are reserved by the container and
9486
+ * any value provided here is ignored.
9487
+ */
9488
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
9489
+ };
9490
+
9460
9491
  /**
9461
9492
  * Label component props
9462
9493
  * @public
package/dist/beta.d.ts CHANGED
@@ -263,15 +263,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
263
263
  /** @public */
264
264
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
265
265
 
266
- /** Mask for which bones an animation applies to. */
267
- /**
268
- * @public
269
- */
270
- export declare const enum AvatarEmoteMask {
271
- AEM_FULL_BODY = 0,
272
- AEM_UPPER_BODY = 1
273
- }
274
-
275
266
  /** @public */
276
267
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
277
268
 
@@ -289,9 +280,7 @@ export declare const enum AvatarModifierType {
289
280
  /** AMT_HIDE_AVATARS - avatars are invisible */
290
281
  AMT_HIDE_AVATARS = 0,
291
282
  /** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
292
- AMT_DISABLE_PASSPORTS = 1,
293
- /** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
294
- AMT_HIDE_NAMETAGS = 2
283
+ AMT_DISABLE_PASSPORTS = 1
295
284
  }
296
285
 
297
286
  /** @public */
@@ -2861,6 +2850,28 @@ export declare type InstanceCompositeOptions = {
2861
2850
  alreadyRequestedSrc?: Set<string>;
2862
2851
  };
2863
2852
 
2853
+ /**
2854
+ *
2855
+ * @public
2856
+ * InteractableArea component
2857
+ *
2858
+ * Constrains its children to the area inside the renderer-reported interactable
2859
+ * area. This is the portion of the screen not covered by client UI such as the
2860
+ * minimap, chat window, or other platform overlays. On the Unity desktop client
2861
+ * the left 25% of the screen is reserved for client UI, so this container
2862
+ * positions its children within the remaining 75%.
2863
+ *
2864
+ * The container is absolutely positioned with top/left/right/bottom matching
2865
+ * the current `UiCanvasInformation.interactableArea`, so a child sized
2866
+ * 100%x100% fills the interactable area exactly.
2867
+ *
2868
+ * @example
2869
+ * <InteractableArea><MyHud /></InteractableArea>
2870
+ *
2871
+ * @category Component
2872
+ */
2873
+ export declare function InteractableArea(props: UiInteractableAreaProps): ReactEcs.JSX.Element;
2874
+
2864
2875
  /**
2865
2876
  * @public
2866
2877
  */
@@ -6932,7 +6943,6 @@ export declare namespace PBVideoPlayer {
6932
6943
  * an 'instant' transition (like using speed/time = 0)
6933
6944
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6934
6945
  * the holding entity transform).
6935
- * * The fov defines the Field of View of the virtual camera
6936
6946
  */
6937
6947
  /**
6938
6948
  * @public
@@ -6940,8 +6950,6 @@ export declare namespace PBVideoPlayer {
6940
6950
  export declare interface PBVirtualCamera {
6941
6951
  defaultTransition?: CameraTransition | undefined;
6942
6952
  lookAtEntity?: number | undefined;
6943
- /** default: 60 */
6944
- fov?: number | undefined;
6945
6953
  }
6946
6954
 
6947
6955
  /**
@@ -9424,6 +9432,29 @@ export declare interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlig
9424
9432
  /** @public */
9425
9433
  export declare const UiInputResult: LastWriteWinElementSetComponentDefinition<PBUiInputResult>;
9426
9434
 
9435
+ /**
9436
+ * InteractableArea component props
9437
+ *
9438
+ * The container reads the current `interactableArea` reported by the renderer
9439
+ * via `UiCanvasInformation` (the HUD-safe zone — the portion of the screen not
9440
+ * covered by client UI such as the minimap, chat window, or other overlays) and
9441
+ * constrains its children to the area inside those insets using absolute
9442
+ * positioning. Layout props that control the container's own position
9443
+ * (`positionType`, `position`) are owned by the component and are not
9444
+ * configurable from props — every other layout, background and event prop is
9445
+ * forwarded as usual.
9446
+ *
9447
+ * @public
9448
+ */
9449
+ export declare type UiInteractableAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
9450
+ /**
9451
+ * Layout overrides forwarded to the underlying entity. The
9452
+ * `positionType` and `position` fields are reserved by the container and
9453
+ * any value provided here is ignored.
9454
+ */
9455
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
9456
+ };
9457
+
9427
9458
  /**
9428
9459
  * Label component props
9429
9460
  * @public
@@ -263,15 +263,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
263
263
  /** @public */
264
264
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
265
265
 
266
- /** Mask for which bones an animation applies to. */
267
- /**
268
- * @public
269
- */
270
- export declare const enum AvatarEmoteMask {
271
- AEM_FULL_BODY = 0,
272
- AEM_UPPER_BODY = 1
273
- }
274
-
275
266
  /** @public */
276
267
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
277
268
 
@@ -289,9 +280,7 @@ export declare const enum AvatarModifierType {
289
280
  /** AMT_HIDE_AVATARS - avatars are invisible */
290
281
  AMT_HIDE_AVATARS = 0,
291
282
  /** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
292
- AMT_DISABLE_PASSPORTS = 1,
293
- /** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
294
- AMT_HIDE_NAMETAGS = 2
283
+ AMT_DISABLE_PASSPORTS = 1
295
284
  }
296
285
 
297
286
  /** @public */
@@ -2861,6 +2850,28 @@ export declare type InstanceCompositeOptions = {
2861
2850
  alreadyRequestedSrc?: Set<string>;
2862
2851
  };
2863
2852
 
2853
+ /**
2854
+ *
2855
+ * @public
2856
+ * InteractableArea component
2857
+ *
2858
+ * Constrains its children to the area inside the renderer-reported interactable
2859
+ * area. This is the portion of the screen not covered by client UI such as the
2860
+ * minimap, chat window, or other platform overlays. On the Unity desktop client
2861
+ * the left 25% of the screen is reserved for client UI, so this container
2862
+ * positions its children within the remaining 75%.
2863
+ *
2864
+ * The container is absolutely positioned with top/left/right/bottom matching
2865
+ * the current `UiCanvasInformation.interactableArea`, so a child sized
2866
+ * 100%x100% fills the interactable area exactly.
2867
+ *
2868
+ * @example
2869
+ * <InteractableArea><MyHud /></InteractableArea>
2870
+ *
2871
+ * @category Component
2872
+ */
2873
+ export declare function InteractableArea(props: UiInteractableAreaProps): ReactEcs.JSX.Element;
2874
+
2864
2875
  /**
2865
2876
  * @public
2866
2877
  */
@@ -6932,7 +6943,6 @@ export declare namespace PBVideoPlayer {
6932
6943
  * an 'instant' transition (like using speed/time = 0)
6933
6944
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6934
6945
  * the holding entity transform).
6935
- * * The fov defines the Field of View of the virtual camera
6936
6946
  */
6937
6947
  /**
6938
6948
  * @public
@@ -6940,8 +6950,6 @@ export declare namespace PBVideoPlayer {
6940
6950
  export declare interface PBVirtualCamera {
6941
6951
  defaultTransition?: CameraTransition | undefined;
6942
6952
  lookAtEntity?: number | undefined;
6943
- /** default: 60 */
6944
- fov?: number | undefined;
6945
6953
  }
6946
6954
 
6947
6955
  /**
@@ -9424,6 +9432,29 @@ export declare interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlig
9424
9432
  /** @public */
9425
9433
  export declare const UiInputResult: LastWriteWinElementSetComponentDefinition<PBUiInputResult>;
9426
9434
 
9435
+ /**
9436
+ * InteractableArea component props
9437
+ *
9438
+ * The container reads the current `interactableArea` reported by the renderer
9439
+ * via `UiCanvasInformation` (the HUD-safe zone — the portion of the screen not
9440
+ * covered by client UI such as the minimap, chat window, or other overlays) and
9441
+ * constrains its children to the area inside those insets using absolute
9442
+ * positioning. Layout props that control the container's own position
9443
+ * (`positionType`, `position`) are owned by the component and are not
9444
+ * configurable from props — every other layout, background and event prop is
9445
+ * forwarded as usual.
9446
+ *
9447
+ * @public
9448
+ */
9449
+ export declare type UiInteractableAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
9450
+ /**
9451
+ * Layout overrides forwarded to the underlying entity. The
9452
+ * `positionType` and `position` fields are reserved by the container and
9453
+ * any value provided here is ignored.
9454
+ */
9455
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
9456
+ };
9457
+
9427
9458
  /**
9428
9459
  * Label component props
9429
9460
  * @public