@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.
|
@@ -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/core/scene";
|
|
4385
|
+
import { Nullable } from "@babylonjs/core/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/core/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/core/Bones/skeleton";
|
|
5141
|
+
import { ClusteredLightContainer } from "@babylonjs/core/Lights/Clustered/clusteredLightContainer";
|
|
5142
|
+
import { Material } from "@babylonjs/core/Materials/material";
|
|
5143
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
|
5115
5144
|
import { Node } from "@babylonjs/core/node";
|
|
5116
5145
|
import { Nullable } from "@babylonjs/core/types";
|
|
5117
|
-
import {
|
|
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 {
|
|
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 {
|
|
5123
|
-
import {
|
|
5124
|
-
import { Skeleton } from "@babylonjs/core/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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-geometry-editor",
|
|
3
|
-
"version": "8.55.
|
|
3
|
+
"version": "8.55.4",
|
|
4
4
|
"main": "dist/babylon.nodeGeometryEditor.js",
|
|
5
5
|
"module": "dist/babylon.nodeGeometryEditor.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeGeometryEditor.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babylonjs/core": "8.55.
|
|
26
|
+
"@babylonjs/core": "8.55.4",
|
|
27
27
|
"@tools/node-geometry-editor": "1.0.0",
|
|
28
28
|
"react": "^18.2.0",
|
|
29
29
|
"react-dom": "^18.2.0"
|