@relu-interactives/spatial-ecs 0.2.14 → 0.2.15

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.
@@ -190,6 +190,8 @@ declare class AudioSystem implements EcsSystem {
190
190
  private readonly prevPlayingState;
191
191
  /** Snapshot of options applied in the previous frame, for change detection. */
192
192
  private readonly prevOptions;
193
+ /** Tracks entities that were stopped due to invisibility. */
194
+ private readonly stoppedDueToInvisibility;
193
195
  constructor({ isEditor }?: {
194
196
  isEditor?: boolean;
195
197
  });
@@ -222,6 +224,8 @@ declare class VideoSystem implements EcsSystem {
222
224
  private readonly prevIntent;
223
225
  /** Snapshot of options applied in the previous frame, for change detection. */
224
226
  private readonly prevOptions;
227
+ /** Tracks entities that were manually paused due to invisibility. */
228
+ private readonly pausedDueToInvisibility;
225
229
  constructor({ isEditor }?: {
226
230
  isEditor?: boolean;
227
231
  });
@@ -190,6 +190,8 @@ declare class AudioSystem implements EcsSystem {
190
190
  private readonly prevPlayingState;
191
191
  /** Snapshot of options applied in the previous frame, for change detection. */
192
192
  private readonly prevOptions;
193
+ /** Tracks entities that were stopped due to invisibility. */
194
+ private readonly stoppedDueToInvisibility;
193
195
  constructor({ isEditor }?: {
194
196
  isEditor?: boolean;
195
197
  });
@@ -222,6 +224,8 @@ declare class VideoSystem implements EcsSystem {
222
224
  private readonly prevIntent;
223
225
  /** Snapshot of options applied in the previous frame, for change detection. */
224
226
  private readonly prevOptions;
227
+ /** Tracks entities that were manually paused due to invisibility. */
228
+ private readonly pausedDueToInvisibility;
225
229
  constructor({ isEditor }?: {
226
230
  isEditor?: boolean;
227
231
  });
@@ -1,4 +1,4 @@
1
- export { AnimationSystem, AudioSystem, CameraSyncSystem, EnvironmentSyncSystem, InputSystem, InstancedMeshSystem, KeyboardKeys, LightSyncSystem, MaterialSyncSystem, MeshGeometrySystem, ObjectVisibilitySystem, PhysicsSyncSystem, PostprocessingSyncSystem, RenderSystem, ScriptBehaviourSystem, TransformSyncSystem, VideoSystem } from '../chunk-KDZ6VBRO.js';
1
+ export { AnimationSystem, AudioSystem, CameraSyncSystem, EnvironmentSyncSystem, InputSystem, InstancedMeshSystem, KeyboardKeys, LightSyncSystem, MaterialSyncSystem, MeshGeometrySystem, ObjectVisibilitySystem, PhysicsSyncSystem, PostprocessingSyncSystem, RenderSystem, ScriptBehaviourSystem, TransformSyncSystem, VideoSystem } from '../chunk-D3AKP6QQ.js';
2
2
  export { ObjectManagementSystem } from '../chunk-27RBPOVO.js';
3
3
  import '../chunk-FTIQQK62.js';
4
4
  import '../chunk-OY7ZODZP.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relu-interactives/spatial-ecs",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "Reusable ECS core engine for Relu Spatial editor and runtime experiences.",
5
5
  "license": "MIT",
6
6
  "private": false,