@needle-tools/engine 2.32.0-pre → 2.34.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.
Files changed (89) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/needle-engine.d.ts +195 -164
  3. package/dist/needle-engine.js +394 -344
  4. package/dist/needle-engine.js.map +4 -4
  5. package/dist/needle-engine.min.js +70 -20
  6. package/dist/needle-engine.min.js.map +4 -4
  7. package/lib/engine/engine_create_objects.d.ts +11 -0
  8. package/lib/engine/engine_create_objects.js +20 -0
  9. package/lib/engine/engine_create_objects.js.map +1 -0
  10. package/lib/engine/engine_instancing.d.ts +5 -0
  11. package/lib/engine/engine_instancing.js +22 -0
  12. package/lib/engine/engine_instancing.js.map +1 -0
  13. package/lib/engine/engine_physics.d.ts +2 -0
  14. package/lib/engine/engine_physics.js +7 -1
  15. package/lib/engine/engine_physics.js.map +1 -1
  16. package/lib/engine/extensions/NEEDLE_components.js +2 -0
  17. package/lib/engine/extensions/NEEDLE_components.js.map +1 -1
  18. package/lib/engine/extensions/NEEDLE_techniques_webgl.d.ts +1 -0
  19. package/lib/engine/extensions/NEEDLE_techniques_webgl.js +26 -0
  20. package/lib/engine/extensions/NEEDLE_techniques_webgl.js.map +1 -1
  21. package/lib/engine-components/Animation.js +1 -1
  22. package/lib/engine-components/Animation.js.map +1 -1
  23. package/lib/engine-components/Collider.d.ts +1 -0
  24. package/lib/engine-components/Collider.js +6 -2
  25. package/lib/engine-components/Collider.js.map +1 -1
  26. package/lib/engine-components/Component.js +4 -51
  27. package/lib/engine-components/Component.js.map +1 -1
  28. package/lib/engine-components/DragControls.js +1 -1
  29. package/lib/engine-components/DragControls.js.map +1 -1
  30. package/lib/engine-components/Renderer.d.ts +0 -3
  31. package/lib/engine-components/Renderer.js +1 -20
  32. package/lib/engine-components/Renderer.js.map +1 -1
  33. package/lib/engine-components/ScreenCapture.d.ts +8 -14
  34. package/lib/engine-components/ScreenCapture.js +62 -74
  35. package/lib/engine-components/ScreenCapture.js.map +1 -1
  36. package/lib/engine-components/SyncedCamera.js +1 -1
  37. package/lib/engine-components/SyncedCamera.js.map +1 -1
  38. package/lib/engine-components/SyncedTransform.js +1 -1
  39. package/lib/engine-components/SyncedTransform.js.map +1 -1
  40. package/lib/engine-components/VideoPlayer.d.ts +14 -3
  41. package/lib/engine-components/VideoPlayer.js +390 -47
  42. package/lib/engine-components/VideoPlayer.js.map +1 -1
  43. package/lib/engine-components/WebARSessionRoot.js +1 -1
  44. package/lib/engine-components/WebARSessionRoot.js.map +1 -1
  45. package/lib/engine-components/WebXRAvatar.js +1 -1
  46. package/lib/engine-components/WebXRAvatar.js.map +1 -1
  47. package/lib/engine-components/WebXRController.d.ts +1 -0
  48. package/lib/engine-components/WebXRController.js +12 -1
  49. package/lib/engine-components/WebXRController.js.map +1 -1
  50. package/lib/engine-components/codegen/{exports.d.ts → components.d.ts} +2 -2
  51. package/{src/engine-components/codegen/exports.ts → lib/engine-components/codegen/components.js} +3 -2
  52. package/lib/engine-components/codegen/components.js.map +1 -0
  53. package/lib/engine-components/js-extensions/Object3D.d.ts +2 -0
  54. package/lib/engine-components/js-extensions/Object3D.js +75 -0
  55. package/lib/engine-components/js-extensions/Object3D.js.map +1 -0
  56. package/lib/engine-components/ui/EventSystem.d.ts +3 -0
  57. package/lib/engine-components/ui/EventSystem.js +17 -8
  58. package/lib/engine-components/ui/EventSystem.js.map +1 -1
  59. package/lib/needle-engine.d.ts +2 -1
  60. package/lib/needle-engine.js +3 -2
  61. package/lib/needle-engine.js.map +1 -1
  62. package/package.json +2 -2
  63. package/src/engine/codegen/register_types.js +2 -4
  64. package/src/engine/engine_create_objects.ts +27 -0
  65. package/src/engine/engine_instancing.ts +25 -0
  66. package/src/engine/engine_physics.ts +9 -1
  67. package/src/engine/extensions/NEEDLE_components.ts +3 -0
  68. package/src/engine/extensions/NEEDLE_techniques_webgl.ts +34 -2
  69. package/src/engine-components/Animation.ts +1 -1
  70. package/src/engine-components/Collider.ts +7 -2
  71. package/src/engine-components/Component.ts +4 -64
  72. package/src/engine-components/DragControls.ts +1 -1
  73. package/src/engine-components/Renderer.ts +2 -20
  74. package/src/engine-components/ScreenCapture.ts +62 -75
  75. package/src/engine-components/SyncedCamera.ts +1 -1
  76. package/src/engine-components/SyncedTransform.ts +1 -1
  77. package/src/engine-components/VideoPlayer.ts +401 -48
  78. package/src/engine-components/WebARSessionRoot.ts +1 -1
  79. package/src/engine-components/WebXRAvatar.ts +1 -1
  80. package/src/engine-components/WebXRController.ts +11 -1
  81. package/{lib/engine-components/codegen/exports.js → src/engine-components/codegen/components.ts} +1 -3
  82. package/src/engine-components/js-extensions/Object3D.ts +91 -0
  83. package/src/engine-components/ui/EventSystem.ts +19 -10
  84. package/src/needle-engine.ts +3 -3
  85. package/lib/engine-components/ComponentExtensions.d.ts +0 -2
  86. package/lib/engine-components/ComponentExtensions.js +0 -3
  87. package/lib/engine-components/ComponentExtensions.js.map +0 -1
  88. package/lib/engine-components/codegen/exports.js.map +0 -1
  89. package/src/engine-components/ComponentExtensions.ts +0 -7
