@relu-interactives/spatial-ecs 0.5.3 → 0.8.0
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-V_mv07le.d.cts → System-8D-XBDKZ.d.cts} +734 -8
- package/dist/{System-V_mv07le.d.ts → System-DPMAW30g.d.ts} +734 -8
- package/dist/{XRHandPose-CU3vNFuS.d.ts → XRHandPose-G0Dl-F0w.d.ts} +93 -3
- package/dist/{XRHandPose-CQTLGxFC.d.cts → XRHandPose-VQMT1WXj.d.cts} +93 -3
- package/dist/animation/index.cjs +252 -0
- package/dist/animation/index.cjs.map +1 -0
- package/dist/animation/index.d.cts +100 -0
- package/dist/animation/index.d.ts +100 -0
- package/dist/animation/index.js +4 -0
- package/dist/animation/index.js.map +1 -0
- package/dist/chunk-CKTHDXPS.js +11 -0
- package/dist/chunk-CKTHDXPS.js.map +1 -0
- package/dist/chunk-G4XJ53LS.js +1237 -0
- package/dist/chunk-G4XJ53LS.js.map +1 -0
- package/dist/chunk-GSWC6LLD.js +241 -0
- package/dist/chunk-GSWC6LLD.js.map +1 -0
- package/dist/{chunk-DF5SSRN6.js → chunk-JIJQFW6P.js} +1216 -2920
- package/dist/chunk-JIJQFW6P.js.map +1 -0
- package/dist/{chunk-BUEKOSR5.js → chunk-NNDUOQ7O.js} +188 -14
- package/dist/chunk-NNDUOQ7O.js.map +1 -0
- package/dist/chunk-OHCNPPMX.js +334 -0
- package/dist/chunk-OHCNPPMX.js.map +1 -0
- package/dist/{chunk-RXBLOO5B.js → chunk-SGF73YTF.js} +105 -715
- package/dist/chunk-SGF73YTF.js.map +1 -0
- package/dist/chunk-U727NTWQ.js +2856 -0
- package/dist/chunk-U727NTWQ.js.map +1 -0
- package/dist/{chunk-OY7ZODZP.js → chunk-XE4OXN2W.js} +3 -9
- package/dist/chunk-XE4OXN2W.js.map +1 -0
- package/dist/{chunk-OWQSESTO.js → chunk-XU2DVWCP.js} +4 -3
- package/dist/chunk-XU2DVWCP.js.map +1 -0
- package/dist/components/index.cjs +183 -10
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +5 -3
- package/dist/components/index.d.ts +5 -3
- package/dist/components/index.js +3 -2
- package/dist/docs/api/Behaviour/classes/Behaviour.md +366 -79
- package/dist/docs/api/Behaviour/index.md +7 -3
- package/dist/docs/api/Behaviour/type-aliases/UiInteractionEvent.md +35 -0
- package/dist/docs/api/Component/classes/Component.md +14 -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 +4 -4
- package/dist/docs/api/components/classes/Environment.md +5 -4
- package/dist/docs/api/components/classes/ImageComponent.md +7 -7
- package/dist/docs/api/components/classes/ImageTarget.md +8 -8
- package/dist/docs/api/components/classes/ImageTargetAnchor.md +4 -4
- package/dist/docs/api/components/classes/InstanceSlotComponent.md +4 -4
- package/dist/docs/api/components/classes/InstancedMeshComponent.md +10 -10
- package/dist/docs/api/components/classes/LightComponent.md +6 -6
- package/dist/docs/api/components/classes/MaterialComponent.md +16 -16
- 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 +8 -5
- 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 +7 -6
- package/dist/docs/api/components/classes/Postprocessing.md +3 -3
- package/dist/docs/api/components/classes/PrefabInstance.md +5 -5
- package/dist/docs/api/components/classes/PrefabNode.md +3 -3
- package/dist/docs/api/components/classes/ScriptComponent.md +5 -5
- package/dist/docs/api/components/classes/ScriptObjectComponent.md +9 -9
- 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/UIButtonComponent.md +63 -0
- package/dist/docs/api/components/classes/UIPanelComponent.md +62 -0
- package/dist/docs/api/components/classes/UISliderComponent.md +59 -0
- package/dist/docs/api/components/classes/UITextComponent.md +59 -0
- package/dist/docs/api/components/classes/UIToggleComponent.md +56 -0
- package/dist/docs/api/components/classes/VRTeleportAreaComponent.md +53 -0
- package/dist/docs/api/components/classes/VideoComponent.md +28 -28
- package/dist/docs/api/components/classes/XRAnchorComponent.md +64 -0
- package/dist/docs/api/components/classes/XREnvironmentComponent.md +64 -0
- package/dist/docs/api/components/classes/XRHandPoseComponent.md +50 -0
- package/dist/docs/api/components/classes/XRInteractableComponent.md +74 -0
- package/dist/docs/api/components/classes/XRInteractorComponent.md +57 -0
- package/dist/docs/api/components/classes/XRInteractorSideComponent.md +50 -0
- package/dist/docs/api/components/classes/XRRigComponent.md +68 -0
- package/dist/docs/api/components/functions/createAttachPoint.md +25 -0
- package/dist/docs/api/components/functions/createHandPoseEntry.md +25 -0
- package/dist/docs/api/components/functions/defaultMaterialValue.md +1 -1
- package/dist/docs/api/components/functions/handPoseDefinitionFor.md +33 -0
- package/dist/docs/api/components/functions/normalizeEnvironmentLighting.md +30 -0
- package/dist/docs/api/components/functions/normalizePhysicsState.md +1 -1
- package/dist/docs/api/components/functions/setModelLoadState.md +33 -0
- package/dist/docs/api/components/functions/setPhysicsLiveRef.md +3 -9
- package/dist/docs/api/components/index.md +61 -4
- 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 +5 -3
- 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/EnvironmentLightingState.md +40 -0
- package/dist/docs/api/components/type-aliases/EnvironmentSkyboxImageProjection.md +22 -0
- package/dist/docs/api/components/type-aliases/EnvironmentSkyboxState.md +9 -7
- package/dist/docs/api/components/type-aliases/EnvironmentSkyboxType.md +1 -1
- package/dist/docs/api/components/type-aliases/EnvironmentState.md +7 -5
- package/dist/docs/api/components/type-aliases/EnvironmentToneMapping.md +16 -0
- 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/InstanceTransform.md +13 -13
- package/dist/docs/api/components/type-aliases/InstancedMeshKind.md +1 -1
- package/dist/docs/api/components/type-aliases/LightShadowState.md +37 -0
- package/dist/docs/api/components/type-aliases/LightValueState.md +13 -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/ModelLoadState.md +15 -0
- 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 +8 -8
- package/dist/docs/api/components/type-aliases/ScriptObjectComponentInput.md +1 -1
- package/dist/docs/api/components/type-aliases/ScriptObjectRuntimeState.md +1 -1
- 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/UIButtonOptions.md +45 -0
- package/dist/docs/api/components/type-aliases/UIPanelOptions.md +39 -0
- package/dist/docs/api/components/type-aliases/UISliderOptions.md +39 -0
- package/dist/docs/api/components/type-aliases/UITextOptions.md +41 -0
- package/dist/docs/api/components/type-aliases/UIToggleOptions.md +35 -0
- package/dist/docs/api/components/type-aliases/UiFollowMode.md +15 -0
- package/dist/docs/api/components/type-aliases/UiTextAlign.md +13 -0
- package/dist/docs/api/components/type-aliases/UiTextVAlign.md +13 -0
- package/dist/docs/api/components/type-aliases/VRTeleportAreaOptions.md +29 -0
- package/dist/docs/api/components/type-aliases/Vec3.md +4 -4
- package/dist/docs/api/components/type-aliases/VrTeleportShape.md +15 -0
- package/dist/docs/api/components/type-aliases/XRAnchorOptions.md +23 -0
- package/dist/docs/api/components/type-aliases/XRHandPoseOptions.md +23 -0
- package/dist/docs/api/components/type-aliases/XRInteractableOptions.md +75 -0
- package/dist/docs/api/components/type-aliases/XRInteractorOptions.md +37 -0
- package/dist/docs/api/components/type-aliases/XRRigOptions.md +51 -0
- package/dist/docs/api/components/type-aliases/XrAttachPoint.md +53 -0
- package/dist/docs/api/components/type-aliases/XrDistanceGrabBehavior.md +19 -0
- package/dist/docs/api/components/type-aliases/XrEnvironmentKind.md +15 -0
- package/dist/docs/api/components/type-aliases/XrEnvironmentOrientation.md +15 -0
- package/dist/docs/api/components/type-aliases/XrEnvironmentPhysics.md +25 -0
- package/dist/docs/api/components/type-aliases/XrGrabGesture.md +19 -0
- package/dist/docs/api/components/type-aliases/XrGrabHands.md +20 -0
- package/dist/docs/api/components/type-aliases/XrGrabReach.md +20 -0
- package/dist/docs/api/components/type-aliases/XrHandPoseEntry.md +49 -0
- package/dist/docs/api/components/type-aliases/XrHandPreset.md +19 -0
- package/dist/docs/api/components/type-aliases/XrInteractorSide.md +15 -0
- package/dist/docs/api/components/type-aliases/XrInteractorType.md +13 -0
- package/dist/docs/api/components/type-aliases/XrLocomotionMode.md +15 -0
- package/dist/docs/api/components/type-aliases/XrTrackingOrigin.md +24 -0
- package/dist/docs/api/components/type-aliases/XrTwoHandRotation.md +15 -0
- package/dist/docs/api/components/variables/DEFAULT_COLLIDER_STATE.md +1 -1
- package/dist/docs/api/components/variables/DEFAULT_ENVIRONMENT_LIGHTING.md +15 -0
- package/dist/docs/api/components/variables/DEFAULT_ENVIRONMENT_STATE.md +1 -1
- package/dist/docs/api/components/variables/DEFAULT_INSTANCED_MESH_PARAMETERS.md +1 -1
- package/dist/docs/api/components/variables/DEFAULT_INSTANCE_TRANSFORM.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_POSE_CURLS.md +13 -0
- package/dist/docs/api/components/variables/DEFAULT_POSE_DIRECTIONS.md +13 -0
- 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/components/variables/MODEL_NO_PATH_MESSAGE.md +15 -0
- 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 +19 -4
- package/dist/docs/api/index/classes/HandPoseTracker.md +114 -0
- package/dist/docs/api/index/classes/InputSystem.md +33 -33
- package/dist/docs/api/index/classes/InstancedMeshSystem.md +2 -2
- 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 +34 -10
- package/dist/docs/api/index/classes/RenderSystem.md +13 -4
- package/dist/docs/api/index/classes/ScriptBehaviourSystem.md +9 -5
- package/dist/docs/api/index/classes/ScriptObject.md +10 -10
- package/dist/docs/api/index/classes/ScriptObjectSystem.md +6 -6
- package/dist/docs/api/index/classes/TeleportAimGate.md +114 -0
- package/dist/docs/api/index/classes/ThrowVelocityTracker.md +89 -0
- package/dist/docs/api/index/classes/TransformSyncSystem.md +2 -2
- package/dist/docs/api/index/classes/UIInteractionSystem.md +60 -0
- package/dist/docs/api/index/classes/UIPanelSystem.md +79 -0
- package/dist/docs/api/index/classes/VRTeleportAreaSystem.md +49 -0
- package/dist/docs/api/index/classes/VideoSystem.md +8 -6
- package/dist/docs/api/index/classes/World.md +282 -100
- package/dist/docs/api/index/classes/XRAnchorSystem.md +90 -0
- package/dist/docs/api/index/classes/XRControllerVisualSystem.md +77 -0
- package/dist/docs/api/index/classes/XREnvironmentSystem.md +137 -0
- package/dist/docs/api/index/classes/XRHandPoseSystem.md +107 -0
- package/dist/docs/api/index/classes/XRHitTestSystem.md +93 -0
- package/dist/docs/api/index/classes/XRHoverVisualSystem.md +76 -0
- package/dist/docs/api/index/classes/XRInputSystem.md +189 -0
- package/dist/docs/api/index/classes/XRInteractionSystem.md +323 -0
- package/dist/docs/api/index/classes/XRLocomotionSystem.md +128 -0
- package/dist/docs/api/index/classes/XRSessionSystem.md +116 -0
- package/dist/docs/api/index/classes/XRTeleportVisualSystem.md +75 -0
- package/dist/docs/api/index/functions/angularVelocityFrom.md +33 -0
- package/dist/docs/api/index/functions/applyHandMaterial.md +26 -0
- package/dist/docs/api/index/functions/applyPrefabToSnapshotInstances.md +1 -1
- package/dist/docs/api/index/functions/arcGroundCrossing.md +30 -0
- package/dist/docs/api/index/functions/buildComponentValueMaps.md +1 -1
- package/dist/docs/api/index/functions/buildNodeKeyMapsFromSnapshot.md +1 -1
- package/dist/docs/api/index/functions/buildNodeMapsFromSnapshot.md +1 -1
- package/dist/docs/api/index/functions/canonicalizeComponentValue.md +1 -1
- package/dist/docs/api/index/functions/clearModelCache.md +1 -1
- package/dist/docs/api/index/functions/clearPrefabCache.md +1 -1
- package/dist/docs/api/index/functions/cloneHandPose.md +23 -0
- package/dist/docs/api/index/functions/collectDiffPaths.md +1 -1
- package/dist/docs/api/index/functions/collectDirectPrefabDependencies.md +1 -1
- package/dist/docs/api/index/functions/collectEntitySubtree.md +1 -1
- package/dist/docs/api/index/functions/collectSnapshotSubtreeIds.md +1 -1
- package/dist/docs/api/index/functions/computeFingerCurl.md +29 -0
- package/dist/docs/api/index/functions/computeHandShape.md +29 -0
- package/dist/docs/api/index/functions/computeInstanceOverrides.md +1 -1
- package/dist/docs/api/index/functions/computePalmPose.md +30 -0
- package/dist/docs/api/index/functions/computePalmWidth.md +25 -0
- package/dist/docs/api/index/functions/computePinch.md +29 -0
- package/dist/docs/api/index/functions/computeSpread.md +33 -0
- 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 +2 -2
- package/dist/docs/api/index/functions/createEnvironmentComponent.md +1 -1
- package/dist/docs/api/index/functions/createHandMaterial.md +30 -0
- 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 +2 -2
- package/dist/docs/api/index/functions/createInstanceSlotComponent.md +1 -1
- package/dist/docs/api/index/functions/createInstancedMeshComponent.md +1 -1
- package/dist/docs/api/index/functions/createLightComponent.md +2 -2
- package/dist/docs/api/index/functions/createMaterialComponent.md +2 -2
- 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/createScriptObjectComponent.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/createUIButtonComponent.md +28 -0
- package/dist/docs/api/index/functions/createUIPanelComponent.md +28 -0
- package/dist/docs/api/index/functions/createUISliderComponent.md +28 -0
- package/dist/docs/api/index/functions/createUITextComponent.md +28 -0
- package/dist/docs/api/index/functions/createUIToggleComponent.md +28 -0
- package/dist/docs/api/index/functions/createVRTeleportAreaComponent.md +28 -0
- package/dist/docs/api/index/functions/createVideoComponent.md +1 -1
- package/dist/docs/api/index/functions/createXRAnchorComponent.md +28 -0
- package/dist/docs/api/index/functions/createXRHandPoseComponent.md +28 -0
- package/dist/docs/api/index/functions/createXRInteractableComponent.md +28 -0
- package/dist/docs/api/index/functions/createXRInteractorComponent.md +28 -0
- package/dist/docs/api/index/functions/createXRInteractorSideComponent.md +28 -0
- package/dist/docs/api/index/functions/createXRRigComponent.md +28 -0
- package/dist/docs/api/index/functions/decanonicalizeComponentValue.md +1 -1
- package/dist/docs/api/index/functions/despawnPrefab.md +1 -1
- package/dist/docs/api/index/functions/encodeOverride.md +1 -1
- package/dist/docs/api/index/functions/estimateHandScale.md +28 -0
- package/dist/docs/api/index/functions/findSnapshotRootEntityIds.md +1 -1
- package/dist/docs/api/index/functions/findTopLevelNestedRegions.md +1 -1
- package/dist/docs/api/index/functions/getHandPosePreset.md +31 -0
- package/dist/docs/api/index/functions/groupOverridePaths.md +1 -1
- package/dist/docs/api/index/functions/handPoseFromCurls.md +42 -0
- 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/indexSnapshotByEntity.md +1 -1
- package/dist/docs/api/index/functions/instantiateSubtree.md +1 -1
- package/dist/docs/api/index/functions/loadPrefab.md +1 -1
- package/dist/docs/api/index/functions/loadSharedGltf.md +1 -1
- package/dist/docs/api/index/functions/matchHandPose.md +34 -0
- package/dist/docs/api/index/functions/mergeComponentValue.md +1 -1
- package/dist/docs/api/index/functions/parseOverride.md +1 -1
- package/dist/docs/api/index/functions/parsePrefabAsset.md +1 -1
- package/dist/docs/api/index/functions/prefabFileVersionFor.md +1 -1
- package/dist/docs/api/index/functions/readXrCapabilities.md +30 -0
- 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/functions/remapSnapshotEntityIds.md +3 -3
- package/dist/docs/api/index/functions/resolveDracoDecoderPath.md +1 -1
- package/dist/docs/api/index/functions/restoreComponentState.md +1 -1
- package/dist/docs/api/index/functions/restorePostCreateComponents.md +1 -1
- package/dist/docs/api/index/functions/sampleTeleportArc.md +40 -0
- package/dist/docs/api/index/functions/serializeEntitySubtree.md +1 -1
- package/dist/docs/api/index/functions/setDracoDecoderPath.md +1 -1
- package/dist/docs/api/index/functions/setPrefabAssetUrlResolver.md +1 -1
- package/dist/docs/api/index/functions/spawnPrefab.md +1 -1
- package/dist/docs/api/index/index.md +116 -4
- package/dist/docs/api/index/interfaces/ChromaKeyOptions.md +20 -0
- package/dist/docs/api/index/interfaces/EcsSystem.md +3 -3
- package/dist/docs/api/index/interfaces/PostprocessingBuildContext.md +21 -0
- package/dist/docs/api/index/interfaces/PostprocessingPipeline.md +84 -0
- package/dist/docs/api/index/interfaces/RenderBackend.md +168 -0
- 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/ApplyPrefabToSnapshotResult.md +3 -3
- package/dist/docs/api/index/type-aliases/ComponentFactory.md +1 -1
- package/dist/docs/api/index/type-aliases/ComponentValueMaps.md +50 -26
- package/dist/docs/api/index/type-aliases/EcsComponentFactoryKind.md +14 -2
- package/dist/docs/api/index/type-aliases/EcsRenderer.md +17 -0
- 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/ExternalRefWarning.md +5 -5
- package/dist/docs/api/index/type-aliases/HandMaterialOptions.md +32 -0
- package/dist/docs/api/index/type-aliases/HandPoseTrackerOptions.md +27 -0
- package/dist/docs/api/index/type-aliases/HydrateOptions.md +3 -3
- package/dist/docs/api/index/type-aliases/HydrateWorldFromSnapshotResult.md +4 -4
- package/dist/docs/api/index/type-aliases/InstantiateSubtreeResult.md +3 -3
- package/dist/docs/api/index/type-aliases/KeyboardKey.md +1 -1
- package/dist/docs/api/index/type-aliases/ModuleLoader.md +1 -1
- package/dist/docs/api/index/type-aliases/MouseButton.md +1 -1
- package/dist/docs/api/index/type-aliases/NestedRegion.md +5 -5
- package/dist/docs/api/index/type-aliases/NodeKeyMaps.md +5 -5
- package/dist/docs/api/index/type-aliases/NodeMaps.md +4 -4
- package/dist/docs/api/index/type-aliases/PrefabAsset.md +5 -5
- package/dist/docs/api/index/type-aliases/RemapSnapshotOptions.md +2 -2
- package/dist/docs/api/index/type-aliases/RendererKind.md +15 -0
- package/dist/docs/api/index/type-aliases/ScriptBehaviourSystemOptions.md +23 -0
- package/dist/docs/api/index/type-aliases/ScriptErrorEvent.md +39 -0
- package/dist/docs/api/index/type-aliases/ScriptErrorListener.md +25 -0
- package/dist/docs/api/index/type-aliases/ScriptErrorPhase.md +28 -0
- package/dist/docs/api/index/type-aliases/ScriptErrorReport.md +31 -0
- package/dist/docs/api/index/type-aliases/ScriptErrorSource.md +15 -0
- package/dist/docs/api/index/type-aliases/SelectionContext.md +4 -4
- package/dist/docs/api/index/type-aliases/SerializeEntitySubtreeResult.md +4 -4
- package/dist/docs/api/index/type-aliases/SpawnPrefabOptions.md +5 -5
- package/dist/docs/api/index/type-aliases/SpawnPrefabSource.md +1 -1
- package/dist/docs/api/index/type-aliases/SubtreeSnapshot.md +3 -3
- package/dist/docs/api/index/type-aliases/UiCanvasLike.md +46 -0
- package/dist/docs/api/index/type-aliases/VelocitySample.md +23 -0
- package/dist/docs/api/index/type-aliases/XrCapabilities.md +41 -0
- package/dist/docs/api/index/type-aliases/XrFinger.md +13 -0
- package/dist/docs/api/index/type-aliases/XrFingerCurl.md +27 -0
- package/dist/docs/api/index/type-aliases/XrFingerTarget.md +31 -0
- package/dist/docs/api/index/type-aliases/XrHandJointName.md +40 -0
- package/dist/docs/api/index/type-aliases/XrHandJoints.md +18 -0
- package/dist/docs/api/index/type-aliases/XrHandPoseAxis.md +15 -0
- package/dist/docs/api/index/type-aliases/XrHandPoseContext.md +23 -0
- package/dist/docs/api/index/type-aliases/XrHandPoseDefinition.md +47 -0
- package/dist/docs/api/index/type-aliases/XrHandPoseDirection.md +21 -0
- package/dist/docs/api/index/type-aliases/XrHandPoseEvent.md +13 -0
- package/dist/docs/api/index/type-aliases/XrHandPoseEventDetail.md +27 -0
- package/dist/docs/api/index/type-aliases/XrHandPoseMatch.md +25 -0
- package/dist/docs/api/index/type-aliases/XrHandPoseOrientation.md +25 -0
- package/dist/docs/api/index/type-aliases/XrHandShape.md +46 -0
- package/dist/docs/api/index/type-aliases/XrHandedness.md +15 -0
- package/dist/docs/api/index/type-aliases/XrHitResult.md +25 -0
- package/dist/docs/api/index/type-aliases/XrInputKind.md +19 -0
- package/dist/docs/api/index/type-aliases/XrInputState.md +60 -0
- package/dist/docs/api/index/type-aliases/XrPalmPose.md +31 -0
- package/dist/docs/api/index/variables/ADDED_NODE_MARKER_COMPONENT.md +2 -2
- package/dist/docs/api/index/variables/ARC_GRAVITY.md +15 -0
- package/dist/docs/api/index/variables/ARC_MAX_TIME.md +15 -0
- package/dist/docs/api/index/variables/ARC_SPEED.md +15 -0
- package/dist/docs/api/index/variables/ARC_STEPS.md +15 -0
- package/dist/docs/api/index/variables/CURLED_COS.md +13 -0
- package/dist/docs/api/index/variables/DEFAULT_DIRECTION_TOLERANCE.md +15 -0
- package/dist/docs/api/index/variables/DEFAULT_ENTER_CONFIDENCE.md +13 -0
- package/dist/docs/api/index/variables/DEFAULT_EXIT_CONFIDENCE.md +13 -0
- package/dist/docs/api/index/variables/DEFAULT_LOST_GRACE_SECONDS.md +13 -0
- package/dist/docs/api/index/variables/DEFAULT_MIN_HOLD_SECONDS.md +13 -0
- package/dist/docs/api/index/variables/DEFAULT_SCRIPT_ERROR_RETRY_DELAY.md +17 -0
- package/dist/docs/api/index/variables/FALLBACK_HAND_SCALE.md +15 -0
- package/dist/docs/api/index/variables/HAND_POSE_PRESETS.md +19 -0
- package/dist/docs/api/index/variables/HAND_POSE_PRESET_IDS.md +15 -0
- 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/index/variables/MATCH_FALLOFF.md +15 -0
- package/dist/docs/api/index/variables/MAX_PLAUSIBLE_SPEED.md +25 -0
- package/dist/docs/api/index/variables/MAX_SAMPLE_AGE_SECONDS.md +18 -0
- package/dist/docs/api/index/variables/NODE_KEY_SEPARATOR.md +1 -1
- package/dist/docs/api/index/variables/NO_XR_CAPABILITIES.md +15 -0
- package/dist/docs/api/index/variables/OVERRIDE_DIFF_EXCLUDED_COMPONENTS.md +1 -1
- package/dist/docs/api/index/variables/OVERRIDE_ROOT_EXCLUDED_COMPONENTS.md +1 -1
- package/dist/docs/api/index/variables/PINCH_FINGERS.md +15 -0
- package/dist/docs/api/index/variables/PREFAB_FILE_VERSION.md +1 -1
- package/dist/docs/api/index/variables/PREFAB_FILE_VERSION_NESTED.md +1 -1
- package/dist/docs/api/index/variables/SCRIPT_OBJECT_ROOT_FLAG.md +1 -1
- package/dist/docs/api/index/variables/SHARED_MODEL_RESOURCE_FLAG.md +1 -1
- package/dist/docs/api/index/variables/STRAIGHT_COS.md +19 -0
- package/dist/docs/api/index/variables/VELOCITY_SAMPLES.md +15 -0
- package/dist/docs/api/index/variables/XR_FINGERS.md +13 -0
- package/dist/docs/api/index/variables/XR_HOVER_SHELL_FLAG.md +15 -0
- package/dist/docs/api/index/variables/webglBackend.md +16 -0
- package/dist/docs/api/typedoc-sidebar.json +1 -1
- package/dist/docs/api/types/type-aliases/AssetInput.md +3 -3
- package/dist/docs/api/types/type-aliases/CheckboxInput.md +3 -3
- 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 +10 -2
- 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/audio-mixing-and-sound-banks.md +71 -0
- package/dist/docs/guide/authoring-a-behaviour.md +3 -3
- package/dist/docs/guide/authoring-a-script-object.md +12 -9
- package/dist/docs/guide/behaviour-data-binding/index.md +11 -11
- package/dist/docs/guide/behaviour-lifecycle.md +9 -0
- package/dist/docs/guide/bone-attachments-and-ik.md +128 -0
- package/dist/docs/guide/component-catalog.md +10 -2
- package/dist/docs/guide/components/light.md +42 -0
- package/dist/docs/guide/components/model.md +32 -3
- package/dist/docs/guide/concepts.md +2 -2
- package/dist/docs/guide/getting-started/creating-objects.md +2 -2
- package/dist/docs/guide/getting-started/editing-objects.md +2 -2
- package/dist/docs/guide/getting-started/editor/ai-agent.md +227 -0
- package/dist/docs/guide/getting-started/editor/hierarchy.md +2 -2
- package/dist/docs/guide/getting-started/editor/index.md +3 -2
- package/dist/docs/guide/getting-started/editor/inspector.md +2 -2
- package/dist/docs/guide/getting-started/editor/scene-inspector.md +3 -3
- package/dist/docs/guide/getting-started/editor/toolbar.md +11 -11
- package/dist/docs/guide/getting-started/editor/viewport.md +17 -9
- package/dist/docs/guide/getting-started/index.md +1 -1
- package/dist/docs/guide/getting-started/installation.md +1 -1
- package/dist/docs/guide/getting-started/preview-and-test.md +7 -7
- package/dist/docs/guide/getting-started/project-types/image-tracking.md +23 -11
- package/dist/docs/guide/getting-started/project-types/index.md +4 -4
- package/dist/docs/guide/getting-started/project-types/vr.md +270 -2
- package/dist/docs/guide/getting-started/projects.md +4 -5
- package/dist/docs/guide/getting-started/shortcuts.md +5 -4
- package/dist/docs/guide/multiplayer.md +92 -0
- package/dist/docs/guide/scene/environment.md +101 -4
- package/dist/docs/guide/scene/index.md +4 -4
- package/dist/docs/guide/scene/postprocessing.md +67 -5
- package/dist/docs/guide/spawning/area-light.md +2 -0
- package/dist/docs/guide/systems/environment-sync-system.md +11 -6
- package/dist/docs/guide/systems/light-sync-system.md +5 -3
- package/dist/docs/guide/systems/postprocessing-sync-system.md +16 -6
- package/dist/docs/guide/systems/render-system.md +7 -6
- package/dist/docs/guide/systems/script-behaviour-system.md +7 -5
- package/dist/docs/guide/systems/script-object-system.md +3 -1
- package/dist/docs/guide/systems/video-system.md +1 -1
- package/dist/docs/guide/webgpu-and-tsl.md +415 -0
- package/dist/docs/guide/world-api.md +52 -2
- package/dist/factories/index.cjs +770 -283
- package/dist/factories/index.cjs.map +1 -1
- package/dist/factories/index.d.cts +14 -3
- package/dist/factories/index.d.ts +14 -3
- package/dist/factories/index.js +7 -4
- package/dist/{index-D2Jt_JzH.d.ts → index-C61n65PE.d.ts} +135 -42
- package/dist/{index-DaG03vyN.d.cts → index-C70N4BYG.d.cts} +135 -42
- package/dist/{index-C3ik3sA1.d.ts → index-D9DjrUn3.d.cts} +25 -3
- package/dist/{index-Dlr-7-4m.d.cts → index-DppafVu4.d.ts} +25 -3
- package/dist/index.cjs +3642 -1263
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +113 -11
- package/dist/index.d.ts +113 -11
- package/dist/index.js +187 -12
- package/dist/index.js.map +1 -1
- package/dist/network/index.cjs +4896 -0
- package/dist/network/index.cjs.map +1 -0
- package/dist/network/index.d.cts +98 -0
- package/dist/network/index.d.ts +98 -0
- package/dist/network/index.js +493 -0
- package/dist/network/index.js.map +1 -0
- package/dist/systems/index.cjs +3958 -1762
- package/dist/systems/index.cjs.map +1 -1
- package/dist/systems/index.d.cts +4 -2
- package/dist/systems/index.d.ts +4 -2
- package/dist/systems/index.js +8 -4
- package/dist/types.d.cts +3 -1
- package/dist/types.d.ts +3 -1
- package/dist/webgpu/index.d.ts +113 -0
- package/dist/webgpu/index.js +302 -0
- package/dist/webgpu/index.js.map +1 -0
- package/dist/worldSnapshotUtils.d.cts +3 -1
- package/dist/worldSnapshotUtils.d.ts +3 -1
- package/dist/worldSnapshotUtils.js +3 -2
- package/package.json +19 -3
- package/dist/chunk-BUEKOSR5.js.map +0 -1
- package/dist/chunk-DF5SSRN6.js.map +0 -1
- package/dist/chunk-OWQSESTO.js.map +0 -1
- package/dist/chunk-OY7ZODZP.js.map +0 -1
- package/dist/chunk-RXBLOO5B.js.map +0 -1
- package/dist/chunk-WJD2VKEH.js +0 -315
- package/dist/chunk-WJD2VKEH.js.map +0 -1
|
@@ -6,7 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: EnvironmentSyncSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/EnvironmentSyncSystem.ts:
|
|
9
|
+
Defined in: [systems/EnvironmentSyncSystem.ts:120](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/EnvironmentSyncSystem.ts#L120)
|
|
10
|
+
|
|
11
|
+
Applies the scene's [Environment](../../components/classes/Environment.md) component to the three.js scene:
|
|
12
|
+
skybox, fog, and (when `values.lighting` is present) image-based lighting,
|
|
13
|
+
tone mapping and exposure.
|
|
14
|
+
|
|
15
|
+
Each part is dirty-checked on its own, so animating `lighting.envIntensity`
|
|
16
|
+
every frame does not rebuild the skybox texture.
|
|
17
|
+
|
|
18
|
+
Runs in the editor and at runtime. While an XR session composites over the
|
|
19
|
+
real world (`World.isXrPassthrough()`) the background is withheld; lighting
|
|
20
|
+
and fog still apply.
|
|
21
|
+
|
|
22
|
+
On WebGL the environment map is PMREM-prefiltered here. On WebGPU
|
|
23
|
+
(`World.getRendererKind() === "webgpu"`) the equirect texture is assigned
|
|
24
|
+
to `scene.environment` as is and the renderer prefilters it.
|
|
10
25
|
|
|
11
26
|
## Implements
|
|
12
27
|
|
|
@@ -20,7 +35,7 @@ Defined in: [systems/EnvironmentSyncSystem.ts:67](https://github.com/Relu-Intera
|
|
|
20
35
|
new EnvironmentSyncSystem(scene): EnvironmentSyncSystem;
|
|
21
36
|
```
|
|
22
37
|
|
|
23
|
-
Defined in: [systems/EnvironmentSyncSystem.ts:
|
|
38
|
+
Defined in: [systems/EnvironmentSyncSystem.ts:154](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/EnvironmentSyncSystem.ts#L154)
|
|
24
39
|
|
|
25
40
|
#### Parameters
|
|
26
41
|
|
|
@@ -40,7 +55,7 @@ Defined in: [systems/EnvironmentSyncSystem.ts:74](https://github.com/Relu-Intera
|
|
|
40
55
|
update(world): void;
|
|
41
56
|
```
|
|
42
57
|
|
|
43
|
-
Defined in: [systems/EnvironmentSyncSystem.ts:
|
|
58
|
+
Defined in: [systems/EnvironmentSyncSystem.ts:481](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/EnvironmentSyncSystem.ts#L481)
|
|
44
59
|
|
|
45
60
|
#### Parameters
|
|
46
61
|
|
|
@@ -64,7 +79,7 @@ Defined in: [systems/EnvironmentSyncSystem.ts:174](https://github.com/Relu-Inter
|
|
|
64
79
|
dispose(): void;
|
|
65
80
|
```
|
|
66
81
|
|
|
67
|
-
Defined in: [systems/EnvironmentSyncSystem.ts:
|
|
82
|
+
Defined in: [systems/EnvironmentSyncSystem.ts:539](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/EnvironmentSyncSystem.ts#L539)
|
|
68
83
|
|
|
69
84
|
#### Returns
|
|
70
85
|
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
[**@relu-interactives/spatial-ecs**](../../index.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@relu-interactives/spatial-ecs](../../index.md) / [index](../index.md) / HandPoseTracker
|
|
6
|
+
|
|
7
|
+
# Class: HandPoseTracker
|
|
8
|
+
|
|
9
|
+
Defined in: [xr/handPose.ts:771](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/xr/handPose.ts#L771)
|
|
10
|
+
|
|
11
|
+
Turns a stream of per-frame confidences into clean start/end events.
|
|
12
|
+
|
|
13
|
+
Two mechanisms, both necessary:
|
|
14
|
+
|
|
15
|
+
- HYSTERESIS. A single threshold makes confidence hovering at the boundary
|
|
16
|
+
emit start/end at frame rate. Entering high and exiting low kills that.
|
|
17
|
+
- HOLD TIME. Fingers pass through many shapes on the way to the intended one;
|
|
18
|
+
without a hold requirement a fist fires "point" en route.
|
|
19
|
+
|
|
20
|
+
Tracking loss gets a grace period rather than ending immediately, because
|
|
21
|
+
hands drop out for a frame or two constantly at the edge of the camera FOV.
|
|
22
|
+
|
|
23
|
+
## Constructors
|
|
24
|
+
|
|
25
|
+
### Constructor
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
new HandPoseTracker(options?): HandPoseTracker;
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Defined in: [xr/handPose.ts:781](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/xr/handPose.ts#L781)
|
|
32
|
+
|
|
33
|
+
#### Parameters
|
|
34
|
+
|
|
35
|
+
| Parameter | Type |
|
|
36
|
+
| ------ | ------ |
|
|
37
|
+
| `options?` | [`HandPoseTrackerOptions`](../type-aliases/HandPoseTrackerOptions.md) |
|
|
38
|
+
|
|
39
|
+
#### Returns
|
|
40
|
+
|
|
41
|
+
`HandPoseTracker`
|
|
42
|
+
|
|
43
|
+
## Methods
|
|
44
|
+
|
|
45
|
+
### isActive()
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
isActive(): boolean;
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Defined in: [xr/handPose.ts:792](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/xr/handPose.ts#L792)
|
|
52
|
+
|
|
53
|
+
#### Returns
|
|
54
|
+
|
|
55
|
+
`boolean`
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### update()
|
|
60
|
+
|
|
61
|
+
```ts
|
|
62
|
+
update(confidence, now): XrHandPoseEvent;
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Defined in: [xr/handPose.ts:797](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/xr/handPose.ts#L797)
|
|
66
|
+
|
|
67
|
+
Feed this frame's confidence. Returns an event on a transition.
|
|
68
|
+
|
|
69
|
+
#### Parameters
|
|
70
|
+
|
|
71
|
+
| Parameter | Type |
|
|
72
|
+
| ------ | ------ |
|
|
73
|
+
| `confidence` | `number` |
|
|
74
|
+
| `now` | `number` |
|
|
75
|
+
|
|
76
|
+
#### Returns
|
|
77
|
+
|
|
78
|
+
[`XrHandPoseEvent`](../type-aliases/XrHandPoseEvent.md)
|
|
79
|
+
|
|
80
|
+
***
|
|
81
|
+
|
|
82
|
+
### miss()
|
|
83
|
+
|
|
84
|
+
```ts
|
|
85
|
+
miss(now): XrHandPoseEvent;
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Defined in: [xr/handPose.ts:823](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/xr/handPose.ts#L823)
|
|
89
|
+
|
|
90
|
+
Feed a frame where the hand isn't tracked at all.
|
|
91
|
+
|
|
92
|
+
#### Parameters
|
|
93
|
+
|
|
94
|
+
| Parameter | Type |
|
|
95
|
+
| ------ | ------ |
|
|
96
|
+
| `now` | `number` |
|
|
97
|
+
|
|
98
|
+
#### Returns
|
|
99
|
+
|
|
100
|
+
[`XrHandPoseEvent`](../type-aliases/XrHandPoseEvent.md)
|
|
101
|
+
|
|
102
|
+
***
|
|
103
|
+
|
|
104
|
+
### reset()
|
|
105
|
+
|
|
106
|
+
```ts
|
|
107
|
+
reset(): void;
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Defined in: [xr/handPose.ts:835](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/xr/handPose.ts#L835)
|
|
111
|
+
|
|
112
|
+
#### Returns
|
|
113
|
+
|
|
114
|
+
`void`
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: InputSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/InputSystem.ts:32](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [systems/InputSystem.ts:32](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L32)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Defined in: [systems/InputSystem.ts:32](https://github.com/Relu-Interactives/rel
|
|
|
20
20
|
new InputSystem(): InputSystem;
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Defined in: [systems/InputSystem.ts:186](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
23
|
+
Defined in: [systems/InputSystem.ts:186](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L186)
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
@@ -34,7 +34,7 @@ Defined in: [systems/InputSystem.ts:186](https://github.com/Relu-Interactives/re
|
|
|
34
34
|
setPointerLockElement(element): void;
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Defined in: [systems/InputSystem.ts:202](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
37
|
+
Defined in: [systems/InputSystem.ts:202](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L202)
|
|
38
38
|
|
|
39
39
|
#### Parameters
|
|
40
40
|
|
|
@@ -54,7 +54,7 @@ Defined in: [systems/InputSystem.ts:202](https://github.com/Relu-Interactives/re
|
|
|
54
54
|
lockMousePointer(): boolean;
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Defined in: [systems/InputSystem.ts:206](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
57
|
+
Defined in: [systems/InputSystem.ts:206](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L206)
|
|
58
58
|
|
|
59
59
|
#### Returns
|
|
60
60
|
|
|
@@ -68,7 +68,7 @@ Defined in: [systems/InputSystem.ts:206](https://github.com/Relu-Interactives/re
|
|
|
68
68
|
unlockMousePointer(): boolean;
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
Defined in: [systems/InputSystem.ts:233](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
71
|
+
Defined in: [systems/InputSystem.ts:233](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L233)
|
|
72
72
|
|
|
73
73
|
#### Returns
|
|
74
74
|
|
|
@@ -82,7 +82,7 @@ Defined in: [systems/InputSystem.ts:233](https://github.com/Relu-Interactives/re
|
|
|
82
82
|
isMousePointerLocked(): boolean;
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
Defined in: [systems/InputSystem.ts:249](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
85
|
+
Defined in: [systems/InputSystem.ts:249](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L249)
|
|
86
86
|
|
|
87
87
|
#### Returns
|
|
88
88
|
|
|
@@ -96,7 +96,7 @@ Defined in: [systems/InputSystem.ts:249](https://github.com/Relu-Interactives/re
|
|
|
96
96
|
getKey(key): boolean;
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
Defined in: [systems/InputSystem.ts:266](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
99
|
+
Defined in: [systems/InputSystem.ts:266](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L266)
|
|
100
100
|
|
|
101
101
|
#### Parameters
|
|
102
102
|
|
|
@@ -116,7 +116,7 @@ Defined in: [systems/InputSystem.ts:266](https://github.com/Relu-Interactives/re
|
|
|
116
116
|
getKeyDown(key): boolean;
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
Defined in: [systems/InputSystem.ts:270](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
119
|
+
Defined in: [systems/InputSystem.ts:270](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L270)
|
|
120
120
|
|
|
121
121
|
#### Parameters
|
|
122
122
|
|
|
@@ -136,7 +136,7 @@ Defined in: [systems/InputSystem.ts:270](https://github.com/Relu-Interactives/re
|
|
|
136
136
|
getKeyUp(key): boolean;
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
Defined in: [systems/InputSystem.ts:274](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
139
|
+
Defined in: [systems/InputSystem.ts:274](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L274)
|
|
140
140
|
|
|
141
141
|
#### Parameters
|
|
142
142
|
|
|
@@ -156,7 +156,7 @@ Defined in: [systems/InputSystem.ts:274](https://github.com/Relu-Interactives/re
|
|
|
156
156
|
consumePressed(key): boolean;
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
-
Defined in: [systems/InputSystem.ts:278](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
159
|
+
Defined in: [systems/InputSystem.ts:278](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L278)
|
|
160
160
|
|
|
161
161
|
#### Parameters
|
|
162
162
|
|
|
@@ -176,7 +176,7 @@ Defined in: [systems/InputSystem.ts:278](https://github.com/Relu-Interactives/re
|
|
|
176
176
|
getMouse(button): boolean;
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
Defined in: [systems/InputSystem.ts:288](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
179
|
+
Defined in: [systems/InputSystem.ts:288](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L288)
|
|
180
180
|
|
|
181
181
|
#### Parameters
|
|
182
182
|
|
|
@@ -196,7 +196,7 @@ Defined in: [systems/InputSystem.ts:288](https://github.com/Relu-Interactives/re
|
|
|
196
196
|
getMouseDown(button): boolean;
|
|
197
197
|
```
|
|
198
198
|
|
|
199
|
-
Defined in: [systems/InputSystem.ts:297](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
199
|
+
Defined in: [systems/InputSystem.ts:297](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L297)
|
|
200
200
|
|
|
201
201
|
#### Parameters
|
|
202
202
|
|
|
@@ -216,7 +216,7 @@ Defined in: [systems/InputSystem.ts:297](https://github.com/Relu-Interactives/re
|
|
|
216
216
|
getMouseUp(button): boolean;
|
|
217
217
|
```
|
|
218
218
|
|
|
219
|
-
Defined in: [systems/InputSystem.ts:306](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
219
|
+
Defined in: [systems/InputSystem.ts:306](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L306)
|
|
220
220
|
|
|
221
221
|
#### Parameters
|
|
222
222
|
|
|
@@ -236,7 +236,7 @@ Defined in: [systems/InputSystem.ts:306](https://github.com/Relu-Interactives/re
|
|
|
236
236
|
getScrollClick(): boolean;
|
|
237
237
|
```
|
|
238
238
|
|
|
239
|
-
Defined in: [systems/InputSystem.ts:315](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
239
|
+
Defined in: [systems/InputSystem.ts:315](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L315)
|
|
240
240
|
|
|
241
241
|
#### Returns
|
|
242
242
|
|
|
@@ -250,7 +250,7 @@ Defined in: [systems/InputSystem.ts:315](https://github.com/Relu-Interactives/re
|
|
|
250
250
|
getScrollClickDown(): boolean;
|
|
251
251
|
```
|
|
252
252
|
|
|
253
|
-
Defined in: [systems/InputSystem.ts:319](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
253
|
+
Defined in: [systems/InputSystem.ts:319](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L319)
|
|
254
254
|
|
|
255
255
|
#### Returns
|
|
256
256
|
|
|
@@ -264,7 +264,7 @@ Defined in: [systems/InputSystem.ts:319](https://github.com/Relu-Interactives/re
|
|
|
264
264
|
getScrollClickUp(): boolean;
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
-
Defined in: [systems/InputSystem.ts:323](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
267
|
+
Defined in: [systems/InputSystem.ts:323](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L323)
|
|
268
268
|
|
|
269
269
|
#### Returns
|
|
270
270
|
|
|
@@ -281,7 +281,7 @@ getScrollDelta(): {
|
|
|
281
281
|
};
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
Defined in: [systems/InputSystem.ts:327](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
284
|
+
Defined in: [systems/InputSystem.ts:327](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L327)
|
|
285
285
|
|
|
286
286
|
#### Returns
|
|
287
287
|
|
|
@@ -294,8 +294,8 @@ Defined in: [systems/InputSystem.ts:327](https://github.com/Relu-Interactives/re
|
|
|
294
294
|
|
|
295
295
|
| Name | Type | Defined in |
|
|
296
296
|
| ------ | ------ | ------ |
|
|
297
|
-
| `x` | `number` | [systems/InputSystem.ts:327](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
298
|
-
| `y` | `number` | [systems/InputSystem.ts:327](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
297
|
+
| `x` | `number` | [systems/InputSystem.ts:327](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L327) |
|
|
298
|
+
| `y` | `number` | [systems/InputSystem.ts:327](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L327) |
|
|
299
299
|
|
|
300
300
|
***
|
|
301
301
|
|
|
@@ -308,7 +308,7 @@ consumeScrollDelta(): {
|
|
|
308
308
|
};
|
|
309
309
|
```
|
|
310
310
|
|
|
311
|
-
Defined in: [systems/InputSystem.ts:334](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
311
|
+
Defined in: [systems/InputSystem.ts:334](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L334)
|
|
312
312
|
|
|
313
313
|
#### Returns
|
|
314
314
|
|
|
@@ -321,8 +321,8 @@ Defined in: [systems/InputSystem.ts:334](https://github.com/Relu-Interactives/re
|
|
|
321
321
|
|
|
322
322
|
| Name | Type | Defined in |
|
|
323
323
|
| ------ | ------ | ------ |
|
|
324
|
-
| `x` | `number` | [systems/InputSystem.ts:334](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
325
|
-
| `y` | `number` | [systems/InputSystem.ts:334](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
324
|
+
| `x` | `number` | [systems/InputSystem.ts:334](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L334) |
|
|
325
|
+
| `y` | `number` | [systems/InputSystem.ts:334](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L334) |
|
|
326
326
|
|
|
327
327
|
***
|
|
328
328
|
|
|
@@ -335,7 +335,7 @@ getMousePosition(): {
|
|
|
335
335
|
};
|
|
336
336
|
```
|
|
337
337
|
|
|
338
|
-
Defined in: [systems/InputSystem.ts:341](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
338
|
+
Defined in: [systems/InputSystem.ts:341](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L341)
|
|
339
339
|
|
|
340
340
|
#### Returns
|
|
341
341
|
|
|
@@ -348,8 +348,8 @@ Defined in: [systems/InputSystem.ts:341](https://github.com/Relu-Interactives/re
|
|
|
348
348
|
|
|
349
349
|
| Name | Type | Defined in |
|
|
350
350
|
| ------ | ------ | ------ |
|
|
351
|
-
| `x` | `number` | [systems/InputSystem.ts:341](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
352
|
-
| `y` | `number` | [systems/InputSystem.ts:341](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
351
|
+
| `x` | `number` | [systems/InputSystem.ts:341](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L341) |
|
|
352
|
+
| `y` | `number` | [systems/InputSystem.ts:341](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L341) |
|
|
353
353
|
|
|
354
354
|
***
|
|
355
355
|
|
|
@@ -362,7 +362,7 @@ getMouseDelta(): {
|
|
|
362
362
|
};
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
Defined in: [systems/InputSystem.ts:348](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
365
|
+
Defined in: [systems/InputSystem.ts:348](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L348)
|
|
366
366
|
|
|
367
367
|
#### Returns
|
|
368
368
|
|
|
@@ -375,8 +375,8 @@ Defined in: [systems/InputSystem.ts:348](https://github.com/Relu-Interactives/re
|
|
|
375
375
|
|
|
376
376
|
| Name | Type | Defined in |
|
|
377
377
|
| ------ | ------ | ------ |
|
|
378
|
-
| `x` | `number` | [systems/InputSystem.ts:348](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
379
|
-
| `y` | `number` | [systems/InputSystem.ts:348](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
378
|
+
| `x` | `number` | [systems/InputSystem.ts:348](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L348) |
|
|
379
|
+
| `y` | `number` | [systems/InputSystem.ts:348](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L348) |
|
|
380
380
|
|
|
381
381
|
***
|
|
382
382
|
|
|
@@ -389,7 +389,7 @@ consumeMouseDelta(): {
|
|
|
389
389
|
};
|
|
390
390
|
```
|
|
391
391
|
|
|
392
|
-
Defined in: [systems/InputSystem.ts:355](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
392
|
+
Defined in: [systems/InputSystem.ts:355](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L355)
|
|
393
393
|
|
|
394
394
|
#### Returns
|
|
395
395
|
|
|
@@ -402,8 +402,8 @@ Defined in: [systems/InputSystem.ts:355](https://github.com/Relu-Interactives/re
|
|
|
402
402
|
|
|
403
403
|
| Name | Type | Defined in |
|
|
404
404
|
| ------ | ------ | ------ |
|
|
405
|
-
| `x` | `number` | [systems/InputSystem.ts:355](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
406
|
-
| `y` | `number` | [systems/InputSystem.ts:355](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
405
|
+
| `x` | `number` | [systems/InputSystem.ts:355](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L355) |
|
|
406
|
+
| `y` | `number` | [systems/InputSystem.ts:355](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L355) |
|
|
407
407
|
|
|
408
408
|
***
|
|
409
409
|
|
|
@@ -413,7 +413,7 @@ Defined in: [systems/InputSystem.ts:355](https://github.com/Relu-Interactives/re
|
|
|
413
413
|
update(_world, _deltaTime): void;
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
Defined in: [systems/InputSystem.ts:362](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
416
|
+
Defined in: [systems/InputSystem.ts:362](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L362)
|
|
417
417
|
|
|
418
418
|
#### Parameters
|
|
419
419
|
|
|
@@ -438,7 +438,7 @@ Defined in: [systems/InputSystem.ts:362](https://github.com/Relu-Interactives/re
|
|
|
438
438
|
dispose(): void;
|
|
439
439
|
```
|
|
440
440
|
|
|
441
|
-
Defined in: [systems/InputSystem.ts:398](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
441
|
+
Defined in: [systems/InputSystem.ts:398](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InputSystem.ts#L398)
|
|
442
442
|
|
|
443
443
|
#### Returns
|
|
444
444
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: InstancedMeshSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/InstancedMeshSystem.ts:128](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [systems/InstancedMeshSystem.ts:128](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InstancedMeshSystem.ts#L128)
|
|
10
10
|
|
|
11
11
|
Maintains the runtime geometry for entities with an [InstancedMeshComponent](../../components/classes/InstancedMeshComponent.md).
|
|
12
12
|
|
|
@@ -45,7 +45,7 @@ new InstancedMeshSystem(): InstancedMeshSystem;
|
|
|
45
45
|
update(world): void;
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Defined in: [systems/InstancedMeshSystem.ts:146](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
48
|
+
Defined in: [systems/InstancedMeshSystem.ts:146](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/InstancedMeshSystem.ts#L146)
|
|
49
49
|
|
|
50
50
|
#### Parameters
|
|
51
51
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: LightSyncSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/LightSyncSystem.ts:
|
|
9
|
+
Defined in: [systems/LightSyncSystem.ts:285](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/LightSyncSystem.ts#L285)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ new LightSyncSystem(): LightSyncSystem;
|
|
|
32
32
|
update(world): void;
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Defined in: [systems/LightSyncSystem.ts:
|
|
35
|
+
Defined in: [systems/LightSyncSystem.ts:288](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/LightSyncSystem.ts#L288)
|
|
36
36
|
|
|
37
37
|
#### Parameters
|
|
38
38
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: MaterialSyncSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/MaterialSyncSystem.ts:
|
|
9
|
+
Defined in: [systems/MaterialSyncSystem.ts:289](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/MaterialSyncSystem.ts#L289)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ new MaterialSyncSystem(): MaterialSyncSystem;
|
|
|
32
32
|
update(world): void;
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Defined in: [systems/MaterialSyncSystem.ts:
|
|
35
|
+
Defined in: [systems/MaterialSyncSystem.ts:293](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/MaterialSyncSystem.ts#L293)
|
|
36
36
|
|
|
37
37
|
#### Parameters
|
|
38
38
|
|
|
@@ -56,7 +56,7 @@ Defined in: [systems/MaterialSyncSystem.ts:286](https://github.com/Relu-Interact
|
|
|
56
56
|
dispose(): void;
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Defined in: [systems/MaterialSyncSystem.ts:
|
|
59
|
+
Defined in: [systems/MaterialSyncSystem.ts:372](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/MaterialSyncSystem.ts#L372)
|
|
60
60
|
|
|
61
61
|
#### Returns
|
|
62
62
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: MeshGeometrySystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/MeshGeometrySystem.ts:161](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
9
|
+
Defined in: [systems/MeshGeometrySystem.ts:161](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/MeshGeometrySystem.ts#L161)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ new MeshGeometrySystem(): MeshGeometrySystem;
|
|
|
32
32
|
update(world): void;
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Defined in: [systems/MeshGeometrySystem.ts:165](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/
|
|
35
|
+
Defined in: [systems/MeshGeometrySystem.ts:165](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/MeshGeometrySystem.ts#L165)
|
|
36
36
|
|
|
37
37
|
#### Parameters
|
|
38
38
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: ObjectManagementSystem
|
|
8
8
|
|
|
9
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
9
|
+
Defined in: [systems/ObjectManagementSystem.ts:112](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L112)
|
|
10
10
|
|
|
11
11
|
## Implements
|
|
12
12
|
|
|
@@ -23,7 +23,7 @@ new ObjectManagementSystem(
|
|
|
23
23
|
isEditor?): ObjectManagementSystem;
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
26
|
+
Defined in: [systems/ObjectManagementSystem.ts:123](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L123)
|
|
27
27
|
|
|
28
28
|
#### Parameters
|
|
29
29
|
|
|
@@ -45,7 +45,7 @@ Defined in: [systems/ObjectManagementSystem.ts:104](https://github.com/Relu-Inte
|
|
|
45
45
|
register(kind, factory): void;
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
48
|
+
Defined in: [systems/ObjectManagementSystem.ts:133](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L133)
|
|
49
49
|
|
|
50
50
|
#### Parameters
|
|
51
51
|
|
|
@@ -66,7 +66,7 @@ Defined in: [systems/ObjectManagementSystem.ts:114](https://github.com/Relu-Inte
|
|
|
66
66
|
registerComponentFactory(kind, factory): void;
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
69
|
+
Defined in: [systems/ObjectManagementSystem.ts:137](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L137)
|
|
70
70
|
|
|
71
71
|
#### Parameters
|
|
72
72
|
|
|
@@ -87,7 +87,7 @@ Defined in: [systems/ObjectManagementSystem.ts:118](https://github.com/Relu-Inte
|
|
|
87
87
|
getOrCreateAudioListener(): AudioListener;
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
90
|
+
Defined in: [systems/ObjectManagementSystem.ts:144](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L144)
|
|
91
91
|
|
|
92
92
|
#### Returns
|
|
93
93
|
|
|
@@ -101,7 +101,7 @@ Defined in: [systems/ObjectManagementSystem.ts:125](https://github.com/Relu-Inte
|
|
|
101
101
|
isEditorMode(): boolean;
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
104
|
+
Defined in: [systems/ObjectManagementSystem.ts:156](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L156)
|
|
105
105
|
|
|
106
106
|
#### Returns
|
|
107
107
|
|
|
@@ -115,7 +115,7 @@ Defined in: [systems/ObjectManagementSystem.ts:137](https://github.com/Relu-Inte
|
|
|
115
115
|
getComponentFactory(kind): ComponentFactory | null;
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
118
|
+
Defined in: [systems/ObjectManagementSystem.ts:160](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L160)
|
|
119
119
|
|
|
120
120
|
#### Parameters
|
|
121
121
|
|
|
@@ -139,7 +139,7 @@ createComponentNow(
|
|
|
139
139
|
args): unknown;
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
142
|
+
Defined in: [systems/ObjectManagementSystem.ts:164](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L164)
|
|
143
143
|
|
|
144
144
|
#### Parameters
|
|
145
145
|
|
|
@@ -165,7 +165,7 @@ requestCreate(
|
|
|
165
165
|
onCreated?): void;
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
168
|
+
Defined in: [systems/ObjectManagementSystem.ts:178](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L178)
|
|
169
169
|
|
|
170
170
|
#### Parameters
|
|
171
171
|
|
|
@@ -190,7 +190,7 @@ createNow(
|
|
|
190
190
|
payload?): number;
|
|
191
191
|
```
|
|
192
192
|
|
|
193
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
193
|
+
Defined in: [systems/ObjectManagementSystem.ts:186](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L186)
|
|
194
194
|
|
|
195
195
|
#### Parameters
|
|
196
196
|
|
|
@@ -215,7 +215,7 @@ deleteEntity(
|
|
|
215
215
|
dispose?): boolean;
|
|
216
216
|
```
|
|
217
217
|
|
|
218
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
218
|
+
Defined in: [systems/ObjectManagementSystem.ts:238](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L238)
|
|
219
219
|
|
|
220
220
|
Removes an entity from the ECS world and its associated `Object3D` from the
|
|
221
221
|
THREE.js scene graph.
|
|
@@ -257,7 +257,7 @@ setParent(
|
|
|
257
257
|
options?): boolean;
|
|
258
258
|
```
|
|
259
259
|
|
|
260
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
260
|
+
Defined in: [systems/ObjectManagementSystem.ts:272](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L272)
|
|
261
261
|
|
|
262
262
|
#### Parameters
|
|
263
263
|
|
|
@@ -281,7 +281,7 @@ Defined in: [systems/ObjectManagementSystem.ts:253](https://github.com/Relu-Inte
|
|
|
281
281
|
reconcileSceneFromWorld(world): void;
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
284
|
+
Defined in: [systems/ObjectManagementSystem.ts:362](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L362)
|
|
285
285
|
|
|
286
286
|
#### Parameters
|
|
287
287
|
|
|
@@ -301,7 +301,7 @@ Defined in: [systems/ObjectManagementSystem.ts:343](https://github.com/Relu-Inte
|
|
|
301
301
|
update(world): void;
|
|
302
302
|
```
|
|
303
303
|
|
|
304
|
-
Defined in: [systems/ObjectManagementSystem.ts:
|
|
304
|
+
Defined in: [systems/ObjectManagementSystem.ts:406](https://github.com/Relu-Interactives/relu-spatial-ecs-engine/blob/72f129a02ec4b2f93ff337d16361a731efd8cc5d/core/systems/ObjectManagementSystem.ts#L406)
|
|
305
305
|
|
|
306
306
|
#### Parameters
|
|
307
307
|
|