babylonjs-node-geometry-editor 8.55.3 → 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.
@@ -4093,7 +4093,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
4093
4093
  /**
4094
4094
  * Optional default value that enables clearing the current linked entity
4095
4095
  */
4096
- defaultValue?: T;
4096
+ defaultValue?: BABYLON.Nullable<T>;
4097
4097
  };
4098
4098
  /**
4099
4099
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -4389,6 +4389,31 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
4389
4389
 
4390
4390
 
4391
4391
 
4392
+ }
4393
+ declare module BABYLON.NodeGeometryEditor {
4394
+
4395
+
4396
+ }
4397
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
4398
+ export type ClusteredLightContainerSelectorProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PrimitiveProps<BABYLON.Nullable<BABYLON.ClusteredLightContainer>> & {
4399
+ /**
4400
+ * The scene to get clustered light containers from
4401
+ */
4402
+ scene: BABYLON.Scene;
4403
+ /**
4404
+ * Optional filter function to filter which clustered light containers are shown
4405
+ */
4406
+ filter?: (container: BABYLON.ClusteredLightContainer) => boolean;
4407
+ } & Omit<BABYLON.NodeGeometryEditor.SharedUIComponents.EntitySelectorProps<BABYLON.ClusteredLightContainer>, "getEntities" | "getName">;
4408
+ /**
4409
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
4410
+ * @param props ClusteredLightContainerSelectorProps
4411
+ * @returns ClusteredLightContainerSelector component
4412
+ */
4413
+ export var ClusteredLightContainerSelector: React.FunctionComponent<ClusteredLightContainerSelectorProps>;
4414
+
4415
+
4416
+
4392
4417
  }
4393
4418
  declare module BABYLON.NodeGeometryEditor {
4394
4419
 
@@ -5214,10 +5239,12 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
5214
5239
  type MaterialSelectorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.Material>> & BABYLON.NodeGeometryEditor.SharedUIComponents.MaterialSelectorProps;
5215
5240
  type TextureSelectorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.BaseTexture>> & BABYLON.NodeGeometryEditor.SharedUIComponents.TextureSelectorProps;
5216
5241
  type SkeletonSelectorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.Skeleton>> & BABYLON.NodeGeometryEditor.SharedUIComponents.SkeletonSelectorProps;
5242
+ type ClusteredLightContainerSelectorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.ClusteredLightContainer>> & BABYLON.NodeGeometryEditor.SharedUIComponents.ClusteredLightContainerSelectorProps;
5217
5243
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5218
5244
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5219
5245
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5220
5246
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5247
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5221
5248
 
5222
5249
 
5223
5250
 
@@ -4105,7 +4105,7 @@ export type EntitySelectorProps<T extends Entity> = (PrimitiveProps<Nullable<T>>
4105
4105
  /**
4106
4106
  * Optional default value that enables clearing the current linked entity
4107
4107
  */
4108
- defaultValue?: T;
4108
+ defaultValue?: Nullable<T>;
4109
4109
  };
4110
4110
  /**
4111
4111
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -4378,6 +4378,31 @@ type CollapseProps = {
4378
4378
  export const Collapse: FunctionComponent<PropsWithChildren<CollapseProps>>;
4379
4379
  export {};
4380
4380
 
4381
+ }
4382
+ declare module "babylonjs-node-geometry-editor/fluent/primitives/clusteredLightContainerSelector" {
4383
+ import { FunctionComponent } from "react";
4384
+ import { Scene } from "babylonjs/scene";
4385
+ import { Nullable } from "babylonjs/types";
4386
+ import { PrimitiveProps } from "babylonjs-node-geometry-editor/fluent/primitives/primitive";
4387
+ import { EntitySelectorProps } from "babylonjs-node-geometry-editor/fluent/primitives/entitySelector";
4388
+ import { ClusteredLightContainer } from "babylonjs/Lights/Clustered/clusteredLightContainer";
4389
+ export type ClusteredLightContainerSelectorProps = PrimitiveProps<Nullable<ClusteredLightContainer>> & {
4390
+ /**
4391
+ * The scene to get clustered light containers from
4392
+ */
4393
+ scene: Scene;
4394
+ /**
4395
+ * Optional filter function to filter which clustered light containers are shown
4396
+ */
4397
+ filter?: (container: ClusteredLightContainer) => boolean;
4398
+ } & Omit<EntitySelectorProps<ClusteredLightContainer>, "getEntities" | "getName">;
4399
+ /**
4400
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
4401
+ * @param props ClusteredLightContainerSelectorProps
4402
+ * @returns ClusteredLightContainerSelector component
4403
+ */
4404
+ export const ClusteredLightContainerSelector: FunctionComponent<ClusteredLightContainerSelectorProps>;
4405
+
4381
4406
  }
4382
4407
  declare module "babylonjs-node-geometry-editor/fluent/primitives/checkbox" {
4383
4408
  import { FunctionComponent } from "react";
@@ -5112,24 +5137,28 @@ export const HexPropertyLine: FunctionComponent<HexPropertyLineProps>;
5112
5137
 
5113
5138
  }
