@dcl/playground-assets 7.26.1-31715266070.commit-0ddb8e7 → 7.26.1-32157237851.commit-e712ef7

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
@@ -288,15 +288,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
288
288
  /** @public */
289
289
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
290
290
 
291
- /** Mask for which bones an animation applies to. */
292
- /**
293
- * @public
294
- */
295
- export declare const enum AvatarEmoteMask {
296
- AEM_FULL_BODY = 0,
297
- AEM_UPPER_BODY = 1
298
- }
299
-
300
291
  /** @public */
301
292
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
302
293
 
@@ -2519,11 +2510,18 @@ export declare interface IEngine {
2519
2510
  * @public
2520
2511
  * Remove all components of an entity
2521
2512
  * @param entity - entity
2513
+ * @returns whether the entity id was released for reuse. Ids in the renderer-reserved range
2514
+ * are never released, at any version. Components are still purged for
2515
+ * RootEntity/PlayerEntity/CameraEntity, but not for the avatar range.
2522
2516
  */
2523
- removeEntity(entity: Entity): void;
2517
+ removeEntity(entity: Entity): boolean;
2524
2518
  /**
2525
2519
  * Remove all components of each entity in the tree made with Transform parenting
2526
2520
  * @param entity - the root entity of the tree
2521
+ *
2522
+ * May complete only partially and does not report it: nodes in the renderer-reserved range
2523
+ * are refused by `removeEntity`, so a reserved node anywhere in the tree survives while its
2524
+ * descendants are removed — leaving its `Transform.parent` pointing at a removed entity.
2527
2525
  */
2528
2526
  removeEntityWithChildren(entity: Entity): void;
2529
2527
  /**
package/dist/beta.d.ts CHANGED
@@ -288,15 +288,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
288
288
  /** @public */
289
289
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
290
290
 
291
- /** Mask for which bones an animation applies to. */
292
- /**
293
- * @public
294
- */
295
- export declare const enum AvatarEmoteMask {
296
- AEM_FULL_BODY = 0,
297
- AEM_UPPER_BODY = 1
298
- }
299
-
300
291
  /** @public */
301
292
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
302
293
 
@@ -2519,11 +2510,18 @@ export declare interface IEngine {
2519
2510
  * @public
2520
2511
  * Remove all components of an entity
2521
2512
  * @param entity - entity
2513
+ * @returns whether the entity id was released for reuse. Ids in the renderer-reserved range
2514
+ * are never released, at any version. Components are still purged for
2515
+ * RootEntity/PlayerEntity/CameraEntity, but not for the avatar range.
2522
2516
  */
2523
- removeEntity(entity: Entity): void;
2517
+ removeEntity(entity: Entity): boolean;
2524
2518
  /**
2525
2519
  * Remove all components of each entity in the tree made with Transform parenting
2526
2520
  * @param entity - the root entity of the tree
2521
+ *
2522
+ * May complete only partially and does not report it: nodes in the renderer-reserved range
2523
+ * are refused by `removeEntity`, so a reserved node anywhere in the tree survives while its
2524
+ * descendants are removed — leaving its `Transform.parent` pointing at a removed entity.
2527
2525
  */
2528
2526
  removeEntityWithChildren(entity: Entity): void;
2529
2527
  /**
@@ -288,15 +288,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
288
288
  /** @public */
289
289
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
290
290
 
291
- /** Mask for which bones an animation applies to. */
292
- /**
293
- * @public
294
- */
295
- export declare const enum AvatarEmoteMask {
296
- AEM_FULL_BODY = 0,
297
- AEM_UPPER_BODY = 1
298
- }
299
-
300
291
  /** @public */
301
292
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
302
293
 
@@ -2519,11 +2510,18 @@ export declare interface IEngine {
2519
2510
  * @public
2520
2511
  * Remove all components of an entity
2521
2512
  * @param entity - entity
2513
+ * @returns whether the entity id was released for reuse. Ids in the renderer-reserved range
2514
+ * are never released, at any version. Components are still purged for
2515
+ * RootEntity/PlayerEntity/CameraEntity, but not for the avatar range.
2522
2516
  */
2523
- removeEntity(entity: Entity): void;
2517
+ removeEntity(entity: Entity): boolean;
2524
2518
  /**
2525
2519
  * Remove all components of each entity in the tree made with Transform parenting
2526
2520
  * @param entity - the root entity of the tree
2521
+ *
2522
+ * May complete only partially and does not report it: nodes in the renderer-reserved range
2523
+ * are refused by `removeEntity`, so a reserved node anywhere in the tree survives while its
2524
+ * descendants are removed — leaving its `Transform.parent` pointing at a removed entity.
2527
2525
  */
2528
2526
  removeEntityWithChildren(entity: Entity): void;
2529
2527
  /**