@needle-tools/engine 3.0.1-alpha.3 → 3.0.1-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist/needle-engine.js +24914 -23954
- package/dist/needle-engine.min.js +443 -443
- package/dist/needle-engine.umd.cjs +440 -440
- package/lib/engine/api.d.ts +1 -0
- package/lib/engine/api.js +1 -0
- package/lib/engine/api.js.map +1 -1
- package/lib/engine/debug/debug_overlay.js +3 -0
- package/lib/engine/debug/debug_overlay.js.map +1 -1
- package/lib/engine/engine_context.d.ts +2 -0
- package/lib/engine/engine_context.js +3 -0
- package/lib/engine/engine_context.js.map +1 -1
- package/lib/engine/engine_element.d.ts +1 -1
- package/lib/engine/engine_element.js +2 -2
- package/lib/engine/engine_element.js.map +1 -1
- package/lib/engine/engine_element_loading.d.ts +7 -2
- package/lib/engine/engine_element_loading.js +67 -22
- package/lib/engine/engine_element_loading.js.map +1 -1
- package/lib/engine/engine_license.d.ts +1 -1
- package/lib/engine/engine_license.js +6 -19
- package/lib/engine/engine_license.js.map +1 -1
- package/lib/engine/engine_networking.d.ts +1 -0
- package/lib/engine/engine_networking.js +3 -0
- package/lib/engine/engine_networking.js.map +1 -1
- package/lib/engine-components/AudioSource.d.ts +2 -3
- package/lib/engine-components/AudioSource.js +26 -31
- package/lib/engine-components/AudioSource.js.map +1 -1
- package/lib/engine-components/CameraUtils.js.map +1 -1
- package/lib/engine-components/ParticleSystem.js +15 -6
- package/lib/engine-components/ParticleSystem.js.map +1 -1
- package/lib/engine-components/ParticleSystemModules.d.ts +1 -0
- package/lib/engine-components/ParticleSystemModules.js +22 -11
- package/lib/engine-components/ParticleSystemModules.js.map +1 -1
- package/lib/engine-components/ScreenCapture.d.ts +1 -0
- package/lib/engine-components/ScreenCapture.js +145 -46
- package/lib/engine-components/ScreenCapture.js.map +1 -1
- package/lib/engine-components/SyncedRoom.js +1 -2
- package/lib/engine-components/SyncedRoom.js.map +1 -1
- package/lib/engine-components/VideoPlayer.d.ts +3 -0
- package/lib/engine-components/VideoPlayer.js +29 -5
- package/lib/engine-components/VideoPlayer.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/DepthOfField.d.ts +1 -0
- package/lib/engine-components/postprocessing/Effects/DepthOfField.js +15 -1
- package/lib/engine-components/postprocessing/Effects/DepthOfField.js.map +1 -1
- package/lib/engine-components/postprocessing/VolumeParameter.d.ts +1 -0
- package/lib/engine-components/postprocessing/VolumeParameter.js +4 -0
- package/lib/engine-components/postprocessing/VolumeParameter.js.map +1 -1
- package/lib/engine-components/timeline/PlayableDirector.d.ts +3 -1
- package/lib/engine-components/timeline/PlayableDirector.js +40 -2
- package/lib/engine-components/timeline/PlayableDirector.js.map +1 -1
- package/lib/engine-components/timeline/TimelineTracks.d.ts +2 -2
- package/lib/engine-components/timeline/TimelineTracks.js +12 -14
- package/lib/engine-components/timeline/TimelineTracks.js.map +1 -1
- package/lib/engine-components/ui/Text.js +0 -1
- package/lib/engine-components/ui/Text.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +18 -17
- package/plugins/vite/index.js +2 -0
- package/plugins/vite/license.js +24 -0
- package/src/engine/api.ts +1 -1
- package/src/engine/debug/debug_overlay.ts +2 -0
- package/src/engine/engine_context.ts +4 -1
- package/src/engine/engine_element.ts +2 -2
- package/src/engine/engine_element_loading.ts +68 -22
- package/src/engine/engine_license.ts +6 -17
- package/src/engine/engine_networking.ts +4 -0
- package/src/engine-components/AudioSource.ts +28 -37
- package/src/engine-components/CameraUtils.ts +2 -2
- package/src/engine-components/ParticleSystem.ts +18 -6
- package/src/engine-components/ParticleSystemModules.ts +23 -11
- package/src/engine-components/ScreenCapture.ts +149 -49
- package/src/engine-components/SyncedRoom.ts +1 -2
- package/src/engine-components/VideoPlayer.ts +27 -5
- package/src/engine-components/postprocessing/Effects/DepthOfField.ts +18 -6
- package/src/engine-components/postprocessing/VolumeParameter.ts +5 -0
- package/src/engine-components/timeline/PlayableDirector.ts +38 -2
- package/src/engine-components/timeline/TimelineTracks.ts +13 -16
- package/src/engine-components/ui/Text.ts +0 -1
- package/lib/engine/codegen/license.json +0 -1
- package/license-2447137e.js +0 -4
- package/src/engine/codegen/license.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@ 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
|
+
## [3.0.1-alpha.5] - 2023-04-17
|
|
8
|
+
- Add: `this.context.xrFrame` to get access to the current XRFrame from every lifecycle event method
|
|
9
|
+
- Change: license check is now baked
|
|
10
|
+
- Change: Rename "EngineElement" to NeedleEngineHTMLElement
|
|
11
|
+
- Change: disable "Enable Keys" on OrbitControls by default as it conflicts with so many things
|
|
12
|
+
- Fix: ParticleSystem circle shape
|
|
13
|
+
- Fix: balloon messages are now truncated to 300 characters
|
|
14
|
+
- Fix: Screensharing connection setup and start of video playback
|
|
15
|
+
- Fix: Screensharing muting now local audio
|
|
16
|
+
- Fix: AudioSource does not play again when it did finish and the user switches tabs
|
|
17
|
+
- Fix: ParticleSystem prewarm
|
|
18
|
+
- Fix: ParticleSystem minMax size, it's currently not supported and should thus not affect rendering
|
|
19
|
+
|
|
20
|
+
## [3.0.1-alpha.4] - 2023-04-12
|
|
21
|
+
- Bump with changed package.json
|
|
22
|
+
|
|
7
23
|
## [3.0.1-alpha.3] - 2023-04-11
|
|
8
24
|
- Fix: WebXR all layers should be visible
|
|
9
25
|
- Fix: WebXRController raycast on all layers
|
|
@@ -18,6 +34,37 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
18
34
|
- Fix: Postprocessing not being applied
|
|
19
35
|
- Internal: needle vite plugin names now all start with "needle-"
|
|
20
36
|
|
|
37
|
+
## [2.67.16] - 2023-04-13
|
|
38
|
+
- Add: static ``AudioTrackHandler.dispose`` for disposing loaded audio data in timeline
|
|
39
|
+
- Fix: issue where only the first audio clip would be played in a timeline with multiple audio clips of the same file
|
|
40
|
+
- Change: Text should not change font name casing
|
|
41
|
+
- Change: Timeline does now wait for audio and first interaction by default (if any audio track is being used, this can be disabled by setting `waitForAudio` to false on the PlayableDirector component)
|
|
42
|
+
- Change: postprocessing DOF exposes resolution scale and takes device pixel density into account. By default the resolution is slightly lowered on mobile devices
|
|
43
|
+
|
|
44
|
+
## [2.67.14-pre] - 2023-04-12
|
|
45
|
+
- Change: WebXR camera now copies culling mask from main camera
|
|
46
|
+
- Fix: WebXRController raycast on all layers
|
|
47
|
+
- Fix: WebXR all layers should be visible
|
|
48
|
+
- Fix: set pointer position properly on mouse down to prevent jumps in delta
|
|
49
|
+
- Fix: respect IgnoreRaycast in physics raycasts
|
|
50
|
+
- Fix: issue with CircularBuffer where sometimes the same item was returned twice
|
|
51
|
+
- Fix: boxcolliders with scale 0 (such as adding a BoxCollider to a plane) resulted in flipped normals being returned from raycasts
|
|
52
|
+
- Fix: parenthesis error in CharacterController
|
|
53
|
+
- Fix: issue with mouse vector position being re-used causing delta position being falsely modified
|
|
54
|
+
|
|
55
|
+
## [2.67.13-pre] - 2023-04-11
|
|
56
|
+
- Fix: Animation component settings
|
|
57
|
+
- Fix: instanced renderer matrix auto update
|
|
58
|
+
- Change: enable shadow casting in instanced rendering when any mesh has castShadow enabled
|
|
59
|
+
- Change: export ui pointer events
|
|
60
|
+
|
|
61
|
+
## [2.67.12-pre] - 2023-04-09
|
|
62
|
+
- Add: SSAO color and luminance influence options
|
|
63
|
+
- Change: postprocessing now exposes effect order
|
|
64
|
+
|
|
65
|
+
## [2.67.11-pre] - 2023-04-08
|
|
66
|
+
- Add: some checks for WebGPURenderer
|
|
67
|
+
|
|
21
68
|
## [2.67.10-pre] - 2023-04-06
|
|
22
69
|
- Add vite copy files build plugin
|
|
23
70
|
- Fix: PostProcessing not applying effects when enabled for the second time as well as removing earlier hack
|