@@ -1,4 +1,5 @@
1
1
  // Export types
2
+ export class __Ignore {}
2
3
  export { AlignmentConstraint } from "../AlignmentConstraint";
3
4
  export { Animation } from "../Animation";
4
5
  export { AnimationCurve } from "../AnimationCurve";
@@ -16,7 +17,6 @@ export { Collider } from "../Collider";
16
17
  export { SphereCollider } from "../Collider";
17
18
  export { BoxCollider } from "../Collider";
18
19
  export { InstantiateOptions } from "../Component";
19
- export { UnityObject } from "../ComponentExtensions";
20
20
  export { DeleteBox } from "../DeleteBox";
21
21
  export { Deletable } from "../DeleteBox";
22
22
  export { DeviceFlag } from "../DeviceFlag";
@@ -55,7 +55,6 @@ export { FieldWithDefault } from "../Renderer";
55
55
  export { Renderer } from "../Renderer";
56
56
  export { MeshRenderer } from "../Renderer";
57
57
  export { SkinnedMeshRenderer } from "../Renderer";
58
- export { InstancingUtil } from "../Renderer";
59
58
  export { RendererLightmap } from "../RendererLightmap";
60
59
  export { Rigidbody } from "../RigidBody";
61
60
  export { ScreenCapture } from "../ScreenCapture";
@@ -138,4 +137,3 @@ export { Rect } from "../ui/RectTransform";
138
137
  export { RectTransform } from "../ui/RectTransform";
139
138
  export { SpatialHtml } from "../ui/SpatialHtml";
140
139
  export { Text } from "../ui/Text";
