@relu-interactives/spatial-ecs 0.2.3 → 0.2.5
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/{System-BTyYvKVH.d.cts → System-CIiWteft.d.cts} +2 -2
- package/dist/{System-BTyYvKVH.d.ts → System-CIiWteft.d.ts} +2 -2
- package/dist/{Video-D2H5H-K3.d.cts → Video-ChVFs9Tl.d.cts} +139 -75
- package/dist/{Video-BWhbvVPg.d.ts → Video-DCMCLInA.d.ts} +139 -75
- package/dist/{chunk-XWIEEJ7Z.js → chunk-4A66FSFT.js} +128 -82
- package/dist/chunk-4A66FSFT.js.map +1 -0
- package/dist/{chunk-AYEF3X2P.js → chunk-CRP3W2GK.js} +3 -3
- package/dist/chunk-CRP3W2GK.js.map +1 -0
- package/dist/{chunk-MAWBTMCG.js → chunk-KRZLEPRI.js} +156 -88
- package/dist/chunk-KRZLEPRI.js.map +1 -0
- package/dist/{chunk-NFDTIYR4.js → chunk-NB6I5JJN.js} +17 -2
- package/dist/chunk-NB6I5JJN.js.map +1 -0
- package/dist/{chunk-P2YDX5DB.js → chunk-RXCUHGRB.js} +124 -5
- package/dist/chunk-RXCUHGRB.js.map +1 -0
- package/dist/components/index.cjs +161 -93
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +1 -1
- package/dist/docs/api/Behaviour/classes/Behaviour.md +29 -29
- package/dist/docs/api/Component/classes/Component.md +1 -1
- package/dist/docs/api/components/classes/AnimationComponent.md +26 -26
- package/dist/docs/api/components/classes/AudioComponent.md +19 -19
- package/dist/docs/api/components/classes/CameraComponent.md +14 -14
- package/dist/docs/api/components/classes/EntityType.md +3 -3
- package/dist/docs/api/components/classes/Environment.md +3 -3
- package/dist/docs/api/components/classes/ImageComponent.md +7 -7
- package/dist/docs/api/components/classes/ImageTarget.md +7 -7
- package/dist/docs/api/components/classes/ImageTargetAnchor.md +4 -4
- package/dist/docs/api/components/classes/LightComponent.md +6 -6
- package/dist/docs/api/components/classes/MaterialComponent.md +11 -11
- package/dist/docs/api/components/classes/MeshComponent.md +3 -3
- package/dist/docs/api/components/classes/MeshGeometryComponent.md +9 -9
- package/dist/docs/api/components/classes/ModelComponent.md +4 -4
- package/dist/docs/api/components/classes/Name.md +3 -3
- package/dist/docs/api/components/classes/Object3DRef.md +4 -4
- package/dist/docs/api/components/classes/ParentId.md +3 -3
- package/dist/docs/api/components/classes/PhysicsComponent.md +6 -6
- package/dist/docs/api/components/classes/Postprocessing.md +3 -3
- package/dist/docs/api/components/classes/ScriptComponent.md +5 -5
- package/dist/docs/api/components/classes/Selectable.md +3 -3
- package/dist/docs/api/components/classes/SelectionTransformState.md +5 -5
- package/dist/docs/api/components/classes/SpriteComponent.md +7 -7
- package/dist/docs/api/components/classes/TransformComponent.md +12 -12
- package/dist/docs/api/components/classes/VideoComponent.md +28 -28
- package/dist/docs/api/components/functions/normalizePhysicsState.md +1 -1
- package/dist/docs/api/components/type-aliases/AnimationComponentOptions.md +9 -9
- package/dist/docs/api/components/type-aliases/CameraComponentOptions.md +13 -13
- package/dist/docs/api/components/type-aliases/CameraProjection.md +1 -1
- package/dist/docs/api/components/type-aliases/CameraRuntimeType.md +1 -1
- package/dist/docs/api/components/type-aliases/ColliderShape.md +1 -1
- package/dist/docs/api/components/type-aliases/ColliderState.md +20 -20
- package/dist/docs/api/components/type-aliases/CubeMeshParameters.md +4 -4
- package/dist/docs/api/components/type-aliases/EditableMeshObjectKind.md +1 -1
- package/dist/docs/api/components/type-aliases/EnvironmentFogState.md +8 -8
- package/dist/docs/api/components/type-aliases/EnvironmentFogType.md +1 -1
- package/dist/docs/api/components/type-aliases/EnvironmentGradientEffect.md +1 -1
- package/dist/docs/api/components/type-aliases/EnvironmentSkyboxState.md +7 -7
- package/dist/docs/api/components/type-aliases/EnvironmentSkyboxType.md +1 -1
- package/dist/docs/api/components/type-aliases/EnvironmentState.md +5 -5
- package/dist/docs/api/components/type-aliases/ImageTargetAnchorOptions.md +3 -3
- package/dist/docs/api/components/type-aliases/ImageTargetReference.md +7 -7
- package/dist/docs/api/components/type-aliases/LightValueState.md +11 -11
- package/dist/docs/api/components/type-aliases/MaterialTypeValue.md +1 -1
- package/dist/docs/api/components/type-aliases/MaterialValueState.md +28 -28
- package/dist/docs/api/components/type-aliases/MeshGeometryParameters.md +1 -1
- package/dist/docs/api/components/type-aliases/MeshGeometryParametersByKind.md +7 -7
- package/dist/docs/api/components/type-aliases/PhysicsState.md +3 -3
- package/dist/docs/api/components/type-aliases/PlaneMeshParameters.md +3 -3
- package/dist/docs/api/components/type-aliases/PostprocessingState.md +62 -62
- package/dist/docs/api/components/type-aliases/RadiusHeightMeshParameters.md +3 -3
- package/dist/docs/api/components/type-aliases/RadiusMeshParameters.md +2 -2
- package/dist/docs/api/components/type-aliases/RigidbodyState.md +17 -17
- package/dist/docs/api/components/type-aliases/RigidbodyType.md +1 -1
- package/dist/docs/api/components/type-aliases/ScriptEntry.md +9 -9
- package/dist/docs/api/components/type-aliases/TextureFilteringValue.md +1 -1
- package/dist/docs/api/components/type-aliases/TransformData.md +4 -4
- package/dist/docs/api/components/type-aliases/TransformModeValue.md +1 -1
- package/dist/docs/api/components/type-aliases/TransformSpaceValue.md +1 -1
- package/dist/docs/api/components/type-aliases/Vec3.md +4 -4
- package/dist/docs/api/components/variables/DEFAULT_COLLIDER_STATE.md +1 -1
- package/dist/docs/api/components/variables/DEFAULT_ENVIRONMENT_STATE.md +1 -1
- package/dist/docs/api/components/variables/DEFAULT_MESH_GEOMETRY_PARAMETERS.md +1 -1
- package/dist/docs/api/components/variables/DEFAULT_PHYSICS_STATE.md +1 -1
- package/dist/docs/api/components/variables/DEFAULT_POSTPROCESSING_STATE.md +1 -1
- package/dist/docs/api/components/variables/DEFAULT_RIGIDBODY_STATE.md +1 -1
- package/dist/docs/api/index/classes/AnimationStateMachine.md +16 -16
- package/dist/docs/api/index/classes/AnimationStateManager.md +13 -13
- package/dist/docs/api/index/classes/AnimationSystem.md +3 -3
- package/dist/docs/api/index/classes/AudioSystem.md +4 -4
- package/dist/docs/api/index/classes/CameraSyncSystem.md +2 -2
- package/dist/docs/api/index/classes/EnvironmentSyncSystem.md +4 -4
- package/dist/docs/api/index/classes/InputSystem.md +33 -33
- package/dist/docs/api/index/classes/LightSyncSystem.md +2 -2
- package/dist/docs/api/index/classes/MaterialSyncSystem.md +3 -3
- package/dist/docs/api/index/classes/MeshGeometrySystem.md +2 -2
- package/dist/docs/api/index/classes/ObjectManagementSystem.md +14 -14
- package/dist/docs/api/index/classes/ObjectVisibilitySystem.md +2 -2
- package/dist/docs/api/index/classes/PhysicsSyncSystem.md +4 -4
- package/dist/docs/api/index/classes/PostprocessingSyncSystem.md +4 -4
- package/dist/docs/api/index/classes/RenderSystem.md +3 -3
- package/dist/docs/api/index/classes/ScriptBehaviourSystem.md +4 -4
- package/dist/docs/api/index/classes/TransformSyncSystem.md +2 -2
- package/dist/docs/api/index/classes/VideoSystem.md +4 -4
- package/dist/docs/api/index/classes/World.md +95 -81
- package/dist/docs/api/index/functions/createAnimationComponent.md +1 -1
- package/dist/docs/api/index/functions/createAudioComponent.md +1 -1
- package/dist/docs/api/index/functions/createCameraComponent.md +1 -1
- package/dist/docs/api/index/functions/createEntityTypeComponent.md +1 -1
- package/dist/docs/api/index/functions/createEnvironmentComponent.md +1 -1
- package/dist/docs/api/index/functions/createImageComponent.md +1 -1
- package/dist/docs/api/index/functions/createImageTargetAnchorComponent.md +1 -1
- package/dist/docs/api/index/functions/createImageTargetComponent.md +1 -1
- package/dist/docs/api/index/functions/createLightComponent.md +1 -1
- package/dist/docs/api/index/functions/createMaterialComponent.md +1 -1
- package/dist/docs/api/index/functions/createMeshComponent.md +1 -1
- package/dist/docs/api/index/functions/createMeshGeometryComponent.md +1 -1
- package/dist/docs/api/index/functions/createModelComponent.md +1 -1
- package/dist/docs/api/index/functions/createNameComponent.md +1 -1
- package/dist/docs/api/index/functions/createObject3DRefComponent.md +1 -1
- package/dist/docs/api/index/functions/createParentIdComponent.md +1 -1
- package/dist/docs/api/index/functions/createPhysicsComponent.md +1 -1
- package/dist/docs/api/index/functions/createPostprocessingComponent.md +1 -1
- package/dist/docs/api/index/functions/createScriptComponent.md +1 -1
- package/dist/docs/api/index/functions/createSelectableComponent.md +1 -1
- package/dist/docs/api/index/functions/createSelectionTransformStateComponent.md +1 -1
- package/dist/docs/api/index/functions/createSpriteComponent.md +1 -1
- package/dist/docs/api/index/functions/createTransformComponent.md +1 -1
- package/dist/docs/api/index/functions/createVideoComponent.md +1 -1
- package/dist/docs/api/index/functions/hydrateWorldFromSnapshot.md +1 -1
- package/dist/docs/api/index/functions/hydrateWorldFromSnapshotDetailed.md +1 -1
- package/dist/docs/api/index/functions/registerDefaultComponentFactories.md +1 -1
- package/dist/docs/api/index/functions/registerDefaultFactories.md +1 -1
- package/dist/docs/api/index/interfaces/EcsSystem.md +3 -3
- package/dist/docs/api/index/interfaces/StateMachine.md +13 -13
- package/dist/docs/api/index/type-aliases/AnimationStateCallbacks.md +4 -4
- package/dist/docs/api/index/type-aliases/ComponentFactory.md +1 -1
- package/dist/docs/api/index/type-aliases/EcsComponentFactoryKind.md +1 -1
- package/dist/docs/api/index/type-aliases/EcsWorldComponentSnapshot.md +3 -3
- package/dist/docs/api/index/type-aliases/EcsWorldStateSnapshotLike.md +4 -4
- package/dist/docs/api/index/type-aliases/HydrateWorldFromSnapshotResult.md +3 -3
- package/dist/docs/api/index/type-aliases/KeyboardKey.md +1 -1
- package/dist/docs/api/index/type-aliases/MouseButton.md +1 -1
- package/dist/docs/api/index/type-aliases/SelectionContext.md +4 -4
- package/dist/docs/api/index/variables/HYDRATABLE_ENTITY_KINDS.md +1 -1
- package/dist/docs/api/index/variables/KeyboardKeys.md +89 -89
- package/dist/docs/api/types/type-aliases/AssetInput.md +3 -3
- package/dist/docs/api/types/type-aliases/CheckboxInput.md +1 -1
- package/dist/docs/api/types/type-aliases/ColorInput.md +1 -1
- package/dist/docs/api/types/type-aliases/ComponentInput.md +4 -4
- package/dist/docs/api/types/type-aliases/ComponentKind.md +1 -1
- package/dist/docs/api/types/type-aliases/DropdownInput.md +3 -3
- package/dist/docs/api/types/type-aliases/DropdownOption.md +3 -3
- package/dist/docs/api/types/type-aliases/EcsEntityEditorKind.md +1 -1
- package/dist/docs/api/types/type-aliases/EcsEntityKind.md +1 -1
- package/dist/docs/api/types/type-aliases/EntityId.md +1 -1
- package/dist/docs/api/types/type-aliases/EntityInput.md +3 -3
- package/dist/docs/api/types/type-aliases/FloatInput.md +1 -1
- package/dist/docs/api/types/type-aliases/IntersectionResult.md +3 -3
- package/dist/docs/api/types/type-aliases/ParentLookup.md +3 -3
- package/dist/docs/api/types/type-aliases/SelectionListener.md +1 -1
- package/dist/docs/api/types/type-aliases/SliderInput.md +5 -5
- package/dist/docs/api/types/type-aliases/TextInput.md +1 -1
- package/dist/docs/api/types/type-aliases/ToggleInput.md +1 -1
- package/dist/docs/api/types/type-aliases/Vec3.md +1 -1
- package/dist/docs/api/types/type-aliases/Vector2Input.md +3 -3
- package/dist/docs/api/types/type-aliases/Vector3Input.md +4 -4
- package/dist/docs/api/types/type-aliases/WorldEntityView.md +1 -1
- package/dist/docs/guide/spawning/ambient-light.md +2 -2
- package/dist/docs/guide/spawning/area-light.md +2 -2
- package/dist/docs/guide/spawning/audio.md +27 -16
- package/dist/docs/guide/spawning/camera.md +2 -2
- package/dist/docs/guide/spawning/capsule.md +2 -2
- package/dist/docs/guide/spawning/cube.md +2 -2
- package/dist/docs/guide/spawning/cylinder.md +2 -2
- package/dist/docs/guide/spawning/directional-light.md +2 -2
- package/dist/docs/guide/spawning/empty.md +2 -2
- package/dist/docs/guide/spawning/image-target.md +2 -2
- package/dist/docs/guide/spawning/image.md +2 -2
- package/dist/docs/guide/spawning/index.md +2 -2
- package/dist/docs/guide/spawning/model.md +2 -2
- package/dist/docs/guide/spawning/plane.md +2 -2
- package/dist/docs/guide/spawning/point-light.md +2 -2
- package/dist/docs/guide/spawning/sphere.md +2 -2
- package/dist/docs/guide/spawning/spot-light.md +2 -2
- package/dist/docs/guide/spawning/sprite.md +2 -2
- package/dist/docs/guide/spawning/video.md +2 -2
- package/dist/docs/guide/world-api.md +3 -5
- package/dist/factories/index.cjs +217 -105
- package/dist/factories/index.cjs.map +1 -1
- package/dist/factories/index.d.cts +9 -3
- package/dist/factories/index.d.ts +9 -3
- package/dist/factories/index.js +3 -3
- package/dist/{index-KdEzEZox.d.cts → index-D1I5L7bA.d.cts} +8 -3
- package/dist/{index-Dm6zF1MY.d.ts → index-DGZDgt3p.d.ts} +8 -3
- package/dist/index.cjs +468 -179
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +51 -12
- package/dist/index.js.map +1 -1
- package/dist/systems/index.cjs +248 -63
- package/dist/systems/index.cjs.map +1 -1
- package/dist/systems/index.d.cts +15 -3
- package/dist/systems/index.d.ts +15 -3
- package/dist/systems/index.js +3 -3
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/worldSnapshotUtils.cjs +15 -0
- package/dist/worldSnapshotUtils.cjs.map +1 -1
- package/dist/worldSnapshotUtils.d.cts +1 -1
- package/dist/worldSnapshotUtils.d.ts +1 -1
- package/dist/worldSnapshotUtils.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-AYEF3X2P.js.map +0 -1
- package/dist/chunk-MAWBTMCG.js.map +0 -1
- package/dist/chunk-NFDTIYR4.js.map +0 -1
- package/dist/chunk-P2YDX5DB.js.map +0 -1
- package/dist/chunk-XWIEEJ7Z.js.map +0 -1
|
@@ -12,7 +12,7 @@ type RadiusMeshParameters = {
|
|
|
12
12
|
};
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
Defined in: [components/MeshGeometry.ts:33](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
15
|
+
Defined in: [components/MeshGeometry.ts:33](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/MeshGeometry.ts#L33)
|
|
16
16
|
|
|
17
17
|
Radius-only primitive parameters (sphere).
|
|
18
18
|
|
|
@@ -20,4 +20,4 @@ Radius-only primitive parameters (sphere).
|
|
|
20
20
|
|
|
21
21
|
| Property | Type | Description | Defined in |
|
|
22
22
|
| ------ | ------ | ------ | ------ |
|
|
23
|
-
| <a id="radius"></a> `radius` | `number` | Sphere radius in world units. | [components/MeshGeometry.ts:35](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
23
|
+
| <a id="radius"></a> `radius` | `number` | Sphere radius in world units. | [components/MeshGeometry.ts:35](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/MeshGeometry.ts#L35) |
|
|
@@ -27,7 +27,7 @@ type RigidbodyState = {
|
|
|
27
27
|
};
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Defined in: [components/Physics.ts:24](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
30
|
+
Defined in: [components/Physics.ts:24](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L24)
|
|
31
31
|
|
|
32
32
|
Authoring state for the rigidbody half of [PhysicsComponent](../classes/PhysicsComponent.md). Saved with the project.
|
|
33
33
|
|
|
@@ -35,19 +35,19 @@ Authoring state for the rigidbody half of [PhysicsComponent](../classes/PhysicsC
|
|
|
35
35
|
|
|
36
36
|
| Property | Type | Description | Defined in |
|
|
37
37
|
| ------ | ------ | ------ | ------ |
|
|
38
|
-
| <a id="enabled"></a> `enabled` | `boolean` | When `false`, the body is removed from physics simulation but kept in state. | [components/Physics.ts:26](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
39
|
-
| <a id="type"></a> `type` | [`RigidbodyType`](RigidbodyType.md) | Body type. See [RigidbodyType](RigidbodyType.md). | [components/Physics.ts:28](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
40
|
-
| <a id="mass"></a> `mass` | `number` | Mass in kilograms. Only meaningful for `dynamic` bodies. | [components/Physics.ts:30](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
41
|
-
| <a id="lineardamping"></a> `linearDamping` | `number` | Damping applied to linear velocity each step (`0` = none). | [components/Physics.ts:32](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
42
|
-
| <a id="angulardamping"></a> `angularDamping` | `number` | Damping applied to angular velocity each step (`0` = none). | [components/Physics.ts:34](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
43
|
-
| <a id="gravityscale"></a> `gravityScale` | `number` | Scale factor applied to world gravity for this body (`1` = full gravity, `0` = floating). | [components/Physics.ts:36](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
44
|
-
| <a id="cansleep"></a> `canSleep` | `boolean` | Allow the body to sleep when at rest to save simulation cost. | [components/Physics.ts:38](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
45
|
-
| <a id="ccdenabled"></a> `ccdEnabled` | `boolean` | Enable continuous collision detection to prevent tunneling for fast bodies. | [components/Physics.ts:40](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
46
|
-
| <a id="locktranslations"></a> `lockTranslations` | `boolean` | Master toggle: when `true`, all linear motion is locked. | [components/Physics.ts:42](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
47
|
-
| <a id="locktranslationx"></a> `lockTranslationX` | `boolean` | Lock translation along world X. | [components/Physics.ts:44](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
48
|
-
| <a id="locktranslationy"></a> `lockTranslationY` | `boolean` | Lock translation along world Y. | [components/Physics.ts:46](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
49
|
-
| <a id="locktranslationz"></a> `lockTranslationZ` | `boolean` | Lock translation along world Z. | [components/Physics.ts:48](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
50
|
-
| <a id="lockrotations"></a> `lockRotations` | `boolean` | Master toggle: when `true`, all rotation is locked. | [components/Physics.ts:50](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
51
|
-
| <a id="lockrotationx"></a> `lockRotationX` | `boolean` | Lock rotation around world X. | [components/Physics.ts:52](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
52
|
-
| <a id="lockrotationy"></a> `lockRotationY` | `boolean` | Lock rotation around world Y. | [components/Physics.ts:54](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
53
|
-
| <a id="lockrotationz"></a> `lockRotationZ` | `boolean` | Lock rotation around world Z. | [components/Physics.ts:56](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
38
|
+
| <a id="enabled"></a> `enabled` | `boolean` | When `false`, the body is removed from physics simulation but kept in state. | [components/Physics.ts:26](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L26) |
|
|
39
|
+
| <a id="type"></a> `type` | [`RigidbodyType`](RigidbodyType.md) | Body type. See [RigidbodyType](RigidbodyType.md). | [components/Physics.ts:28](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L28) |
|
|
40
|
+
| <a id="mass"></a> `mass` | `number` | Mass in kilograms. Only meaningful for `dynamic` bodies. | [components/Physics.ts:30](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L30) |
|
|
41
|
+
| <a id="lineardamping"></a> `linearDamping` | `number` | Damping applied to linear velocity each step (`0` = none). | [components/Physics.ts:32](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L32) |
|
|
42
|
+
| <a id="angulardamping"></a> `angularDamping` | `number` | Damping applied to angular velocity each step (`0` = none). | [components/Physics.ts:34](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L34) |
|
|
43
|
+
| <a id="gravityscale"></a> `gravityScale` | `number` | Scale factor applied to world gravity for this body (`1` = full gravity, `0` = floating). | [components/Physics.ts:36](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L36) |
|
|
44
|
+
| <a id="cansleep"></a> `canSleep` | `boolean` | Allow the body to sleep when at rest to save simulation cost. | [components/Physics.ts:38](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L38) |
|
|
45
|
+
| <a id="ccdenabled"></a> `ccdEnabled` | `boolean` | Enable continuous collision detection to prevent tunneling for fast bodies. | [components/Physics.ts:40](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L40) |
|
|
46
|
+
| <a id="locktranslations"></a> `lockTranslations` | `boolean` | Master toggle: when `true`, all linear motion is locked. | [components/Physics.ts:42](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L42) |
|
|
47
|
+
| <a id="locktranslationx"></a> `lockTranslationX` | `boolean` | Lock translation along world X. | [components/Physics.ts:44](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L44) |
|
|
48
|
+
| <a id="locktranslationy"></a> `lockTranslationY` | `boolean` | Lock translation along world Y. | [components/Physics.ts:46](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L46) |
|
|
49
|
+
| <a id="locktranslationz"></a> `lockTranslationZ` | `boolean` | Lock translation along world Z. | [components/Physics.ts:48](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L48) |
|
|
50
|
+
| <a id="lockrotations"></a> `lockRotations` | `boolean` | Master toggle: when `true`, all rotation is locked. | [components/Physics.ts:50](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L50) |
|
|
51
|
+
| <a id="lockrotationx"></a> `lockRotationX` | `boolean` | Lock rotation around world X. | [components/Physics.ts:52](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L52) |
|
|
52
|
+
| <a id="lockrotationy"></a> `lockRotationY` | `boolean` | Lock rotation around world Y. | [components/Physics.ts:54](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L54) |
|
|
53
|
+
| <a id="lockrotationz"></a> `lockRotationZ` | `boolean` | Lock rotation around world Z. | [components/Physics.ts:56](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L56) |
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
type RigidbodyType = "dynamic" | "fixed" | "kinematicPosition" | "kinematicVelocity";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/Physics.ts:17](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/Physics.ts:17](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L17)
|
|
14
14
|
|
|
15
15
|
Rigidbody body type:
|
|
16
16
|
- `dynamic`: simulated by physics; affected by forces and gravity.
|
|
@@ -19,7 +19,7 @@ type ScriptEntry = {
|
|
|
19
19
|
};
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Defined in: [components/ScriptComponent.ts:7](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
22
|
+
Defined in: [components/ScriptComponent.ts:7](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L7)
|
|
23
23
|
|
|
24
24
|
One script attached to an entity. Multiple entries may target a single
|
|
25
25
|
entity (different classes from the same or different files).
|
|
@@ -28,11 +28,11 @@ entity (different classes from the same or different files).
|
|
|
28
28
|
|
|
29
29
|
| Property | Type | Description | Defined in |
|
|
30
30
|
| ------ | ------ | ------ | ------ |
|
|
31
|
-
| <a id="entityid"></a> `entityId` | `number` | Owning entity id. | [components/ScriptComponent.ts:9](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
32
|
-
| <a id="classname"></a> `className` | `string` | Class name exported by the script module (default export class name). | [components/ScriptComponent.ts:11](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
33
|
-
| <a id="scripturl"></a> `scriptUrl` | `string` | Compiled script URL (e.g. `localasset://.../scripts/foo.js`). | [components/ScriptComponent.ts:13](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
34
|
-
| <a id="enabled"></a> `enabled` | `boolean` | When `false`, the script is skipped each frame. | [components/ScriptComponent.ts:15](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
35
|
-
| <a id="executeineditor"></a> `executeInEditor?` | `boolean` | When `true`, the script is executed inside the editor (not just at preview/runtime). Enables direct Three.js scene access via `this.world.getScene()` / `getCamera()` / `getRenderer()` for logic the editor's object palette cannot produce (custom shaders, procedural geometry, grass, etc.). Defaults to `false`. | [components/ScriptComponent.ts:22](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
36
|
-
| <a id="data"></a> `data` | `Record`\<`string`, `unknown`\> | Inspector-bound payload exposed to the script as `this.data`. | [components/ScriptComponent.ts:24](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
37
|
-
| <a id="runtimestate"></a> `runtimeState?` | `"idle"` \| `"loading"` \| `"ready"` \| `"error"` | Last load/runtime status reported by `ScriptBehaviourSystem`. | [components/ScriptComponent.ts:26](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
38
|
-
| <a id="runtimemessage"></a> `runtimeMessage?` | `string` | Optional human-readable status message (e.g. compile/load error). | [components/ScriptComponent.ts:28](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
31
|
+
| <a id="entityid"></a> `entityId` | `number` | Owning entity id. | [components/ScriptComponent.ts:9](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L9) |
|
|
32
|
+
| <a id="classname"></a> `className` | `string` | Class name exported by the script module (default export class name). | [components/ScriptComponent.ts:11](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L11) |
|
|
33
|
+
| <a id="scripturl"></a> `scriptUrl` | `string` | Compiled script URL (e.g. `localasset://.../scripts/foo.js`). | [components/ScriptComponent.ts:13](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L13) |
|
|
34
|
+
| <a id="enabled"></a> `enabled` | `boolean` | When `false`, the script is skipped each frame. | [components/ScriptComponent.ts:15](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L15) |
|
|
35
|
+
| <a id="executeineditor"></a> `executeInEditor?` | `boolean` | When `true`, the script is executed inside the editor (not just at preview/runtime). Enables direct Three.js scene access via `this.world.getScene()` / `getCamera()` / `getRenderer()` for logic the editor's object palette cannot produce (custom shaders, procedural geometry, grass, etc.). Defaults to `false`. | [components/ScriptComponent.ts:22](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L22) |
|
|
36
|
+
| <a id="data"></a> `data` | `Record`\<`string`, `unknown`\> | Inspector-bound payload exposed to the script as `this.data`. | [components/ScriptComponent.ts:24](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L24) |
|
|
37
|
+
| <a id="runtimestate"></a> `runtimeState?` | `"idle"` \| `"loading"` \| `"ready"` \| `"error"` | Last load/runtime status reported by `ScriptBehaviourSystem`. | [components/ScriptComponent.ts:26](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L26) |
|
|
38
|
+
| <a id="runtimemessage"></a> `runtimeMessage?` | `string` | Optional human-readable status message (e.g. compile/load error). | [components/ScriptComponent.ts:28](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/ScriptComponent.ts#L28) |
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
type TextureFilteringValue = "smooth" | "sharp";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/Material.ts:8](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/Material.ts:8](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Material.ts#L8)
|
|
14
14
|
|
|
15
15
|
Texture sampling mode. `smooth` uses linear filtering; `sharp` uses nearest filtering for pixel-art look.
|
|
@@ -14,7 +14,7 @@ type TransformData = {
|
|
|
14
14
|
};
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Defined in: [components/Transform.ts:20](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
17
|
+
Defined in: [components/Transform.ts:20](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Transform.ts#L20)
|
|
18
18
|
|
|
19
19
|
Optional initial values passed to [TransformComponent](../classes/TransformComponent.md). Missing axes default to `0` for position/rotation and `1` for scale.
|
|
20
20
|
|
|
@@ -22,6 +22,6 @@ Optional initial values passed to [TransformComponent](../classes/TransformCompo
|
|
|
22
22
|
|
|
23
23
|
| Property | Type | Description | Defined in |
|
|
24
24
|
| ------ | ------ | ------ | ------ |
|
|
25
|
-
| <a id="position"></a> `position?` | `Partial`\<[`Vec3`](Vec3.md)\> | Initial position (defaults to `{ 0, 0, 0 }`). | [components/Transform.ts:22](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
26
|
-
| <a id="rotation"></a> `rotation?` | `Partial`\<[`Vec3`](Vec3.md)\> | Initial rotation in **radians** (defaults to `{ 0, 0, 0 }`). | [components/Transform.ts:24](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
27
|
-
| <a id="scale"></a> `scale?` | `Partial`\<[`Vec3`](Vec3.md)\> | Initial scale (defaults to `{ 1, 1, 1 }`). | [components/Transform.ts:26](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
25
|
+
| <a id="position"></a> `position?` | `Partial`\<[`Vec3`](Vec3.md)\> | Initial position (defaults to `{ 0, 0, 0 }`). | [components/Transform.ts:22](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Transform.ts#L22) |
|
|
26
|
+
| <a id="rotation"></a> `rotation?` | `Partial`\<[`Vec3`](Vec3.md)\> | Initial rotation in **radians** (defaults to `{ 0, 0, 0 }`). | [components/Transform.ts:24](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Transform.ts#L24) |
|
|
27
|
+
| <a id="scale"></a> `scale?` | `Partial`\<[`Vec3`](Vec3.md)\> | Initial scale (defaults to `{ 1, 1, 1 }`). | [components/Transform.ts:26](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Transform.ts#L26) |
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
type TransformModeValue = "translate" | "rotate" | "scale";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/SelectionTransformState.ts:5](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/SelectionTransformState.ts:5](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/SelectionTransformState.ts#L5)
|
|
14
14
|
|
|
15
15
|
Active gizmo mode in the editor.
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
type TransformSpaceValue = "world" | "local";
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/SelectionTransformState.ts:7](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/SelectionTransformState.ts:7](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/SelectionTransformState.ts#L7)
|
|
14
14
|
|
|
15
15
|
Reference frame for the active gizmo.
|
|
@@ -14,7 +14,7 @@ type Vec3 = {
|
|
|
14
14
|
};
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Defined in: [components/Transform.ts:10](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
17
|
+
Defined in: [components/Transform.ts:10](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Transform.ts#L10)
|
|
18
18
|
|
|
19
19
|
Plain XYZ vector. All ECS transform fields use this shape rather than `THREE.Vector3` so they save cleanly with the project.
|
|
20
20
|
|
|
@@ -22,6 +22,6 @@ Plain XYZ vector. All ECS transform fields use this shape rather than `THREE.Vec
|
|
|
22
22
|
|
|
23
23
|
| Property | Type | Description | Defined in |
|
|
24
24
|
| ------ | ------ | ------ | ------ |
|
|
25
|
-
| <a id="x"></a> `x` | `number` | X component. | [components/Transform.ts:12](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
26
|
-
| <a id="y"></a> `y` | `number` | Y component. | [components/Transform.ts:14](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
27
|
-
| <a id="z"></a> `z` | `number` | Z component. | [components/Transform.ts:16](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
25
|
+
| <a id="x"></a> `x` | `number` | X component. | [components/Transform.ts:12](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Transform.ts#L12) |
|
|
26
|
+
| <a id="y"></a> `y` | `number` | Y component. | [components/Transform.ts:14](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Transform.ts#L14) |
|
|
27
|
+
| <a id="z"></a> `z` | `number` | Z component. | [components/Transform.ts:16](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Transform.ts#L16) |
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
const DEFAULT_COLLIDER_STATE: ColliderState;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/Physics.ts:135](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/Physics.ts:135](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L135)
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
const DEFAULT_ENVIRONMENT_STATE: EnvironmentState;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/Environment.ts:73](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/Environment.ts:73](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Environment.ts#L73)
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
const DEFAULT_MESH_GEOMETRY_PARAMETERS: MeshGeometryParametersByKind;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/MeshGeometry.ts:62](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/MeshGeometry.ts:62](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/MeshGeometry.ts#L62)
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
const DEFAULT_PHYSICS_STATE: PhysicsState;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/Physics.ts:172](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/Physics.ts:172](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L172)
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
const DEFAULT_POSTPROCESSING_STATE: PostprocessingState;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/Postprocessing.ts:142](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/Postprocessing.ts:142](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Postprocessing.ts#L142)
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
const DEFAULT_RIGIDBODY_STATE: RigidbodyState;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Defined in: [components/Physics.ts:59](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
13
|
+
Defined in: [components/Physics.ts:59](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/components/Physics.ts#L59)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: AnimationStateMachine
|
|
8
8
|
|
|
9
|
-
Defined in: [AnimationStateMachine.ts:24](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [AnimationStateMachine.ts:24](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L24)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ new AnimationStateMachine(
|
|
|
25
25
|
clipId?): AnimationStateMachine;
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Defined in: [AnimationStateMachine.ts:33](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
28
|
+
Defined in: [AnimationStateMachine.ts:33](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L33)
|
|
29
29
|
|
|
30
30
|
#### Parameters
|
|
31
31
|
|
|
@@ -45,12 +45,12 @@ Defined in: [AnimationStateMachine.ts:33](https://github.com/Relu-Interactives/r
|
|
|
45
45
|
|
|
46
46
|
| Property | Type | Default value | Defined in |
|
|
47
47
|
| ------ | ------ | ------ | ------ |
|
|
48
|
-
| <a id="name"></a> `name` | `string` | `undefined` | [AnimationStateMachine.ts:25](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
49
|
-
| <a id="clip"></a> `clip` | `AnimationClip` | `undefined` | [AnimationStateMachine.ts:26](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
50
|
-
| <a id="clipid"></a> `clipId` | `string` \| `null` | `undefined` | [AnimationStateMachine.ts:27](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
51
|
-
| <a id="loop"></a> `loop` | `boolean` | `undefined` | [AnimationStateMachine.ts:28](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
52
|
-
| <a id="isplaying"></a> `isPlaying` | `boolean` | `false` | [AnimationStateMachine.ts:29](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
53
|
-
| <a id="ispaused"></a> `isPaused` | `boolean` | `false` | [AnimationStateMachine.ts:30](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
48
|
+
| <a id="name"></a> `name` | `string` | `undefined` | [AnimationStateMachine.ts:25](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L25) |
|
|
49
|
+
| <a id="clip"></a> `clip` | `AnimationClip` | `undefined` | [AnimationStateMachine.ts:26](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L26) |
|
|
50
|
+
| <a id="clipid"></a> `clipId` | `string` \| `null` | `undefined` | [AnimationStateMachine.ts:27](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L27) |
|
|
51
|
+
| <a id="loop"></a> `loop` | `boolean` | `undefined` | [AnimationStateMachine.ts:28](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L28) |
|
|
52
|
+
| <a id="isplaying"></a> `isPlaying` | `boolean` | `false` | [AnimationStateMachine.ts:29](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L29) |
|
|
53
|
+
| <a id="ispaused"></a> `isPaused` | `boolean` | `false` | [AnimationStateMachine.ts:30](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L30) |
|
|
54
54
|
|
|
55
55
|
## Methods
|
|
56
56
|
|
|
@@ -60,7 +60,7 @@ Defined in: [AnimationStateMachine.ts:33](https://github.com/Relu-Interactives/r
|
|
|
60
60
|
setCallbacks(callbacks): void;
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
Defined in: [AnimationStateMachine.ts:51](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
63
|
+
Defined in: [AnimationStateMachine.ts:51](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L51)
|
|
64
64
|
|
|
65
65
|
#### Parameters
|
|
66
66
|
|
|
@@ -80,7 +80,7 @@ Defined in: [AnimationStateMachine.ts:51](https://github.com/Relu-Interactives/r
|
|
|
80
80
|
setLoop(loop): void;
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
Defined in: [AnimationStateMachine.ts:59](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
83
|
+
Defined in: [AnimationStateMachine.ts:59](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L59)
|
|
84
84
|
|
|
85
85
|
#### Parameters
|
|
86
86
|
|
|
@@ -100,7 +100,7 @@ Defined in: [AnimationStateMachine.ts:59](https://github.com/Relu-Interactives/r
|
|
|
100
100
|
onStart(): void;
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
Defined in: [AnimationStateMachine.ts:63](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
103
|
+
Defined in: [AnimationStateMachine.ts:63](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L63)
|
|
104
104
|
|
|
105
105
|
#### Returns
|
|
106
106
|
|
|
@@ -118,7 +118,7 @@ Defined in: [AnimationStateMachine.ts:63](https://github.com/Relu-Interactives/r
|
|
|
118
118
|
onPlaying(): void;
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
Defined in: [AnimationStateMachine.ts:67](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
121
|
+
Defined in: [AnimationStateMachine.ts:67](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L67)
|
|
122
122
|
|
|
123
123
|
#### Returns
|
|
124
124
|
|
|
@@ -136,7 +136,7 @@ Defined in: [AnimationStateMachine.ts:67](https://github.com/Relu-Interactives/r
|
|
|
136
136
|
onEnd(): void;
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
Defined in: [AnimationStateMachine.ts:71](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
139
|
+
Defined in: [AnimationStateMachine.ts:71](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L71)
|
|
140
140
|
|
|
141
141
|
#### Returns
|
|
142
142
|
|
|
@@ -154,7 +154,7 @@ Defined in: [AnimationStateMachine.ts:71](https://github.com/Relu-Interactives/r
|
|
|
154
154
|
play(): void;
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
-
Defined in: [AnimationStateMachine.ts:75](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
157
|
+
Defined in: [AnimationStateMachine.ts:75](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L75)
|
|
158
158
|
|
|
159
159
|
#### Returns
|
|
160
160
|
|
|
@@ -172,7 +172,7 @@ Defined in: [AnimationStateMachine.ts:75](https://github.com/Relu-Interactives/r
|
|
|
172
172
|
pause(): void;
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
Defined in: [AnimationStateMachine.ts:87](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
175
|
+
Defined in: [AnimationStateMachine.ts:87](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L87)
|
|
176
176
|
|
|
177
177
|
#### Returns
|
|
178
178
|
|
|
@@ -190,7 +190,7 @@ Defined in: [AnimationStateMachine.ts:87](https://github.com/Relu-Interactives/r
|
|
|
190
190
|
stop(): void;
|
|
191
191
|
```
|
|
192
192
|
|
|
193
|
-
Defined in: [AnimationStateMachine.ts:96](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
193
|
+
Defined in: [AnimationStateMachine.ts:96](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L96)
|
|
194
194
|
|
|
195
195
|
#### Returns
|
|
196
196
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: AnimationStateManager
|
|
8
8
|
|
|
9
|
-
Defined in: [AnimationStateMachine.ts:107](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [AnimationStateMachine.ts:107](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L107)
|
|
10
10
|
|
|
11
11
|
## Constructors
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@ new AnimationStateManager(): AnimationStateManager;
|
|
|
28
28
|
addState(state): AnimationStateMachine;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Defined in: [AnimationStateMachine.ts:111](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
31
|
+
Defined in: [AnimationStateMachine.ts:111](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L111)
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
@@ -53,7 +53,7 @@ createState(
|
|
|
53
53
|
clipId?): AnimationStateMachine;
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
Defined in: [AnimationStateMachine.ts:116](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
56
|
+
Defined in: [AnimationStateMachine.ts:116](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L116)
|
|
57
57
|
|
|
58
58
|
#### Parameters
|
|
59
59
|
|
|
@@ -77,7 +77,7 @@ Defined in: [AnimationStateMachine.ts:116](https://github.com/Relu-Interactives/
|
|
|
77
77
|
removeState(name): boolean;
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
Defined in: [AnimationStateMachine.ts:128](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
80
|
+
Defined in: [AnimationStateMachine.ts:128](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L128)
|
|
81
81
|
|
|
82
82
|
#### Parameters
|
|
83
83
|
|
|
@@ -97,7 +97,7 @@ Defined in: [AnimationStateMachine.ts:128](https://github.com/Relu-Interactives/
|
|
|
97
97
|
getState(name): AnimationStateMachine | null;
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
Defined in: [AnimationStateMachine.ts:142](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
100
|
+
Defined in: [AnimationStateMachine.ts:142](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L142)
|
|
101
101
|
|
|
102
102
|
#### Parameters
|
|
103
103
|
|
|
@@ -117,7 +117,7 @@ Defined in: [AnimationStateMachine.ts:142](https://github.com/Relu-Interactives/
|
|
|
117
117
|
hasState(name): boolean;
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
Defined in: [AnimationStateMachine.ts:146](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
120
|
+
Defined in: [AnimationStateMachine.ts:146](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L146)
|
|
121
121
|
|
|
122
122
|
#### Parameters
|
|
123
123
|
|
|
@@ -137,7 +137,7 @@ Defined in: [AnimationStateMachine.ts:146](https://github.com/Relu-Interactives/
|
|
|
137
137
|
listStates(): AnimationStateMachine[];
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
Defined in: [AnimationStateMachine.ts:150](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
140
|
+
Defined in: [AnimationStateMachine.ts:150](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L150)
|
|
141
141
|
|
|
142
142
|
#### Returns
|
|
143
143
|
|
|
@@ -151,7 +151,7 @@ Defined in: [AnimationStateMachine.ts:150](https://github.com/Relu-Interactives/
|
|
|
151
151
|
getActiveState(): AnimationStateMachine | null;
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
-
Defined in: [AnimationStateMachine.ts:154](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
154
|
+
Defined in: [AnimationStateMachine.ts:154](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L154)
|
|
155
155
|
|
|
156
156
|
#### Returns
|
|
157
157
|
|
|
@@ -165,7 +165,7 @@ Defined in: [AnimationStateMachine.ts:154](https://github.com/Relu-Interactives/
|
|
|
165
165
|
switchState(name, autoPlay?): AnimationStateMachine | null;
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
-
Defined in: [AnimationStateMachine.ts:158](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
168
|
+
Defined in: [AnimationStateMachine.ts:158](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L158)
|
|
169
169
|
|
|
170
170
|
#### Parameters
|
|
171
171
|
|
|
@@ -186,7 +186,7 @@ Defined in: [AnimationStateMachine.ts:158](https://github.com/Relu-Interactives/
|
|
|
186
186
|
playState(name?): boolean;
|
|
187
187
|
```
|
|
188
188
|
|
|
189
|
-
Defined in: [AnimationStateMachine.ts:176](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
189
|
+
Defined in: [AnimationStateMachine.ts:176](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L176)
|
|
190
190
|
|
|
191
191
|
#### Parameters
|
|
192
192
|
|
|
@@ -206,7 +206,7 @@ Defined in: [AnimationStateMachine.ts:176](https://github.com/Relu-Interactives/
|
|
|
206
206
|
pauseState(name?): boolean;
|
|
207
207
|
```
|
|
208
208
|
|
|
209
|
-
Defined in: [AnimationStateMachine.ts:187](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
209
|
+
Defined in: [AnimationStateMachine.ts:187](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L187)
|
|
210
210
|
|
|
211
211
|
#### Parameters
|
|
212
212
|
|
|
@@ -226,7 +226,7 @@ Defined in: [AnimationStateMachine.ts:187](https://github.com/Relu-Interactives/
|
|
|
226
226
|
stopState(name?): boolean;
|
|
227
227
|
```
|
|
228
228
|
|
|
229
|
-
Defined in: [AnimationStateMachine.ts:197](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
229
|
+
Defined in: [AnimationStateMachine.ts:197](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L197)
|
|
230
230
|
|
|
231
231
|
#### Parameters
|
|
232
232
|
|
|
@@ -246,7 +246,7 @@ Defined in: [AnimationStateMachine.ts:197](https://github.com/Relu-Interactives/
|
|
|
246
246
|
clear(): void;
|
|
247
247
|
```
|
|
248
248
|
|
|
249
|
-
Defined in: [AnimationStateMachine.ts:210](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
249
|
+
Defined in: [AnimationStateMachine.ts:210](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/AnimationStateMachine.ts#L210)
|
|
250
250
|
|
|
251
251
|
#### Returns
|
|
252
252
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: AnimationSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/AnimationSystem.ts:295](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [systems/AnimationSystem.ts:295](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/AnimationSystem.ts#L295)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ new AnimationSystem(): AnimationSystem;
|
|
|
32
32
|
update(world, deltaTime): void;
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Defined in: [systems/AnimationSystem.ts:422](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
35
|
+
Defined in: [systems/AnimationSystem.ts:422](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/AnimationSystem.ts#L422)
|
|
36
36
|
|
|
37
37
|
#### Parameters
|
|
38
38
|
|
|
@@ -57,7 +57,7 @@ Defined in: [systems/AnimationSystem.ts:422](https://github.com/Relu-Interactive
|
|
|
57
57
|
dispose(): void;
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Defined in: [systems/AnimationSystem.ts:549](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
60
|
+
Defined in: [systems/AnimationSystem.ts:549](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/AnimationSystem.ts#L549)
|
|
61
61
|
|
|
62
62
|
#### Returns
|
|
63
63
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: AudioSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/AudioSystem.ts:46](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [systems/AudioSystem.ts:46](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/AudioSystem.ts#L46)
|
|
10
10
|
|
|
11
11
|
Reconciles `AudioComponent` state with the underlying THREE.js audio objects
|
|
12
12
|
each frame.
|
|
@@ -35,7 +35,7 @@ no-op so the editor is unaffected).
|
|
|
35
35
|
new AudioSystem(__namedParameters?): AudioSystem;
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Defined in: [systems/AudioSystem.ts:53](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
38
|
+
Defined in: [systems/AudioSystem.ts:53](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/AudioSystem.ts#L53)
|
|
39
39
|
|
|
40
40
|
#### Parameters
|
|
41
41
|
|
|
@@ -56,7 +56,7 @@ Defined in: [systems/AudioSystem.ts:53](https://github.com/Relu-Interactives/rel
|
|
|
56
56
|
update(world, _deltaTime): void;
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Defined in: [systems/AudioSystem.ts:57](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
59
|
+
Defined in: [systems/AudioSystem.ts:57](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/AudioSystem.ts#L57)
|
|
60
60
|
|
|
61
61
|
#### Parameters
|
|
62
62
|
|
|
@@ -81,7 +81,7 @@ Defined in: [systems/AudioSystem.ts:57](https://github.com/Relu-Interactives/rel
|
|
|
81
81
|
dispose(_world): void;
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
Defined in: [systems/AudioSystem.ts:157](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
84
|
+
Defined in: [systems/AudioSystem.ts:157](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/AudioSystem.ts#L157)
|
|
85
85
|
|
|
86
86
|
#### Parameters
|
|
87
87
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: CameraSyncSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/CameraSyncSystem.ts:115](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [systems/CameraSyncSystem.ts:115](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/CameraSyncSystem.ts#L115)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ new CameraSyncSystem(): CameraSyncSystem;
|
|
|
32
32
|
update(world): void;
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Defined in: [systems/CameraSyncSystem.ts:118](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
35
|
+
Defined in: [systems/CameraSyncSystem.ts:118](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/CameraSyncSystem.ts#L118)
|
|
36
36
|
|
|
37
37
|
#### Parameters
|
|
38
38
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: EnvironmentSyncSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/EnvironmentSyncSystem.ts:67](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [systems/EnvironmentSyncSystem.ts:67](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/EnvironmentSyncSystem.ts#L67)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Defined in: [systems/EnvironmentSyncSystem.ts:67](https://github.com/Relu-Intera
|
|
|
20
20
|
new EnvironmentSyncSystem(scene): EnvironmentSyncSystem;
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Defined in: [systems/EnvironmentSyncSystem.ts:74](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
23
|
+
Defined in: [systems/EnvironmentSyncSystem.ts:74](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/EnvironmentSyncSystem.ts#L74)
|
|
24
24
|
|
|
25
25
|
#### Parameters
|
|
26
26
|
|
|
@@ -40,7 +40,7 @@ Defined in: [systems/EnvironmentSyncSystem.ts:74](https://github.com/Relu-Intera
|
|
|
40
40
|
update(world): void;
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Defined in: [systems/EnvironmentSyncSystem.ts:174](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
43
|
+
Defined in: [systems/EnvironmentSyncSystem.ts:174](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/EnvironmentSyncSystem.ts#L174)
|
|
44
44
|
|
|
45
45
|
#### Parameters
|
|
46
46
|
|
|
@@ -64,7 +64,7 @@ Defined in: [systems/EnvironmentSyncSystem.ts:174](https://github.com/Relu-Inter
|
|
|
64
64
|
dispose(): void;
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
Defined in: [systems/EnvironmentSyncSystem.ts:203](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
67
|
+
Defined in: [systems/EnvironmentSyncSystem.ts:203](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/bdd9282dee928f9a7d192d992833af9bda98772b/core/systems/EnvironmentSyncSystem.ts#L203)
|
|
68
68
|
|
|
69
69
|
#### Returns
|
|
70
70
|
|