@relu-interactives/spatial-ecs 0.2.2 → 0.2.4

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.
Files changed (193) hide show
  1. package/README.md +30 -99
  2. package/dist/{System-rXAmagXA.d.cts → System-BTyYvKVH.d.cts} +2 -0
  3. package/dist/{System-rXAmagXA.d.ts → System-BTyYvKVH.d.ts} +2 -0
  4. package/dist/{Video-ChKV1UI7.d.ts → Video-BWhbvVPg.d.ts} +1 -1
  5. package/dist/{Video-CDemv74U.d.cts → Video-D2H5H-K3.d.cts} +1 -1
  6. package/dist/components/index.d.cts +2 -2
  7. package/dist/components/index.d.ts +2 -2
  8. package/dist/docs/api/Behaviour/classes/Behaviour.md +29 -29
  9. package/dist/docs/api/Component/classes/Component.md +1 -1
  10. package/dist/docs/api/components/classes/AnimationComponent.md +26 -26
  11. package/dist/docs/api/components/classes/AudioComponent.md +19 -19
  12. package/dist/docs/api/components/classes/CameraComponent.md +14 -14
  13. package/dist/docs/api/components/classes/EntityType.md +3 -3
  14. package/dist/docs/api/components/classes/Environment.md +3 -3
  15. package/dist/docs/api/components/classes/ImageComponent.md +7 -7
  16. package/dist/docs/api/components/classes/ImageTarget.md +7 -7
  17. package/dist/docs/api/components/classes/ImageTargetAnchor.md +4 -4
  18. package/dist/docs/api/components/classes/LightComponent.md +6 -6
  19. package/dist/docs/api/components/classes/MaterialComponent.md +11 -11
  20. package/dist/docs/api/components/classes/MeshComponent.md +3 -3
  21. package/dist/docs/api/components/classes/MeshGeometryComponent.md +9 -9
  22. package/dist/docs/api/components/classes/ModelComponent.md +4 -4
  23. package/dist/docs/api/components/classes/Name.md +3 -3
  24. package/dist/docs/api/components/classes/Object3DRef.md +4 -4
  25. package/dist/docs/api/components/classes/ParentId.md +3 -3
  26. package/dist/docs/api/components/classes/PhysicsComponent.md +6 -6
  27. package/dist/docs/api/components/classes/Postprocessing.md +3 -3
  28. package/dist/docs/api/components/classes/ScriptComponent.md +5 -5
  29. package/dist/docs/api/components/classes/Selectable.md +3 -3
  30. package/dist/docs/api/components/classes/SelectionTransformState.md +5 -5
  31. package/dist/docs/api/components/classes/SpriteComponent.md +7 -7
  32. package/dist/docs/api/components/classes/TransformComponent.md +12 -12
  33. package/dist/docs/api/components/classes/VideoComponent.md +28 -28
  34. package/dist/docs/api/components/functions/normalizePhysicsState.md +1 -1
  35. package/dist/docs/api/components/type-aliases/AnimationComponentOptions.md +9 -9
  36. package/dist/docs/api/components/type-aliases/CameraComponentOptions.md +13 -13
  37. package/dist/docs/api/components/type-aliases/CameraProjection.md +1 -1
  38. package/dist/docs/api/components/type-aliases/CameraRuntimeType.md +1 -1
  39. package/dist/docs/api/components/type-aliases/ColliderShape.md +1 -1
  40. package/dist/docs/api/components/type-aliases/ColliderState.md +20 -20
  41. package/dist/docs/api/components/type-aliases/CubeMeshParameters.md +4 -4
  42. package/dist/docs/api/components/type-aliases/EditableMeshObjectKind.md +1 -1
  43. package/dist/docs/api/components/type-aliases/EnvironmentFogState.md +8 -8
  44. package/dist/docs/api/components/type-aliases/EnvironmentFogType.md +1 -1
  45. package/dist/docs/api/components/type-aliases/EnvironmentGradientEffect.md +1 -1
  46. package/dist/docs/api/components/type-aliases/EnvironmentSkyboxState.md +7 -7
  47. package/dist/docs/api/components/type-aliases/EnvironmentSkyboxType.md +1 -1
  48. package/dist/docs/api/components/type-aliases/EnvironmentState.md +5 -5
  49. package/dist/docs/api/components/type-aliases/ImageTargetAnchorOptions.md +3 -3
  50. package/dist/docs/api/components/type-aliases/ImageTargetReference.md +7 -7
  51. package/dist/docs/api/components/type-aliases/LightValueState.md +11 -11
  52. package/dist/docs/api/components/type-aliases/MaterialTypeValue.md +1 -1
  53. package/dist/docs/api/components/type-aliases/MaterialValueState.md +28 -28
  54. package/dist/docs/api/components/type-aliases/MeshGeometryParameters.md +1 -1
  55. package/dist/docs/api/components/type-aliases/MeshGeometryParametersByKind.md +7 -7
  56. package/dist/docs/api/components/type-aliases/PhysicsState.md +3 -3
  57. package/dist/docs/api/components/type-aliases/PlaneMeshParameters.md +3 -3
  58. package/dist/docs/api/components/type-aliases/PostprocessingState.md +62 -62
  59. package/dist/docs/api/components/type-aliases/RadiusHeightMeshParameters.md +3 -3
  60. package/dist/docs/api/components/type-aliases/RadiusMeshParameters.md +2 -2
  61. package/dist/docs/api/components/type-aliases/RigidbodyState.md +17 -17
  62. package/dist/docs/api/components/type-aliases/RigidbodyType.md +1 -1
  63. package/dist/docs/api/components/type-aliases/ScriptEntry.md +9 -9
  64. package/dist/docs/api/components/type-aliases/TextureFilteringValue.md +1 -1
  65. package/dist/docs/api/components/type-aliases/TransformData.md +4 -4
  66. package/dist/docs/api/components/type-aliases/TransformModeValue.md +1 -1
  67. package/dist/docs/api/components/type-aliases/TransformSpaceValue.md +1 -1
  68. package/dist/docs/api/components/type-aliases/Vec3.md +4 -4
  69. package/dist/docs/api/components/variables/DEFAULT_COLLIDER_STATE.md +1 -1
  70. package/dist/docs/api/components/variables/DEFAULT_ENVIRONMENT_STATE.md +1 -1
  71. package/dist/docs/api/components/variables/DEFAULT_MESH_GEOMETRY_PARAMETERS.md +1 -1
  72. package/dist/docs/api/components/variables/DEFAULT_PHYSICS_STATE.md +1 -1
  73. package/dist/docs/api/components/variables/DEFAULT_POSTPROCESSING_STATE.md +1 -1
  74. package/dist/docs/api/components/variables/DEFAULT_RIGIDBODY_STATE.md +1 -1
  75. package/dist/docs/api/index/classes/AnimationStateMachine.md +16 -16
  76. package/dist/docs/api/index/classes/AnimationStateManager.md +13 -13
  77. package/dist/docs/api/index/classes/AnimationSystem.md +3 -3
  78. package/dist/docs/api/index/classes/AudioSystem.md +4 -4
  79. package/dist/docs/api/index/classes/CameraSyncSystem.md +2 -2
  80. package/dist/docs/api/index/classes/EnvironmentSyncSystem.md +4 -4
  81. package/dist/docs/api/index/classes/InputSystem.md +33 -33
  82. package/dist/docs/api/index/classes/LightSyncSystem.md +2 -2
  83. package/dist/docs/api/index/classes/MaterialSyncSystem.md +3 -3
  84. package/dist/docs/api/index/classes/MeshGeometrySystem.md +2 -2
  85. package/dist/docs/api/index/classes/ObjectManagementSystem.md +14 -14
  86. package/dist/docs/api/index/classes/ObjectVisibilitySystem.md +2 -2
  87. package/dist/docs/api/index/classes/PhysicsSyncSystem.md +4 -4
  88. package/dist/docs/api/index/classes/PostprocessingSyncSystem.md +4 -4
  89. package/dist/docs/api/index/classes/RenderSystem.md +3 -3
  90. package/dist/docs/api/index/classes/ScriptBehaviourSystem.md +4 -4
  91. package/dist/docs/api/index/classes/TransformSyncSystem.md +2 -2
  92. package/dist/docs/api/index/classes/VideoSystem.md +4 -4
  93. package/dist/docs/api/index/classes/World.md +95 -81
  94. package/dist/docs/api/index/functions/createAnimationComponent.md +1 -1
  95. package/dist/docs/api/index/functions/createAudioComponent.md +1 -1
  96. package/dist/docs/api/index/functions/createCameraComponent.md +1 -1
  97. package/dist/docs/api/index/functions/createEntityTypeComponent.md +1 -1
  98. package/dist/docs/api/index/functions/createEnvironmentComponent.md +1 -1
  99. package/dist/docs/api/index/functions/createImageComponent.md +1 -1
  100. package/dist/docs/api/index/functions/createImageTargetAnchorComponent.md +1 -1
  101. package/dist/docs/api/index/functions/createImageTargetComponent.md +1 -1
  102. package/dist/docs/api/index/functions/createLightComponent.md +1 -1
  103. package/dist/docs/api/index/functions/createMaterialComponent.md +1 -1
  104. package/dist/docs/api/index/functions/createMeshComponent.md +1 -1
  105. package/dist/docs/api/index/functions/createMeshGeometryComponent.md +1 -1
  106. package/dist/docs/api/index/functions/createModelComponent.md +1 -1
  107. package/dist/docs/api/index/functions/createNameComponent.md +1 -1
  108. package/dist/docs/api/index/functions/createObject3DRefComponent.md +1 -1
  109. package/dist/docs/api/index/functions/createParentIdComponent.md +1 -1
  110. package/dist/docs/api/index/functions/createPhysicsComponent.md +1 -1
  111. package/dist/docs/api/index/functions/createPostprocessingComponent.md +1 -1
  112. package/dist/docs/api/index/functions/createScriptComponent.md +1 -1
  113. package/dist/docs/api/index/functions/createSelectableComponent.md +1 -1
  114. package/dist/docs/api/index/functions/createSelectionTransformStateComponent.md +1 -1
  115. package/dist/docs/api/index/functions/createSpriteComponent.md +1 -1
  116. package/dist/docs/api/index/functions/createTransformComponent.md +1 -1
  117. package/dist/docs/api/index/functions/createVideoComponent.md +1 -1
  118. package/dist/docs/api/index/functions/hydrateWorldFromSnapshot.md +1 -1
  119. package/dist/docs/api/index/functions/hydrateWorldFromSnapshotDetailed.md +1 -1
  120. package/dist/docs/api/index/functions/registerDefaultComponentFactories.md +1 -1
  121. package/dist/docs/api/index/functions/registerDefaultFactories.md +1 -1
  122. package/dist/docs/api/index/interfaces/EcsSystem.md +3 -3
  123. package/dist/docs/api/index/interfaces/StateMachine.md +13 -13
  124. package/dist/docs/api/index/type-aliases/AnimationStateCallbacks.md +4 -4
  125. package/dist/docs/api/index/type-aliases/ComponentFactory.md +1 -1
  126. package/dist/docs/api/index/type-aliases/EcsComponentFactoryKind.md +1 -1
  127. package/dist/docs/api/index/type-aliases/EcsWorldComponentSnapshot.md +3 -3
  128. package/dist/docs/api/index/type-aliases/EcsWorldStateSnapshotLike.md +4 -4
  129. package/dist/docs/api/index/type-aliases/HydrateWorldFromSnapshotResult.md +3 -3
  130. package/dist/docs/api/index/type-aliases/KeyboardKey.md +1 -1
  131. package/dist/docs/api/index/type-aliases/MouseButton.md +1 -1
  132. package/dist/docs/api/index/type-aliases/SelectionContext.md +4 -4
  133. package/dist/docs/api/index/variables/HYDRATABLE_ENTITY_KINDS.md +1 -1
  134. package/dist/docs/api/index/variables/KeyboardKeys.md +89 -89
  135. package/dist/docs/api/types/type-aliases/AssetInput.md +3 -3
  136. package/dist/docs/api/types/type-aliases/CheckboxInput.md +1 -1
  137. package/dist/docs/api/types/type-aliases/ColorInput.md +1 -1
  138. package/dist/docs/api/types/type-aliases/ComponentInput.md +4 -4
  139. package/dist/docs/api/types/type-aliases/ComponentKind.md +1 -1
  140. package/dist/docs/api/types/type-aliases/DropdownInput.md +3 -3
  141. package/dist/docs/api/types/type-aliases/DropdownOption.md +3 -3
  142. package/dist/docs/api/types/type-aliases/EcsEntityEditorKind.md +1 -1
  143. package/dist/docs/api/types/type-aliases/EcsEntityKind.md +1 -1
  144. package/dist/docs/api/types/type-aliases/EntityId.md +1 -1
  145. package/dist/docs/api/types/type-aliases/EntityInput.md +3 -3
  146. package/dist/docs/api/types/type-aliases/FloatInput.md +1 -1
  147. package/dist/docs/api/types/type-aliases/IntersectionResult.md +3 -3
  148. package/dist/docs/api/types/type-aliases/ParentLookup.md +3 -3
  149. package/dist/docs/api/types/type-aliases/SelectionListener.md +1 -1
  150. package/dist/docs/api/types/type-aliases/SliderInput.md +5 -5
  151. package/dist/docs/api/types/type-aliases/TextInput.md +1 -1
  152. package/dist/docs/api/types/type-aliases/ToggleInput.md +1 -1
  153. package/dist/docs/api/types/type-aliases/Vec3.md +1 -1
  154. package/dist/docs/api/types/type-aliases/Vector2Input.md +3 -3
  155. package/dist/docs/api/types/type-aliases/Vector3Input.md +4 -4
  156. package/dist/docs/api/types/type-aliases/WorldEntityView.md +1 -1
  157. package/dist/docs/guide/spawning/ambient-light.md +2 -2
  158. package/dist/docs/guide/spawning/area-light.md +2 -2
  159. package/dist/docs/guide/spawning/audio.md +27 -16
  160. package/dist/docs/guide/spawning/camera.md +2 -2
  161. package/dist/docs/guide/spawning/capsule.md +2 -2
  162. package/dist/docs/guide/spawning/cube.md +2 -2
  163. package/dist/docs/guide/spawning/cylinder.md +2 -2
  164. package/dist/docs/guide/spawning/directional-light.md +2 -2
  165. package/dist/docs/guide/spawning/empty.md +2 -2
  166. package/dist/docs/guide/spawning/image-target.md +2 -2
  167. package/dist/docs/guide/spawning/image.md +2 -2
  168. package/dist/docs/guide/spawning/index.md +2 -2
  169. package/dist/docs/guide/spawning/model.md +2 -2
  170. package/dist/docs/guide/spawning/plane.md +2 -2
  171. package/dist/docs/guide/spawning/point-light.md +2 -2
  172. package/dist/docs/guide/spawning/sphere.md +2 -2
  173. package/dist/docs/guide/spawning/spot-light.md +2 -2
  174. package/dist/docs/guide/spawning/sprite.md +2 -2
  175. package/dist/docs/guide/spawning/video.md +2 -2
  176. package/dist/docs/guide/world-api.md +3 -5
  177. package/dist/factories/index.d.cts +2 -2
  178. package/dist/factories/index.d.ts +2 -2
  179. package/dist/{index-BZUOKeTO.d.ts → index-Dm6zF1MY.d.ts} +2 -2
  180. package/dist/{index-B4-YyUNR.d.cts → index-KdEzEZox.d.cts} +2 -2
  181. package/dist/index.cjs +10 -0
  182. package/dist/index.cjs.map +1 -1
  183. package/dist/index.d.cts +5 -5
  184. package/dist/index.d.ts +5 -5
  185. package/dist/index.js +10 -0
  186. package/dist/index.js.map +1 -1
  187. package/dist/systems/index.d.cts +2 -2
  188. package/dist/systems/index.d.ts +2 -2
  189. package/dist/types.d.cts +1 -1
  190. package/dist/types.d.ts +1 -1
  191. package/dist/worldSnapshotUtils.d.cts +1 -1
  192. package/dist/worldSnapshotUtils.d.ts +1 -1
  193. package/package.json +1 -1
