@needle-tools/engine 4.9.3-next.0facab6 → 4.10.0-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/{needle-engine.bundle-DAo7BPxQ.umd.cjs → needle-engine.bundle-42AmEGfk.umd.cjs} +127 -126
  3. package/dist/{needle-engine.bundle-DP2gYtOQ.min.js → needle-engine.bundle-C6zhyLF5.min.js} +128 -127
  4. package/dist/{needle-engine.bundle-TvT7wv7z.js → needle-engine.bundle-Dj6faVbC.js} +4967 -4864
  5. package/dist/needle-engine.js +414 -413
  6. package/dist/needle-engine.min.js +1 -1
  7. package/dist/needle-engine.umd.cjs +1 -1
  8. package/lib/engine/codegen/register_types.js +2 -0
  9. package/lib/engine/codegen/register_types.js.map +1 -1
  10. package/lib/engine-components/Renderer.d.ts +2 -2
  11. package/lib/engine-components/Renderer.js +6 -4
  12. package/lib/engine-components/Renderer.js.map +1 -1
  13. package/lib/engine-components/codegen/components.d.ts +1 -0
  14. package/lib/engine-components/codegen/components.js +1 -0
  15. package/lib/engine-components/codegen/components.js.map +1 -1
  16. package/lib/engine-components/timeline/PlayableDirector.d.ts +28 -6
  17. package/lib/engine-components/timeline/PlayableDirector.js +60 -26
  18. package/lib/engine-components/timeline/PlayableDirector.js.map +1 -1
  19. package/lib/engine-components/timeline/TimelineModels.d.ts +3 -0
  20. package/lib/engine-components/timeline/TimelineModels.js.map +1 -1
  21. package/lib/engine-components/timeline/TimelineTracks.d.ts +7 -0
  22. package/lib/engine-components/timeline/TimelineTracks.js +19 -0
  23. package/lib/engine-components/timeline/TimelineTracks.js.map +1 -1
  24. package/lib/engine-components/web/ScrollFollow.d.ts +14 -4
  25. package/lib/engine-components/web/ScrollFollow.js +139 -25
  26. package/lib/engine-components/web/ScrollFollow.js.map +1 -1
  27. package/package.json +2 -2
  28. package/src/engine/codegen/register_types.ts +2 -0
  29. package/src/engine-components/Renderer.ts +6 -4
  30. package/src/engine-components/codegen/components.ts +1 -0
  31. package/src/engine-components/timeline/PlayableDirector.ts +79 -34
  32. package/src/engine-components/timeline/TimelineModels.ts +3 -0
  33. package/src/engine-components/timeline/TimelineTracks.ts +22 -0
  34. package/src/engine-components/web/ScrollFollow.ts +177 -24
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to this package will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [4.10.0-beta] - 2025-09-18
8
+ - **NEW**: HoverAnimation component. Use this component to get a scale hover animation of an object when the cursor is hovering over the object or one of it's children.
9
+ - Add: `fitCamera` function
10
+ - Add: `<needle-engine poster>` attribute. It works with an URL to an image that should be shown as a poster image. If no URL is assigned then the poster that is automatically generated during the first frame will be used
11
+ - Fix: Renderer `material` accessing error when component was not yet initialized
12
+ - Fix: Poster screenshot glitch during the first frame (development only)
13
+ - Change: Loading display does not show Needle logo anymore by default
14
+ - Change: Use fallback raycast method for lowpoly meshes while BVH is being generated
15
+
7
16
  ## [4.9.3] - 2025-09-15
8
17
  - Fix: SpriteRenderer index issue when animated where animation precision issue was causing the wrong sprite to be selected ([issue](<https://forum.needle.tools/t/switching-sprite-images-via-timeline-causes-ghosting-glitches-when-exported/2709>))
9
18
  - Fix: Scaling scene in AR with multitouch causing camera projection issue for a frame ([issue](<https://forum.needle.tools/t/3d-assets-warping-on-rotation-in-ar>))