@dcl/playground-assets 7.25.1-30447792919.commit-c06a494 → 7.25.1-30570000030.commit-eaa1fa5

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
 
@@ -2063,6 +2054,7 @@ export declare type EntityComponents = {
2063
2054
  uiBackground: PBUiBackground;
2064
2055
  uiInput: PBUiInput;
2065
2056
  uiDropdown: PBUiDropdown;
2057
+ uiInputBinding: PBUiInputBinding;
2066
2058
  onMouseDown: Callback;
2067
2059
  onMouseUp: Callback;
2068
2060
  onMouseEnter: Callback;
@@ -2085,6 +2077,8 @@ export declare interface EntityPropTypes extends Listeners {
2085
2077
  uiTransform?: UiTransformProps;
2086
2078
  /** To define a background color or image */
2087
2079
  uiBackground?: UiBackgroundProps;
2080
+ /** Bind input actions to this element, held down while it's pressed (touch or pointer) */
2081
+ uiInputBinding?: PBUiInputBinding;
2088
2082
  /** Uinique key to identiy elments when iterating arrays */
2089
2083
  key?: Key;
2090
2084
  }
@@ -9136,8 +9130,34 @@ export declare const ToLinearSpace = 2.2;
9136
9130
  */
9137
9131
  export declare type ToOptional<T> = OnlyOptionalUndefinedTypes<T> & OnlyNonUndefinedTypes<T>;
9138
9132
 
9139
- /** @public */
9140
- export declare const TouchScreenControls: LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>;
9133
+ export declare const TouchScreenControls: TouchScreenControlsComponentDefinitionExtended;
9134
+
9135
+ /**
9136
+ * @public
9137
+ * TouchScreenControls with convenience helpers. All helpers write the component onto the
9138
+ * RootEntity (where the client reads it) and merge with the current value.
9139
+ */
9140
+ export declare interface TouchScreenControlsComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTouchScreenControls> {
9141
+ /** Hide every on-screen gamepad button. */
9142
+ hideAll(): void;
9143
+ /**
9144
+ * Show every on-screen gamepad button (clears the button hide list).
9145
+ * Does NOT change the joystick/crosshair — use `showJoystick()` / `showCrosshair()` for those.
9146
+ */
9147
+ showAll(): void;
9148
+ /** Hide the given on-screen buttons (merged into the current config). */
9149
+ hide(actions: InputAction[]): void;
9150
+ /** Set which action the large central button triggers. */
9151
+ setMainAction(action: InputAction): void;
9152
+ /** Hide the native virtual joystick. */
9153
+ hideJoystick(): void;
9154
+ /** Show the native virtual joystick. */
9155
+ showJoystick(): void;
9156
+ /** Hide the on-screen crosshair / reticle. */
9157
+ hideCrosshair(): void;
9158
+ /** Show the on-screen crosshair / reticle. */
9159
+ showCrosshair(): void;
9160
+ }
9141
9161
 
9142
9162
  export declare const Transform: TransformComponentExtended;
9143
9163
 
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
 
@@ -2063,6 +2054,7 @@ export declare type EntityComponents = {
2063
2054
  uiBackground: PBUiBackground;
2064
2055
  uiInput: PBUiInput;
2065
2056
  uiDropdown: PBUiDropdown;
2057
+ uiInputBinding: PBUiInputBinding;
2066
2058
  onMouseDown: Callback;
2067
2059
  onMouseUp: Callback;
2068
2060
  onMouseEnter: Callback;
@@ -2085,6 +2077,8 @@ export declare interface EntityPropTypes extends Listeners {
2085
2077
  uiTransform?: UiTransformProps;
2086
2078
  /** To define a background color or image */
2087
2079
  uiBackground?: UiBackgroundProps;
2080
+ /** Bind input actions to this element, held down while it's pressed (touch or pointer) */
2081
+ uiInputBinding?: PBUiInputBinding;
2088
2082
  /** Uinique key to identiy elments when iterating arrays */
2089
2083
  key?: Key;
2090
2084
  }
@@ -9103,8 +9097,34 @@ export declare const ToLinearSpace = 2.2;
9103
9097
  */
9104
9098
  export declare type ToOptional<T> = OnlyOptionalUndefinedTypes<T> & OnlyNonUndefinedTypes<T>;
9105
9099
 
9106
- /** @public */
9107
- export declare const TouchScreenControls: LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>;
9100
+ export declare const TouchScreenControls: TouchScreenControlsComponentDefinitionExtended;
9101
+
9102
+ /**
9103
+ * @public
9104
+ * TouchScreenControls with convenience helpers. All helpers write the component onto the
9105
+ * RootEntity (where the client reads it) and merge with the current value.
9106
+ */
9107
+ export declare interface TouchScreenControlsComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTouchScreenControls> {
9108
+ /** Hide every on-screen gamepad button. */
9109
+ hideAll(): void;
9110
+ /**
9111
+ * Show every on-screen gamepad button (clears the button hide list).
9112
+ * Does NOT change the joystick/crosshair — use `showJoystick()` / `showCrosshair()` for those.
9113
+ */
9114
+ showAll(): void;
9115
+ /** Hide the given on-screen buttons (merged into the current config). */
9116
+ hide(actions: InputAction[]): void;
9117
+ /** Set which action the large central button triggers. */
9118
+ setMainAction(action: InputAction): void;
9119
+ /** Hide the native virtual joystick. */
9120
+ hideJoystick(): void;
9121
+ /** Show the native virtual joystick. */
9122
+ showJoystick(): void;
9123
+ /** Hide the on-screen crosshair / reticle. */
9124
+ hideCrosshair(): void;
9125
+ /** Show the on-screen crosshair / reticle. */
9126
+ showCrosshair(): void;
9127
+ }
9108
9128
 
9109
9129
  export declare const Transform: TransformComponentExtended;
9110
9130
 
@@ -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
 
@@ -2063,6 +2054,7 @@ export declare type EntityComponents = {
2063
2054
  uiBackground: PBUiBackground;
2064
2055
  uiInput: PBUiInput;
2065
2056
  uiDropdown: PBUiDropdown;
2057
+ uiInputBinding: PBUiInputBinding;
2066
2058
  onMouseDown: Callback;
2067
2059
  onMouseUp: Callback;
2068
2060
  onMouseEnter: Callback;
@@ -2085,6 +2077,8 @@ export declare interface EntityPropTypes extends Listeners {
2085
2077
  uiTransform?: UiTransformProps;
2086
2078
  /** To define a background color or image */
2087
2079
  uiBackground?: UiBackgroundProps;
2080
+ /** Bind input actions to this element, held down while it's pressed (touch or pointer) */
2081
+ uiInputBinding?: PBUiInputBinding;
2088
2082
  /** Uinique key to identiy elments when iterating arrays */
2089
2083
  key?: Key;
2090
2084
  }
@@ -9103,8 +9097,34 @@ export declare const ToLinearSpace = 2.2;
9103
9097
  */
9104
9098
  export declare type ToOptional<T> = OnlyOptionalUndefinedTypes<T> & OnlyNonUndefinedTypes<T>;
9105
9099
 
9106
- /** @public */
9107
- export declare const TouchScreenControls: LastWriteWinElementSetComponentDefinition<PBTouchScreenControls>;
9100
+ export declare const TouchScreenControls: TouchScreenControlsComponentDefinitionExtended;
9101
+
9102
+ /**
9103
+ * @public
9104
+ * TouchScreenControls with convenience helpers. All helpers write the component onto the
9105
+ * RootEntity (where the client reads it) and merge with the current value.
9106
+ */
9107
+ export declare interface TouchScreenControlsComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTouchScreenControls> {
9108
+ /** Hide every on-screen gamepad button. */
9109
+ hideAll(): void;
9110
+ /**
9111
+ * Show every on-screen gamepad button (clears the button hide list).
9112
+ * Does NOT change the joystick/crosshair — use `showJoystick()` / `showCrosshair()` for those.
9113
+ */
9114
+ showAll(): void;
9115
+ /** Hide the given on-screen buttons (merged into the current config). */
9116
+ hide(actions: InputAction[]): void;
9117
+ /** Set which action the large central button triggers. */
9118
+ setMainAction(action: InputAction): void;
9119
+ /** Hide the native virtual joystick. */
9120
+ hideJoystick(): void;
9121
+ /** Show the native virtual joystick. */
9122
+ showJoystick(): void;
9123
+ /** Hide the on-screen crosshair / reticle. */
9124
+ hideCrosshair(): void;
9125
+ /** Show the on-screen crosshair / reticle. */
9126
+ showCrosshair(): void;
9127
+ }
9108
9128
 
9109
9129
  export declare const Transform: TransformComponentExtended;
9110
9130