5114
5139
  declare module "babylonjs-node-geometry-editor/fluent/hoc/propertyLines/entitySelectorPropertyLine" {
5140
+ import { Skeleton } from "babylonjs/Bones/skeleton";
5141
+ import { ClusteredLightContainer } from "babylonjs/Lights/Clustered/clusteredLightContainer";
5142
+ import { Material } from "babylonjs/Materials/material";
5143
+ import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
5115
5144
  import { Node } from "babylonjs/node";
5116
5145
  import { Nullable } from "babylonjs/types";
5117
- import { PropertyLineProps } from "babylonjs-node-geometry-editor/fluent/hoc/propertyLines/propertyLine";
5118
- import { NodeSelectorProps } from "babylonjs-node-geometry-editor/fluent/primitives/nodeSelector";
5146
+ import { ClusteredLightContainerSelectorProps } from "babylonjs-node-geometry-editor/fluent/primitives/clusteredLightContainerSelector";
5119
5147
  import { MaterialSelectorProps } from "babylonjs-node-geometry-editor/fluent/primitives/materialSelector";
5120
- import { TextureSelectorProps } from "babylonjs-node-geometry-editor/fluent/primitives/textureSelector";
5148
+ import { NodeSelectorProps } from "babylonjs-node-geometry-editor/fluent/primitives/nodeSelector";
5121
5149
  import { SkeletonSelectorProps } from "babylonjs-node-geometry-editor/fluent/primitives/skeletonSelector";
5122
- import { Material } from "babylonjs/Materials/material";
5123
- import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
5124
- import { Skeleton } from "babylonjs/Bones/skeleton";
5150
+ import { TextureSelectorProps } from "babylonjs-node-geometry-editor/fluent/primitives/textureSelector";
5151
+ import { PropertyLineProps } from "babylonjs-node-geometry-editor/fluent/hoc/propertyLines/propertyLine";
5125
5152
  type NodeSelectorPropertyLineProps = PropertyLineProps<Nullable<Node>> & NodeSelectorProps;
5126
5153
  type MaterialSelectorPropertyLineProps = PropertyLineProps<Nullable<Material>> & MaterialSelectorProps;
5127
5154
  type TextureSelectorPropertyLineProps = PropertyLineProps<Nullable<BaseTexture>> & TextureSelectorProps;
5128
5155
  type SkeletonSelectorPropertyLineProps = PropertyLineProps<Nullable<Skeleton>> & SkeletonSelectorProps;
5156
+ type ClusteredLightContainerSelectorPropertyLineProps = PropertyLineProps<Nullable<ClusteredLightContainer>> & ClusteredLightContainerSelectorProps;
5129
5157
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5130
5158
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5131
5159
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5132
5160
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5161
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5133
5162
  export {};
5134
5163
 
5135
5164
  }
@@ -10365,7 +10394,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
10365
10394
  /**
10366
10395
  * Optional default value that enables clearing the current linked entity
10367
10396
  */
10368
- defaultValue?: T;
10397
+ defaultValue?: BABYLON.Nullable<T>;
10369
10398
  };
10370
10399
  /**
10371
10400
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -10661,6 +10690,31 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
10661
10690
 
10662
10691
 
10663
10692
 
10693
+ }
10694
+ declare module BABYLON.NodeGeometryEditor {
10695
+
10696
+
10697
+ }
10698
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
10699
+ export type ClusteredLightContainerSelectorProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PrimitiveProps<BABYLON.Nullable<BABYLON.ClusteredLightContainer>> & {
10700
+ /**
10701
+ * The scene to get clustered light containers from
10702
+ */
10703
+ scene: BABYLON.Scene;
10704
+ /**
10705
+ * Optional filter function to filter which clustered light containers are shown
10706
+ */
10707
+ filter?: (container: BABYLON.ClusteredLightContainer) => boolean;
10708
+ } & Omit<BABYLON.NodeGeometryEditor.SharedUIComponents.EntitySelectorProps<BABYLON.ClusteredLightContainer>, "getEntities" | "getName">;
10709
+ /**
10710
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
10711
+ * @param props ClusteredLightContainerSelectorProps
10712
+ * @returns ClusteredLightContainerSelector component
10713
+ */
10714
+ export var ClusteredLightContainerSelector: React.FunctionComponent<ClusteredLightContainerSelectorProps>;
10715
+
10716
+
10717
+
10664
10718
  }
10665
10719
  declare module BABYLON.NodeGeometryEditor {
10666
10720
 
@@ -11486,10 +11540,12 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
11486
11540
  type MaterialSelectorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.Material>> & BABYLON.NodeGeometryEditor.SharedUIComponents.MaterialSelectorProps;
11487
11541
  type TextureSelectorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.BaseTexture>> & BABYLON.NodeGeometryEditor.SharedUIComponents.TextureSelectorProps;
11488
11542
  type SkeletonSelectorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.Skeleton>> & BABYLON.NodeGeometryEditor.SharedUIComponents.SkeletonSelectorProps;
11543
+ type ClusteredLightContainerSelectorPropertyLineProps = BABYLON.NodeGeometryEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.ClusteredLightContainer>> & BABYLON.NodeGeometryEditor.SharedUIComponents.ClusteredLightContainerSelectorProps;
11489
11544
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11490
11545
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11491
11546
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11492
11547
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11548
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11493
11549
 
11494
11550
 
11495
11551
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-geometry-editor",
3
- "version": "8.55.3",
3
+ "version": "8.55.4",
4
4
  "main": "babylon.nodeGeometryEditor.js",
5
5
  "types": "babylon.nodeGeometryEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "8.55.3"
17
+ "babylonjs": "8.55.4"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",