@babylonjs/node-render-graph-editor 8.55.2 → 8.55.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.
@@ -4032,7 +4032,7 @@ export type EntitySelectorProps<T extends Entity> = (PrimitiveProps<Nullable<T>>
4032
4032
  /**
4033
4033
  * Optional default value that enables clearing the current linked entity
4034
4034
  */
4035
- defaultValue?: T;
4035
+ defaultValue?: Nullable<T>;
4036
4036
  };
4037
4037
  /**
4038
4038
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -4305,6 +4305,31 @@ type CollapseProps = {
4305
4305
  export const Collapse: FunctionComponent<PropsWithChildren<CollapseProps>>;
4306
4306
  export {};
4307
4307
 
4308
+ }
4309
+ declare module "@babylonjs/node-render-graph-editor/fluent/primitives/clusteredLightContainerSelector" {
4310
+ import { FunctionComponent } from "react";
4311
+ import { Scene } from "@babylonjs/core/scene";
4312
+ import { Nullable } from "@babylonjs/core/types";
4313
+ import { PrimitiveProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/primitive";
4314
+ import { EntitySelectorProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/entitySelector";
4315
+ import { ClusteredLightContainer } from "@babylonjs/core/Lights/Clustered/clusteredLightContainer";
4316
+ export type ClusteredLightContainerSelectorProps = PrimitiveProps<Nullable<ClusteredLightContainer>> & {
4317
+ /**
4318
+ * The scene to get clustered light containers from
4319
+ */
4320
+ scene: Scene;
4321
+ /**
4322
+ * Optional filter function to filter which clustered light containers are shown
4323
+ */
4324
+ filter?: (container: ClusteredLightContainer) => boolean;
4325
+ } & Omit<EntitySelectorProps<ClusteredLightContainer>, "getEntities" | "getName">;
4326
+ /**
4327
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
4328
+ * @param props ClusteredLightContainerSelectorProps
4329
+ * @returns ClusteredLightContainerSelector component
4330
+ */
4331
+ export const ClusteredLightContainerSelector: FunctionComponent<ClusteredLightContainerSelectorProps>;
4332
+
4308
4333
  }
4309
4334
  declare module "@babylonjs/node-render-graph-editor/fluent/primitives/checkbox" {
4310
4335
  import { FunctionComponent } from "react";
@@ -5039,24 +5064,28 @@ export const HexPropertyLine: FunctionComponent<HexPropertyLineProps>;
5039
5064
 
5040
5065
  }
5041
5066
  declare module "@babylonjs/node-render-graph-editor/fluent/hoc/propertyLines/entitySelectorPropertyLine" {
5067
+ import { Skeleton } from "@babylonjs/core/Bones/skeleton";
5068
+ import { ClusteredLightContainer } from "@babylonjs/core/Lights/Clustered/clusteredLightContainer";
5069
+ import { Material } from "@babylonjs/core/Materials/material";
5070
+ import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
5042
5071
  import { Node } from "@babylonjs/core/node";
5043
5072
  import { Nullable } from "@babylonjs/core/types";
5044
- import { PropertyLineProps } from "@babylonjs/node-render-graph-editor/fluent/hoc/propertyLines/propertyLine";
5045
- import { NodeSelectorProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/nodeSelector";
5073
+ import { ClusteredLightContainerSelectorProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/clusteredLightContainerSelector";
5046
5074
  import { MaterialSelectorProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/materialSelector";
5047
- import { TextureSelectorProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/textureSelector";
5075
+ import { NodeSelectorProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/nodeSelector";
5048
5076
  import { SkeletonSelectorProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/skeletonSelector";
5049
- import { Material } from "@babylonjs/core/Materials/material";
5050
- import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
5051
- import { Skeleton } from "@babylonjs/core/Bones/skeleton";
5077
+ import { TextureSelectorProps } from "@babylonjs/node-render-graph-editor/fluent/primitives/textureSelector";
5078
+ import { PropertyLineProps } from "@babylonjs/node-render-graph-editor/fluent/hoc/propertyLines/propertyLine";
5052
5079
  type NodeSelectorPropertyLineProps = PropertyLineProps<Nullable<Node>> & NodeSelectorProps;
5053
5080
  type MaterialSelectorPropertyLineProps = PropertyLineProps<Nullable<Material>> & MaterialSelectorProps;
5054
5081
  type TextureSelectorPropertyLineProps = PropertyLineProps<Nullable<BaseTexture>> & TextureSelectorProps;
5055
5082
  type SkeletonSelectorPropertyLineProps = PropertyLineProps<Nullable<Skeleton>> & SkeletonSelectorProps;
5083
+ type ClusteredLightContainerSelectorPropertyLineProps = PropertyLineProps<Nullable<ClusteredLightContainer>> & ClusteredLightContainerSelectorProps;
5056
5084
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5057
5085
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5058
5086
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5059
5087
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5088
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5060
5089
  export {};
5061
5090
 
5062
5091
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-render-graph-editor",
3
- "version": "8.55.2",
3
+ "version": "8.55.4",
4
4
  "main": "dist/babylon.nodeRenderGraphEditor.js",
5
5
  "module": "dist/babylon.nodeRenderGraphEditor.js",
6
6
  "esnext": "dist/babylon.nodeRenderGraphEditor.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "8.55.2",
26
+ "@babylonjs/core": "8.55.4",
27
27
  "@tools/node-render-graph-editor": "1.0.0",
28
28
  "react": "^18.2.0",
29
29
  "react-dom": "^18.2.0"