package/README.md CHANGED
@@ -1,125 +1,56 @@
1
1
  # @relu-interactives/spatial-ecs
2
2
 
3
- Reusable ECS core engine for Relu Spatial editor and runtime experiences.
3
+ Shared ECS (Entity-Component-System) engine powering the Relu Spatial editor and preview runtimes.
4
4
 
5
- ## Package
5
+ ## What it is
6
6
 
7
- - Name: `@relu-interactives/spatial-ecs`
8
- - Registry: GitHub Packages (`https://npm.pkg.github.com`)
9
- - Publish workflow: `.github/workflows/publish-package.yml`
10
- - Publish trigger: push tags matching `v*` (or manual workflow dispatch)
11
- - Publish access: public (`npm publish --access public`)
7
+ `@relu-interactives/spatial-ecs` is the source of truth for entity/component/system behavior used across Relu Spatial experiences. It provides a deterministic, serializable scene graph that can be saved, hydrated, and executed identically in both the editor authoring environment and deployed AR/VR previews.
12
8
 
13
- ## Prerequisites
9
+ ## What it contains
14
10
 
15
- 1. You have write access to this repository.
16
- 2. GitHub Packages permissions are enabled for the repository.
17
- 3. Your account/token has package read/write permissions.
18
- 4. Node.js 20+ and npm are installed locally.
11
+ | Area | Path | Description |
12
+ |---|---|---|
13
+ | **Components** | `core/components/**` | Runtime state containers (Transform, Model, Animation, Physics, Light, …) |
14
+ | **Component factories** | `core/factories/components/**` | APIs for creating and updating component instances |
15
+ | **Object factories** | `core/factories/objects/**` | Entity assembly — wires baseline components onto scene objects |
16
+ | **Systems** | `core/systems/**` | Frame-by-frame runtime behavior and scene synchronization |
17
+ | **World** | `core/World.ts` | ECS storage, lifecycle, system scheduling, snapshot and history management |
18
+ | **Hydration** | `core/hydration/**` | World reconstruction from saved snapshot data |
19
+ | **Snapshot utils** | `core/worldSnapshotUtils.ts` | Snapshot normalization, cloning, and debug helpers |
20
+ | **Scripting** | `core/Behaviour.ts`, `core/ScriptTemplate.ts` | Base classes for user-authored ECS scripts |
19
21
 