141
- //# sourceMappingURL=exports.js.map
@@ -0,0 +1,91 @@
1
+ import { Object3D } from "three";
2
+ import { Behaviour, Component, Constructor, ConstructorConcrete, GameObject } from "../Component";
3
+
4
+ const decorated = Symbol("GameObject.decorated");
5
+
6
+ // this is a fix to allow gameObject active animation be applied to a three object
7
+ Object.defineProperty(Object3D.prototype, "activeSelf", {
8
+ get: function () {
9
+ return this.visible;
10
+ },
11
+ set: function (val: boolean | number) {
12
+ const state = typeof val === "number" ? val > 0.5 : val;
13
+ this.visible = state;
14
+ }
15
+ });
16
+
17
+
18
+ // do we still need this?
19
+ Object3D.prototype["SetActive"] = function (active: boolean) {
20
+ this.visible = active;
21
+ }
22
+
23
+ Object3D.prototype["addNewComponent"] = function <T extends Behaviour>(type: ConstructorConcrete<T>) {
24
+ return GameObject.addNewComponent(this, type);
25
+ }
26
+
27
+ Object3D.prototype["removeComponent"] = function (inst: Component) {
28
+ return GameObject.removeComponent(inst);
29
+ }
30
+
31
+ Object3D.prototype["getOrAddComponent"] = function <T>(typeName: Constructor<T> | null): T {
32
+ return GameObject.getOrAddComponent(this, typeName);
33
+ }
34
+
35
+ Object3D.prototype["getComponent"] = function <T>(type: Constructor<T>) {
36
+ return GameObject.getComponent(this, type);
37
+ }
38
+
39
+ Object3D.prototype["getComponents"] = function <T>(type: Constructor<T>, arr?: []) {
40
+ return GameObject.getComponents(this, type, arr);
41
+ }
42
+
43
+ Object3D.prototype["getComponentInChildren"] = function <T>(type: Constructor<T>) {
44
+ return GameObject.getComponentInChildren(this, type);
45
+ }
46
+
47
+ Object3D.prototype["getComponentsInChildren"] = function <T>(type: Constructor<T>, arr?: []) {
48
+ return GameObject.getComponentsInChildren(this, type, arr);
49
+ }
50
+
51
+ Object3D.prototype["getComponentInParent"] = function <T>(type: Constructor<T>) {
52
+ return GameObject.getComponentInParent(this, type);
53
+ }
54
+
55
+ Object3D.prototype["getComponentsInParent"] = function <T>(type: Constructor<T>, arr?: []) {
56
+ return GameObject.getComponentsInParent(this, type, arr);
57
+ }
58
+
59
+
60
+ // used to decorate cloned object3D objects with the same added components defined above
61
+ const extensions = Object.keys(Object3D.prototype);
62
+ const descriptors = new Array<PropertyDescriptor | undefined>();
63
+ for (let i = 0; i < extensions.length; i++) {
64
+ const key = extensions[i];
65
+ const descriptor = Object.getOwnPropertyDescriptor(Object3D.prototype, key);
66
+ if (descriptor) {
67
+ descriptors.push(descriptor);
68
+ }
69
+ }
70
+
71
+ export function apply(object: Object3D) {
72
+ if (object[decorated]) return;
73
+ object[decorated] = true;
74
+
75
+ // const prototype = object.constructor.prototype;
76
+
77
+ for (let i = 0; i < extensions.length; i++) {
78
+ const key = extensions[i];
79
+ const desc = descriptors[i];
80
+ if (desc) {
81
+ // if (prototype) {
82
+ // const exists = Object.getOwnPropertyDescriptor(prototype, key);
83
+ // if (exists) {
84
+ // continue;
85
+ // }
86
+ // }
87
+ // console.trace("DEFINE", object.name, key);
88
+ Object.defineProperty(object, key, desc);
89
+ }
90
+ }
91
+ }
@@ -75,9 +75,13 @@ export class EventSystem extends Behaviour {
75
75
  }
76
76
  }
77
77
 
