babylonjs-node-particle-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.
@@ -4108,7 +4108,7 @@ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
4108
4108
  /**
4109
4109
  * Optional default value that enables clearing the current linked entity
4110
4110
  */
4111
- defaultValue?: T;
4111
+ defaultValue?: BABYLON.Nullable<T>;
4112
4112
  };
4113
4113
  /**
4114
4114
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -4404,6 +4404,31 @@ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
4404
4404
 
4405
4405
 
4406
4406
 
4407
+ }
4408
+ declare module BABYLON.NodeParticleEditor {
4409
+
4410
+
4411
+ }
4412
+ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
4413
+ export type ClusteredLightContainerSelectorProps = BABYLON.NodeParticleEditor.SharedUIComponents.PrimitiveProps<BABYLON.Nullable<BABYLON.ClusteredLightContainer>> & {
4414
+ /**
4415
+ * The scene to get clustered light containers from
4416
+ */
4417
+ scene: BABYLON.Scene;
4418
+ /**
4419
+ * Optional filter function to filter which clustered light containers are shown
4420
+ */
4421
+ filter?: (container: BABYLON.ClusteredLightContainer) => boolean;
4422
+ } & Omit<BABYLON.NodeParticleEditor.SharedUIComponents.EntitySelectorProps<BABYLON.ClusteredLightContainer>, "getEntities" | "getName">;
4423
+ /**
4424
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
4425
+ * @param props ClusteredLightContainerSelectorProps
4426
+ * @returns ClusteredLightContainerSelector component
4427
+ */
4428
+ export var ClusteredLightContainerSelector: React.FunctionComponent<ClusteredLightContainerSelectorProps>;
4429
+
4430
+
4431
+
4407
4432
  }
4408
4433
  declare module BABYLON.NodeParticleEditor {
4409
4434
 
@@ -5229,10 +5254,12 @@ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
5229
5254
  type MaterialSelectorPropertyLineProps = BABYLON.NodeParticleEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.Material>> & BABYLON.NodeParticleEditor.SharedUIComponents.MaterialSelectorProps;
5230
5255
  type TextureSelectorPropertyLineProps = BABYLON.NodeParticleEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.BaseTexture>> & BABYLON.NodeParticleEditor.SharedUIComponents.TextureSelectorProps;
5231
5256
  type SkeletonSelectorPropertyLineProps = BABYLON.NodeParticleEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.Skeleton>> & BABYLON.NodeParticleEditor.SharedUIComponents.SkeletonSelectorProps;
5257
+ type ClusteredLightContainerSelectorPropertyLineProps = BABYLON.NodeParticleEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.ClusteredLightContainer>> & BABYLON.NodeParticleEditor.SharedUIComponents.ClusteredLightContainerSelectorProps;
5232
5258
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5233
5259
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5234
5260
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5235
5261
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5262
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5236
5263
 
5237
5264
 
5238
5265
 
@@ -4092,7 +4092,7 @@ export type EntitySelectorProps<T extends Entity> = (PrimitiveProps<Nullable<T>>
4092
4092
  /**
4093
4093
  * Optional default value that enables clearing the current linked entity
4094
4094
  */
4095
- defaultValue?: T;
4095
+ defaultValue?: Nullable<T>;
4096
4096
  };
4097
4097
  /**
4098
4098
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -4365,6 +4365,31 @@ type CollapseProps = {
4365
4365
  export const Collapse: FunctionComponent<PropsWithChildren<CollapseProps>>;
4366
4366
  export {};
4367
4367
 
4368
+ }
4369
+ declare module "babylonjs-node-particle-editor/fluent/primitives/clusteredLightContainerSelector" {
4370
+ import { FunctionComponent } from "react";
4371
+ import { Scene } from "babylonjs/scene";
4372
+ import { Nullable } from "babylonjs/types";
4373
+ import { PrimitiveProps } from "babylonjs-node-particle-editor/fluent/primitives/primitive";
4374
+ import { EntitySelectorProps } from "babylonjs-node-particle-editor/fluent/primitives/entitySelector";
4375
+ import { ClusteredLightContainer } from "babylonjs/Lights/Clustered/clusteredLightContainer";
4376
+ export type ClusteredLightContainerSelectorProps = PrimitiveProps<Nullable<ClusteredLightContainer>> & {
4377
+ /**
4378
+ * The scene to get clustered light containers from
4379
+ */
4380
+ scene: Scene;
4381
+ /**
4382
+ * Optional filter function to filter which clustered light containers are shown
4383
+ */
4384
+ filter?: (container: ClusteredLightContainer) => boolean;
4385
+ } & Omit<EntitySelectorProps<ClusteredLightContainer>, "getEntities" | "getName">;
4386
+ /**
4387
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
4388
+ * @param props ClusteredLightContainerSelectorProps
4389
+ * @returns ClusteredLightContainerSelector component
4390
+ */
4391
+ export const ClusteredLightContainerSelector: FunctionComponent<ClusteredLightContainerSelectorProps>;
4392
+
4368
4393
  }
