next-flow-interface 0.15.8 → 0.15.9
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 +19 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ColorPickerProps, Color } from 'antd/es/color-picker';
|
|
|
3
3
|
import React$1, { ReactNode, MouseEventHandler, DetailedHTMLProps, HTMLAttributes, FunctionComponent, MouseEvent as MouseEvent$1, DragEvent as DragEvent$1, WheelEvent as WheelEvent$1, PointerEvent, KeyboardEvent, FocusEvent, UIEvent } from 'react';
|
|
4
4
|
import { DefaultOptionType } from 'antd/es/select';
|
|
5
5
|
import { RvPath, RhineVarMap, StoredRhineVar, RecursiveObject, RecursiveMap, RecursiveArray, RhineVarArray } from 'rhine-var';
|
|
6
|
-
import { Node, NodeMaterialBlockConnectionPointTypes, BaseTexture, PBRMaterial, NodeMaterial, Animation, Color3, Color4, Scene, Material, NodeMaterialBlock, ShadowGenerator, AnimationGroup as AnimationGroup$1, TransformNode, Vector3, ArcRotateCamera, Light, CubeTexture, AbstractMesh, Mesh,
|
|
6
|
+
import { Node, NodeMaterialBlockConnectionPointTypes, BaseTexture, PBRMaterial, NodeMaterial, Animation, Color3, Color4, Scene, Material, NodeMaterialBlock, ShadowGenerator, AnimationGroup as AnimationGroup$1, TransformNode, Vector3, ArcRotateCamera, Light, CubeTexture, AbstractMesh, Mesh, Texture, DynamicTexture, Engine, Quaternion } from '@babylonjs/core';
|
|
7
7
|
import { AnimationGroup } from '@babylonjs/core/Animations/animationGroup';
|
|
8
8
|
import { TransformNode as TransformNode$1 } from '@babylonjs/core/Meshes/transformNode';
|
|
9
9
|
import { AnyWebByteStream } from 'strtok3';
|
|
@@ -1120,7 +1120,23 @@ interface RsMaterialServiceApi {
|
|
|
1120
1120
|
|
|
1121
1121
|
interface RsSeparateServiceApi {
|
|
1122
1122
|
get(nid: string, node?: Node): Promise<Material | null>;
|
|
1123
|
-
|
|
1123
|
+
getWithEnsureType(nid: string, rvMaterial: RvMaterial, node?: Node): Promise<Material | null>;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
interface TextureInfo {
|
|
1127
|
+
fid: string;
|
|
1128
|
+
localUrl: string;
|
|
1129
|
+
texture: Texture;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
interface RsTextureServiceApi {
|
|
1133
|
+
get(fid: string): TextureInfo | null;
|
|
1134
|
+
getWhiteTexture(): DynamicTexture;
|
|
1135
|
+
getBlackTexture(): DynamicTexture;
|
|
1136
|
+
add(fid: string): Promise<TextureInfo | null>;
|
|
1137
|
+
getTexture(fid: string, without: number): Promise<Texture | null>;
|
|
1138
|
+
pushTexture(fid: string, texture: Texture, url: string): TextureInfo;
|
|
1139
|
+
remove(fid: string): void;
|
|
1124
1140
|
}
|
|
1125
1141
|
|
|
1126
1142
|
declare enum RsModelStatus {
|
|
@@ -2515,6 +2531,7 @@ interface NfpApi {
|
|
|
2515
2531
|
rsModelService: RsModelServiceApi;
|
|
2516
2532
|
rsEnvironment: RsEnvironmentApi;
|
|
2517
2533
|
rsEnvironmentService: RsEnvironmentServiceApi;
|
|
2534
|
+
rsTextureService: RsTextureServiceApi;
|
|
2518
2535
|
rsTransformGround: RsTransformGroundApi;
|
|
2519
2536
|
rsClick: RsClickApi;
|
|
2520
2537
|
rsLabelService: RsLabelServiceApi;
|
|
@@ -2600,22 +2617,6 @@ interface NfpApi {
|
|
|
2600
2617
|
|
|
2601
2618
|
type NodeMaterialChangeListener = (nid: string, fid: string, material: NodeMaterial) => void;
|
|
2602
2619
|
|
|
2603
|
-
interface TextureInfo {
|
|
2604
|
-
fid: string;
|
|
2605
|
-
localUrl: string;
|
|
2606
|
-
texture: Texture;
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
|
-
interface RsTextureServiceApi {
|
|
2610
|
-
get(fid: string): TextureInfo | null;
|
|
2611
|
-
getWhiteTexture(): DynamicTexture;
|
|
2612
|
-
getBlackTexture(): DynamicTexture;
|
|
2613
|
-
add(fid: string): Promise<TextureInfo | null>;
|
|
2614
|
-
getTexture(fid: string, without: number): Promise<Texture | null>;
|
|
2615
|
-
pushTexture(fid: string, texture: Texture, url: string): TextureInfo;
|
|
2616
|
-
remove(fid: string): void;
|
|
2617
|
-
}
|
|
2618
|
-
|
|
2619
2620
|
interface ContextMenuServiceApi {
|
|
2620
2621
|
/**
|
|
2621
2622
|
* 当前所有右键菜单
|
package/package.json
CHANGED