next-flow-interface 0.26.7 → 0.26.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.
Files changed (2) hide show
  1. package/index.d.ts +17 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -5055,11 +5055,27 @@ export declare class RsNodeService {
5055
5055
  *
5056
5056
  * 从 RvSceneService 中获取所有来自该 mid 的 RvSceneNode,
5057
5057
  * 并将 root 及其内部的所有节点与 RvSceneNode 对应上,调用 addNodePair 完成加载。
5058
+ * 支持复制节点:带有 source.copy 的节点会从源节点 clone。
5058
5059
  *
5059
5060
  * @param mid - 模型的 mid
5060
5061
  * @param root - 该模型的根节点
5061
5062
  */
5062
5063
  analyzeSceneNode(mid: string, root: Node_2): void;
5064
+ /**
5065
+ * 匹配原始节点(非复制节点)
5066
+ *
5067
+ * @param rvSceneNodes - 原始 RvSceneNode 列表
5068
+ * @param root - Babylon.js 根节点
5069
+ */
5070
+ private matchOriginalNodes;
5071
+ /**
5072
+ * 处理复制节点
5073
+ *
5074
+ * 按依赖顺序处理复制节点,确保源节点已存在后再 clone。
5075
+ *
5076
+ * @param copyNodes - 带有 source.copy 的 RvSceneNode 列表
5077
+ */
5078
+ private processCopyNodes;
5063
5079
  /**
5064
5080
  * 根据模型ID获取文件ID (fid)
5065
5081
  *
@@ -6308,6 +6324,7 @@ export declare class RvSceneService {
6308
6324
  isParent(nid: string, of: string): boolean;
6309
6325
  isChild(nid: string, of: string): boolean;
6310
6326
  move(nid: string, newParent?: string): void;
6327
+ copy(nid: string, parent?: string): string;
6311
6328
  getSortedRvSceneNodeWithRelatedInfoList(): SceneNodeWithRelatedInfo[];
6312
6329
  }
6313
6330
 
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "valtio": "2.1.7",
37
37
  "rhine-var": "0.11.2"
38
38
  },
39
- "version": "0.26.7",
39
+ "version": "0.26.9",
40
40
  "author": "NextFlow",
41
41
  "license": "Apache-2.0",
42
42
  "keywords": [