4369
4394
  declare module "babylonjs-node-particle-editor/fluent/primitives/checkbox" {
4370
4395
  import { FunctionComponent } from "react";
@@ -5099,24 +5124,28 @@ export const HexPropertyLine: FunctionComponent<HexPropertyLineProps>;
5099
5124
 
5100
5125
  }
5101
5126
  declare module "babylonjs-node-particle-editor/fluent/hoc/propertyLines/entitySelectorPropertyLine" {
5127
+ import { Skeleton } from "babylonjs/Bones/skeleton";
5128
+ import { ClusteredLightContainer } from "babylonjs/Lights/Clustered/clusteredLightContainer";
5129
+ import { Material } from "babylonjs/Materials/material";
5130
+ import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
5102
5131
  import { Node } from "babylonjs/node";
5103
5132
  import { Nullable } from "babylonjs/types";
5104
- import { PropertyLineProps } from "babylonjs-node-particle-editor/fluent/hoc/propertyLines/propertyLine";
5105
- import { NodeSelectorProps } from "babylonjs-node-particle-editor/fluent/primitives/nodeSelector";
5133
+ import { ClusteredLightContainerSelectorProps } from "babylonjs-node-particle-editor/fluent/primitives/clusteredLightContainerSelector";
5106
5134
  import { MaterialSelectorProps } from "babylonjs-node-particle-editor/fluent/primitives/materialSelector";
5107
- import { TextureSelectorProps } from "babylonjs-node-particle-editor/fluent/primitives/textureSelector";
5135
+ import { NodeSelectorProps } from "babylonjs-node-particle-editor/fluent/primitives/nodeSelector";
5108
5136
  import { SkeletonSelectorProps } from "babylonjs-node-particle-editor/fluent/primitives/skeletonSelector";
5109
- import { Material } from "babylonjs/Materials/material";
5110
- import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
5111
- import { Skeleton } from "babylonjs/Bones/skeleton";
5137
+ import { TextureSelectorProps } from "babylonjs-node-particle-editor/fluent/primitives/textureSelector";
5138
+ import { PropertyLineProps } from "babylonjs-node-particle-editor/fluent/hoc/propertyLines/propertyLine";
5112
5139
  type NodeSelectorPropertyLineProps = PropertyLineProps<Nullable<Node>> & NodeSelectorProps;
5113
5140
  type MaterialSelectorPropertyLineProps = PropertyLineProps<Nullable<Material>> & MaterialSelectorProps;
5114
5141
  type TextureSelectorPropertyLineProps = PropertyLineProps<Nullable<BaseTexture>> & TextureSelectorProps;
5115
5142
  type SkeletonSelectorPropertyLineProps = PropertyLineProps<Nullable<Skeleton>> & SkeletonSelectorProps;
5143
+ type ClusteredLightContainerSelectorPropertyLineProps = PropertyLineProps<Nullable<ClusteredLightContainer>> & ClusteredLightContainerSelectorProps;
5116
5144
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5117
5145
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5118
5146
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5119
5147
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5148
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
5120
5149
  export {};
5121
5150
 
5122
5151
  }
