@babylonjs/node-particle-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.
|
@@ -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/core/scene";
|
|
4372
|
+
import { Nullable } from "@babylonjs/core/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/core/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/core/Bones/skeleton";
|
|
5128
|
+
import { ClusteredLightContainer } from "@babylonjs/core/Lights/Clustered/clusteredLightContainer";
|
|
5129
|
+
import { Material } from "@babylonjs/core/Materials/material";
|
|
5130
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
|
5102
5131
|
import { Node } from "@babylonjs/core/node";
|
|
5103
5132
|
import { Nullable } from "@babylonjs/core/types";
|
|
5104
|
-
import {
|
|
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 {
|
|
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 {
|
|
5110
|
-
import {
|
|
5111
|
-
import { Skeleton } from "@babylonjs/core/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
|
}
|
package/package.json
CHANGED