78
+ private _selectStartFn?: any;
79
+ private _selectEndFn?: any;
80
+ private _selectUpdateFn?: any;
81
+
78
82
  onEnable(): void {
79
83
 
80
- WebXRController.addEventListener(ControllerEvents.SelectStart, (ctrl, args: { grab: THREE.Object3D | null }) => {
84
+ this._selectStartFn ??= (ctrl, args: { grab: THREE.Object3D | null }) => {
81
85
  if (!args.grab) return;
82
86
  MeshUIHelper.resetLastSelected();
83
87
  const opts = new PointerEventData();
@@ -88,11 +92,9 @@ export class EventSystem extends Behaviour {
88
92
  opts.isClicked = false;
89
93
  if (args.grab && !this.handleEvents(args.grab, opts)) {
90
94
  args.grab = null;
91
- }
92
- });
93
-
94
- const controllerRcOpts = new RaycastOptions();
95
- WebXRController.addEventListener(ControllerEvents.SelectEnd, (ctrl, args: { grab: THREE.Object3D }) => {
95
+ };
96
+ }
97
+ this._selectEndFn ??= (ctrl, args: { grab: THREE.Object3D }) => {
96
98
  if (!args.grab) return;
97
99
  const opts = new PointerEventData();
98
100
  opts.inputSource = ctrl;
@@ -101,23 +103,30 @@ export class EventSystem extends Behaviour {
101
103
  opts.isPressed = ctrl.selectionPressed;
102
104
  opts.isClicked = ctrl.selectionClick;
103
105
  this.handleEvents(args.grab, opts);
104
- });
106
+ };
105
107
 
106
- WebXRController.addEventListener(ControllerEvents.Update, (_ctrl: WebXRController) => {
108
+ const controllerRcOpts = new RaycastOptions();
109
+ this._selectUpdateFn ??= (_ctrl: WebXRController) => {
107
110
  controllerRcOpts.ray = _ctrl.getRay();
108
111
  const rc = this.performRaycast(controllerRcOpts);
109
112
  if (!rc) return;
110
113
  const opts = new PointerEventData();
111
114
  opts.inputSource = _ctrl;
112
115
  this.handleIntersections(rc, opts);
113
- });
116
+ };
117
+
118
+ WebXRController.addEventListener(ControllerEvents.SelectStart, this._selectStartFn);
119
+ WebXRController.addEventListener(ControllerEvents.SelectEnd, this._selectEndFn);
120
+ WebXRController.addEventListener(ControllerEvents.Update, this._selectUpdateFn);
114
121
 
115
122
  this.context.pre_update_callbacks.push(this.onBeforeUpdate.bind(this));
116
123
  this.context.input.addEventListener(InputEvents.PointerDown, this.onPointerDown.bind(this));
117
124
  }
118
125
 
119
126
  onDisable(): void {
120
- // TODO: unsubscribe from controller events
127
+ WebXRController.removeEventListener(ControllerEvents.SelectStart, this._selectStartFn);
128
+ WebXRController.removeEventListener(ControllerEvents.SelectEnd, this._selectEndFn);
129
+ WebXRController.removeEventListener(ControllerEvents.Update, this._selectUpdateFn);
121
130
  }
122
131
 
123
132
  onPointerDown() {
@@ -1,15 +1,16 @@
1
1
  import "./engine/engine_element";
2
2
  import "./engine/engine_setup";
3
+ import * as Components from "./engine-components/codegen/components";
3
4
  // import "./engine/engine_mainloop";
4
5
  // import "./engine-components/DomOverlay";
5
6
 
6
7
  export { GameObject, Behaviour } from "./engine-components/Component";
7
8
  export { serializeable } from "./engine/engine_serialization_decorator";
8
9
  export { Collision } from "./engine/engine_physics";
9
- export * from "./engine-components/codegen/exports";
10
-
10
+ export * from "./engine-components/codegen/components";
11
11
 
12
12
 
13
+ export * from "./engine-components/js-extensions/Object3D";
13
14
 
14
15
  // make accessible for external javascript
15
16
  import { Context } from "./engine/engine_setup";
@@ -21,7 +22,6 @@ function registerGlobal(obj: object) {
21
22
  }
22
23
  }
23
24
  import * as Component from "./engine-components/Component";
24
- import * as Components from "./engine-components/codegen/exports";
25
25
  registerGlobal(Component);
26
26
  registerGlobal(Components);
27
27
 
@@ -1,2 +0,0 @@
1
- export declare class UnityObject {
2
- }
@@ -1,3 +0,0 @@
1
- export class UnityObject {
2
- }
3
- //# sourceMappingURL=ComponentExtensions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComponentExtensions.js","sourceRoot":"","sources":["../../../engine-components/ComponentExtensions.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,WAAW;CAEvB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../../engine-components/codegen/exports.ts"],"names":[],"mappings":"AAAA,eAAe;AACf,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE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