@babylonjs/node-particle-editor 9.5.1 → 9.6.0

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.
@@ -2090,8 +2090,9 @@ export class GraphNode {
2090
2090
  * Shows a validation badge on the node header.
2091
2091
  * @param severity - "error" | "warning" | null. Pass null to hide the badge.
2092
2092
  * @param tooltip - tooltip text shown on hover.
2093
+ * @param onClick - optional callback invoked when the badge is clicked.
2093
2094
  */
2094
- setValidationState(severity: "error" | "warning" | null, tooltip?: string): void;
2095
+ setValidationState(severity: "error" | "warning" | null, tooltip?: string, onClick?: () => void): void;
2095
2096
  /**
2096
2097
  * Shows or hides a breakpoint indicator on the node.
2097
2098
  * @param active - true to show the red breakpoint dot, false to hide.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-particle-editor",
3
- "version": "9.5.1",
3
+ "version": "9.6.0",
4
4
  "main": "dist/babylon.nodeParticleEditor.js",
5
5
  "module": "dist/babylon.nodeParticleEditor.js",
6
6
  "esnext": "dist/babylon.nodeParticleEditor.js",