next-flow-interface 0.17.24 → 0.17.26
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/dist/index.d.ts +47 -55
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -742,25 +742,60 @@ interface CameraLocationAnimationApi {
|
|
|
742
742
|
makeCameraAnimationsEase(data: RvCameraLocation, duration?: number): Animation[];
|
|
743
743
|
}
|
|
744
744
|
|
|
745
|
+
interface RvCamera {
|
|
746
|
+
enable: boolean;
|
|
747
|
+
location: RvCameraLocation;
|
|
748
|
+
config: {
|
|
749
|
+
easy: boolean;
|
|
750
|
+
distanceMin: number;
|
|
751
|
+
distanceMax: number;
|
|
752
|
+
fov: number;
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
interface RvEnvironment {
|
|
757
|
+
skybox: {
|
|
758
|
+
background: string;
|
|
759
|
+
};
|
|
760
|
+
light: {
|
|
761
|
+
intensity: number;
|
|
762
|
+
diffuseColor: string;
|
|
763
|
+
specularColor: string;
|
|
764
|
+
};
|
|
765
|
+
ground: {
|
|
766
|
+
opacityRate: number;
|
|
767
|
+
baseColor: string;
|
|
768
|
+
enableOnViewerMode: boolean;
|
|
769
|
+
enableOnEditorMode: boolean;
|
|
770
|
+
};
|
|
771
|
+
shadow: {
|
|
772
|
+
enable: boolean;
|
|
773
|
+
darkness: number;
|
|
774
|
+
blurOffset: number;
|
|
775
|
+
blurScale: number;
|
|
776
|
+
onlyOnGround: boolean;
|
|
777
|
+
normalBias: number;
|
|
778
|
+
};
|
|
779
|
+
camera: RvCamera;
|
|
780
|
+
fog: {
|
|
781
|
+
enable: boolean;
|
|
782
|
+
density: number;
|
|
783
|
+
color: string;
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
|
|
745
787
|
interface FogAnimationApi {
|
|
746
|
-
play(data:
|
|
747
|
-
enable?: boolean;
|
|
748
|
-
density?: number;
|
|
749
|
-
color?: string;
|
|
750
|
-
}, duration?: number, quickMode?: boolean): void;
|
|
788
|
+
play(data: RvEnvironment['fog'], duration?: number, quickMode?: boolean): void;
|
|
751
789
|
enableAndDensity(enable: boolean, value: number, duration?: number, quickMode?: boolean): void;
|
|
752
790
|
color(color: Color3 | string, duration?: number, quickMode?: boolean): void;
|
|
753
791
|
}
|
|
754
792
|
|
|
755
793
|
interface GroundAnimationApi {
|
|
756
|
-
play(data:
|
|
757
|
-
opacityRate?: number;
|
|
758
|
-
diffuseColor?: string;
|
|
759
|
-
emissiveColor?: string;
|
|
760
|
-
}, duration?: number, quickMode?: boolean): void;
|
|
794
|
+
play(data: RvEnvironment['ground'], duration?: number, quickMode?: boolean): void;
|
|
761
795
|
opacityRate(value: number, duration?: number, quickMode?: boolean): void;
|
|
762
|
-
|
|
763
|
-
|
|
796
|
+
baseColor(color: Color3 | string, duration?: number, quickMode?: boolean): void;
|
|
797
|
+
enableOnViewerMode(value: boolean, duration: number, quickMode: boolean): void;
|
|
798
|
+
enableOnEditorMode(value: boolean, duration: number, quickMode: boolean): void;
|
|
764
799
|
}
|
|
765
800
|
|
|
766
801
|
interface LightAnimationApi {
|
|
@@ -859,49 +894,6 @@ interface RvConfiguration {
|
|
|
859
894
|
secondAudio: RvAudio;
|
|
860
895
|
}
|
|
861
896
|
|
|
862
|
-
interface RvCamera {
|
|
863
|
-
enable: boolean;
|
|
864
|
-
location: RvCameraLocation;
|
|
865
|
-
config: {
|
|
866
|
-
easy: boolean;
|
|
867
|
-
distanceMin: number;
|
|
868
|
-
distanceMax: number;
|
|
869
|
-
fov: number;
|
|
870
|
-
};
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
interface RvEnvironment {
|
|
874
|
-
skybox: {
|
|
875
|
-
background: string;
|
|
876
|
-
};
|
|
877
|
-
light: {
|
|
878
|
-
intensity: number;
|
|
879
|
-
diffuseColor: string;
|
|
880
|
-
specularColor: string;
|
|
881
|
-
};
|
|
882
|
-
ground: {
|
|
883
|
-
opacityRate: number;
|
|
884
|
-
diffuseColor: string;
|
|
885
|
-
emissiveColor: string;
|
|
886
|
-
enableOnViewerMode: boolean;
|
|
887
|
-
enableOnEditorMode: boolean;
|
|
888
|
-
};
|
|
889
|
-
shadow: {
|
|
890
|
-
enable: boolean;
|
|
891
|
-
darkness: number;
|
|
892
|
-
blurOffset: number;
|
|
893
|
-
blurScale: number;
|
|
894
|
-
onlyOnGround: boolean;
|
|
895
|
-
normalBias: number;
|
|
896
|
-
};
|
|
897
|
-
camera: RvCamera;
|
|
898
|
-
fog: {
|
|
899
|
-
enable: boolean;
|
|
900
|
-
density: number;
|
|
901
|
-
color: string;
|
|
902
|
-
};
|
|
903
|
-
}
|
|
904
|
-
|
|
905
897
|
interface RvStep {
|
|
906
898
|
name: string;
|
|
907
899
|
sid: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-flow-interface",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.26",
|
|
4
4
|
"description": "Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"LICENSE"
|
|
41
41
|
],
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@babylonjs/core": "8.26.
|
|
43
|
+
"@babylonjs/core": "8.26.2",
|
|
44
44
|
"@eslint/compat": "^1.3.2",
|
|
45
45
|
"@eslint/css": "^0.10.0",
|
|
46
46
|
"@eslint/js": "^9.33.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"valtio": "2.1.7"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@babylonjs/core": "8.26.
|
|
78
|
+
"@babylonjs/core": "8.26.2",
|
|
79
79
|
"antd": "5.24.1",
|
|
80
80
|
"brotli-wasm": "^3.0.1",
|
|
81
81
|
"clsx": "2.1.1",
|