angular-three-soba 1.12.2 → 1.12.4
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/esm2020/abstractions/lib/billboard/billboard.mjs +3 -3
- package/esm2020/abstractions/lib/catmull-rom-line/catmull-rom-line.mjs +3 -3
- package/esm2020/abstractions/lib/cubic-bezier-line/cubic-bezier-line.mjs +3 -3
- package/esm2020/abstractions/lib/edges/edges.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-helper.mjs +6 -6
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-edge.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-face.mjs +6 -6
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube-inputs.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewcube/gizmo-viewcube.mjs +3 -3
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport-axis.mjs +6 -6
- package/esm2020/abstractions/lib/gizmo-helper/gizmo-viewport/gizmo-viewport.mjs +3 -3
- package/esm2020/abstractions/lib/line/line-input.mjs +3 -3
- package/esm2020/abstractions/lib/line/line.mjs +3 -3
- package/esm2020/abstractions/lib/quadratic-bezier-line/quadratic-bezier-line.mjs +3 -3
- package/esm2020/abstractions/lib/text/text.mjs +3 -3
- package/esm2020/abstractions/lib/text-3d/text-3d.mjs +3 -3
- package/esm2020/cameras/lib/camera/camera-content.mjs +3 -3
- package/esm2020/cameras/lib/camera/camera.mjs +3 -3
- package/esm2020/cameras/lib/cube-camera/cube-camera.mjs +3 -3
- package/esm2020/cameras/lib/orthographic-camera/orthographic-camera.mjs +3 -3
- package/esm2020/cameras/lib/perspective-camera/perspective-camera.mjs +3 -3
- package/esm2020/controls/lib/orbit-controls/orbit-controls.mjs +3 -3
- package/esm2020/loaders/lib/loader/loader.mjs +3 -3
- package/esm2020/materials/lib/mesh-distort-material/mesh-distort-material.mjs +3 -3
- package/esm2020/materials/lib/mesh-reflector-material/mesh-reflector-material.mjs +3 -3
- package/esm2020/materials/lib/mesh-refraction-material/mesh-refraction-material.mjs +3 -3
- package/esm2020/materials/lib/mesh-transmission-material/mesh-transmission-material.mjs +3 -3
- package/esm2020/materials/lib/mesh-wobble-material/mesh-wobble-material.mjs +3 -3
- package/esm2020/misc/lib/animations/animations.mjs +21 -13
- package/esm2020/misc/lib/bake-shadows/bake-shadows.mjs +3 -3
- package/esm2020/performance/lib/adaptive/adaptive-dpr.mjs +3 -3
- package/esm2020/performance/lib/adaptive/adaptive-events.mjs +3 -3
- package/esm2020/performance/lib/detailed/detailed.mjs +3 -3
- package/esm2020/performance/lib/stats/stats.mjs +3 -3
- package/esm2020/shaders/index.mjs +2 -1
- package/esm2020/shaders/lib/star-field-material/star-field-material.mjs +32 -0
- package/esm2020/staging/lib/accumulative-shadows/accumulative-shadows.mjs +6 -6
- package/esm2020/staging/lib/accumulative-shadows/randomized-lights.mjs +6 -6
- package/esm2020/staging/lib/bounds/bounds.mjs +3 -3
- package/esm2020/staging/lib/camera-shake/camera-shake.mjs +3 -3
- package/esm2020/staging/lib/caustics/caustics.mjs +4 -4
- package/esm2020/staging/lib/center/center.mjs +3 -3
- package/esm2020/staging/lib/cloud/cloud.mjs +3 -3
- package/esm2020/staging/lib/contact-shadows/contact-shadows.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-cube.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-ground.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-inputs.mjs +5 -5
- package/esm2020/staging/lib/environment/environment-map.mjs +3 -3
- package/esm2020/staging/lib/environment/environment-portal.mjs +3 -3
- package/esm2020/staging/lib/environment/environment.mjs +6 -6
- package/esm2020/staging/lib/float/float.mjs +3 -3
- package/esm2020/staging/lib/sky/sky.mjs +3 -3
- package/esm2020/staging/lib/sparkles/sparkles.mjs +3 -3
- package/esm2020/staging/lib/spot-light/shadow-mesh-input.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-input.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-shadow-no-shader.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-shadow-shader.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light-shadow.mjs +3 -3
- package/esm2020/staging/lib/spot-light/spot-light.mjs +3 -3
- package/esm2020/staging/lib/spot-light/volumetric-mesh.mjs +3 -3
- package/esm2020/staging/lib/stage/stage.mjs +6 -6
- package/esm2020/staging/lib/stars/stars.mjs +8 -40
- package/fesm2015/angular-three-soba-abstractions.mjs +57 -57
- package/fesm2015/angular-three-soba-cameras.mjs +15 -15
- package/fesm2015/angular-three-soba-controls.mjs +3 -3
- package/fesm2015/angular-three-soba-loaders.mjs +3 -3
- package/fesm2015/angular-three-soba-materials.mjs +15 -15
- package/fesm2015/angular-three-soba-misc.mjs +23 -15
- package/fesm2015/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2015/angular-three-soba-performance.mjs +12 -12
- package/fesm2015/angular-three-soba-shaders.mjs +32 -1
- package/fesm2015/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2015/angular-three-soba-staging.mjs +93 -126
- package/fesm2015/angular-three-soba-staging.mjs.map +1 -1
- package/fesm2020/angular-three-soba-abstractions.mjs +57 -57
- package/fesm2020/angular-three-soba-cameras.mjs +15 -15
- package/fesm2020/angular-three-soba-controls.mjs +3 -3
- package/fesm2020/angular-three-soba-loaders.mjs +3 -3
- package/fesm2020/angular-three-soba-materials.mjs +15 -15
- package/fesm2020/angular-three-soba-misc.mjs +23 -15
- package/fesm2020/angular-three-soba-misc.mjs.map +1 -1
- package/fesm2020/angular-three-soba-performance.mjs +12 -12
- package/fesm2020/angular-three-soba-shaders.mjs +32 -1
- package/fesm2020/angular-three-soba-shaders.mjs.map +1 -1
- package/fesm2020/angular-three-soba-staging.mjs +93 -126
- package/fesm2020/angular-three-soba-staging.mjs.map +1 -1
- package/misc/lib/animations/animations.d.ts +2 -2
- package/package.json +5 -4
- package/plugin/package.json +2 -2
- package/shaders/index.d.ts +1 -0
- package/shaders/lib/mesh-distort-material/mesh-distort-material.d.ts +2 -2
- package/shaders/lib/star-field-material/star-field-material.d.ts +3 -0
- package/staging/lib/caustics/caustics.d.ts +3 -3
- package/staging/lib/spot-light/spot-light-shadow-no-shader.d.ts +1 -1
- package/staging/lib/spot-light/spot-light-shadow-shader.d.ts +2 -2
- package/staging/lib/stars/stars.d.ts +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NgtInjectedRef } from 'angular-three';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as THREE from 'three';
|
|
4
|
-
import {
|
|
4
|
+
import { AnimationClip } from 'three';
|
|
5
5
|
type Api = {
|
|
6
6
|
ref: NgtInjectedRef<THREE.Object3D>;
|
|
7
7
|
clips: THREE.AnimationClip[];
|
|
@@ -9,5 +9,5 @@ type Api = {
|
|
|
9
9
|
names: string[];
|
|
10
10
|
actions: Record<string, THREE.AnimationAction>;
|
|
11
11
|
};
|
|
12
|
-
export declare function injectNgtsAnimations(
|
|
12
|
+
export declare function injectNgtsAnimations(animations$: Observable<AnimationClip[]>, ref?: NgtInjectedRef<THREE.Object3D> | THREE.Object3D): Api;
|
|
13
13
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-three-soba",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -111,13 +111,14 @@
|
|
|
111
111
|
"@angular/core": "^15.1.0",
|
|
112
112
|
"angular-three": "^1.0.0",
|
|
113
113
|
"stats.js": "^0.17.0",
|
|
114
|
-
"three": "^0.148.0 || ^0.149.0 || ^0.150.0",
|
|
114
|
+
"three": "^0.148.0 || ^0.149.0 || ^0.150.0 || ^0.151.0",
|
|
115
115
|
"three-mesh-bvh": "^0.5.0",
|
|
116
116
|
"three-stdlib": "^2.0.0",
|
|
117
117
|
"troika-three-text": "^0.47.0",
|
|
118
|
-
"rxjs": "~7.8.0",
|
|
119
118
|
"@storybook/addons": "6.5.16",
|
|
120
|
-
"@storybook/theming": "6.5.16"
|
|
119
|
+
"@storybook/theming": "6.5.16",
|
|
120
|
+
"rxjs": "7.8.0",
|
|
121
|
+
"@rx-angular/state": "2.0.0"
|
|
121
122
|
},
|
|
122
123
|
"dependencies": {
|
|
123
124
|
"@nrwl/devkit": "^15.0.0",
|
package/plugin/package.json
CHANGED
package/shaders/index.d.ts
CHANGED
|
@@ -11,3 +11,4 @@ export * from './lib/mesh-wobble-material/mesh-wobble-material';
|
|
|
11
11
|
export * from './lib/shader-material/shader-material';
|
|
12
12
|
export * from './lib/soft-shadow-material/soft-shadow-material';
|
|
13
13
|
export * from './lib/spot-light-material/spot-light-material';
|
|
14
|
+
export * from './lib/star-field-material/star-field-material';
|
|
@@ -56,7 +56,7 @@ export declare function provideNgtsMeshDistortMaterialShader(distortShader: stri
|
|
|
56
56
|
iridescenceMap: THREE.Texture | null;
|
|
57
57
|
iridescenceIOR: number;
|
|
58
58
|
iridescence: number;
|
|
59
|
-
iridescenceThicknessRange: number
|
|
59
|
+
iridescenceThicknessRange: [number, number];
|
|
60
60
|
iridescenceThicknessMap: THREE.Texture | null;
|
|
61
61
|
color: THREE.Color;
|
|
62
62
|
roughness: number;
|
|
@@ -97,7 +97,7 @@ export declare function provideNgtsMeshDistortMaterialShader(distortShader: stri
|
|
|
97
97
|
blendEquation: THREE.BlendingEquation;
|
|
98
98
|
blendEquationAlpha: number | null;
|
|
99
99
|
blending: THREE.Blending;
|
|
100
|
-
blendSrc:
|
|
100
|
+
blendSrc: 210 | THREE.BlendingDstFactor;
|
|
101
101
|
blendSrcAlpha: number | null;
|
|
102
102
|
clipIntersection: boolean;
|
|
103
103
|
clippingPlanes: any;
|
|
@@ -3,9 +3,9 @@ import { NgtRxStore } from 'angular-three';
|
|
|
3
3
|
import * as THREE from 'three';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class NgtsCaustics extends NgtRxStore implements OnInit {
|
|
6
|
-
readonly CustomBlending:
|
|
7
|
-
readonly OneFactor:
|
|
8
|
-
readonly SrcAlphaFactor:
|
|
6
|
+
readonly CustomBlending: 5;
|
|
7
|
+
readonly OneFactor: 201;
|
|
8
|
+
readonly SrcAlphaFactor: 204;
|
|
9
9
|
readonly Math: Math;
|
|
10
10
|
readonly planeRef: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]>>;
|
|
11
11
|
readonly sceneRef: import("angular-three").NgtInjectedRef<THREE.Scene>;
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class NgtsSpotLightShadowNoShader extends NgtsSpotLightShadowMeshInput implements OnInit {
|
|
6
6
|
readonly mesh: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]>>;
|
|
7
7
|
readonly spotLightApi: import("./spot-light").NgtsSpotLightAPI;
|
|
8
|
-
readonly DoubleSide:
|
|
8
|
+
readonly DoubleSide: 2;
|
|
9
9
|
readonly runInContext: <TReturn>(cb: () => TReturn) => TReturn;
|
|
10
10
|
initialize(): void;
|
|
11
11
|
ngOnInit(): void;
|
|
@@ -5,8 +5,8 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class NgtsSpotLightShadowShader extends NgtsSpotLightShadowMeshInput implements OnInit {
|
|
6
6
|
readonly mesh: import("angular-three").NgtInjectedRef<THREE.Mesh<THREE.BufferGeometry, THREE.Material | THREE.Material[]>>;
|
|
7
7
|
readonly spotLightApi: import("./spot-light").NgtsSpotLightAPI;
|
|
8
|
-
readonly DoubleSide:
|
|
9
|
-
readonly RepeatWrapping:
|
|
8
|
+
readonly DoubleSide: 2;
|
|
9
|
+
readonly RepeatWrapping: 1000;
|
|
10
10
|
readonly runInContext: <TReturn>(cb: () => TReturn) => TReturn;
|
|
11
11
|
readonly texture$: import("rxjs").Observable<any>;
|
|
12
12
|
initialize(): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NgtRenderState, NgtRxStore } from 'angular-three';
|
|
2
|
-
import
|
|
2
|
+
import * as THREE from 'three';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NgtsStars extends NgtRxStore {
|
|
5
|
-
readonly AdditiveBlending:
|
|
6
|
-
readonly material:
|
|
7
|
-
starsRef: import("angular-three").NgtInjectedRef<Points<BufferGeometry,
|
|
5
|
+
readonly AdditiveBlending: 2;
|
|
6
|
+
readonly material: THREE.ShaderMaterial;
|
|
7
|
+
starsRef: import("angular-three").NgtInjectedRef<THREE.Points<THREE.BufferGeometry, THREE.Material | THREE.Material[]>>;
|
|
8
8
|
set radius(radius: number);
|
|
9
9
|
set depth(depth: number);
|
|
10
10
|
set count(count: number);
|