@needle-tools/engine 3.5.3-alpha.1 → 3.5.5-alpha
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 +21 -0
- package/dist/needle-engine.js +8168 -8135
- package/dist/needle-engine.min.js +310 -310
- package/dist/needle-engine.umd.cjs +296 -296
- package/lib/engine/codegen/register_types.js +2 -2
- package/lib/engine/codegen/register_types.js.map +1 -1
- package/lib/engine/engine_addressables.js +3 -0
- package/lib/engine/engine_addressables.js.map +1 -1
- package/lib/engine/engine_constants.d.ts +2 -0
- package/lib/engine/engine_constants.js +2 -0
- package/lib/engine/engine_constants.js.map +1 -1
- package/lib/engine/engine_context.d.ts +2 -0
- package/lib/engine/engine_context.js +5 -0
- package/lib/engine/engine_context.js.map +1 -1
- package/lib/engine/engine_license.js +1 -1
- package/lib/engine/engine_license.js.map +1 -1
- package/lib/engine/engine_serialization_core.js +1 -1
- package/lib/engine/engine_serialization_core.js.map +1 -1
- package/lib/engine/engine_three_utils.d.ts +5 -0
- package/lib/engine/engine_three_utils.js +29 -12
- package/lib/engine/engine_three_utils.js.map +1 -1
- package/lib/engine/engine_utils.d.ts +12 -0
- package/lib/engine/engine_utils.js +20 -0
- package/lib/engine/engine_utils.js.map +1 -1
- package/lib/engine-components/AnimatorController.js +1 -2
- package/lib/engine-components/AnimatorController.js.map +1 -1
- package/lib/engine-components/codegen/components.d.ts +1 -1
- package/lib/engine-components/codegen/components.js +1 -1
- package/lib/engine-components/codegen/components.js.map +1 -1
- package/lib/engine-components/export/usdz/USDZExporter.d.ts +2 -2
- package/lib/engine-components/export/usdz/USDZExporter.js +23 -11
- package/lib/engine-components/export/usdz/USDZExporter.js.map +1 -1
- package/lib/engine-components/ui/Graphic.js +3 -2
- package/lib/engine-components/ui/Graphic.js.map +1 -1
- package/lib/engine-components/ui/Text.js +5 -2
- package/lib/engine-components/ui/Text.js.map +1 -1
- package/lib/needle-engine.js +5 -0
- package/lib/needle-engine.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/plugins/vite/copyfiles.js +49 -2
- package/plugins/vite/defines.js +12 -6
- package/plugins/vite/license.js +16 -3
- package/plugins/vite/meta.js +16 -3
- package/plugins/vite/utils.js +11 -0
- package/src/engine/codegen/register_types.js +2 -2
- package/src/engine/engine_addressables.ts +2 -1
- package/src/engine/engine_constants.ts +3 -0
- package/src/engine/engine_context.ts +6 -0
- package/src/engine/engine_license.ts +1 -1
- package/src/engine/engine_serialization_core.ts +1 -1
- package/src/engine/engine_three_utils.ts +28 -12
- package/src/engine/engine_utils.ts +34 -0
- package/src/engine-components/AnimatorController.ts +1 -1
- package/src/engine-components/codegen/components.ts +1 -1
- package/src/engine-components/export/usdz/USDZExporter.ts +19 -7
- package/src/engine-components/ui/Graphic.ts +3 -1
- package/src/engine-components/ui/Text.ts +5 -4
- package/src/needle-engine.ts +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,27 @@ 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.5.5-alpha] - 2023-05-11
|
|
8
|
+
- Add: getWorldDirection
|
|
9
|
+
- Add: needle.config.json `build.copy = []` to copy files on build from arbitrary locations into the dist folder for example:
|
|
10
|
+
```md
|
|
11
|
+
"build": {
|
|
12
|
+
"copy": [
|
|
13
|
+
"cards" <-- can be relative or absolute folder or file. In this case the folder is named "cards" in the web project directory
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
```
|
|
17
|
+
- Add ip and location utils
|
|
18
|
+
- Change: add buffers for getWorldQuaternion, getWorldScale util methods
|
|
19
|
+
- Change: animatorcontroller should only log "no-action" warning when in debug mode
|
|
20
|
+
- Fix: apply and check license
|
|
21
|
+
|
|
22
|
+
## [3.5.4-alpha] - 2023-05-11
|
|
23
|
+
- Fix: wrong serialization check if a property is writeable
|
|
24
|
+
- Fix: mark UI dirty when text changes
|
|
25
|
+
- Change: allow UI graphic texture to be set to null to remove any texture/image
|
|
26
|
+
- Change: rename USDZExporter `overlay` to `branding`
|
|
27
|
+
|
|
7
28
|
## [3.5.3-alpha.1] - 2023-05-10
|
|
8
29
|
- Fix: wrong check in serialization causing particles to break (introduced in 3.5.3-exp)
|
|
9
30
|
|