@@ -10367,7 +10396,7 @@ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
10367
10396
  /**
10368
10397
  * Optional default value that enables clearing the current linked entity
10369
10398
  */
10370
- defaultValue?: T;
10399
+ defaultValue?: BABYLON.Nullable<T>;
10371
10400
  };
10372
10401
  /**
10373
10402
  * A generic primitive component with a ComboBox for selecting from a list of entities.
@@ -10663,6 +10692,31 @@ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
10663
10692
 
10664
10693
 
10665
10694
 
10695
+ }
10696
+ declare module BABYLON.NodeParticleEditor {
10697
+
10698
+
10699
+ }
10700
+ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
10701
+ export type ClusteredLightContainerSelectorProps = BABYLON.NodeParticleEditor.SharedUIComponents.PrimitiveProps<BABYLON.Nullable<BABYLON.ClusteredLightContainer>> & {
10702
+ /**
10703
+ * The scene to get clustered light containers from
10704
+ */
10705
+ scene: BABYLON.Scene;
10706
+ /**
10707
+ * Optional filter function to filter which clustered light containers are shown
10708
+ */
10709
+ filter?: (container: BABYLON.ClusteredLightContainer) => boolean;
10710
+ } & Omit<BABYLON.NodeParticleEditor.SharedUIComponents.EntitySelectorProps<BABYLON.ClusteredLightContainer>, "getEntities" | "getName">;
10711
+ /**
10712
+ * A primitive component with a ComboBox for selecting from existing scene clustered light containers.
10713
+ * @param props ClusteredLightContainerSelectorProps
10714
+ * @returns ClusteredLightContainerSelector component
10715
+ */
10716
+ export var ClusteredLightContainerSelector: React.FunctionComponent<ClusteredLightContainerSelectorProps>;
10717
+
10718
+
10719
+
10666
10720
  }
10667
10721
  declare module BABYLON.NodeParticleEditor {
10668
10722
 
@@ -11488,10 +11542,12 @@ declare module BABYLON.NodeParticleEditor.SharedUIComponents {
11488
11542
  type MaterialSelectorPropertyLineProps = BABYLON.NodeParticleEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.Material>> & BABYLON.NodeParticleEditor.SharedUIComponents.MaterialSelectorProps;
11489
11543
  type TextureSelectorPropertyLineProps = BABYLON.NodeParticleEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.BaseTexture>> & BABYLON.NodeParticleEditor.SharedUIComponents.TextureSelectorProps;
11490
11544
  type SkeletonSelectorPropertyLineProps = BABYLON.NodeParticleEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.Skeleton>> & BABYLON.NodeParticleEditor.SharedUIComponents.SkeletonSelectorProps;
11545
+ type ClusteredLightContainerSelectorPropertyLineProps = BABYLON.NodeParticleEditor.SharedUIComponents.PropertyLineProps<BABYLON.Nullable<BABYLON.ClusteredLightContainer>> & BABYLON.NodeParticleEditor.SharedUIComponents.ClusteredLightContainerSelectorProps;
11491
11546
  export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11492
11547
  export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11493
11548
  export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11494
11549
  export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11550
+ export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
11495
11551
 
11496
11552
 
11497
11553
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-particle-editor",
3
- "version": "8.55.2",
3
+ "version": "8.55.4",
4
4
  "main": "babylon.nodeParticleEditor.js",
5
5
  "types": "babylon.nodeParticleEditor.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.2"
17
+ "babylonjs": "8.55.4"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",