@needle-tools/engine 2.24.0-pre
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/CHANGELOG.md +568 -0
- package/LICENSE.md +10 -0
- package/README.md +11 -0
- package/dist/needle-engine.d.ts +5011 -0
- package/dist/needle-engine.js +6605 -0
- package/dist/needle-engine.js.map +7 -0
- package/dist/needle-engine.min.js +167 -0
- package/dist/needle-engine.min.js.map +7 -0
- package/lib/engine/debug/error_overlay.d.ts +1 -0
- package/lib/engine/debug/error_overlay.js +110 -0
- package/lib/engine/debug/error_overlay.js.map +1 -0
- package/lib/engine/engine.d.ts +27 -0
- package/lib/engine/engine.js +13 -0
- package/lib/engine/engine.js.map +1 -0
- package/lib/engine/engine_addressables.d.ts +46 -0
- package/lib/engine/engine_addressables.js +264 -0
- package/lib/engine/engine_addressables.js.map +1 -0
- package/lib/engine/engine_application.d.ts +13 -0
- package/lib/engine/engine_application.js +35 -0
- package/lib/engine/engine_application.js.map +1 -0
- package/lib/engine/engine_assetdatabase.d.ts +54 -0
- package/lib/engine/engine_assetdatabase.js +150 -0
- package/lib/engine/engine_assetdatabase.js.map +1 -0
- package/lib/engine/engine_caching.d.ts +0 -0
- package/lib/engine/engine_caching.js +2 -0
- package/lib/engine/engine_caching.js.map +1 -0
- package/lib/engine/engine_constants.d.ts +2 -0
- package/lib/engine/engine_constants.js +3 -0
- package/lib/engine/engine_constants.js.map +1 -0
- package/lib/engine/engine_coroutine.d.ts +3 -0
- package/lib/engine/engine_coroutine.js +14 -0
- package/lib/engine/engine_coroutine.js.map +1 -0
- package/lib/engine/engine_default_parameters.d.ts +2 -0
- package/lib/engine/engine_default_parameters.js +4 -0
- package/lib/engine/engine_default_parameters.js.map +1 -0
- package/lib/engine/engine_element.d.ts +32 -0
- package/lib/engine/engine_element.js +340 -0
- package/lib/engine/engine_element.js.map +1 -0
- package/lib/engine/engine_element_loading.d.ts +31 -0
- package/lib/engine/engine_element_loading.js +154 -0
- package/lib/engine/engine_element_loading.js.map +1 -0
- package/lib/engine/engine_element_overlay.d.ts +17 -0
- package/lib/engine/engine_element_overlay.js +95 -0
- package/lib/engine/engine_element_overlay.js.map +1 -0
- package/lib/engine/engine_gizmos.d.ts +2 -0
- package/lib/engine/engine_gizmos.js +14 -0
- package/lib/engine/engine_gizmos.js.map +1 -0
- package/lib/engine/engine_gltf.d.ts +2 -0
- package/lib/engine/engine_gltf.js +2 -0
- package/lib/engine/engine_gltf.js.map +1 -0
- package/lib/engine/engine_gltf_builtin_components.d.ts +8 -0
- package/lib/engine/engine_gltf_builtin_components.js +251 -0
- package/lib/engine/engine_gltf_builtin_components.js.map +1 -0
- package/lib/engine/engine_input.d.ts +193 -0
- package/lib/engine/engine_input.js +566 -0
- package/lib/engine/engine_input.js.map +1 -0
- package/lib/engine/engine_input_utils.d.ts +2 -0
- package/lib/engine/engine_input_utils.js +23 -0
- package/lib/engine/engine_input_utils.js.map +1 -0
- package/lib/engine/engine_lightdata.d.ts +21 -0
- package/lib/engine/engine_lightdata.js +85 -0
- package/lib/engine/engine_lightdata.js.map +1 -0
- package/lib/engine/engine_loaders.d.ts +3 -0
- package/lib/engine/engine_loaders.js +20 -0
- package/lib/engine/engine_loaders.js.map +1 -0
- package/lib/engine/engine_mainloop_utils.d.ts +9 -0
- package/lib/engine/engine_mainloop_utils.js +288 -0
- package/lib/engine/engine_mainloop_utils.js.map +1 -0
- package/lib/engine/engine_math.d.ts +11 -0
- package/lib/engine/engine_math.js +40 -0
- package/lib/engine/engine_math.js.map +1 -0
- package/lib/engine/engine_networking.d.ts +133 -0
- package/lib/engine/engine_networking.js +541 -0
- package/lib/engine/engine_networking.js.map +1 -0
- package/lib/engine/engine_networking_auto.d.ts +18 -0
- package/lib/engine/engine_networking_auto.js +252 -0
- package/lib/engine/engine_networking_auto.js.map +1 -0
- package/lib/engine/engine_networking_files.d.ts +23 -0
- package/lib/engine/engine_networking_files.js +173 -0
- package/lib/engine/engine_networking_files.js.map +1 -0
- package/lib/engine/engine_networking_files_default_components.d.ts +3 -0
- package/lib/engine/engine_networking_files_default_components.js +45 -0
- package/lib/engine/engine_networking_files_default_components.js.map +1 -0
- package/lib/engine/engine_networking_instantiate.d.ts +34 -0
- package/lib/engine/engine_networking_instantiate.js +274 -0
- package/lib/engine/engine_networking_instantiate.js.map +1 -0
- package/lib/engine/engine_networking_peer.d.ts +10 -0
- package/lib/engine/engine_networking_peer.js +106 -0
- package/lib/engine/engine_networking_peer.js.map +1 -0
- package/lib/engine/engine_networking_utils.d.ts +1 -0
- package/lib/engine/engine_networking_utils.js +11 -0
- package/lib/engine/engine_networking_utils.js.map +1 -0
- package/lib/engine/engine_networking_websocket.d.ts +0 -0
- package/lib/engine/engine_networking_websocket.js +3 -0
- package/lib/engine/engine_networking_websocket.js.map +1 -0
- package/lib/engine/engine_physics.d.ts +88 -0
- package/lib/engine/engine_physics.js +563 -0
- package/lib/engine/engine_physics.js.map +1 -0
- package/lib/engine/engine_rendererdata.d.ts +48 -0
- package/lib/engine/engine_rendererdata.js +182 -0
- package/lib/engine/engine_rendererdata.js.map +1 -0
- package/lib/engine/engine_scenetools.d.ts +25 -0
- package/lib/engine/engine_scenetools.js +211 -0
- package/lib/engine/engine_scenetools.js.map +1 -0
- package/lib/engine/engine_serialization.d.ts +3 -0
- package/lib/engine/engine_serialization.js +5 -0
- package/lib/engine/engine_serialization.js.map +1 -0
- package/lib/engine/engine_serialization_builtin_serializer.d.ts +49 -0
- package/lib/engine/engine_serialization_builtin_serializer.js +238 -0
- package/lib/engine/engine_serialization_builtin_serializer.js.map +1 -0
- package/lib/engine/engine_serialization_core.d.ts +70 -0
- package/lib/engine/engine_serialization_core.js +417 -0
- package/lib/engine/engine_serialization_core.js.map +1 -0
- package/lib/engine/engine_serialization_decorator.d.ts +9 -0
- package/lib/engine/engine_serialization_decorator.js +44 -0
- package/lib/engine/engine_serialization_decorator.js.map +1 -0
- package/lib/engine/engine_setup.d.ts +129 -0
- package/lib/engine/engine_setup.js +609 -0
- package/lib/engine/engine_setup.js.map +1 -0
- package/lib/engine/engine_shaders.d.ts +31 -0
- package/lib/engine/engine_shaders.js +230 -0
- package/lib/engine/engine_shaders.js.map +1 -0
- package/lib/engine/engine_three_utils.d.ts +20 -0
- package/lib/engine/engine_three_utils.js +247 -0
- package/lib/engine/engine_three_utils.js.map +1 -0
- package/lib/engine/engine_time.d.ts +13 -0
- package/lib/engine/engine_time.js +31 -0
- package/lib/engine/engine_time.js.map +1 -0
- package/lib/engine/engine_typestore.d.ts +7 -0
- package/lib/engine/engine_typestore.js +17 -0
- package/lib/engine/engine_typestore.js.map +1 -0
- package/lib/engine/engine_utils.d.ts +34 -0
- package/lib/engine/engine_utils.js +239 -0
- package/lib/engine/engine_utils.js.map +1 -0
- package/lib/engine/engine_web_api.d.ts +12 -0
- package/lib/engine/engine_web_api.js +114 -0
- package/lib/engine/engine_web_api.js.map +1 -0
- package/lib/engine/extensions/KHR_animation_pointer.d.ts +0 -0
- package/lib/engine/extensions/KHR_animation_pointer.js +385 -0
- package/lib/engine/extensions/KHR_animation_pointer.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_animator_controller.d.ts +0 -0
- package/lib/engine/extensions/NEEDLE_animator_controller.js +59 -0
- package/lib/engine/extensions/NEEDLE_animator_controller.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_animator_controller_model.d.ts +108 -0
- package/lib/engine/extensions/NEEDLE_animator_controller_model.js +92 -0
- package/lib/engine/extensions/NEEDLE_animator_controller_model.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_components.d.ts +32 -0
- package/lib/engine/extensions/NEEDLE_components.js +193 -0
- package/lib/engine/extensions/NEEDLE_components.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_deferred_texture.d.ts +18 -0
- package/lib/engine/extensions/NEEDLE_deferred_texture.js +149 -0
- package/lib/engine/extensions/NEEDLE_deferred_texture.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_gameobject_data.d.ts +10 -0
- package/lib/engine/extensions/NEEDLE_gameobject_data.js +54 -0
- package/lib/engine/extensions/NEEDLE_gameobject_data.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_lighting_settings.d.ts +35 -0
- package/lib/engine/extensions/NEEDLE_lighting_settings.js +136 -0
- package/lib/engine/extensions/NEEDLE_lighting_settings.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_lightmaps.d.ts +17 -0
- package/lib/engine/extensions/NEEDLE_lightmaps.js +69 -0
- package/lib/engine/extensions/NEEDLE_lightmaps.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_persistent_assets.d.ts +11 -0
- package/lib/engine/extensions/NEEDLE_persistent_assets.js +64 -0
- package/lib/engine/extensions/NEEDLE_persistent_assets.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_render_objects.d.ts +12 -0
- package/lib/engine/extensions/NEEDLE_render_objects.js +144 -0
- package/lib/engine/extensions/NEEDLE_render_objects.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_techniques_webgl.d.ts +39 -0
- package/lib/engine/extensions/NEEDLE_techniques_webgl.js +419 -0
- package/lib/engine/extensions/NEEDLE_techniques_webgl.js.map +1 -0
- package/lib/engine/extensions/NEEDLE_timeline.d.ts +0 -0
- package/lib/engine/extensions/NEEDLE_timeline.js +57 -0
- package/lib/engine/extensions/NEEDLE_timeline.js.map +1 -0
- package/lib/engine/extensions/extension_resolver.d.ts +4 -0
- package/lib/engine/extensions/extension_resolver.js +2 -0
- package/lib/engine/extensions/extension_resolver.js.map +1 -0
- package/lib/engine/extensions/extension_utils.d.ts +2 -0
- package/lib/engine/extensions/extension_utils.js +130 -0
- package/lib/engine/extensions/extension_utils.js.map +1 -0
- package/lib/engine/extensions/extensions.d.ts +6 -0
- package/lib/engine/extensions/extensions.js +41 -0
- package/lib/engine/extensions/extensions.js.map +1 -0
- package/lib/engine/shaders/shaderData.d.ts +55 -0
- package/lib/engine/shaders/shaderData.js +59 -0
- package/lib/engine/shaders/shaderData.js.map +1 -0
- package/lib/engine/tests/simulate_avatars.d.ts +0 -0
- package/lib/engine/tests/simulate_avatars.js +3 -0
- package/lib/engine/tests/simulate_avatars.js.map +1 -0
- package/lib/engine/tests/test_utils.d.ts +2 -0
- package/lib/engine/tests/test_utils.js +54 -0
- package/lib/engine/tests/test_utils.js.map +1 -0
- package/lib/engine-components/AlignmentConstraint.d.ts +10 -0
- package/lib/engine-components/AlignmentConstraint.js +27 -0
- package/lib/engine-components/AlignmentConstraint.js.map +1 -0
- package/lib/engine-components/Animation.d.ts +44 -0
- package/lib/engine-components/Animation.js +257 -0
- package/lib/engine-components/Animation.js.map +1 -0
- package/lib/engine-components/AnimationCurve.d.ts +15 -0
- package/lib/engine-components/AnimationCurve.js +62 -0
- package/lib/engine-components/AnimationCurve.js.map +1 -0
- package/lib/engine-components/Animator.d.ts +48 -0
- package/lib/engine-components/Animator.js +126 -0
- package/lib/engine-components/Animator.js.map +1 -0
- package/lib/engine-components/AnimatorController.d.ts +39 -0
- package/lib/engine-components/AnimatorController.js +687 -0
- package/lib/engine-components/AnimatorController.js.map +1 -0
- package/lib/engine-components/AudioListener.d.ts +7 -0
- package/lib/engine-components/AudioListener.js +29 -0
- package/lib/engine-components/AudioListener.js.map +1 -0
- package/lib/engine-components/AudioSource.d.ts +61 -0
- package/lib/engine-components/AudioSource.js +377 -0
- package/lib/engine-components/AudioSource.js.map +1 -0
- package/lib/engine-components/AvatarLoader.d.ts +22 -0
- package/lib/engine-components/AvatarLoader.js +203 -0
- package/lib/engine-components/AvatarLoader.js.map +1 -0
- package/lib/engine-components/AxesHelper.d.ts +9 -0
- package/lib/engine-components/AxesHelper.js +43 -0
- package/lib/engine-components/AxesHelper.js.map +1 -0
- package/lib/engine-components/BasicIKConstraint.d.ts +9 -0
- package/lib/engine-components/BasicIKConstraint.js +44 -0
- package/lib/engine-components/BasicIKConstraint.js.map +1 -0
- package/lib/engine-components/BoxCollider.d.ts +2 -0
- package/lib/engine-components/BoxCollider.js +3 -0
- package/lib/engine-components/BoxCollider.js.map +1 -0
- package/lib/engine-components/BoxHelperComponent.d.ts +16 -0
- package/lib/engine-components/BoxHelperComponent.js +72 -0
- package/lib/engine-components/BoxHelperComponent.js.map +1 -0
- package/lib/engine-components/Camera.d.ts +38 -0
- package/lib/engine-components/Camera.js +258 -0
- package/lib/engine-components/Camera.js.map +1 -0
- package/lib/engine-components/Collider.d.ts +21 -0
- package/lib/engine-components/Collider.js +65 -0
- package/lib/engine-components/Collider.js.map +1 -0
- package/lib/engine-components/Component.d.ts +165 -0
- package/lib/engine-components/Component.js +895 -0
- package/lib/engine-components/Component.js.map +1 -0
- package/lib/engine-components/ComponentExtensions.d.ts +2 -0
- package/lib/engine-components/ComponentExtensions.js +3 -0
- package/lib/engine-components/ComponentExtensions.js.map +1 -0
- package/lib/engine-components/DeleteBox.d.ts +9 -0
- package/lib/engine-components/DeleteBox.js +27 -0
- package/lib/engine-components/DeleteBox.js.map +1 -0
- package/lib/engine-components/DeviceFlag.d.ts +12 -0
- package/lib/engine-components/DeviceFlag.js +50 -0
- package/lib/engine-components/DeviceFlag.js.map +1 -0
- package/lib/engine-components/DragControls.d.ts +44 -0
- package/lib/engine-components/DragControls.js +465 -0
- package/lib/engine-components/DragControls.js.map +1 -0
- package/lib/engine-components/DropListener.d.ts +15 -0
- package/lib/engine-components/DropListener.js +102 -0
- package/lib/engine-components/DropListener.js.map +1 -0
- package/lib/engine-components/Duplicatable.d.ts +16 -0
- package/lib/engine-components/Duplicatable.js +150 -0
- package/lib/engine-components/Duplicatable.js.map +1 -0
- package/lib/engine-components/EventList.d.ts +22 -0
- package/lib/engine-components/EventList.js +97 -0
- package/lib/engine-components/EventList.js.map +1 -0
- package/lib/engine-components/EventTrigger.d.ts +3 -0
- package/lib/engine-components/EventTrigger.js +4 -0
- package/lib/engine-components/EventTrigger.js.map +1 -0
- package/lib/engine-components/EventType.d.ts +19 -0
- package/lib/engine-components/EventType.js +72 -0
- package/lib/engine-components/EventType.js.map +1 -0
- package/lib/engine-components/FlyControls.d.ts +7 -0
- package/lib/engine-components/FlyControls.js +22 -0
- package/lib/engine-components/FlyControls.js.map +1 -0
- package/lib/engine-components/Gizmos.d.ts +12 -0
- package/lib/engine-components/Gizmos.js +61 -0
- package/lib/engine-components/Gizmos.js.map +1 -0
- package/lib/engine-components/GltfExport.d.ts +28 -0
- package/lib/engine-components/GltfExport.js +201 -0
- package/lib/engine-components/GltfExport.js.map +1 -0
- package/lib/engine-components/GridHelper.d.ts +11 -0
- package/lib/engine-components/GridHelper.js +41 -0
- package/lib/engine-components/GridHelper.js.map +1 -0
- package/lib/engine-components/GroundProjection.d.ts +18 -0
- package/lib/engine-components/GroundProjection.js +77 -0
- package/lib/engine-components/GroundProjection.js.map +1 -0
- package/lib/engine-components/Interactable.d.ts +10 -0
- package/lib/engine-components/Interactable.js +13 -0
- package/lib/engine-components/Interactable.js.map +1 -0
- package/lib/engine-components/LODGroup.d.ts +29 -0
- package/lib/engine-components/LODGroup.js +176 -0
- package/lib/engine-components/LODGroup.js.map +1 -0
- package/lib/engine-components/Light.d.ts +69 -0
- package/lib/engine-components/Light.js +407 -0
- package/lib/engine-components/Light.js.map +1 -0
- package/lib/engine-components/LookAtConstraint.d.ts +7 -0
- package/lib/engine-components/LookAtConstraint.js +18 -0
- package/lib/engine-components/LookAtConstraint.js.map +1 -0
- package/lib/engine-components/MeshCollider.d.ts +4 -0
- package/lib/engine-components/MeshCollider.js +8 -0
- package/lib/engine-components/MeshCollider.js.map +1 -0
- package/lib/engine-components/NavMesh.d.ts +5 -0
- package/lib/engine-components/NavMesh.js +11 -0
- package/lib/engine-components/NavMesh.js.map +1 -0
- package/lib/engine-components/NestedGltf.d.ts +10 -0
- package/lib/engine-components/NestedGltf.js +61 -0
- package/lib/engine-components/NestedGltf.js.map +1 -0
- package/lib/engine-components/Networking.d.ts +9 -0
- package/lib/engine-components/Networking.js +47 -0
- package/lib/engine-components/Networking.js.map +1 -0
- package/lib/engine-components/OffsetConstraint.d.ts +11 -0
- package/lib/engine-components/OffsetConstraint.js +31 -0
- package/lib/engine-components/OffsetConstraint.js.map +1 -0
- package/lib/engine-components/OrbitControls.d.ts +45 -0
- package/lib/engine-components/OrbitControls.js +247 -0
- package/lib/engine-components/OrbitControls.js.map +1 -0
- package/lib/engine-components/ParticleSystem.d.ts +34 -0
- package/lib/engine-components/ParticleSystem.js +216 -0
- package/lib/engine-components/ParticleSystem.js.map +1 -0
- package/lib/engine-components/ParticleSystemModules.d.ts +93 -0
- package/lib/engine-components/ParticleSystemModules.js +167 -0
- package/lib/engine-components/ParticleSystemModules.js.map +1 -0
- package/lib/engine-components/PlayerColor.d.ts +13 -0
- package/lib/engine-components/PlayerColor.js +85 -0
- package/lib/engine-components/PlayerColor.js.map +1 -0
- package/lib/engine-components/Renderer.d.ts +72 -0
- package/lib/engine-components/Renderer.js +678 -0
- package/lib/engine-components/Renderer.js.map +1 -0
- package/lib/engine-components/RendererLightmap.d.ts +23 -0
- package/lib/engine-components/RendererLightmap.js +128 -0
- package/lib/engine-components/RendererLightmap.js.map +1 -0
- package/lib/engine-components/Rigidbody.d.ts +42 -0
- package/lib/engine-components/Rigidbody.js +170 -0
- package/lib/engine-components/Rigidbody.js.map +1 -0
- package/lib/engine-components/ScreenCapture.d.ts +9 -0
- package/lib/engine-components/ScreenCapture.js +44 -0
- package/lib/engine-components/ScreenCapture.js.map +1 -0
- package/lib/engine-components/ShadowCatcher.d.ts +15 -0
- package/lib/engine-components/ShadowCatcher.js +94 -0
- package/lib/engine-components/ShadowCatcher.js.map +1 -0
- package/lib/engine-components/Skybox.d.ts +16 -0
- package/lib/engine-components/Skybox.js +121 -0
- package/lib/engine-components/Skybox.js.map +1 -0
- package/lib/engine-components/SmoothFollow.d.ts +13 -0
- package/lib/engine-components/SmoothFollow.js +57 -0
- package/lib/engine-components/SmoothFollow.js.map +1 -0
- package/lib/engine-components/SpatialTrigger.d.ts +27 -0
- package/lib/engine-components/SpatialTrigger.js +145 -0
- package/lib/engine-components/SpatialTrigger.js.map +1 -0
- package/lib/engine-components/SpectatorCamera.d.ts +36 -0
- package/lib/engine-components/SpectatorCamera.js +311 -0
- package/lib/engine-components/SpectatorCamera.js.map +1 -0
- package/lib/engine-components/SphereCollider.d.ts +2 -0
- package/lib/engine-components/SphereCollider.js +3 -0
- package/lib/engine-components/SphereCollider.js.map +1 -0
- package/lib/engine-components/SpringJoint.d.ts +13 -0
- package/lib/engine-components/SpringJoint.js +42 -0
- package/lib/engine-components/SpringJoint.js.map +1 -0
- package/lib/engine-components/SpriteRenderer.d.ts +33 -0
- package/lib/engine-components/SpriteRenderer.js +141 -0
- package/lib/engine-components/SpriteRenderer.js.map +1 -0
- package/lib/engine-components/SyncedCamera.d.ts +23 -0
- package/lib/engine-components/SyncedCamera.js +188 -0
- package/lib/engine-components/SyncedCamera.js.map +1 -0
- package/lib/engine-components/SyncedRoom.d.ts +20 -0
- package/lib/engine-components/SyncedRoom.js +151 -0
- package/lib/engine-components/SyncedRoom.js.map +1 -0
- package/lib/engine-components/SyncedTransform.d.ts +35 -0
- package/lib/engine-components/SyncedTransform.js +268 -0
- package/lib/engine-components/SyncedTransform.js.map +1 -0
- package/lib/engine-components/TestRunner.d.ts +13 -0
- package/lib/engine-components/TestRunner.js +100 -0
- package/lib/engine-components/TestRunner.js.map +1 -0
- package/lib/engine-components/TransformGizmo.d.ts +15 -0
- package/lib/engine-components/TransformGizmo.js +166 -0
- package/lib/engine-components/TransformGizmo.js.map +1 -0
- package/lib/engine-components/VideoPlayer.d.ts +55 -0
- package/lib/engine-components/VideoPlayer.js +307 -0
- package/lib/engine-components/VideoPlayer.js.map +1 -0
- package/lib/engine-components/Voip.d.ts +22 -0
- package/lib/engine-components/Voip.js +400 -0
- package/lib/engine-components/Voip.js.map +1 -0
- package/lib/engine-components/Volume.d.ts +30 -0
- package/lib/engine-components/Volume.js +86 -0
- package/lib/engine-components/Volume.js.map +1 -0
- package/lib/engine-components/WebARSessionRoot.d.ts +21 -0
- package/lib/engine-components/WebARSessionRoot.js +105 -0
- package/lib/engine-components/WebARSessionRoot.js.map +1 -0
- package/lib/engine-components/WebXR.d.ts +90 -0
- package/lib/engine-components/WebXR.js +498 -0
- package/lib/engine-components/WebXR.js.map +1 -0
- package/lib/engine-components/WebXRAvatar.d.ts +59 -0
- package/lib/engine-components/WebXRAvatar.js +263 -0
- package/lib/engine-components/WebXRAvatar.js.map +1 -0
- package/lib/engine-components/WebXRController.d.ts +145 -0
- package/lib/engine-components/WebXRController.js +924 -0
- package/lib/engine-components/WebXRController.js.map +1 -0
- package/lib/engine-components/WebXRGrabRendering.d.ts +42 -0
- package/lib/engine-components/WebXRGrabRendering.js +138 -0
- package/lib/engine-components/WebXRGrabRendering.js.map +1 -0
- package/lib/engine-components/WebXRRig.d.ts +4 -0
- package/lib/engine-components/WebXRRig.js +8 -0
- package/lib/engine-components/WebXRRig.js.map +1 -0
- package/lib/engine-components/WebXRSync.d.ts +54 -0
- package/lib/engine-components/WebXRSync.js +405 -0
- package/lib/engine-components/WebXRSync.js.map +1 -0
- package/lib/engine-components/XRFlag.d.ts +32 -0
- package/lib/engine-components/XRFlag.js +115 -0
- package/lib/engine-components/XRFlag.js.map +1 -0
- package/lib/engine-components/avatar/AvatarBlink_Simple.d.ts +10 -0
- package/lib/engine-components/avatar/AvatarBlink_Simple.js +76 -0
- package/lib/engine-components/avatar/AvatarBlink_Simple.js.map +1 -0
- package/lib/engine-components/avatar/AvatarEyeLook_Rotation.d.ts +13 -0
- package/lib/engine-components/avatar/AvatarEyeLook_Rotation.js +75 -0
- package/lib/engine-components/avatar/AvatarEyeLook_Rotation.js.map +1 -0
- package/lib/engine-components/avatar/Avatar_Brain_LookAt.d.ts +27 -0
- package/lib/engine-components/avatar/Avatar_Brain_LookAt.js +120 -0
- package/lib/engine-components/avatar/Avatar_Brain_LookAt.js.map +1 -0
- package/lib/engine-components/avatar/Avatar_MouthShapes.d.ts +13 -0
- package/lib/engine-components/avatar/Avatar_MouthShapes.js +77 -0
- package/lib/engine-components/avatar/Avatar_MouthShapes.js.map +1 -0
- package/lib/engine-components/avatar/Avatar_MustacheShake.d.ts +8 -0
- package/lib/engine-components/avatar/Avatar_MustacheShake.js +29 -0
- package/lib/engine-components/avatar/Avatar_MustacheShake.js.map +1 -0
- package/lib/engine-components/codegen/exports.d.ts +140 -0
- package/lib/engine-components/codegen/exports.js +142 -0
- package/lib/engine-components/codegen/exports.js.map +1 -0
- package/lib/engine-components/debug/LogStats.d.ts +5 -0
- package/lib/engine-components/debug/LogStats.js +19 -0
- package/lib/engine-components/debug/LogStats.js.map +1 -0
- package/lib/engine-components/js-extensions/RGBAColor.d.ts +9 -0
- package/lib/engine-components/js-extensions/RGBAColor.js +35 -0
- package/lib/engine-components/js-extensions/RGBAColor.js.map +1 -0
- package/lib/engine-components/timeline/PlayableDirector.d.ts +66 -0
- package/lib/engine-components/timeline/PlayableDirector.js +460 -0
- package/lib/engine-components/timeline/PlayableDirector.js.map +1 -0
- package/lib/engine-components/timeline/SignalAsset.d.ts +19 -0
- package/lib/engine-components/timeline/SignalAsset.js +87 -0
- package/lib/engine-components/timeline/SignalAsset.js.map +1 -0
- package/lib/engine-components/timeline/TimelineModels.d.ts +86 -0
- package/lib/engine-components/timeline/TimelineModels.js +23 -0
- package/lib/engine-components/timeline/TimelineModels.js.map +1 -0
- package/lib/engine-components/timeline/TimelineTracks.d.ts +73 -0
- package/lib/engine-components/timeline/TimelineTracks.js +573 -0
- package/lib/engine-components/timeline/TimelineTracks.js.map +1 -0
- package/lib/engine-components/ui/BaseUIComponent.d.ts +24 -0
- package/lib/engine-components/ui/BaseUIComponent.js +129 -0
- package/lib/engine-components/ui/BaseUIComponent.js.map +1 -0
- package/lib/engine-components/ui/Button.d.ts +55 -0
- package/lib/engine-components/ui/Button.js +217 -0
- package/lib/engine-components/ui/Button.js.map +1 -0
- package/lib/engine-components/ui/Canvas.d.ts +39 -0
- package/lib/engine-components/ui/Canvas.js +169 -0
- package/lib/engine-components/ui/Canvas.js.map +1 -0
- package/lib/engine-components/ui/CanvasGroup.d.ts +14 -0
- package/lib/engine-components/ui/CanvasGroup.js +53 -0
- package/lib/engine-components/ui/CanvasGroup.js.map +1 -0
- package/lib/engine-components/ui/EventSystem.d.ts +44 -0
- package/lib/engine-components/ui/EventSystem.js +480 -0
- package/lib/engine-components/ui/EventSystem.js.map +1 -0
- package/lib/engine-components/ui/Graphic.d.ts +33 -0
- package/lib/engine-components/ui/Graphic.js +145 -0
- package/lib/engine-components/ui/Graphic.js.map +1 -0
- package/lib/engine-components/ui/Image.d.ts +20 -0
- package/lib/engine-components/ui/Image.js +61 -0
- package/lib/engine-components/ui/Image.js.map +1 -0
- package/lib/engine-components/ui/InputField.d.ts +25 -0
- package/lib/engine-components/ui/InputField.js +179 -0
- package/lib/engine-components/ui/InputField.js.map +1 -0
- package/lib/engine-components/ui/Interfaces.d.ts +7 -0
- package/lib/engine-components/ui/Interfaces.js +2 -0
- package/lib/engine-components/ui/Interfaces.js.map +1 -0
- package/lib/engine-components/ui/Keyboard.d.ts +31 -0
- package/lib/engine-components/ui/Keyboard.js +177 -0
- package/lib/engine-components/ui/Keyboard.js.map +1 -0
- package/lib/engine-components/ui/Layout.d.ts +10 -0
- package/lib/engine-components/ui/Layout.js +11 -0
- package/lib/engine-components/ui/Layout.js.map +1 -0
- package/lib/engine-components/ui/PointerEvents.d.ts +35 -0
- package/lib/engine-components/ui/PointerEvents.js +20 -0
- package/lib/engine-components/ui/PointerEvents.js.map +1 -0
- package/lib/engine-components/ui/Raycaster.d.ts +20 -0
- package/lib/engine-components/ui/Raycaster.js +40 -0
- package/lib/engine-components/ui/Raycaster.js.map +1 -0
- package/lib/engine-components/ui/RectTransform.d.ts +39 -0
- package/lib/engine-components/ui/RectTransform.js +173 -0
- package/lib/engine-components/ui/RectTransform.js.map +1 -0
- package/lib/engine-components/ui/SpatialHtml.d.ts +6 -0
- package/lib/engine-components/ui/SpatialHtml.js +58 -0
- package/lib/engine-components/ui/SpatialHtml.js.map +1 -0
- package/lib/engine-components/ui/Text.d.ts +68 -0
- package/lib/engine-components/ui/Text.js +631 -0
- package/lib/engine-components/ui/Text.js.map +1 -0
- package/lib/engine-components/ui/Utils.d.ts +19 -0
- package/lib/engine-components/ui/Utils.js +85 -0
- package/lib/engine-components/ui/Utils.js.map +1 -0
- package/lib/engine-schemes/schemes.d.ts +4 -0
- package/lib/engine-schemes/schemes.js +20 -0
- package/lib/engine-schemes/schemes.js.map +1 -0
- package/lib/engine-schemes/synced-camera-model.d.ts +25 -0
- package/lib/engine-schemes/synced-camera-model.js +68 -0
- package/lib/engine-schemes/synced-camera-model.js.map +1 -0
- package/lib/engine-schemes/synced-transform-model.d.ts +31 -0
- package/lib/engine-schemes/synced-transform-model.js +67 -0
- package/lib/engine-schemes/synced-transform-model.js.map +1 -0
- package/lib/engine-schemes/transform.d.ts +12 -0
- package/lib/engine-schemes/transform.js +40 -0
- package/lib/engine-schemes/transform.js.map +1 -0
- package/lib/engine-schemes/vec3.d.ts +11 -0
- package/lib/engine-schemes/vec3.js +30 -0
- package/lib/engine-schemes/vec3.js.map +1 -0
- package/lib/engine-schemes/vec4.d.ts +12 -0
- package/lib/engine-schemes/vec4.js +34 -0
- package/lib/engine-schemes/vec4.js.map +1 -0
- package/lib/engine-schemes/vr-user-state-buffer.d.ts +36 -0
- package/lib/engine-schemes/vr-user-state-buffer.js +104 -0
- package/lib/engine-schemes/vr-user-state-buffer.js.map +1 -0
- package/lib/needle-engine.d.ts +5 -0
- package/lib/needle-engine.js +34 -0
- package/lib/needle-engine.js.map +1 -0
- package/package.json +63 -0
- package/src/engine/codegen/register_types.js +297 -0
- package/src/engine/debug/error_overlay.ts +122 -0
- package/src/engine/engine.ts +15 -0
- package/src/engine/engine_addressables.ts +297 -0
- package/src/engine/engine_application.ts +42 -0
- package/src/engine/engine_assetdatabase.ts +215 -0
- package/src/engine/engine_caching.ts +0 -0
- package/src/engine/engine_components.js +202 -0
- package/src/engine/engine_constants.ts +3 -0
- package/src/engine/engine_coroutine.ts +16 -0
- package/src/engine/engine_default_parameters.ts +4 -0
- package/src/engine/engine_element.ts +380 -0
- package/src/engine/engine_element_loading.ts +178 -0
- package/src/engine/engine_element_overlay.ts +108 -0
- package/src/engine/engine_fileloader.js +9 -0
- package/src/engine/engine_generic_utils.js +14 -0
- package/src/engine/engine_gizmos.ts +15 -0
- package/src/engine/engine_gltf.ts +4 -0
- package/src/engine/engine_gltf_builtin_components.ts +298 -0
- package/src/engine/engine_input.ts +581 -0
- package/src/engine/engine_input_utils.ts +24 -0
- package/src/engine/engine_lightdata.ts +111 -0
- package/src/engine/engine_loaders.ts +26 -0
- package/src/engine/engine_mainloop_utils.ts +292 -0
- package/src/engine/engine_math.ts +43 -0
- package/src/engine/engine_networking.ts +664 -0
- package/src/engine/engine_networking_auto.ts +300 -0
- package/src/engine/engine_networking_files.ts +198 -0
- package/src/engine/engine_networking_files_default_components.ts +54 -0
- package/src/engine/engine_networking_instantiate.ts +321 -0
- package/src/engine/engine_networking_peer.ts +128 -0
- package/src/engine/engine_networking_utils.ts +12 -0
- package/src/engine/engine_networking_websocket.ts +1 -0
- package/src/engine/engine_physics.ts +652 -0
- package/src/engine/engine_rendererdata.ts +214 -0
- package/src/engine/engine_scenetools.ts +231 -0
- package/src/engine/engine_serialization.ts +4 -0
- package/src/engine/engine_serialization_builtin_serializer.ts +266 -0
- package/src/engine/engine_serialization_core.ts +513 -0
- package/src/engine/engine_serialization_decorator.ts +55 -0
- package/src/engine/engine_setup.ts +705 -0
- package/src/engine/engine_shaders.ts +243 -0
- package/src/engine/engine_three_utils.ts +290 -0
- package/src/engine/engine_time.ts +38 -0
- package/src/engine/engine_typestore.ts +21 -0
- package/src/engine/engine_utils.ts +268 -0
- package/src/engine/engine_web_api.ts +122 -0
- package/src/engine/extensions/EXT_texture_exr.js +42 -0
- package/src/engine/extensions/KHR_animation_pointer.ts +484 -0
- package/src/engine/extensions/NEEDLE_animator_controller.ts +68 -0
- package/src/engine/extensions/NEEDLE_animator_controller_model.ts +185 -0
- package/src/engine/extensions/NEEDLE_components.ts +234 -0
- package/src/engine/extensions/NEEDLE_deferred_texture.ts +175 -0
- package/src/engine/extensions/NEEDLE_gameobject_data.ts +76 -0
- package/src/engine/extensions/NEEDLE_lighting_settings.ts +161 -0
- package/src/engine/extensions/NEEDLE_lightmaps.ts +93 -0
- package/src/engine/extensions/NEEDLE_persistent_assets.ts +76 -0
- package/src/engine/extensions/NEEDLE_render_objects.ts +197 -0
- package/src/engine/extensions/NEEDLE_techniques_webgl.ts +482 -0
- package/src/engine/extensions/NEEDLE_timeline.ts +68 -0
- package/src/engine/extensions/extension_resolver.ts +5 -0
- package/src/engine/extensions/extension_utils.ts +138 -0
- package/src/engine/extensions/extensions.ts +49 -0
- package/src/engine/shaders/shaderData.ts +68 -0
- package/src/engine/tests/simulate_avatars.ts +2 -0
- package/src/engine/tests/test_utils.ts +63 -0
- package/src/engine-components/AlignmentConstraint.ts +33 -0
- package/src/engine-components/Animation.ts +282 -0
- package/src/engine-components/AnimationCurve.ts +42 -0
- package/src/engine-components/Animator.ts +148 -0
- package/src/engine-components/AnimatorController.ts +799 -0
- package/src/engine-components/AudioListener.ts +32 -0
- package/src/engine-components/AudioSource.ts +383 -0
- package/src/engine-components/AvatarLoader.ts +240 -0
- package/src/engine-components/AxesHelper.ts +32 -0
- package/src/engine-components/BasicIKConstraint.ts +54 -0
- package/src/engine-components/BoxCollider.ts +2 -0
- package/src/engine-components/BoxHelperComponent.ts +83 -0
- package/src/engine-components/Camera.ts +261 -0
- package/src/engine-components/Collider.ts +72 -0
- package/src/engine-components/Component.ts +1042 -0
- package/src/engine-components/ComponentExtensions.ts +7 -0
- package/src/engine-components/DeleteBox.ts +34 -0
- package/src/engine-components/DeviceFlag.ts +46 -0
- package/src/engine-components/DragControls.ts +534 -0
- package/src/engine-components/DropListener.ts +101 -0
- package/src/engine-components/Duplicatable.ts +146 -0
- package/src/engine-components/EventList.ts +116 -0
- package/src/engine-components/EventTrigger.ts +28 -0
- package/src/engine-components/EventType.ts +88 -0
- package/src/engine-components/FlyControls.ts +27 -0
- package/src/engine-components/Gizmos.ts +53 -0
- package/src/engine-components/GltfExport.ts +232 -0
- package/src/engine-components/GridHelper.ts +32 -0
- package/src/engine-components/GroundProjection.ts +75 -0
- package/src/engine-components/Interactable.ts +28 -0
- package/src/engine-components/LODGroup.ts +173 -0
- package/src/engine-components/Light.ts +418 -0
- package/src/engine-components/LookAtConstraint.ts +12 -0
- package/src/engine-components/MeshCollider.ts +12 -0
- package/src/engine-components/NavMesh.ts +118 -0
- package/src/engine-components/NestedGltf.ts +56 -0
- package/src/engine-components/Networking.ts +58 -0
- package/src/engine-components/OffsetConstraint.ts +32 -0
- package/src/engine-components/OrbitControls.ts +270 -0
- package/src/engine-components/ParticleSystem.ts +249 -0
- package/src/engine-components/ParticleSystemModules.ts +173 -0
- package/src/engine-components/PlayerColor.ts +93 -0
- package/src/engine-components/Renderer.ts +732 -0
- package/src/engine-components/RendererLightmap.ts +152 -0
- package/src/engine-components/RigidBody.ts +177 -0
- package/src/engine-components/ScreenCapture.ts +47 -0
- package/src/engine-components/ShadowCatcher.ts +93 -0
- package/src/engine-components/Skybox.ts +116 -0
- package/src/engine-components/SmoothFollow.ts +55 -0
- package/src/engine-components/SpatialTrigger.ts +142 -0
- package/src/engine-components/SpectatorCamera.ts +350 -0
- package/src/engine-components/SphereCollider.ts +2 -0
- package/src/engine-components/SpringJoint.ts +45 -0
- package/src/engine-components/SpriteRenderer.ts +143 -0
- package/src/engine-components/SyncedCamera.ts +206 -0
- package/src/engine-components/SyncedRoom.ts +157 -0
- package/src/engine-components/SyncedTransform.ts +339 -0
- package/src/engine-components/TestRunner.ts +116 -0
- package/src/engine-components/TransformGizmo.ts +185 -0
- package/src/engine-components/VideoPlayer.ts +308 -0
- package/src/engine-components/Voip.ts +455 -0
- package/src/engine-components/Volume.ts +86 -0
- package/src/engine-components/WebARSessionRoot.ts +109 -0
- package/src/engine-components/WebXR.ts +586 -0
- package/src/engine-components/WebXRAvatar.ts +326 -0
- package/src/engine-components/WebXRController.ts +1049 -0
- package/src/engine-components/WebXRGrabRendering.ts +151 -0
- package/src/engine-components/WebXRRig.ts +9 -0
- package/src/engine-components/WebXRSync.ts +458 -0
- package/src/engine-components/XRFlag.ts +134 -0
- package/src/engine-components/avatar/AvatarBlink_Simple.ts +68 -0
- package/src/engine-components/avatar/AvatarEyeLook_Rotation.ts +69 -0
- package/src/engine-components/avatar/Avatar_Brain_LookAt.ts +137 -0
- package/src/engine-components/avatar/Avatar_MouthShapes.ts +81 -0
- package/src/engine-components/avatar/Avatar_MustacheShake.ts +29 -0
- package/src/engine-components/codegen/exports.ts +141 -0
- package/src/engine-components/debug/LogStats.ts +22 -0
- package/src/engine-components/js-extensions/RGBAColor.ts +36 -0
- package/src/engine-components/timeline/PlayableDirector.ts +485 -0
- package/src/engine-components/timeline/SignalAsset.ts +108 -0
- package/src/engine-components/timeline/TimelineModels.ts +91 -0
- package/src/engine-components/timeline/TimelineTracks.ts +627 -0
- package/src/engine-components/ui/BaseUIComponent.ts +153 -0
- package/src/engine-components/ui/Button.ts +251 -0
- package/src/engine-components/ui/Canvas.ts +166 -0
- package/src/engine-components/ui/CanvasGroup.ts +47 -0
- package/src/engine-components/ui/EventSystem.ts +523 -0
- package/src/engine-components/ui/Graphic.ts +157 -0
- package/src/engine-components/ui/Image.ts +57 -0
- package/src/engine-components/ui/InputField.ts +235 -0
- package/src/engine-components/ui/Interfaces.ts +8 -0
- package/src/engine-components/ui/Keyboard.ts +203 -0
- package/src/engine-components/ui/Layout.ts +17 -0
- package/src/engine-components/ui/PointerEvents.ts +54 -0
- package/src/engine-components/ui/Raycaster.ts +47 -0
- package/src/engine-components/ui/RectTransform.ts +180 -0
- package/src/engine-components/ui/SpatialHtml.ts +63 -0
- package/src/engine-components/ui/Text.ts +634 -0
- package/src/engine-components/ui/Utils.ts +105 -0
- package/src/engine-components-experimental/Presentation.ts +13 -0
- package/src/engine-components-experimental/annotation/LineDrawer.ts +191 -0
- package/src/engine-components-experimental/annotation/LinesManager.ts +218 -0
- package/src/engine-components-experimental/networking/PlayerSync.ts +131 -0
- package/src/engine-schemes/COMPILE_SCHEMES.bat +4 -0
- package/src/engine-schemes/COMPILE_TS.bat +12 -0
- package/src/engine-schemes/schemes.ts +29 -0
- package/src/engine-schemes/synced-camera-model.ts +92 -0
- package/src/engine-schemes/synced-transform-model.ts +90 -0
- package/src/engine-schemes/syncedCamera.fbs +11 -0
- package/src/engine-schemes/transform.ts +50 -0
- package/src/engine-schemes/transforms.fbs +26 -0
- package/src/engine-schemes/vec.fbs +19 -0
- package/src/engine-schemes/vec2.ts +33 -0
- package/src/engine-schemes/vec3.ts +38 -0
- package/src/engine-schemes/vec4.ts +43 -0
- package/src/engine-schemes/vr-user-state-buffer.ts +138 -0
- package/src/engine-schemes/vrUserStateBuffer.fbs +17 -0
- package/src/needle-engine.ts +39 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,568 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
All notable changes to this package will be documented in this file.
|
|
3
|
+
|
|
4
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [2.24.0-pre] - 2022-10-01
|
|
8
|
+
- Add: make engine code easily accessible from vanilla javascript
|
|
9
|
+
- Fix: handle number animation setting component enable where values are interpolated
|
|
10
|
+
- Change: Remove internal shadow bias multiplication
|
|
11
|
+
- Change: Addressable references are now resolved using relative paths
|
|
12
|
+
- Change: Update package json
|
|
13
|
+
|
|
14
|
+
## [2.23.2-pre] - 2022-09-29
|
|
15
|
+
- Add: Light component shadow settings can not be set/updated at runtime
|
|
16
|
+
- Fix: enter XR using GroundProjectedEnv component
|
|
17
|
+
- Fix: Light shadows missing when LightShadowData component was not added in Unity (was using wrong shadowResolution)
|
|
18
|
+
- Change: dont allow raycasting by default on GroundProjectedEnv sphere
|
|
19
|
+
|
|
20
|
+
## [2.23.1-pre] - 2022-09-29
|
|
21
|
+
- Add: Light exposes shadow resolution
|
|
22
|
+
|
|
23
|
+
## [2.23.0-pre] - 2022-09-28
|
|
24
|
+
- Add RemoteSkybox component to use HDRi images from e.g. polyhaven
|
|
25
|
+
- Add GroundProjectedEnv component to use threejs skybox projection
|
|
26
|
+
- Fix: export ``GameObject`` in ``@needle-tools/engine``
|
|
27
|
+
|
|
28
|
+
## [2.22.1-pre] - 2022-09-28
|
|
29
|
+
- Add: ``noerrors`` url parameter to hide overlay
|
|
30
|
+
- Fix: WebXR avatar rendering may be visually offset due to root transform. Will now reset root transform to identity
|
|
31
|
+
|
|
32
|
+
## [2.22.0-pre] - 2022-09-28
|
|
33
|
+
- Add: ``@needle-tools/engine`` now exports all components
|
|
34
|
+
- Add: environment light from tricolor (used for envlight when set to custom but without custom cubemap assigned)
|
|
35
|
+
- Add: show console error on screen for localhost / local dev environment
|
|
36
|
+
- Fix: create environment lighting textures from exported colors
|
|
37
|
+
- Change: UI InputField expose text
|
|
38
|
+
- Change: Bump threejs version to latest (> r144) which also contains USDZExporter PR
|
|
39
|
+
|
|
40
|
+
## [2.21.0-pre] - 2022-09-26
|
|
41
|
+
- Add: custom shader set ``_ScreenParams``
|
|
42
|
+
- Change: DropListener event ``details`` now contains whole gltf file (instead of just scene object)
|
|
43
|
+
|
|
44
|
+
## [2.20.1-pre] - 2022-09-23
|
|
45
|
+
- Add: AudioSource volume and spatial blending settings can now be set at runtime
|
|
46
|
+
- Fix: AudioSource not playing on ``play`` when ``playOnAwake`` is false
|
|
47
|
+
|
|
48
|
+
## [2.20.0-pre] - 2022-09-23
|
|
49
|
+
- Add: VideoPlayer crossorigin attribute support
|
|
50
|
+
- Add: ``debuginstancing`` url parameter flag
|
|
51
|
+
- Add: Image handle builtin ``Background`` sprite
|
|
52
|
+
- Add: Component now implements EventTargt so you can use ``addEventListener`` etc on every component
|
|
53
|
+
- Add: EventList does automatically dispatch event with same name on component. E.g. UnityEvent named ``onClick`` will be dispatched on component as ``on-click``
|
|
54
|
+
- Add: experimental progressive loading of textures
|
|
55
|
+
- Add: ``WebXR`` exposes ``IsARSupported`` and ``IsVRSupported``
|
|
56
|
+
- Fix: remove Ambient Intensity
|
|
57
|
+
- Fix: ShadowCatcher material should not write depth
|
|
58
|
+
|
|
59
|
+
## [2.19.1-pre] - 2022-09-21
|
|
60
|
+
- Fix: SpatialTrigger intersection check when it's not a mesh
|
|
61
|
+
- Fix: UnityEvent / EventList argument of ``0`` not being passed to the receiving method
|
|
62
|
+
- Fix: Physics rigidbody/collider instantiate calls
|
|
63
|
+
- Fix: Physics rigidbody transform changes will now be applied to internal physics body
|
|
64
|
+
- Fix: ``needle-engine.getContext`` now listens to loading finished event namely ``loadfinished``
|
|
65
|
+
- Change: cleanup some old code in Rigidbody component
|
|
66
|
+
|
|
67
|
+
## [2.19.0-pre] - 2022-09-20
|
|
68
|
+
- Add: initial support for ``InputField`` UI (rendering, input handling on desktop, mobile and AR, change and endedit events)
|
|
69
|
+
- Add: ``EventList.invoke`` can now handle an arbitrary number of arguments
|
|
70
|
+
- Change: lower double click threshold to 200ms instead of 500ms
|
|
71
|
+
- Change: runtime font-style does not change font being used in this version. This will temporarely break rich text support.
|
|
72
|
+
- Fix: custom shader regression where multiple objects using the same material were not rendered correctly
|
|
73
|
+
- Fix: Text sometimes using invalid path
|
|
74
|
+
- Fix: Remove unused imports
|
|
75
|
+
|
|
76
|
+
## [2.18.0-pre] - 2022-09-20
|
|
77
|
+
- Add basic support for ``CameraDepth`` and ``OpaqueTexture`` (the opaque texture still contains transparent textures in this first version) being used in custom shaders
|
|
78
|
+
|
|
79
|
+
## [2.17.1-pre] - 2022-09-17
|
|
80
|
+
- Improve Animator root motion blending
|
|
81
|
+
- Fix SpatialTrigger error when adding both SpatialTrigger as well as SpatialTrigger receiver components to the same object
|
|
82
|
+
- AnimatorController can now handle states with empty motion or missing clips
|
|
83
|
+
|
|
84
|
+
## [2.17.0-pre] - 2022-09-15
|
|
85
|
+
- Add: automatic runtime font atlas generation from Unity font assets
|
|
86
|
+
- Remove: shipped font assets in ``include/fonts``
|
|
87
|
+
- Fix: Physics pass custom vector into ``getWorldPosition``, internal vector buffer size increased to 100
|
|
88
|
+
- Fix: SpatialTrigger and SpatialTrigger receivers didnt work anymore due to LayerMask serialization
|
|
89
|
+
|
|
90
|
+
## [2.16.1-pre] - 2022-09-14
|
|
91
|
+
- Change: UI disable shadow receiving and casting by default, can be configured via Canvas
|
|
92
|
+
- Fix: ``gameObject.getComponentInParent`` was making false call to ``getComponentsInParent`` and returning an array instead of a single object
|
|
93
|
+
- Fix: light intensity in AR
|
|
94
|
+
|
|
95
|
+
## [2.16.0-pre] - 2022-09-14
|
|
96
|
+
- Add: first draft of Animator root motion support
|
|
97
|
+
- Fix: ``Renderer.sharedMaterials`` assignment bug when GameObject was mesh
|
|
98
|
+
- Fix: Buttons set to color transition did not apply transition colors
|
|
99
|
+
- Fix: UI textures being flipped
|
|
100
|
+
- Fix: UI textures were not stretched across panel but instead being clipped if the aspect ratio didnt match perfectly
|
|
101
|
+
|
|
102
|
+
## [2.15.0-pre] - 2022-09-12
|
|
103
|
+
- Add stencil support to ``Renderer``
|
|
104
|
+
- Add timeline ``removeTrackOffset`` support
|
|
105
|
+
- Fix timeline animation track offset only being applied to root
|
|
106
|
+
- Fix timeline clip offsets not being applied when no track for e.g. rotation or translation exists
|
|
107
|
+
|
|
108
|
+
## [2.14.0-pre] - 2022-09-11
|
|
109
|
+
- Add initial UI anchoring support
|
|
110
|
+
- Add initial support for URP RenderObject Stencil via ``NEEDLE_render_objects`` extension
|
|
111
|
+
|
|
112
|
+
## [2.13.4-pre] - 2022-09-09
|
|
113
|
+
- Fix UI transform handling for [issue 42](https://github.com/needle-tools/needle-engine-support/issues/42) and [issue 30](https://github.com/needle-tools/needle-engine-support/issues/30)
|
|
114
|
+
- Fix AudioSource not restarting to play at onEnable when ``playOnAwake`` is true (this is the default behaviour in Unity)
|
|
115
|
+
|
|
116
|
+
## [2.13.3-pre] - 2022-09-09
|
|
117
|
+
- Fix RGBAColor not implementing copy which caused alpha to be set to 0 (this caused ``Camera.backgroundColor`` to not work properly)
|
|
118
|
+
|
|
119
|
+
## [2.13.2-pre] - 2022-09-07
|
|
120
|
+
- Add support to set OrbitControls camera position immediately
|
|
121
|
+
|
|
122
|
+
## [2.13.1-pre] - 2022-09-07
|
|
123
|
+
- Fix EventList invocation not using deserialized method arguments
|
|
124
|
+
|
|
125
|
+
## [2.13.0-pre] - 2022-09-07
|
|
126
|
+
- Add ``context`` to ``StateMachineBehaviour``
|
|
127
|
+
- Fix ``StateMachineBehaviour`` binding (event functions were called with wrong binding)
|
|
128
|
+
|
|
129
|
+
## [2.12.0-pre.1] - 2022-09-06
|
|
130
|
+
- Fix deserialization error when data is null or undefined
|
|
131
|
+
|
|
132
|
+
## [2.12.0-pre] - 2022-09-05
|
|
133
|
+
- Add initial tonemapping and exposure support
|
|
134
|
+
- Add AR shadow catcher
|
|
135
|
+
- Fix objects parented to camera appear behind camera
|
|
136
|
+
- Fix reticle showing and never disappearing when no WebARSessionRoot is in scene
|
|
137
|
+
- Fix WebARSessionRoot when on same gameobject as WebXR component
|
|
138
|
+
- Fix deserialization of ``@serializable(Material)`` producing a new default instance in certain cases
|
|
139
|
+
- Fix ``OrbitControls`` enable when called from UI button event
|
|
140
|
+
- Fix EventList / UnityEvent calls to properties (e.g. ``MyComponent.enable = true`` works now from UnityEvent)
|
|
141
|
+
|
|
142
|
+
## [2.11.1-pre] - 2022-09-02
|
|
143
|
+
- Change: ``OrbitControls.setTarget`` does now lerp by default. Use method parameter ``immediate`` to change it immediately
|
|
144
|
+
- Change: bump component compiler dependency to ``1.8.0``
|
|
145
|
+
|
|
146
|
+
## [2.10.3-pre] - 2022-09-01
|
|
147
|
+
- Fix EventList serialization for cross-glb references
|
|
148
|
+
- Fix AnimatorController transition from state without animation
|
|
149
|
+
|
|
150
|
+
## [2.10.2-pre] - 2022-09-01
|
|
151
|
+
- Fix: skybox/camera background on exit AR
|
|
152
|
+
- Change: AnimatorController can now contain empty states
|
|
153
|
+
- Change: Expose ``Animator.Play`` transition duration
|
|
154
|
+
|
|
155
|
+
## [2.10.1-pre] - 2022-08-31
|
|
156
|
+
- Improved RectTransform animation support and canvas element positioning
|
|
157
|
+
- Fix ``Animator.Play``
|
|
158
|
+
- Change: Expose ``AnimatorController.FindState(name)``
|
|
159
|
+
|
|
160
|
+
## [2.10.0-pre] - 2022-08-29
|
|
161
|
+
- Add UI to gltf export
|
|
162
|
+
- Add button animation transition support for triggers ``Normal``, ``Highlighted`` and ``Pressed``
|
|
163
|
+
|
|
164
|
+
## [2.9.0-pre] - 2022-08-26
|
|
165
|
+
- Add ``Canvas.renderOnTop`` option
|
|
166
|
+
- Fix ``OrbitControls`` changing focus/moving when interacting with the UI
|
|
167
|
+
- Fix nullref in AnimatorController with empty state
|
|
168
|
+
|
|
169
|
+
## [2.8.0-pre] - 2022-08-25
|
|
170
|
+
- Add export for ``Renderer.allowOcclusionWhenDynamic``
|
|
171
|
+
- Fix: bug in ``@serializable`` type assignment for inherited classes with multiple members with same name but different serialized types
|
|
172
|
+
- Change: ``GameObject.findObjectOfType`` now also accepts an object as a search root
|
|
173
|
+
|
|
174
|
+
## [2.7.3-pre] - 2022-08-25
|
|
175
|
+
- Fix canvas button breaking orbit controls [issue #4](https://github.com/needle-tools/needle-engine-support/issues/4)
|
|
176
|
+
|
|
177
|
+
## [2.7.2-pre] - 2022-08-23
|
|
178
|
+
- Fix SyncedRoom to not append room parameter multiple times
|
|
179
|
+
|
|
180
|
+
## [2.7.1-pre] - 2022-08-22
|
|
181
|
+
- Add: Timeline AudioTrack nullcheck when audio file is missing
|
|
182
|
+
- Fix: AnimatorController error when behaviours are undefined
|
|
183
|
+
- Change StateMachineBehaviour methods to be lowercase
|
|
184
|
+
|
|
185
|
+
## [2.7.0-pre] - 2022-08-22
|
|
186
|
+
- Add initial StateMachineBehaviour support with "OnStateEnter", "OnStateUpdate" and "OnStateExit"
|
|
187
|
+
- Fix input raycast position calculation for scrolled content
|
|
188
|
+
|
|
189
|
+
## [2.6.1-pre] - 2022-08-22
|
|
190
|
+
- Fix texture pointer remapping in gltf-transform opaque extension
|
|
191
|
+
- Change: skip texture-transform for textures starting with "Lightmap" for now until we can configure this properly
|
|
192
|
+
|
|
193
|
+
## [2.6.0-pre] - 2022-08-18
|
|
194
|
+
- Add scale to instantiation sync messages
|
|
195
|
+
- Fix ``BoxHelper``
|
|
196
|
+
- Fix AR reticle being not visible when ``XRRig`` is child of ``WebARSessionRoot`` component
|
|
197
|
+
- Fix exception in ``DragControls`` when dragged object was deleted while dragging
|
|
198
|
+
|
|
199
|
+
## [2.5.0-pre] - 2022-08-18
|
|
200
|
+
- Change name of ``KHR_webgl_extension`` to ``NEEDLE_webgl_extension``
|
|
201
|
+
- Change: dont write depth for custom shader set to transparent
|
|
202
|
+
- Deprecate and disable ``AssetDatabase``
|
|
203
|
+
|
|
204
|
+
## [2.4.1-pre] - 2022-08-17
|
|
205
|
+
- Add ``Mathf.MoveTowards``
|
|
206
|
+
- Change: rename ``needle-tiny`` webcomponent to ``needle-engine``
|
|
207
|
+
- Fix ordering issue in needle web component when codegen.js is executed too late
|
|
208
|
+
|
|
209
|
+
## [2.3.0-pre] - 2022-08-16
|
|
210
|
+
- Add SyncedCamera prefab/AssetReference support
|
|
211
|
+
- Add TypeArray support for ``serializable`` to provide multiple possible deserialization types for one field (e.g. ``serializable([Object3D, AssetReference])`` to try to deserialize a type as Object3D first and then as AssetReference)
|
|
212
|
+
|
|
213
|
+
## [2.2.0-pre] - 2022-08-14
|
|
214
|
+
- Add event callbacks for Gltf loading: ``BeforeLoad`` (use to register custom extensions), ``AfterLoaded`` (to receive loaded gltf), ``FinishedSetup`` (called after components have been created)
|
|
215
|
+
|
|
216
|
+
## [2.1.2-pre] - 2022-08-14
|
|
217
|
+
- Fix AnimatorController exit state
|
|
218
|
+
- Fix AR camera background alpha to be fully transparent by default
|
|
219
|
+
|
|
220
|
+
## [2.1.1-pre] - 2022-08-12
|
|
221
|
+
- Fix: light shadow bias
|
|
222
|
+
|
|
223
|
+
## [2.1.0-pre] - 2022-08-11
|
|
224
|
+
- Add ``@needle-tools/engine`` to be used as import for "most used" apis and functions
|
|
225
|
+
- Change: remove obsolete ``Renderer.materialProperties``
|
|
226
|
+
- Fix: ``NEEDLE_persistent_assets`` extension is now valid format (change from array to object)
|
|
227
|
+
|
|
228
|
+
## [2.0.0-pre] - 2022-08-08
|
|
229
|
+
- Renamed package
|
|
230
|
+
|
|
231
|
+
## [1.21.2-pre] - 2022-08-08
|
|
232
|
+
- Fix: NestedGltf transform
|
|
233
|
+
|
|
234
|
+
## [1.20.1-pre] - 2022-08-06
|
|
235
|
+
- Remove: Duplicateable animation time offset hack
|
|
236
|
+
- Change: GameObjectData extension properly await assigning values
|
|
237
|
+
- Change: NestedGltf instantiate using guid
|
|
238
|
+
- Change: ``instantiate`` does now again create guids for three Objects too
|
|
239
|
+
|
|
240
|
+
## [1.20.0-pre] - 2022-08-05
|
|
241
|
+
- Add: NestedGltf ``listenToProgress`` method
|
|
242
|
+
- Add: Allow changing Renderer lightmap at runtime
|
|
243
|
+
- Fix: Environment lighting when set to flat or gradient (instead of skybox)
|
|
244
|
+
- Fix: ``this.gameObject.getComponentInChildren`` - was internally calling wrong method
|
|
245
|
+
- Fix: Spectator camera, requires Camera component in glb now
|
|
246
|
+
|
|
247
|
+
## [1.19.0-pre] - 2022-08-03
|
|
248
|
+
- Add: Animator.keepAnimatorStateOnDisable, defaults to false as in Unity so start state is entered on enable again
|
|
249
|
+
- Add: warning if different types with the same name are registered
|
|
250
|
+
- Add: timeline track ``onMutedChanged`` callback
|
|
251
|
+
- Change: PlayableDirector expose audio tracks
|
|
252
|
+
- Change: BoxCollider and SphereCollider being added to the physics scene just once
|
|
253
|
+
- Change: try catch around physics step
|
|
254
|
+
|
|
255
|
+
## [1.18.0-pre] - 2022-08-01
|
|
256
|
+
- Add: Addressable download progress is now observeable
|
|
257
|
+
- Add: Addressable preload support, allows to load raw bytes without actually building any components
|
|
258
|
+
- Add: PlayableDirector exposes tracks / clips
|
|
259
|
+
- Change: modify default engine loading progress bar to be used from user code
|
|
260
|
+
- Change: add option to Instantiate call to keep world position (set ``keepWorldPosition`` in ``InstantiateOptions`` object that you can pass into instantiate)
|
|
261
|
+
- Change: light uses shadow bias from Unity
|
|
262
|
+
- Fix: instancing requiring worldmatrix update being not properly processed
|
|
263
|
+
- Fix: Duplicatable world position being off (using ``keepWorldPosition``)
|
|
264
|
+
- Fix: ``Animation`` component, it does allow to use one main clip only now, for more complex setups please use AnimationController or Timeline
|
|
265
|
+
- Fix: ``SyncedRoom`` room connection on enter WebXR
|
|
266
|
+
- Fix: WebXR avatar loading
|
|
267
|
+
|
|
268
|
+
## [1.17.1-pre] - 2022-07-27
|
|
269
|
+
- Change: bump component compiler dependency to ``1.7.1``
|
|
270
|
+
- Change: ``context.mainCameraComponent`` is now of type ``Camera``
|
|
271
|
+
- Fix: timeline control track
|
|
272
|
+
- Fix: timeline animation track post extrapolation
|
|
273
|
+
- Fix: custom shader does not fail when scene uses object with transmission (additional render pass)
|
|
274
|
+
|
|
275
|
+
## [1.17.0-pre] - 2022-07-21
|
|
276
|
+
- engine: add loading bar and show loading state text
|
|
277
|
+
|
|
278
|
+
## [1.16.0-pre] - 2022-07-20
|
|
279
|
+
- engine: add using ambient light settings (Intensity Multiplier) exported from Unity
|
|
280
|
+
|
|
281
|
+
## [1.15.1-pre] - 2022-07-18
|
|
282
|
+
- engine: fix nullref in registering texture
|
|
283
|
+
|
|
284
|
+
## [1.15.0-pre] - 2022-07-15
|
|
285
|
+
- engine: remove legacy file
|
|
286
|
+
- engine: add basic implementation of ``Context.destroy``
|
|
287
|
+
- engine: fix ``<needle-tiny>`` src attribute
|
|
288
|
+
- engine: add implictly creating camera with orbit controls when loaded glb doesnt contain any (e.g. via src)
|
|
289
|
+
|
|
290
|
+
## [1.14.2-pre] - 2022-07-12
|
|
291
|
+
- engine: fix dont apply lightmaps to unlit materials
|
|
292
|
+
- engine: remove log in PlayableDirector
|
|
293
|
+
- engine: add support to override (not automatically create) WebXR buttons
|
|
294
|
+
|
|
295
|
+
## [1.14.1-pre] - 2022-07-11
|
|
296
|
+
- engine: Fix AnimatorController finding clip when cloned via ``AssetReference.instantiate``
|
|
297
|
+
- engine: Fix deep clone array type
|
|
298
|
+
- engine: Fix PlayableDirectory binding when cloned via ``AssetReference.instantiate``
|
|
299
|
+
|
|
300
|
+
## [1.14.0] - 2022-07-10
|
|
301
|
+
- engine: add VideoPlayer using ``AudioOutputMode.None``
|
|
302
|
+
- engine: fix VideoPlayer waiting for input before playing video with audio (unmuted) and being loaded lazily
|
|
303
|
+
|
|
304
|
+
## [1.13.0-pre] - 2022-07-07
|
|
305
|
+
- engine: Add ``getComponent`` etc methods to THREE.Object3D prototype so we can use it like in Unity: ``this.gameObject.getComponent...``
|
|
306
|
+
- engine: Change ``Duplictable`` serialization
|
|
307
|
+
|
|
308
|
+
## [1.12.2-pre] - 2022-07-06
|
|
309
|
+
- engine: Fix networking localhost detection
|
|
310
|
+
- engine: update component generator package version (supporting now CODEGEN_START and END sections as well as //@ifdef for fields)
|
|
311
|
+
|
|
312
|
+
## [1.12.1-pre] - 2022-07-06
|
|
313
|
+
- engine: change lightmap extension to be object
|
|
314
|
+
|
|
315
|
+
## [1.12.0-pre] - 2022-07-06
|
|
316
|
+
- engine: Add DeviceFlag component
|
|
317
|
+
- engine: Fix VideoPlayer loop and playback speed
|
|
318
|
+
- engine: Improve VideoTrack sync
|
|
319
|
+
|
|
320
|
+
## [1.11.0-pre] - 2022-07-04
|
|
321
|
+
- engine: fix ``enabled`` not being always assigned
|
|
322
|
+
- engine: fix react-three-fiber component setting camera
|
|
323
|
+
- engine: add support for custom timeline track
|
|
324
|
+
- engine: add VideoTrack npmdef
|
|
325
|
+
|
|
326
|
+
## [1.10.3-pre] - 2022-07-01
|
|
327
|
+
- engine: Change; PlayableDirector Wrap.None now stops/resets timeline on end
|
|
328
|
+
- engine: Change; PlayableDirector now stops on disabling
|
|
329
|
+
|
|
330
|
+
## [1.10.2-pre] - 2022-07-01
|
|
331
|
+
- engine: fix timeline clip offsets and hold
|
|
332
|
+
- engine: fix timeline animationtrack support for post-extrapolation (hold, loop, pingpong)
|
|
333
|
+
|
|
334
|
+
## [1.10.1-pre] - 2022-06-30
|
|
335
|
+
- engine: improve timeline clip offsets
|
|
336
|
+
|
|
337
|
+
## [1.10.0-pre] - 2022-06-30
|
|
338
|
+
- engine: Improved timeline clip- and track offset (ongoing)
|
|
339
|
+
- engine: Change assigning all serialized properties by default again (instead of require ``@allProperties`` decorator)
|
|
340
|
+
- engine: Change; deprecate ``@allProperties`` and ``@strict`` decorators
|
|
341
|
+
|
|
342
|
+
## [1.9.1-pre] - 2022-06-29
|
|
343
|
+
- engine: add methods for unsubscribing to EventList and make constructor args optional
|
|
344
|
+
- engine: change camera to not change transform anymore
|
|
345
|
+
|
|
346
|
+
## [1.9.0-pre] - 2022-06-28
|
|
347
|
+
- engine: add support for transparent rendering using camera background alpha
|
|
348
|
+
|
|
349
|
+
## [1.8.0-pre] - 2022-06-27
|
|
350
|
+
- Add: transform gizmo component
|
|
351
|
+
- Change: component generator for npmdef is not required anymore
|
|
352
|
+
- Change: component gen runs in background now
|
|
353
|
+
- Fix: typescript drag drop adding component twice in some cases
|
|
354
|
+
- engine: update component gen package dependency
|
|
355
|
+
- engine: fix redundant camera creation when exported in GLTF
|
|
356
|
+
- engine: fix orbit controls focus lerp, stops now on input
|
|
357
|
+
|
|
358
|
+
## [1.7.1-pre] - 2022-06-25
|
|
359
|
+
- Override PlayMode in sub-scene
|
|
360
|
+
- engine: lightmaps encoding fix
|
|
361
|
+
- engine: directional light direction fix
|
|
362
|
+
|
|
363
|
+
## [1.7.0-pre] - 2022-06-25
|
|
364
|
+
- engine: animator controler can handle multiple target animators
|
|
365
|
+
- engine: fix WebXR being a child of WebARSessionRoot
|
|
366
|
+
- engine: improve Camera, OrbitControls, Lights OnEnable/Disable behaviour
|
|
367
|
+
- engine: add ``Input.getKeyPressed()``
|
|
368
|
+
|
|
369
|
+
## [1.6.0-pre] - 2022-06-23
|
|
370
|
+
- engine: fix light error "can't add object to self" when re-enabled
|
|
371
|
+
- engine: remove extension log
|
|
372
|
+
- engine: log missing info when UnityEvent has not target (or method not found)
|
|
373
|
+
- engine: use lightmap index for supporting multiple lightmaps
|
|
374
|
+
|
|
375
|
+
## [1.5.2-pre] - 2022-06-23
|
|
376
|
+
- engine: Camera dont set skybox when in XR
|
|
377
|
+
- engine: dont add lights to scene if baked
|
|
378
|
+
|
|
379
|
+
## [1.5.1-pre] - 2022-06-22
|
|
380
|
+
- engine: fix threejs dependency pointer
|
|
381
|
+
|
|
382
|
+
## [1.5.0-pre] - 2022-06-22
|
|
383
|
+
- engine: ``<needle-tiny>`` added awaitable ``getContext()`` (waits for scene being loaded to be used in external js)
|
|
384
|
+
- engine: fix finding main camera warning
|
|
385
|
+
- engine: add ``SourceIdentifier`` to components to be used to get gltf specific data (e.g. lightmaps shipped per gltf)
|
|
386
|
+
- engine: persistent asset resolve fix
|
|
387
|
+
- engine: update three dependency to support khr_pointer
|
|
388
|
+
- engine: remove custom khr_pointer extension
|
|
389
|
+
- engine: fix WebARSessionRoot exported in gltf
|
|
390
|
+
- engine: smaller AR reticle
|
|
391
|
+
|
|
392
|
+
## [1.4.1-pre] - 2022-06-17
|
|
393
|
+
- engine: create new GltfLoader per loading request
|
|
394
|
+
- engine: fix bug in core where it could happen that scripts were added multiple times
|
|
395
|
+
- engine: Added SyncedRoom auto rejoin option (to handle disconnection by server due to window inactivity)
|
|
396
|
+
- engine: guid resolving first in loaded gltf and retry in whole scene on fail
|
|
397
|
+
- engine: fix nullref in DropListener
|
|
398
|
+
- engine: register main camera before first awake
|
|
399
|
+
|
|
400
|
+
## [1.4.0-pre] - 2022-06-15
|
|
401
|
+
- engine: add ``GameObject.getOrAddComponent``
|
|
402
|
+
- engine: ``OrbitControl`` exposing controlled object
|
|
403
|
+
- engine: ``getWorldPosition`` now uses buffer of cached vector3's instead of only one
|
|
404
|
+
- engine: add ``AvatarMarker`` to synced camera (also allows to easily attach ``PlayerColor``)
|
|
405
|
+
- engine: fix ``Animation`` component when using khr_pointer extension
|
|
406
|
+
- engine: ``VideoPlayer`` expose current time
|
|
407
|
+
- engine: fix ``Animator.runtimeController`` serialization
|
|
408
|
+
- engine: make ``SyncedRoom.tryJoinRoom`` public
|
|
409
|
+
|
|
410
|
+
## [1.3.1-pre] - 2022-06-10
|
|
411
|
+
- engine: allow ``@serializeable`` taking abstract types
|
|
412
|
+
- engine: add ``Renderer.sharedMaterials`` support
|
|
413
|
+
|
|
414
|
+
## [1.3.0-pre] - 2022-06-09
|
|
415
|
+
- engine: move log behind debug flag
|
|
416
|
+
- engine: improved serialization property assignment respecting getter only properties
|
|
417
|
+
- engine: add optional serialization callbacks to ``ISerializable``
|
|
418
|
+
- engine: default to only assign declared properties
|
|
419
|
+
|
|
420
|
+
## [1.2.3-pre] - 2022-06-09
|
|
421
|
+
- engine: downloading dropped file shows minimal preview box
|
|
422
|
+
- engine: ``DropListener`` can use localhost
|
|
423
|
+
- engine: ``SyncedRoom`` avoid reload due to room parameter
|
|
424
|
+
- engine: ``LODGroup`` instantiate workaround
|
|
425
|
+
- engine: improve deserialization supporting multiple type levels
|
|
426
|
+
|
|
427
|
+
## [1.2.2-pre] - 2022-05-30
|
|
428
|
+
- engine: change md5 hashing package
|
|
429
|
+
- engine: file upload logs proper server error
|
|
430
|
+
|
|
431
|
+
## [1.2.1-pre] - 2022-05-30
|
|
432
|
+
- engine: disable light in gltf if mode is baked
|
|
433
|
+
- engine: use tiny starter as default networking backend
|
|
434
|
+
- engine: synced file init fix for resolving references
|
|
435
|
+
- engine: allow removing of gen.js completely
|
|
436
|
+
- engine: expose ``Camera.buildCamera`` for core allowing to use blender camera
|
|
437
|
+
- engine: on filedrop only add drag control if none is found
|
|
438
|
+
|
|
439
|
+
## [1.2.0-pre] - 2022-05-27
|
|
440
|
+
- engine: fix networked flatbuffer state not being stored
|
|
441
|
+
- engine: make ``src`` on ``<needle-tiny>`` web component optional
|
|
442
|
+
- engine: ``src`` can now point to glb or gltf directly
|
|
443
|
+
- engine: fix ``Raycaster`` registration
|
|
444
|
+
- engine: add ``GameObject.destroySynced``
|
|
445
|
+
- engine: add ``context.setCurrentCamera``
|
|
446
|
+
- engine: make ``DropListener`` to EventTarget
|
|
447
|
+
- engine: make ``DropListener`` accept explicit backend url
|
|
448
|
+
|
|
449
|
+
## [1.1.0-pre.6] - 2022-05-26
|
|
450
|
+
- Fix gltf transform textures output when used in custom shaders only
|
|
451
|
+
|
|
452
|
+
## [1.1.0-pre.5] - 2022-05-25
|
|
453
|
+
- engine: fix ``VideoPlayer`` being hidden, play automatically muted until interaction
|
|
454
|
+
- engine: added helpers to update window history
|
|
455
|
+
- engine: fix setting custom shader ``Vector4`` property
|
|
456
|
+
-
|
|
457
|
+
## [1.1.0-pre.4] - 2022-05-25
|
|
458
|
+
- engine: fix tsc error in ``Animation`` component
|
|
459
|
+
- engine: fix ``Animation`` component assigning animations for GameObject again
|
|
460
|
+
- engine: fix ``Animation`` calling play before awake
|
|
461
|
+
- engine: ``AnimatorController`` handle missing motion (not assigned in Unity)
|
|
462
|
+
- engine: ``AnimatorController.IsInTransition()`` fix
|
|
463
|
+
|
|
464
|
+
## [1.1.0-pre.1] - 2022-05-20
|
|
465
|
+
- engine: minor tsc issues fixed
|
|
466
|
+
|
|
467
|
+
## [1.1.0-pre] - 2022-05-20
|
|
468
|
+
- engine: add ``isManagedExternally`` if renderer is not owned (e.g. when using react-fiber)
|
|
469
|
+
|
|
470
|
+
## [1.0.0-pre.18] - 2022-05-19
|
|
471
|
+
- engine: add basic support for ``stopEventPropagation`` (to make e.g. ``DragControls`` camera control agnostic in preparation of react support)
|
|
472
|
+
|
|
473
|
+
## [1.0.0-pre.17] - 2022-05-17
|
|
474
|
+
- fix ``EventList`` outside of gltf
|
|
475
|
+
- fix ``EventList`` without any function assigned (``No Function`` in Unity)
|
|
476
|
+
- engine: support changing ``WebARSessionRoot.arScale`` changing at runtime
|
|
477
|
+
|
|
478
|
+
## [1.0.0-pre.16] - 2022-05-12
|
|
479
|
+
- engine: fix webx avatar instantiate
|
|
480
|
+
- engine: stop input preventing key event defaults
|
|
481
|
+
|
|
482
|
+
## [1.0.0-pre.15] - 2022-05-12
|
|
483
|
+
- engine: log error if ``instantiate`` is called with false parent
|
|
484
|
+
- engine: fix instantiate with correct ``AnimatorController`` cloning
|
|
485
|
+
|
|
486
|
+
## [1.0.0-pre.14] - 2022-05-11
|
|
487
|
+
- engine: fix ``@syncField()``
|
|
488
|
+
- engine: fix ``AssetReference.instantiate`` and ``AssetReference.instantiateSynced`` parenting
|
|
489
|
+
- engine: improve ``PlayerSync`` and ``PlayerState``
|
|
490
|
+
|
|
491
|
+
## [1.0.0-pre.13] - 2022-05-11
|
|
492
|
+
- engine: prepend three canvas to the web element instead of appending
|
|
493
|
+
- engine: ``SyncedRoom`` logs warning when disconnected
|
|
494
|
+
- engine: internal networking does not attempt to reconnect on connection closed
|
|
495
|
+
- engine: internal networking now empties user list when disconnected from room
|
|
496
|
+
- engine: ``GameObject.instantiate`` does not always generate new guid to support cases where e.g. ``SyncTransform`` is on cloned object and requires unique id
|
|
497
|
+
- engine: ``syncedInstantiate`` add fallback to ``Context.Current`` when missing
|
|
498
|
+
- engine: ``EventList`` refactored to use list of ``CallInfo`` objects internally instead of plain function array to more easily attach meta info like ``UnityEvent.off``
|
|
499
|
+
- engine: add ``GameObject.instantiateSynced``
|
|
500
|
+
|
|
501
|
+
## [1.0.0-pre.12] - 2022-05-10
|
|
502
|
+
- engine: fix font path
|
|
503
|
+
- engine: add ``debugnewscripts`` url parameter
|
|
504
|
+
- engine: start adding simplifcation to automatic instance creation + sync per player
|
|
505
|
+
- engine: allow InstantiateOptions in ``GameObject.instantiate`` to be inlined as e.g. ``{ position: ... }``
|
|
506
|
+
- engine: add ``AvatarMarker`` creation and destroy events
|
|
507
|
+
- engine: fix networking message buffering
|
|
508
|
+
|
|
509
|
+
## [1.0.0-pre.11] - 2022-05-08
|
|
510
|
+
- engine: ``SpatialTrigger`` is serializable
|
|
511
|
+
- engine: fix ``DragControls`` offset when using without ground
|
|
512
|
+
- engine: fix ``WebXRController`` interaction with UI ``Button.onClick``
|
|
513
|
+
|
|
514
|
+
## [1.0.0-pre.10] - 2022-05-04
|
|
515
|
+
- engine: fix gltf extension not awaiting dependencies
|
|
516
|
+
- engine: fix persistent asset @serializable check for arrays
|
|
517
|
+
- engine: add ``setWorldScale``
|
|
518
|
+
- engine: fix ``instantiate`` setting position
|
|
519
|
+
- engine: ``AssetReference`` does now create new instance in ``instantiate`` call
|
|
520
|
+
- engine: add awaitable ``delay`` util method
|
|
521
|
+
- engine: fix scripts being active when loaded in gltf but never added to scene
|
|
522
|
+
- engine: minimal support for mocking pointer input
|
|
523
|
+
- engine: emit minimal down and up input events when in AR
|
|
524
|
+
|
|
525
|
+
## [1.0.0-pre.9] - 2022-05-03
|
|
526
|
+
- improved default loading element
|
|
527
|
+
- changed animation pointer to support emissive intensity
|
|
528
|
+
|
|
529
|
+
## [1.0.0-pre.8] - 2022-05-02
|
|
530
|
+
- lightmaps fixed
|
|
531
|
+
- glitch upload shows time estimate
|
|
532
|
+
- deployment build error fix
|
|
533
|
+
- json pointer resolve
|
|
534
|
+
- improved auto install
|
|
535
|
+
- started basic ``SpriteRenderer`` support
|
|
536
|
+
- basic ``AnimationCurve`` support
|
|
537
|
+
- fixed ``PlayerColor``
|
|
538
|
+
- fixed ``persistent_assets`` and ``serializeable`` conflict
|
|
539
|
+
- basic export of references to components in root prefab
|
|
540
|
+
|
|
541
|
+
## [1.0.0-pre.7] - 2022-04-30
|
|
542
|
+
- ``WebXR`` does not load avatar from prefab reference
|
|
543
|
+
- ``WebXRSync`` is added implictly and creates local avatar even when not networked
|
|
544
|
+
- ``SpectatorCam`` is using local avatar
|
|
545
|
+
- ``SpectatorCam`` camera component in Unity is now optional and implictly added if missing
|
|
546
|
+
|
|
547
|
+
## [1.0.0-pre.6] - 2022-04-29
|
|
548
|
+
- fix environment light
|
|
549
|
+
- fix light shadows setting
|
|
550
|
+
- fix video player in extension
|
|
551
|
+
- fix video player texture not overlaying rendering while awaiting interaction
|
|
552
|
+
- fix webAR root reticle when no rig component is in scene
|
|
553
|
+
|
|
554
|
+
## [1.0.0-pre.5] - 2022-04-28
|
|
555
|
+
- start adding support for ``AssetReference`` again
|
|
556
|
+
|
|
557
|
+
## [1.0.0-pre.4] - 2022-04-27
|
|
558
|
+
- add persistent asset extension
|
|
559
|
+
- removed timeline and animator controller extensions as both are now serialized and resolved in assets
|
|
560
|
+
- can resolve json pointers (``animations/``, ``materials/``, ``textures/``, ``extensions``) in component paths
|
|
561
|
+
- add ``syncField()`` decorator
|
|
562
|
+
|
|
563
|
+
## [1.0.0-pre.2] - 2022-04-20
|
|
564
|
+
- updated to https:// three.js url instead of git:// url
|
|
565
|
+
- fixated flatbuffers dependency to 2.0.4 due to breaking changes and bugs in 2.0.6
|
|
566
|
+
|
|
567
|
+
## [1.0.0-pre] - 2022-04-19
|
|
568
|
+
- initial release
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Copyright ©️ Needle Tools GmbH, 2021–2022. All Rights Reserved
|
|
2
|
+
|
|
3
|
+
Needle Engine (from here called “the library”) is not open source.
|
|
4
|
+
|
|
5
|
+
You (“the customer”) are free to use this library except for projects for commercial purposes and except for purposes connected to NFT-related projects.
|
|
6
|
+
|
|
7
|
+
Additionally, this library can be used for free for evaluation purposes. The customer may use the software only to evaluate its functionality and suitability for the customer’s needs, not to serve customer’s customers or to integrate into production systems.
|
|
8
|
+
|
|
9
|
+
Any other use requires eligibility according to our EULA (https://needle.tools/eula).
|
|
10
|
+
You are free to use this library for commercial purposes if you’re eligible for Needle Engine Free according to the terms and conditions put forth in the End-User License Agreement. Other uses need to be explicitly granted in written communication and may require separate licensing terms.
|
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Needle Engine Runtime
|
|
2
|
+
|
|
3
|
+
Get started at [docs.needle.tools](https://docs.needle.tools)
|
|
4
|
+
|
|
5
|
+
# Contact ✒️
|
|
6
|
+
<b>[🌵 needle — tools for creators](https://needle.tools)</b> •
|
|
7
|
+
[@NeedleTools](https://twitter.com/NeedleTools) •
|
|
8
|
+
[@marcel_wiessler](https://twitter.com/marcel_wiessler) •
|
|
9
|
+
[@hybridherbst](https://twitter.com/hybridherbst) •
|
|
10
|
+
[Discord](https://discord.needle.tools)
|
|
11
|
+
|