20
- ## Local Development
21
-
22
- Install dependencies:
22
+ ## Installation
23
23
 
24
24
  ```bash
25
- npm ci
26
- ```
27
-
28
- Build package:
29
-
30
- ```bash
31
- npm run build
32
- ```
33
-
34
- Type check:
35
-
36
- ```bash
37
- npm run typecheck
38
- ```
39
-
40
- ## Creating a Release Version
41
-
42
- Use one of the version scripts:
43
-
44
- ```bash
45
- npm run release:patch
46
- # or
47
- npm run release:minor
25
+ npm install @relu-interactives/spatial-ecs
48
26
  # or
49
- npm run release:major
27
+ pnpm add @relu-interactives/spatial-ecs
50
28
  ```
51
29
 
52
- This updates `package.json` version and creates a git tag.
53
-
54
- ## Publishing via GitHub Actions (Recommended)
55
-
56
- 1. Commit your changes (including the version bump).
57
- 2. Push commit and tag.
30
+ `three` is a peer dependency and must be installed separately:
58
31
 
59
32
  ```bash
60
- git add .
61
- git commit -m "release: bump package version"
62
- git push && git push --tags
63
- git push --follow-tags
33
+ npm install three
64
34
  ```
65
35
 
66
- 3. GitHub Action `Publish Spatial ECS Package` runs automatically.
67
- 4. Verify publish in:
68
- - Repository `Actions` tab
69
- - Repository `Packages` section
70
-
71
- ## Make Package Public (GitHub UI)
72
-
73
- For already-published package versions, you may need a one-time visibility change in GitHub:
74
-
75
- 1. Open repository `Packages`.
76
- 2. Open package `@relu-interactives/spatial-ecs`.
77
- 3. Go to `Package settings`.
78
- 4. Under `Danger Zone`, change visibility to `Public`.
79
-
80
- After this, new releases published by the workflow remain public.
81
-
82
- ## Manual Publish (Optional)
83
-
84
- If needed, publish from your machine.
85
-
86
- Create/update your user `.npmrc` with GitHub Packages auth:
87
-
88
- ```ini
89
- @relu-interactives:registry=https://npm.pkg.github.com
90
- //npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
91
- always-auth=true
92
- ```
93
-
94
- Then run:
36
+ ## Local Development
95
37
 
96
38
  ```bash
97
- npm ci
98
- npm run build
99
- npm publish
39
+ pnpm install
40
+ pnpm run build
41
+ pnpm run typecheck
100
42
  ```
101
43
 
102
- ## Consuming This Package
44
+ ## Key Concepts
103
45
 
104
- In consumer projects, set scope registry:
46
+ ### Entities and Components
105
47
 
106
- ```ini
107
- @relu-interactives:registry=https://npm.pkg.github.com
108
- //npm.pkg.github.com/:_authToken=${GITHUB_PACKAGES_TOKEN}
109
- always-auth=true
110
- ```
48
+ Entities are integer IDs. Components are plain data containers attached to entities and stored in the World. Systems query for entities that have specific component combinations and apply runtime behavior each frame.
111
49
 
