@hology/core 0.0.43 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/dist/csm.d.ts +8 -2
  2. package/dist/csm.js +1 -1
  3. package/dist/effects/vfx/behaviours.d.ts +28 -0
  4. package/dist/effects/vfx/behaviours.js +1 -1
  5. package/dist/effects/vfx/initializsers.d.ts +16 -0
  6. package/dist/effects/vfx/initializsers.js +1 -1
  7. package/dist/effects/vfx/rates.d.ts +7 -2
  8. package/dist/effects/vfx/rates.js +1 -1
  9. package/dist/effects/vfx/vfx-actor.js +1 -1
  10. package/dist/effects/vfx/vfx-asset.d.ts +7 -5
  11. package/dist/effects/vfx/vfx-asset.js +1 -1
  12. package/dist/effects/vfx/vfx-defs.d.ts +28 -2
  13. package/dist/effects/vfx/vfx-defs.js +1 -1
  14. package/dist/effects/vfx/vfx-materializer.d.ts +2 -2
  15. package/dist/effects/vfx/vfx-materializer.js +1 -1
  16. package/dist/effects/vfx/vfx-param.d.ts +31 -1
  17. package/dist/effects/vfx/vfx-param.js +1 -1
  18. package/dist/effects/vfx/vfx-renderers.d.ts +36 -0
  19. package/dist/effects/vfx/vfx-renderers.js +5 -0
  20. package/dist/gameplay/actors/builtin/components/character/character-animation.js +1 -1
  21. package/dist/gameplay/services/physics/physics-system.js +1 -1
  22. package/dist/rendering.d.ts +1 -1
  23. package/dist/rendering.js +1 -1
  24. package/dist/scene/asset-resource-loader.js +1 -1
  25. package/dist/scene/landscape/landscape-manager.js +1 -1
  26. package/dist/scene/landscape/landscape.js +1 -1
  27. package/dist/scene/materializer.d.ts +3 -2
  28. package/dist/scene/materializer.js +1 -1
  29. package/dist/scene/objects/ramp-geometry.d.ts +1 -1
  30. package/dist/scene/objects/shapes.d.ts +3 -3
  31. package/dist/scene/objects/stairs-geometry.d.ts +2 -2
  32. package/dist/scene/scene-data-service.js +1 -1
  33. package/dist/scene/sky.d.ts +1 -1
  34. package/dist/scene/sky.js +1 -1
  35. package/dist/shader-nodes/particle.d.ts +1 -0
  36. package/dist/shader-nodes/particle.js +1 -1
  37. package/dist/utils/materials.d.ts +2 -1
  38. package/dist/utils/three/outline-pass.d.ts +8 -8
  39. package/dist/utils/three/positional-audio-helper.d.ts +2 -1
  40. package/dist/utils/three/transform-controls.d.ts +5 -3
  41. package/dist/utils/three/traverse.d.ts +1 -1
  42. package/package.json +8 -8
  43. package/tsconfig.tsbuildinfo +1 -1
@@ -1,4 +1,4 @@
1
- export class TransformControls extends Object3D<import("three").Event> {
1
+ export class TransformControls extends Object3D<import("three").Object3DEventMap> {
2
2
  constructor(camera: any, domElement: any);
3
3
  domElement: any;
4
4
  _gizmo: TransformControlsGizmo;
@@ -52,16 +52,18 @@ export class TransformControls extends Object3D<import("three").Event> {
52
52
  update(): void;
53
53
  isTransformControls: boolean;
54
54
  }
55
- export class TransformControlsGizmo extends Object3D<import("three").Event> {
55
+ export class TransformControlsGizmo extends Object3D<import("three").Object3DEventMap> {
56
56
  constructor();
57
+ type: string;
57
58
  gizmo: {};
58
59
  picker: {};
59
60
  helper: {};
60
61
  updateMatrixWorld(force: any): void;
61
62
  isTransformControlsGizmo: boolean;
62
63
  }
63
- export class TransformControlsPlane extends Mesh<BufferGeometry, import("three").Material | import("three").Material[]> {
64
+ export class TransformControlsPlane extends Mesh<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
64
65
  constructor();
66
+ type: string;
65
67
  updateMatrixWorld(force: any): void;
66
68
  isTransformControlsPlane: boolean;
67
69
  }
@@ -1,6 +1,6 @@
1
1
  import { Object3D, Vector3 } from 'three';
2
2
  type ObjectPredicate<T> = (obj: T) => boolean;
3
- export declare function filterScene(scene: Object3D, predicate: ObjectPredicate<Object3D>): Object3D<import("three").Event>[];
3
+ export declare function filterScene(scene: Object3D, predicate: ObjectPredicate<Object3D>): Object3D<import("three").Object3DEventMap>[];
4
4
  export declare function findFirstVisibleObject(scene: Object3D, predicate: ObjectPredicate<Object3D>): Object3D;
5
5
  /**
6
6
  * Only continue traverse through children if it has not yet matched.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hology/core",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -83,18 +83,18 @@
83
83
  "author": "",
84
84
  "license": "SEE LICENSE IN LICENSE.md",
85
85
  "dependencies": {
86
- "@dimforge/rapier3d-compat": "^0.11.2",
86
+ "@dimforge/rapier3d-compat": "^0.13.1",
87
87
  "@plumier/reflect": "^1.1.0",
88
88
  "@types/three-nebula": "^10.0.3",
89
89
  "recast-navigation": "^0.30.0",
90
90
  "rxjs": "7.8.1",
91
91
  "stats.js": "^0.17.0",
92
- "three": "^0.139.0",
93
- "three-csm": "^3.2.0",
94
- "three-mesh-bvh": "^0.4.0",
92
+ "three": "^0.166.0",
93
+ "three-csm": "^4.2.1",
94
+ "three-mesh-bvh": "^0.7.5",
95
95
  "three-nebula": "^10.0.3",
96
96
  "three-shader-graph": "^0.1.24",
97
- "three-stdlib": "2.17.3",
97
+ "three-stdlib": "2.30.3",
98
98
  "ts-key-enum": "^2.0.12",
99
99
  "typedi": "^0.10.0"
100
100
  },
@@ -102,14 +102,14 @@
102
102
  "@babel/runtime": "^7.16.7",
103
103
  "@types/node": "^20.3.1",
104
104
  "@types/offscreencanvas": "^2019.7.0",
105
- "@types/three": "0.139.0",
105
+ "@types/three": "0.166.0",
106
106
  "foreach-cli": "^1.8.1",
107
107
  "jsdom": "^22.1.0",
108
108
  "mkdirp": "^3.0.1",
109
109
  "reflect-metadata": "^0.1.13",
110
110
  "rimraf": "^4.1.1",
111
111
  "terser": "^5.25.0",
112
- "typescript": "~5.4.4",
112
+ "typescript": "~5.4.5",
113
113
  "vitest": "^1.0.0"
114
114
  }
115
115
  }