@hology/core 0.0.44 → 0.0.46
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/csm.d.ts +8 -2
- package/dist/csm.js +1 -1
- package/dist/effects/vfx/behaviours.d.ts +28 -0
- package/dist/effects/vfx/behaviours.js +1 -1
- package/dist/effects/vfx/initializsers.d.ts +16 -0
- package/dist/effects/vfx/initializsers.js +1 -1
- package/dist/effects/vfx/rates.d.ts +7 -2
- package/dist/effects/vfx/rates.js +1 -1
- package/dist/effects/vfx/vfx-actor.js +1 -1
- package/dist/effects/vfx/vfx-asset.d.ts +7 -5
- package/dist/effects/vfx/vfx-asset.js +1 -1
- package/dist/effects/vfx/vfx-defs.d.ts +28 -2
- package/dist/effects/vfx/vfx-defs.js +1 -1
- package/dist/effects/vfx/vfx-materializer.d.ts +2 -2
- package/dist/effects/vfx/vfx-materializer.js +1 -1
- package/dist/effects/vfx/vfx-param.d.ts +31 -1
- package/dist/effects/vfx/vfx-param.js +1 -1
- package/dist/effects/vfx/vfx-renderers.d.ts +36 -0
- package/dist/effects/vfx/vfx-renderers.js +5 -0
- package/dist/gameplay/actors/builtin/components/character/character-animation.js +1 -1
- package/dist/gameplay/actors/builtin/components/character/character-movement.d.ts +3 -0
- package/dist/gameplay/actors/builtin/components/character/character-movement.js +1 -1
- package/dist/gameplay/services/physics/physics-system.js +1 -1
- package/dist/rendering.d.ts +1 -1
- package/dist/rendering.js +1 -1
- package/dist/scene/asset-resource-loader.js +1 -1
- package/dist/scene/landscape/landscape-manager.js +1 -1
- package/dist/scene/landscape/landscape.js +1 -1
- package/dist/scene/materializer.d.ts +3 -2
- package/dist/scene/materializer.js +1 -1
- package/dist/scene/objects/ramp-geometry.d.ts +1 -1
- package/dist/scene/objects/shapes.d.ts +3 -3
- package/dist/scene/objects/stairs-geometry.d.ts +2 -2
- package/dist/scene/scene-data-service.js +1 -1
- package/dist/scene/sky.d.ts +1 -1
- package/dist/scene/sky.js +1 -1
- package/dist/shader-nodes/particle.d.ts +1 -0
- package/dist/shader-nodes/particle.js +1 -1
- package/dist/utils/materials.d.ts +2 -1
- package/dist/utils/three/outline-pass.d.ts +8 -8
- package/dist/utils/three/positional-audio-helper.d.ts +2 -1
- package/dist/utils/three/transform-controls.d.ts +5 -3
- package/dist/utils/three/traverse.d.ts +1 -1
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +1 -1
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
import * as THREE from 'three';
|
2
|
+
export declare function iterateMaterials(material: THREE.Material | THREE.Material[]): Generator<THREE.Material, void, unknown>;
|
@@ -14,20 +14,20 @@ export class OutlinePass extends Pass {
|
|
14
14
|
_visibilityCache: Map<any, any>;
|
15
15
|
resolution: Vector2;
|
16
16
|
maskBufferMaterial: MeshBasicMaterial;
|
17
|
-
renderTargetMaskBuffer: WebGLRenderTarget
|
17
|
+
renderTargetMaskBuffer: WebGLRenderTarget<import("three").Texture>;
|
18
18
|
depthMaterial: MeshDepthMaterial;
|
19
19
|
prepareMaskMaterial: ShaderMaterial;
|
20
|
-
renderTargetDepthBuffer: WebGLRenderTarget
|
21
|
-
renderTargetMaskDownSampleBuffer: WebGLRenderTarget
|
22
|
-
renderTargetBlurBuffer1: WebGLRenderTarget
|
23
|
-
renderTargetBlurBuffer2: WebGLRenderTarget
|
20
|
+
renderTargetDepthBuffer: WebGLRenderTarget<import("three").Texture>;
|
21
|
+
renderTargetMaskDownSampleBuffer: WebGLRenderTarget<import("three").Texture>;
|
22
|
+
renderTargetBlurBuffer1: WebGLRenderTarget<import("three").Texture>;
|
23
|
+
renderTargetBlurBuffer2: WebGLRenderTarget<import("three").Texture>;
|
24
24
|
edgeDetectionMaterial: ShaderMaterial;
|
25
|
-
renderTargetEdgeBuffer1: WebGLRenderTarget
|
26
|
-
renderTargetEdgeBuffer2: WebGLRenderTarget
|
25
|
+
renderTargetEdgeBuffer1: WebGLRenderTarget<import("three").Texture>;
|
26
|
+
renderTargetEdgeBuffer2: WebGLRenderTarget<import("three").Texture>;
|
27
27
|
separableBlurMaterial1: ShaderMaterial;
|
28
28
|
separableBlurMaterial2: ShaderMaterial;
|
29
29
|
overlayMaterial: ShaderMaterial;
|
30
|
-
copyUniforms:
|
30
|
+
copyUniforms: import("three-stdlib").CopyShaderUniforms;
|
31
31
|
materialCopy: ShaderMaterial;
|
32
32
|
_oldClearColor: Color;
|
33
33
|
oldClearAlpha: number;
|
@@ -1,5 +1,6 @@
|
|
1
|
-
export class PositionalAudioHelper extends Line<BufferGeometry
|
1
|
+
export class PositionalAudioHelper extends Line<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
|
2
2
|
constructor(audio: any, range?: number, divisionsInnerAngle?: number, divisionsOuterAngle?: number);
|
3
|
+
type: string;
|
3
4
|
audio: any;
|
4
5
|
range: number;
|
5
6
|
divisionsInnerAngle: number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export class TransformControls extends Object3D<import("three").
|
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").
|
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
|
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").
|
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.
|
3
|
+
"version": "0.0.46",
|
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.
|
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.
|
93
|
-
"three-csm": "^
|
94
|
-
"three-mesh-bvh": "^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.
|
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.
|
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.
|
112
|
+
"typescript": "~5.4.5",
|
113
113
|
"vitest": "^1.0.0"
|
114
114
|
}
|
115
115
|
}
|