112
- Install:
50
+ ### Snapshot and Hydration
113
51
 
114
- ```bash
115
- npm install @relu-interactives/spatial-ecs
116
- ```
52
+ The world can be serialized to a plain JSON snapshot and fully reconstructed via `hydrateWorldFromSnapshotDetailed`. Snapshots are designed to be forward-compatible — hydration is tolerant of missing or legacy fields.
117
53
 
118
- ## Troubleshooting
54
+ ### Editor / Preview Parity
119
55
 
120
- - `403 Forbidden` / `401 Unauthorized`:
121
- - Check token permissions (`read:packages` for install, `write:packages` for publish).
122
- - `You cannot publish over the previously published versions`:
123
- - Bump version before publishing.
124
- - Workflow succeeds build but fails publish:
125
- - Confirm package name scope matches workflow scope (`@relu-interactives`).
56
+ The same component contracts, factory logic, and hydration path are used by both the editor and the preview runtime. Changes to any of these must preserve behavior across both consumers.
@@ -464,6 +464,7 @@ declare class World {
464
464
  private readonly featureFlags;
465
465
  private components;
466
466
  private inputSystem;
467
+ private objectManagementSystem;
467
468
  private rapierModule;
468
469
  private rapierModulePromise;
469
470
  private physicsWorld;
@@ -590,6 +591,7 @@ declare class World {
590
591
  getEntitiesByName(name: string): WorldEntityView[];
591
592
  getEntityByName(name: string): WorldEntityView | null;
592
593
  getEntityById(entityId: number): WorldEntityView | null;
594
+ getObjectManagementSystem(): ObjectManagementSystem;
593
595
  /**
594
596
  * Cast a ray from `origin` along `direction` and return every intersected
595
597
  * entity-bound mesh, sorted by distance. Each result is a standard
@@ -464,6 +464,7 @@ declare class World {
464
464
  private readonly featureFlags;
465
465
  private components;
466
466
  private inputSystem;
467
+ private objectManagementSystem;
467
468
  private rapierModule;
468
469
  private rapierModulePromise;
469
470
  private physicsWorld;
@@ -590,6 +591,7 @@ declare class World {
590
591
  getEntitiesByName(name: string): WorldEntityView[];
591
592
  getEntityByName(name: string): WorldEntityView | null;
592
593
  getEntityById(entityId: number): WorldEntityView | null;
594
+ getObjectManagementSystem(): ObjectManagementSystem;
593
595
  /**
594
596
  * Cast a ray from `origin` along `direction` and return every intersected
595
597
  * entity-bound mesh, sorted by distance. Each result is a standard
@@ -1,5 +1,5 @@
1
1
  import * as THREE from 'three';
2
- import { C as Component, e as EcsEntityKind, m as EcsEntityEditorKind, n as EntityId } from './System-rXAmagXA.js';
2
+ import { C as Component, e as EcsEntityKind, m as EcsEntityEditorKind, n as EntityId } from './System-BTyYvKVH.js';
3
3
  import * as RAPIER from '@dimforge/rapier3d-compat';
4
4
 
5
5
  interface StateMachine {
@@ -1,5 +1,5 @@
1
1
  import * as THREE from 'three';
2
- import { C as Component, e as EcsEntityKind, m as EcsEntityEditorKind, n as EntityId } from './System-rXAmagXA.cjs';
2
+ import { C as Component, e as EcsEntityKind, m as EcsEntityEditorKind, n as EntityId } from './System-BTyYvKVH.cjs';
3
3
  import * as RAPIER from '@dimforge/rapier3d-compat';
4
4
 
5
5
  interface StateMachine {
@@ -1,4 +1,4 @@
1
- export { A as AnimationComponent, a as AnimationComponentOptions, b as AudioComponent, C as CameraComponent, c as CameraComponentOptions, d as CameraProjection, e as CameraRuntimeType, f as ColliderShape, g as ColliderState, h as CubeMeshParameters, D as DEFAULT_COLLIDER_STATE, i as DEFAULT_ENVIRONMENT_STATE, j as DEFAULT_MESH_GEOMETRY_PARAMETERS, k as DEFAULT_PHYSICS_STATE, l as DEFAULT_POSTPROCESSING_STATE, m as DEFAULT_RIGIDBODY_STATE, E as EditableMeshObjectKind, n as EntityType, o as Environment, p as EnvironmentFogState, q as EnvironmentFogType, r as EnvironmentGradientEffect, s as EnvironmentSkyboxState, t as EnvironmentSkyboxType, u as EnvironmentState, I as ImageComponent, v as ImageTarget, w as ImageTargetAnchor, x as ImageTargetAnchorOptions, y as ImageTargetReference, L as LightComponent, z as LightValueState, M as MaterialComponent, B as MaterialTypeValue, F as MaterialValueState, G as MeshComponent, H as MeshGeometryComponent, J as MeshGeometryParameters, K as MeshGeometryParametersByKind, N as ModelComponent, O as Name, P as Object3DRef, Q as PhysicsComponent, R as PhysicsState, S as PlaneMeshParameters, T as Postprocessing, U as PostprocessingState, V as RadiusHeightMeshParameters, W as RadiusMeshParameters, X as RigidbodyState, Y as RigidbodyType, Z as ScriptComponent, _ as ScriptEntry, $ as Selectable, a0 as SelectionTransformState, a1 as SpriteComponent, a2 as TextureFilteringValue, a3 as TransformModeValue, a4 as TransformSpaceValue, a5 as VideoComponent, a6 as normalizePhysicsState } from '../Video-CDemv74U.cjs';
2
- export { P as ParentId, T as TransformComponent, a as TransformData, V as Vec3 } from '../System-rXAmagXA.cjs';
1
+ export { A as AnimationComponent, a as AnimationComponentOptions, b as AudioComponent, C as CameraComponent, c as CameraComponentOptions, d as CameraProjection, e as CameraRuntimeType, f as ColliderShape, g as ColliderState, h as CubeMeshParameters, D as DEFAULT_COLLIDER_STATE, i as DEFAULT_ENVIRONMENT_STATE, j as DEFAULT_MESH_GEOMETRY_PARAMETERS, k as DEFAULT_PHYSICS_STATE, l as DEFAULT_POSTPROCESSING_STATE, m as DEFAULT_RIGIDBODY_STATE, E as EditableMeshObjectKind, n as EntityType, o as Environment, p as EnvironmentFogState, q as EnvironmentFogType, r as EnvironmentGradientEffect, s as EnvironmentSkyboxState, t as EnvironmentSkyboxType, u as EnvironmentState, I as ImageComponent, v as ImageTarget, w as ImageTargetAnchor, x as ImageTargetAnchorOptions, y as ImageTargetReference, L as LightComponent, z as LightValueState, M as MaterialComponent, B as MaterialTypeValue, F as MaterialValueState, G as MeshComponent, H as MeshGeometryComponent, J as MeshGeometryParameters, K as MeshGeometryParametersByKind, N as ModelComponent, O as Name, P as Object3DRef, Q as PhysicsComponent, R as PhysicsState, S as PlaneMeshParameters, T as Postprocessing, U as PostprocessingState, V as RadiusHeightMeshParameters, W as RadiusMeshParameters, X as RigidbodyState, Y as RigidbodyType, Z as ScriptComponent, _ as ScriptEntry, $ as Selectable, a0 as SelectionTransformState, a1 as SpriteComponent, a2 as TextureFilteringValue, a3 as TransformModeValue, a4 as TransformSpaceValue, a5 as VideoComponent, a6 as normalizePhysicsState } from '../Video-D2H5H-K3.cjs';
2
+ export { P as ParentId, T as TransformComponent, a as TransformData, V as Vec3 } from '../System-BTyYvKVH.cjs';
3
3
  import 'three';
4
4
  import '@dimforge/rapier3d-compat';
@@ -1,4 +1,4 @@
1
- export { A as AnimationComponent, a as AnimationComponentOptions, b as AudioComponent, C as CameraComponent, c as CameraComponentOptions, d as CameraProjection, e as CameraRuntimeType, f as ColliderShape, g as ColliderState, h as CubeMeshParameters, D as DEFAULT_COLLIDER_STATE, i as DEFAULT_ENVIRONMENT_STATE, j as DEFAULT_MESH_GEOMETRY_PARAMETERS, k as DEFAULT_PHYSICS_STATE, l as DEFAULT_POSTPROCESSING_STATE, m as DEFAULT_RIGIDBODY_STATE, E as EditableMeshObjectKind, n as EntityType, o as Environment, p as EnvironmentFogState, q as EnvironmentFogType, r as EnvironmentGradientEffect, s as EnvironmentSkyboxState, t as EnvironmentSkyboxType, u as EnvironmentState, I as ImageComponent, v as ImageTarget, w as ImageTargetAnchor, x as ImageTargetAnchorOptions, y as ImageTargetReference, L as LightComponent, z as LightValueState, M as MaterialComponent, B as MaterialTypeValue, F as MaterialValueState, G as MeshComponent, H as MeshGeometryComponent, J as MeshGeometryParameters, K as MeshGeometryParametersByKind, N as ModelComponent, O as Name, P as Object3DRef, Q as PhysicsComponent, R as PhysicsState, S as PlaneMeshParameters, T as Postprocessing, U as PostprocessingState, V as RadiusHeightMeshParameters, W as RadiusMeshParameters, X as RigidbodyState, Y as RigidbodyType, Z as ScriptComponent, _ as ScriptEntry, $ as Selectable, a0 as SelectionTransformState, a1 as SpriteComponent, a2 as TextureFilteringValue, a3 as TransformModeValue, a4 as TransformSpaceValue, a5 as VideoComponent, a6 as normalizePhysicsState } from '../Video-ChKV1UI7.js';
2
- export { P as ParentId, T as TransformComponent, a as TransformData, V as Vec3 } from '../System-rXAmagXA.js';
1
+ export { A as AnimationComponent, a as AnimationComponentOptions, b as AudioComponent, C as CameraComponent, c as CameraComponentOptions, d as CameraProjection, e as CameraRuntimeType, f as ColliderShape, g as ColliderState, h as CubeMeshParameters, D as DEFAULT_COLLIDER_STATE, i as DEFAULT_ENVIRONMENT_STATE, j as DEFAULT_MESH_GEOMETRY_PARAMETERS, k as DEFAULT_PHYSICS_STATE, l as DEFAULT_POSTPROCESSING_STATE, m as DEFAULT_RIGIDBODY_STATE, E as EditableMeshObjectKind, n as EntityType, o as Environment, p as EnvironmentFogState, q as EnvironmentFogType, r as EnvironmentGradientEffect, s as EnvironmentSkyboxState, t as EnvironmentSkyboxType, u as EnvironmentState, I as ImageComponent, v as ImageTarget, w as ImageTargetAnchor, x as ImageTargetAnchorOptions, y as ImageTargetReference, L as LightComponent, z as LightValueState, M as MaterialComponent, B as MaterialTypeValue, F as MaterialValueState, G as MeshComponent, H as MeshGeometryComponent, J as MeshGeometryParameters, K as MeshGeometryParametersByKind, N as ModelComponent, O as Name, P as Object3DRef, Q as PhysicsComponent, R as PhysicsState, S as PlaneMeshParameters, T as Postprocessing, U as PostprocessingState, V as RadiusHeightMeshParameters, W as RadiusMeshParameters, X as RigidbodyState, Y as RigidbodyType, Z as ScriptComponent, _ as ScriptEntry, $ as Selectable, a0 as SelectionTransformState, a1 as SpriteComponent, a2 as TextureFilteringValue, a3 as TransformModeValue, a4 as TransformSpaceValue, a5 as VideoComponent, a6 as normalizePhysicsState } from '../Video-BWhbvVPg.js';
2
+ export { P as ParentId, T as TransformComponent, a as TransformData, V as Vec3 } from '../System-BTyYvKVH.js';
3
3
  import 'three';
4
4
  import '@dimforge/rapier3d-compat';
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Class: Behaviour
8
8
 
9
- Defined in: [Behaviour.ts:62](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L62)
9
+ Defined in: [Behaviour.ts:62](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L62)
10
10
 
11
11
  Base class for all user-authored scripts attached to an entity through a
12
12
  `ScriptComponent`. Subclass `Behaviour` to drive per-frame logic on a single
@@ -76,7 +76,7 @@ new Behaviour(
76
76
  component): Behaviour;
77
77
  ```
78
78
 
79
- Defined in: [Behaviour.ts:120](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L120)
79
+ Defined in: [Behaviour.ts:120](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L120)
80
80
 
81
81
  Engine-managed constructor. Hosts (`ScriptBehaviourSystem`) instantiate
82
82
  subclasses with the owning world, the entity id, and the script's `data`
@@ -98,13 +98,13 @@ payload. User code should not call this directly.
98
98
 
99
99
  | Property | Type | Default value | Description | Defined in |
100
100
  | ------ | ------ | ------ | ------ | ------ |
101
- | <a id="data"></a> `data` | \| [`Component`](../../Component/classes/Component.md) \| `Record`\<`string`, `unknown`\> | `undefined` | Inspector-bound payload from the entity's `ScriptComponent`. Override the type on subclasses with `declare data: MyDataShape` to get type safety inside hooks. Saved with the project so values persist across reloads. | [Behaviour.ts:78](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L78) |
102
- | <a id="entityid"></a> `entityId` | `number` | `undefined` | Numeric id of the entity this script is attached to. | [Behaviour.ts:81](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L81) |
103
- | <a id="entity"></a> `entity` | `WorldEntityView` | `undefined` | View of the owning entity (id + components) at construction time. | [Behaviour.ts:84](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L84) |
104
- | <a id="threeref"></a> `threeRef` | [`Object3DRef`](../../components/classes/Object3DRef.md) | `undefined` | Live three.js object wrapper for the entity. May be `null` for entities with no scene presence; helpers on this class return `null` in that case. | [Behaviour.ts:90](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L90) |
105
- | <a id="transform"></a> `transform` | [`TransformComponent`](../../components/classes/TransformComponent.md) | `undefined` | The entity's [TransformComponent](../../components/classes/TransformComponent.md). Mutating `position`, `rotation`, or `scale` here is picked up the same frame by `TransformSyncSystem`. | [Behaviour.ts:96](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L96) |
106
- | <a id="world"></a> `world` | [`World`](../../index/classes/World.md) | `undefined` | The owning [World](../../index/classes/World.md). Refreshed each frame in [Behaviour.update](#update). Use it to query other entities or components. | [Behaviour.ts:102](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L102) |
107
- | <a id="deltatime"></a> `deltaTime` | `number` | `0` | Seconds elapsed since the last frame. Set by the engine before each [Behaviour.onUpdate](#onupdate). | [Behaviour.ts:108](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L108) |
101
+ | <a id="data"></a> `data` | \| [`Component`](../../Component/classes/Component.md) \| `Record`\<`string`, `unknown`\> | `undefined` | Inspector-bound payload from the entity's `ScriptComponent`. Override the type on subclasses with `declare data: MyDataShape` to get type safety inside hooks. Saved with the project so values persist across reloads. | [Behaviour.ts:78](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L78) |
102
+ | <a id="entityid"></a> `entityId` | `number` | `undefined` | Numeric id of the entity this script is attached to. | [Behaviour.ts:81](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L81) |
103
+ | <a id="entity"></a> `entity` | `WorldEntityView` | `undefined` | View of the owning entity (id + components) at construction time. | [Behaviour.ts:84](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L84) |
104
+ | <a id="threeref"></a> `threeRef` | [`Object3DRef`](../../components/classes/Object3DRef.md) | `undefined` | Live three.js object wrapper for the entity. May be `null` for entities with no scene presence; helpers on this class return `null` in that case. | [Behaviour.ts:90](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L90) |
105
+ | <a id="transform"></a> `transform` | [`TransformComponent`](../../components/classes/TransformComponent.md) | `undefined` | The entity's [TransformComponent](../../components/classes/TransformComponent.md). Mutating `position`, `rotation`, or `scale` here is picked up the same frame by `TransformSyncSystem`. | [Behaviour.ts:96](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L96) |
106
+ | <a id="world"></a> `world` | [`World`](../../index/classes/World.md) | `undefined` | The owning [World](../../index/classes/World.md). Refreshed each frame in [Behaviour.update](#update). Use it to query other entities or components. | [Behaviour.ts:102](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L102) |
107
+ | <a id="deltatime"></a> `deltaTime` | `number` | `0` | Seconds elapsed since the last frame. Set by the engine before each [Behaviour.onUpdate](#onupdate). | [Behaviour.ts:108](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L108) |
108
108
 
109
109
  ## Methods
110
110
 
@@ -114,7 +114,7 @@ payload. User code should not call this directly.
114
114
  update(world, deltaTime): void;
115
115
  ```
116
116
 
117
- Defined in: [Behaviour.ts:144](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L144)
117
+ Defined in: [Behaviour.ts:144](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L144)
118
118
 
119
119
  Engine-managed per-frame entry point. Refreshes [Behaviour.deltaTime](#deltatime)
120
120
  and delegates to [Behaviour.onUpdate](#onupdate).
@@ -149,7 +149,7 @@ CustomEcsSystem.update
149
149
  optional dispose(world): void;
150
150
  ```
151
151
 
152
- Defined in: [Behaviour.ts:156](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L156)
152
+ Defined in: [Behaviour.ts:156](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L156)
153
153
 
154
154
  Optional cleanup hook invoked when the script is detached or the entity
155
155
  is destroyed. Override to release timers, listeners, or other resources.
@@ -178,7 +178,7 @@ CustomEcsSystem.dispose
178
178
  getWorldPosition(): Vector3 | null;
179
179
  ```
180
180
 
181
- Defined in: [Behaviour.ts:164](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L164)
181
+ Defined in: [Behaviour.ts:164](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L164)
182
182
 
183
183
  Returns the entity's world-space position as a new `THREE.Vector3`, or
184
184
  `null` if the entity has no scene presence.
@@ -195,7 +195,7 @@ Returns the entity's world-space position as a new `THREE.Vector3`, or
195
195
  getWorldDirection(): Vector3 | null;
196
196
  ```
197
197
 
198
- Defined in: [Behaviour.ts:179](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L179)
198
+ Defined in: [Behaviour.ts:179](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L179)
199
199
 
200
200
  Returns the entity's forward direction in world space (the +Z axis of its
201
201
  world matrix), or `null` if the entity has no scene presence.
@@ -212,7 +212,7 @@ world matrix), or `null` if the entity has no scene presence.
212
212
  directionTo(targetPosition): Vector3 | null;
213
213
  ```
214
214
 
215
- Defined in: [Behaviour.ts:196](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L196)
215
+ Defined in: [Behaviour.ts:196](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L196)
216
216
 
217
217
  Returns a unit vector pointing from this entity toward the given world
218
218
  position, or `null` if the entity has no scene presence.
@@ -235,7 +235,7 @@ position, or `null` if the entity has no scene presence.
235
235
  distanceTo(targetPosition): number | null;
236
236
  ```
237
237
 
238
- Defined in: [Behaviour.ts:211](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L211)
238
+ Defined in: [Behaviour.ts:211](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L211)
239
239
 
240
240
  Returns the world-space distance from this entity to the given position,
241
241
  or `null` if the entity has no scene presence.
@@ -258,7 +258,7 @@ or `null` if the entity has no scene presence.
258
258
  lerpTo(targetPosition, alpha): void;
259
259
  ```
260
260
 
261
- Defined in: [Behaviour.ts:229](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L229)
261
+ Defined in: [Behaviour.ts:229](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L229)
262
262
 
263
263
  Linearly interpolates the entity's position toward `targetPosition` and
264
264
  writes the result back through [TransformComponent](../../components/classes/TransformComponent.md). No-op if the
@@ -283,7 +283,7 @@ entity has no scene presence.
283
283
  slerpTo(targetRotation, alpha): void;
284
284
  ```
285
285
 
286
- Defined in: [Behaviour.ts:251](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L251)
286
+ Defined in: [Behaviour.ts:251](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L251)
287
287
 
288
288
  Spherically interpolates the entity's rotation toward `targetRotation`
289
289
  and writes the result back through [TransformComponent](../../components/classes/TransformComponent.md). No-op if
@@ -308,7 +308,7 @@ the entity has no scene presence.
308
308
  lookAt(targetPosition): void;
309
309
  ```
310
310
 
311
- Defined in: [Behaviour.ts:270](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L270)
311
+ Defined in: [Behaviour.ts:270](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L270)
312
312
 
313
313
  Rotates the entity to face `targetPosition` in world space and writes the
314
314
  resulting orientation back through [TransformComponent](../../components/classes/TransformComponent.md). No-op if
@@ -332,7 +332,7 @@ the entity has no scene presence.
332
332
  getComponents(): Component[];
333
333
  ```
334
334
 
335
- Defined in: [Behaviour.ts:284](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L284)
335
+ Defined in: [Behaviour.ts:284](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L284)
336
336
 
337
337
  Returns every component currently attached to this entity.
338
338
 
@@ -348,7 +348,7 @@ Returns every component currently attached to this entity.
348
348
  getComponent<T>(componentClass): T | null;
349
349
  ```
350
350
 
351
- Defined in: [Behaviour.ts:301](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L301)
351
+ Defined in: [Behaviour.ts:301](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L301)
352
352
 
353
353
  Returns the entity's component of the given class, or `null` if it has
354
354
  no such component.
@@ -384,7 +384,7 @@ if (mesh) console.log(mesh.geometryRef);
384
384
  getEntity(): WorldEntityView | null;
385
385
  ```
386
386
 
387
- Defined in: [Behaviour.ts:311](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L311)
387
+ Defined in: [Behaviour.ts:311](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L311)
388
388
 
389
389
  Returns the latest [WorldEntityView](../../types/type-aliases/WorldEntityView.md) snapshot for this entity, or
390
390
  `null` if it was destroyed.
@@ -401,7 +401,7 @@ Returns the latest [WorldEntityView](../../types/type-aliases/WorldEntityView.md
401
401
  getParent(): ParentLookup;
402
402
  ```
403
403
 
404
- Defined in: [Behaviour.ts:321](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L321)
404
+ Defined in: [Behaviour.ts:321](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L321)
405
405
 
406
406
  Resolves the entity's parent from the [ParentId](../../components/classes/ParentId.md) component, if any.
407
407
 
@@ -420,7 +420,7 @@ A [ParentLookup](../../types/type-aliases/ParentLookup.md) with the parent compo
420
420
  getChildren(): WorldEntityView[];
421
421
  ```
422
422
 
423
- Defined in: [Behaviour.ts:342](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L342)
423
+ Defined in: [Behaviour.ts:342](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L342)
424
424
 
425
425
  Returns every direct child entity of this one (entities whose
426
426
  [ParentId](../../components/classes/ParentId.md) matches `entityId`).
@@ -437,7 +437,7 @@ Returns every direct child entity of this one (entities whose
437
437
  protected init(): void;
438
438
  ```
439
439
 
440
- Defined in: [Behaviour.ts:361](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L361)
440
+ Defined in: [Behaviour.ts:361](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L361)
441
441
 
442
442
  Called once before the first [Behaviour.onUpdate](#onupdate). Override to
443
443
  default and validate [Behaviour.data](#data), cache references, or set
@@ -460,7 +460,7 @@ entry.
460
460
  protected onUpdate(): void;
461
461
  ```
462
462
 
463
- Defined in: [Behaviour.ts:374](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L374)
463
+ Defined in: [Behaviour.ts:374](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L374)
464
464
 
465
465
  Called every frame while the script is enabled. Override with the
466
466
  script's main per-frame logic.
@@ -483,7 +483,7 @@ rendering work such as custom shaders or procedural geometry.
483
483
  onSelect(): void;
484
484
  ```
485
485
 
486
- Defined in: [Behaviour.ts:379](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L379)
486
+ Defined in: [Behaviour.ts:379](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L379)
487
487
 
488
488
  Called when the editor selects this entity. Optional UX hook.
489
489
 
@@ -499,7 +499,7 @@ Called when the editor selects this entity. Optional UX hook.
499
499
  onDeselect(): void;
500
500
  ```
501
501
 
502
- Defined in: [Behaviour.ts:384](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L384)
502
+ Defined in: [Behaviour.ts:384](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L384)
503
503
 
504
504
  Called when the editor deselects this entity. Optional UX hook.
505
505
 
@@ -515,7 +515,7 @@ Called when the editor deselects this entity. Optional UX hook.
515
515
  onTargetFound(target): void;
516
516
  ```
517
517
 
518
- Defined in: [Behaviour.ts:394](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L394)
518
+ Defined in: [Behaviour.ts:394](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L394)
519
519
 
520
520
  Called when an image-tracking target this entity depends on becomes
521
521
  visible. Optional AR hook.
@@ -538,7 +538,7 @@ visible. Optional AR hook.
538
538
  onTargetLost(target): void;
539
539
  ```
540
540
 
541
- Defined in: [Behaviour.ts:404](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Behaviour.ts#L404)
541
+ Defined in: [Behaviour.ts:404](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Behaviour.ts#L404)
542
542
 
543
543
  Called when an image-tracking target this entity depends on is lost.
544
544
  Optional AR hook.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Class: Component
8
8
 
9
- Defined in: [Component.ts:12](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/Component.ts#L12)
9
+ Defined in: [Component.ts:12](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/Component.ts#L12)
10
10
 
11
11
  Marker base class for every ECS component. Subclass `Component` to declare
12
12
  a typed data container that systems can query.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # Class: AnimationComponent
8
8
 
9
- Defined in: [components/Animation.ts:71](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L71)
9
+ Defined in: [components/Animation.ts:71](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L71)
10
10
 
11
11
  Animation catalog and runtime state for an entity. Combines clips imported
12
12
  from a model with externally added clips, exposes a state machine for
@@ -30,7 +30,7 @@ machine directly so the animation system observes transitions.
30
30
  new AnimationComponent(options?): AnimationComponent;
31
31
  ```
32
32
 
33
- Defined in: [components/Animation.ts:102](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L102)
33
+ Defined in: [components/Animation.ts:102](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L102)
34
34
 
35
35
  #### Parameters
36
36
 
@@ -50,18 +50,18 @@ Defined in: [components/Animation.ts:102](https://github.com/Relu-Interactives/r
50
50
 
51
51
  | Property | Type | Description | Defined in |
52
52
  | ------ | ------ | ------ | ------ |
53
- | <a id="clips"></a> `clips` | `AnimationClip`[] | Combined ordered list of clips (model + external) currently loaded. | [components/Animation.ts:78](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L78) |
54
- | <a id="clipcatalog"></a> `clipCatalog` | `AnimationClipCatalogEntry`[] | Per-clip metadata used by the inspector. | [components/Animation.ts:80](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L80) |
55
- | <a id="availableclips"></a> `availableClips` | `string`[] | Display names of clips available for state-machine bindings. | [components/Animation.ts:82](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L82) |
56
- | <a id="externalclipsources"></a> `externalClipSources` | `string`[] | URLs/paths of external clip sources (saved with the project). | [components/Animation.ts:84](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L84) |
57
- | <a id="paused"></a> `paused` | `boolean` | Whether playback is currently paused. | [components/Animation.ts:86](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L86) |
58
- | <a id="reverse"></a> `reverse` | `boolean` | Play the active clip in reverse. | [components/Animation.ts:88](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L88) |
59
- | <a id="timescale"></a> `timeScale` | `number` | Playback speed multiplier (`1` = real-time). | [components/Animation.ts:90](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L90) |
60
- | <a id="crossfadeduration"></a> `crossFadeDuration` | `number` | Default cross-fade duration in seconds when switching states. | [components/Animation.ts:92](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L92) |
61
- | <a id="states"></a> `states` | [`AnimationStateMachine`](../../index/classes/AnimationStateMachine.md)[] | All state-machine entries authored on this entity. | [components/Animation.ts:94](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L94) |
62
- | <a id="active"></a> `active` | \| [`AnimationStateMachine`](../../index/classes/AnimationStateMachine.md) \| `null` | State currently being played, or `null` if none. | [components/Animation.ts:96](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L96) |
63
- | <a id="activestatename"></a> `activeStateName` | `string` \| `null` | Name of the [active](#active) state, or `null` if none. | [components/Animation.ts:98](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L98) |
64
- | <a id="statemanager"></a> `stateManager` | [`AnimationStateManager`](../../index/classes/AnimationStateManager.md) | Manager that drives state transitions; mutate via [addState](#addstate)/[switchState](#switchstate). | [components/Animation.ts:100](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L100) |
53
+ | <a id="clips"></a> `clips` | `AnimationClip`[] | Combined ordered list of clips (model + external) currently loaded. | [components/Animation.ts:78](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L78) |
54
+ | <a id="clipcatalog"></a> `clipCatalog` | `AnimationClipCatalogEntry`[] | Per-clip metadata used by the inspector. | [components/Animation.ts:80](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L80) |
55
+ | <a id="availableclips"></a> `availableClips` | `string`[] | Display names of clips available for state-machine bindings. | [components/Animation.ts:82](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L82) |
56
+ | <a id="externalclipsources"></a> `externalClipSources` | `string`[] | URLs/paths of external clip sources (saved with the project). | [components/Animation.ts:84](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L84) |
57
+ | <a id="paused"></a> `paused` | `boolean` | Whether playback is currently paused. | [components/Animation.ts:86](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L86) |
58
+ | <a id="reverse"></a> `reverse` | `boolean` | Play the active clip in reverse. | [components/Animation.ts:88](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L88) |
59
+ | <a id="timescale"></a> `timeScale` | `number` | Playback speed multiplier (`1` = real-time). | [components/Animation.ts:90](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L90) |
60
+ | <a id="crossfadeduration"></a> `crossFadeDuration` | `number` | Default cross-fade duration in seconds when switching states. | [components/Animation.ts:92](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L92) |
61
+ | <a id="states"></a> `states` | [`AnimationStateMachine`](../../index/classes/AnimationStateMachine.md)[] | All state-machine entries authored on this entity. | [components/Animation.ts:94](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L94) |
62
+ | <a id="active"></a> `active` | \| [`AnimationStateMachine`](../../index/classes/AnimationStateMachine.md) \| `null` | State currently being played, or `null` if none. | [components/Animation.ts:96](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L96) |
63
+ | <a id="activestatename"></a> `activeStateName` | `string` \| `null` | Name of the [active](#active) state, or `null` if none. | [components/Animation.ts:98](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L98) |
64
+ | <a id="statemanager"></a> `stateManager` | [`AnimationStateManager`](../../index/classes/AnimationStateManager.md) | Manager that drives state transitions; mutate via [addState](#addstate)/[switchState](#switchstate). | [components/Animation.ts:100](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L100) |
65
65
 
66
66
  ## Methods
67
67
 
@@ -71,7 +71,7 @@ Defined in: [components/Animation.ts:102](https://github.com/Relu-Interactives/r
71
71
  setModelClips(clips): void;
72
72
  ```
73
73
 
74
- Defined in: [components/Animation.ts:234](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L234)
74
+ Defined in: [components/Animation.ts:234](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L234)
75
75
 
76
76
  #### Parameters
77
77
 
@@ -91,7 +91,7 @@ Defined in: [components/Animation.ts:234](https://github.com/Relu-Interactives/r
91
91
  setImportedClips(clips): void;
92
92
  ```
93
93
 
94
- Defined in: [components/Animation.ts:239](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L239)
94
+ Defined in: [components/Animation.ts:239](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L239)
95
95
 
96
96
  #### Parameters
97
97
 
@@ -111,7 +111,7 @@ Defined in: [components/Animation.ts:239](https://github.com/Relu-Interactives/r
111
111
  setExternalClipSources(sources): void;
112
112
  ```
113
113
 
114
- Defined in: [components/Animation.ts:276](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L276)
114
+ Defined in: [components/Animation.ts:276](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L276)
115
115
 
116
116
  #### Parameters
117
117
 
@@ -136,7 +136,7 @@ addState(
136
136
  | null;
137
137
  ```
138
138
 
139
- Defined in: [components/Animation.ts:301](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L301)
139
+ Defined in: [components/Animation.ts:301](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L301)
140
140
 
141
141
  #### Parameters
142
142
 
@@ -159,7 +159,7 @@ Defined in: [components/Animation.ts:301](https://github.com/Relu-Interactives/r
159
159
  setStates(states): void;
160
160
  ```
161
161
 
162
- Defined in: [components/Animation.ts:316](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L316)
162
+ Defined in: [components/Animation.ts:316](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L316)
163
163
 
164
164
  #### Parameters
165
165
 
@@ -184,7 +184,7 @@ getStateConfigs(): {
184
184
  }[];
185
185
  ```
186
186
 
187
- Defined in: [components/Animation.ts:343](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L343)
187
+ Defined in: [components/Animation.ts:343](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L343)
188
188
 
189
189
  #### Returns
190
190
 
@@ -203,7 +203,7 @@ Defined in: [components/Animation.ts:343](https://github.com/Relu-Interactives/r
203
203
  setActiveState(name, autoPlay?): boolean;
204
204
  ```
205
205
 
206
- Defined in: [components/Animation.ts:352](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L352)
206
+ Defined in: [components/Animation.ts:352](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L352)
207
207
 
208
208
  #### Parameters
209
209
 
@@ -224,7 +224,7 @@ Defined in: [components/Animation.ts:352](https://github.com/Relu-Interactives/r
224
224
  removeState(name): boolean;
225
225
  ```
226
226
 
227
- Defined in: [components/Animation.ts:363](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L363)
227
+ Defined in: [components/Animation.ts:363](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L363)
228
228
 
229
229
  #### Parameters
230
230
 
@@ -244,7 +244,7 @@ Defined in: [components/Animation.ts:363](https://github.com/Relu-Interactives/r
244
244
  switchState(name, autoPlay?): boolean;
245
245
  ```
246
246
 
247
- Defined in: [components/Animation.ts:371](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L371)
247
+ Defined in: [components/Animation.ts:371](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L371)
248
248
 
249
249
  #### Parameters
250
250
 
@@ -265,7 +265,7 @@ Defined in: [components/Animation.ts:371](https://github.com/Relu-Interactives/r
265
265
  playState(name?): boolean;
266
266
  ```
267
267
 
268
- Defined in: [components/Animation.ts:382](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L382)
268
+ Defined in: [components/Animation.ts:382](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L382)
269
269
 
270
270
  #### Parameters
271
271
 
@@ -285,7 +285,7 @@ Defined in: [components/Animation.ts:382](https://github.com/Relu-Interactives/r
285
285
  pauseState(name?): boolean;
286
286
  ```
287
287
 
288
- Defined in: [components/Animation.ts:393](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L393)
288
+ Defined in: [components/Animation.ts:393](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L393)
289
289
 
290
290
  #### Parameters
291
291
 
@@ -305,7 +305,7 @@ Defined in: [components/Animation.ts:393](https://github.com/Relu-Interactives/r
305
305
  stopState(name?): boolean;
306
306
  ```
307
307
 
308
- Defined in: [components/Animation.ts:404](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/d7abe871a8dd71d2e6e1dff3235da21d5376bd8f/core/components/Animation.ts#L404)
308
+ Defined in: [components/Animation.ts:404](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Animation.ts#L404)
309
309
 
310
310
  #### Parameters
311
311