@babylonjs/inspector 9.0.0 → 9.1.0
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.
- package/lib/components/curveEditor/bottomBar/rangeSelector.d.ts +6 -0
- package/lib/components/curveEditor/bottomBar.d.ts +6 -0
- package/lib/components/curveEditor/canvas/canvas.d.ts +6 -0
- package/lib/components/curveEditor/canvas/curve.d.ts +14 -0
- package/lib/components/curveEditor/canvas/curveData.d.ts +40 -0
- package/lib/components/curveEditor/canvas/frameBar.d.ts +12 -0
- package/lib/components/curveEditor/canvas/graph.d.ts +11 -0
- package/lib/components/curveEditor/canvas/keyPoint.d.ts +34 -0
- package/lib/components/curveEditor/canvas/playHead.d.ts +12 -0
- package/lib/components/curveEditor/canvas/rangeFrameBar.d.ts +10 -0
- package/lib/components/curveEditor/curveEditor.d.ts +29 -0
- package/lib/components/curveEditor/curveEditorButton.d.ts +31 -0
- package/lib/components/curveEditor/curveEditorColors.d.ts +56 -0
- package/lib/components/curveEditor/curveEditorContext.d.ts +267 -0
- package/lib/components/curveEditor/rangeSelector.d.ts +6 -0
- package/lib/components/curveEditor/sideBar/addAnimationPanel.d.ts +10 -0
- package/lib/components/curveEditor/sideBar/animationList.d.ts +6 -0
- package/lib/components/curveEditor/sideBar/editAnimationPanel.d.ts +12 -0
- package/lib/components/curveEditor/sideBar/loadAnimationPanel.d.ts +10 -0
- package/lib/components/curveEditor/sideBar/saveAnimationPanel.d.ts +10 -0
- package/lib/components/curveEditor/sideBar.d.ts +6 -0
- package/lib/components/curveEditor/topBar.d.ts +6 -0
- package/lib/components/debug/debugPane.d.ts +6 -0
- package/lib/components/errorBoundary.d.ts +31 -0
- package/lib/components/extensibleAccordion.d.ts +67 -0
- package/lib/components/gizmoToolbar.d.ts +7 -0
- package/lib/components/pane.d.ts +4 -0
- package/lib/components/performanceViewer/canvasGraph.d.ts +16 -0
- package/lib/components/performanceViewer/canvasGraphService.d.ts +238 -0
- package/lib/components/performanceViewer/graphSupportingTypes.d.ts +90 -0
- package/lib/components/performanceViewer/performanceSidebar.d.ts +10 -0
- package/lib/components/performanceViewer/performanceViewer.d.ts +15 -0
- package/lib/components/pickingToolbar.d.ts +11 -0
- package/lib/components/properties/animation/animationGroupProperties.d.ts +8 -0
- package/lib/components/properties/animation/animationsProperties.d.ts +21 -0
- package/lib/components/properties/animation/targetedAnimationProperties.d.ts +7 -0
- package/lib/components/properties/atmosphereProperties.d.ts +20 -0
- package/lib/components/properties/audio/soundProperties.d.ts +8 -0
- package/lib/components/properties/boundProperty.d.ts +80 -0
- package/lib/components/properties/cameras/arcRotateCameraProperties.d.ts +17 -0
- package/lib/components/properties/cameras/cameraProperties.d.ts +10 -0
- package/lib/components/properties/cameras/followCameraProperties.d.ts +8 -0
- package/lib/components/properties/cameras/freeCameraProperties.d.ts +11 -0
- package/lib/components/properties/cameras/geospatialCameraProperties.d.ts +11 -0
- package/lib/components/properties/cameras/targetCameraProperties.d.ts +8 -0
- package/lib/components/properties/commonGeneralProperties.d.ts +16 -0
- package/lib/components/properties/frameGraph/frameGraphProperties.d.ts +8 -0
- package/lib/components/properties/generateCopyString.d.ts +7 -0
- package/lib/components/properties/lights/areaLightProperties.d.ts +5 -0
- package/lib/components/properties/lights/clusteredLightContainerProperties.d.ts +10 -0
- package/lib/components/properties/lights/directionalLightProperties.d.ts +8 -0
- package/lib/components/properties/lights/hemisphericLightProperties.d.ts +5 -0
- package/lib/components/properties/lights/lightProperties.d.ts +7 -0
- package/lib/components/properties/lights/pointLightProperties.d.ts +5 -0
- package/lib/components/properties/lights/shadowGeneratorProperties.d.ts +6 -0
- package/lib/components/properties/lights/shadowLightProperties.d.ts +5 -0
- package/lib/components/properties/lights/spotLightProperties.d.ts +5 -0
- package/lib/components/properties/linkToEntityPropertyLine.d.ts +27 -0
- package/lib/components/properties/materials/materialProperties.d.ts +11 -0
- package/lib/components/properties/materials/multiMaterialProperties.d.ts +7 -0
- package/lib/components/properties/materials/nodeMaterialProperties.d.ts +8 -0
- package/lib/components/properties/materials/normalMapProperties.d.ts +19 -0
- package/lib/components/properties/materials/openpbrMaterialProperties.d.ts +61 -0
- package/lib/components/properties/materials/pbrBaseMaterialProperties.d.ts +285 -0
- package/lib/components/properties/materials/skyMaterialProperties.d.ts +5 -0
- package/lib/components/properties/materials/standardMaterialProperties.d.ts +29 -0
- package/lib/components/properties/metadataProperties.d.ts +12 -0
- package/lib/components/properties/nodes/abstractMeshProperties.d.ts +27 -0
- package/lib/components/properties/nodes/gaussianSplattingProperties.d.ts +5 -0
- package/lib/components/properties/nodes/meshProperties.d.ts +11 -0
- package/lib/components/properties/nodes/nodeProperties.d.ts +7 -0
- package/lib/components/properties/particles/attractor.d.ts +23 -0
- package/lib/components/properties/particles/attractorAdapter.d.ts +56 -0
- package/lib/components/properties/particles/attractorList.d.ts +15 -0
- package/lib/components/properties/particles/attractorProperties.d.ts +11 -0
- package/lib/components/properties/particles/colorProperties.d.ts +11 -0
- package/lib/components/properties/particles/commandsProperties.d.ts +13 -0
- package/lib/components/properties/particles/emissionProperties.d.ts +11 -0
- package/lib/components/properties/particles/emitterProperties.d.ts +13 -0
- package/lib/components/properties/particles/lifetimeProperties.d.ts +11 -0
- package/lib/components/properties/particles/nodeEditorProperties.d.ts +12 -0
- package/lib/components/properties/particles/rotationProperties.d.ts +11 -0
- package/lib/components/properties/particles/sizeProperties.d.ts +11 -0
- package/lib/components/properties/particles/spritesheetProperties.d.ts +11 -0
- package/lib/components/properties/particles/systemProperties.d.ts +13 -0
- package/lib/components/properties/physics/physicsProperties.d.ts +6 -0
- package/lib/components/properties/postProcesses/postProcessProperties.d.ts +10 -0
- package/lib/components/properties/propertiesPane.d.ts +2 -0
- package/lib/components/properties/renderingPipelines/defaultRenderingPipelineProperties.d.ts +23 -0
- package/lib/components/properties/renderingPipelines/iblShadowsRenderPipelineProperties.d.ts +11 -0
- package/lib/components/properties/renderingPipelines/lensRenderingPipelineProperties.d.ts +8 -0
- package/lib/components/properties/renderingPipelines/postProcessRenderPipelineProperties.d.ts +5 -0
- package/lib/components/properties/renderingPipelines/ssao2RenderingPipelineProperties.d.ts +8 -0
- package/lib/components/properties/renderingPipelines/ssaoRenderingPipelineProperties.d.ts +5 -0
- package/lib/components/properties/renderingPipelines/ssrRenderingPipelineProperties.d.ts +17 -0
- package/lib/components/properties/skeleton/boneProperties.d.ts +7 -0
- package/lib/components/properties/skeleton/skeletonProperties.d.ts +8 -0
- package/lib/components/properties/sprites/spriteManagerProperties.d.ts +25 -0
- package/lib/components/properties/sprites/spriteProperties.d.ts +19 -0
- package/lib/components/properties/textures/advancedDynamicTextureProperties.d.ts +11 -0
- package/lib/components/properties/textures/baseTextureProperties.d.ts +16 -0
- package/lib/components/properties/textures/cubeTextureProperties.d.ts +5 -0
- package/lib/components/properties/textures/multiRenderTargetProperties.d.ts +5 -0
- package/lib/components/properties/textures/renderTargetTextureProperties.d.ts +5 -0
- package/lib/components/properties/textures/textureFormatUtils.d.ts +48 -0
- package/lib/components/properties/textures/texturePreview.d.ts +17 -0
- package/lib/components/properties/textures/textureProperties.d.ts +11 -0
- package/lib/components/properties/textures/thinTextureProperties.d.ts +8 -0
- package/lib/components/properties/transformProperties.d.ts +11 -0
- package/lib/components/scene/sceneExplorer.d.ts +182 -0
- package/lib/components/scene/sceneExplorerDragDrop.d.ts +38 -0
- package/lib/components/scene/sceneProperties.d.ts +19 -0
- package/lib/components/stats/countStats.d.ts +5 -0
- package/lib/components/stats/frameStepStats.d.ts +8 -0
- package/lib/components/stats/performanceStats.d.ts +6 -0
- package/lib/components/stats/statsPane.d.ts +3 -0
- package/lib/components/stats/systemStats.d.ts +5 -0
- package/lib/components/teachingMoment.d.ts +20 -0
- package/lib/components/textureEditor/canvasManager.d.ts +113 -0
- package/lib/components/textureEditor/canvasShader.d.ts +10 -0
- package/lib/components/textureEditor/channels.d.ts +25 -0
- package/lib/components/textureEditor/properties.d.ts +23 -0
- package/lib/components/textureEditor/status.d.ts +13 -0
- package/lib/components/textureEditor/textureEditor.d.ts +113 -0
- package/lib/components/textureEditor/tools.d.ts +20 -0
- package/lib/components/theme.d.ts +10 -0
- package/lib/components/tools/capture/equirectangularCaptureTool.d.ts +5 -0
- package/lib/components/tools/capture/gifCaptureTool.d.ts +7 -0
- package/lib/components/tools/capture/sceneReplayTool.d.ts +5 -0
- package/lib/components/tools/capture/screenshotTool.d.ts +5 -0
- package/lib/components/tools/capture/videoCaptureTool.d.ts +5 -0
- package/lib/components/tools/exportTools.d.ts +11 -0
- package/lib/components/tools/import/gltfAnimationImportTool.d.ts +5 -0
- package/lib/components/tools/import/gltfLoaderOptionsTool.d.ts +8 -0
- package/lib/components/tools/import/gltfValidationTool.d.ts +5 -0
- package/lib/components/tools/reflectorTools.d.ts +5 -0
- package/lib/components/tools/toolsPane.d.ts +3 -0
- package/lib/components/uxContextProvider.d.ts +2 -0
- package/lib/contexts/extensionManagerContext.d.ts +6 -0
- package/lib/contexts/propertyContext.d.ts +30 -0
- package/lib/contexts/settingsContext.d.ts +3 -0
- package/lib/contexts/watcherContext.d.ts +3 -0
- package/lib/extensibility/builtInsExtensionFeed.d.ts +21 -0
- package/lib/extensibility/defaultInspectorExtensionFeed.d.ts +5 -0
- package/lib/extensibility/extensionFeed.d.ts +113 -0
- package/lib/extensibility/extensionManager.d.ts +111 -0
- package/lib/extensions/quickCreate/cameras.d.ts +14 -0
- package/lib/extensions/quickCreate/frameGraphs.d.ts +14 -0
- package/lib/extensions/quickCreate/lights.d.ts +14 -0
- package/lib/extensions/quickCreate/materials.d.ts +14 -0
- package/lib/extensions/quickCreate/meshes.d.ts +10 -0
- package/lib/extensions/quickCreate/particles.d.ts +15 -0
- package/lib/extensions/quickCreate/quickCreateLayout.d.ts +44 -0
- package/lib/extensions/quickCreate/quickCreateToolsService.d.ts +11 -0
- package/lib/extensions/quickCreate/renderingPipelines.d.ts +14 -0
- package/lib/extensions/quickCreate/settingsPopover.d.ts +14 -0
- package/lib/extensions/quickCreate/spriteManagers.d.ts +14 -0
- package/lib/{extensionsListService-zYdKn8uM.js → extensionsListService-BmiNjZiw.js} +7 -7
- package/lib/extensionsListService-BmiNjZiw.js.map +1 -0
- package/lib/hooks/compoundPropertyHooks.d.ts +24 -0
- package/lib/hooks/instrumentationHooks.d.ts +9 -0
- package/lib/hooks/observableHooks.d.ts +35 -0
- package/lib/hooks/pollingHooks.d.ts +7 -0
- package/lib/hooks/resourceHooks.d.ts +20 -0
- package/lib/hooks/settingsHooks.d.ts +13 -0
- package/lib/hooks/teachingMomentHooks.d.ts +34 -0
- package/lib/hooks/themeHooks.d.ts +17 -0
- package/lib/hooks/useObservableArray.d.ts +11 -0
- package/lib/hooks/useResizeHandle.d.ts +35 -0
- package/lib/{index-DuVF9zYN.js → index-BCbXjPTn.js} +791 -758
- package/lib/index-BCbXjPTn.js.map +1 -0
- package/lib/index.d.ts +108 -74767
- package/lib/index.js +5 -5
- package/lib/inspector.d.ts +41 -0
- package/lib/instrumentation/functionInstrumentation.d.ts +20 -0
- package/lib/instrumentation/propertyInstrumentation.d.ts +33 -0
- package/lib/legacy/debugLayer.d.ts +24 -0
- package/lib/legacy/inspectableCustomPropertiesService.d.ts +3 -0
- package/lib/legacy/inspector.d.ts +39 -0
- package/lib/legacy/legacy.d.ts +9 -0
- package/lib/legacy/propertiesSectionMapping.d.ts +99 -0
- package/lib/misc/arrayUtils.d.ts +4 -0
- package/lib/misc/assert.d.ts +5 -0
- package/lib/misc/graphUtils.d.ts +44 -0
- package/lib/misc/nodeGeometryEditor.d.ts +3 -0
- package/lib/misc/nodeMaterialEditor.d.ts +2 -0
- package/lib/misc/nodeParticleEditor.d.ts +2 -0
- package/lib/misc/nodeRenderGraphEditor.d.ts +2 -0
- package/lib/misc/observableCollection.d.ts +23 -0
- package/lib/misc/snippetUtils.d.ts +74 -0
- package/lib/misc/textureTools.d.ts +34 -0
- package/lib/modularTool.d.ts +37 -0
- package/lib/modularity/serviceContainer.d.ts +41 -0
- package/lib/modularity/serviceDefinition.d.ts +64 -0
- package/lib/{quickCreateToolsService-BtsSLeMY.js → quickCreateToolsService-BoqrJqoM.js} +6 -6
- package/lib/quickCreateToolsService-BoqrJqoM.js.map +1 -0
- package/lib/{reflectorService-Bzs-Ykos.js → reflectorService-CFTva2GG.js} +6 -6
- package/lib/reflectorService-CFTva2GG.js.map +1 -0
- package/lib/services/defaultToolbarMetadata.d.ts +5 -0
- package/lib/services/extensionsListService.d.ts +3 -0
- package/lib/services/gizmoService.d.ts +84 -0
- package/lib/services/gizmoToolbarService.d.ts +5 -0
- package/lib/services/globalSettings.d.ts +5 -0
- package/lib/services/highlightService.d.ts +8 -0
- package/lib/services/miniStatsService.d.ts +4 -0
- package/lib/services/panes/debugService.d.ts +25 -0
- package/lib/services/panes/properties/animationGroupPropertiesService.d.ts +4 -0
- package/lib/services/panes/properties/animationPropertiesService.d.ts +5 -0
- package/lib/services/panes/properties/atmospherePropertiesService.d.ts +5 -0
- package/lib/services/panes/properties/audioPropertiesService.d.ts +3 -0
- package/lib/services/panes/properties/cameraPropertiesService.d.ts +7 -0
- package/lib/services/panes/properties/commonPropertiesService.d.ts +3 -0
- package/lib/services/panes/properties/effectLayerPropertiesService.d.ts +3 -0
- package/lib/services/panes/properties/frameGraphPropertiesService.d.ts +3 -0
- package/lib/services/panes/properties/lightPropertiesServices.d.ts +4 -0
- package/lib/services/panes/properties/materialPropertiesService.d.ts +4 -0
- package/lib/services/panes/properties/metadataPropertiesService.d.ts +3 -0
- package/lib/services/panes/properties/nodePropertiesService.d.ts +4 -0
- package/lib/services/panes/properties/particleSystemPropertiesService.d.ts +4 -0
- package/lib/services/panes/properties/physicsPropertiesService.d.ts +3 -0
- package/lib/services/panes/properties/postProcessPropertiesService.d.ts +3 -0
- package/lib/services/panes/properties/propertiesService.d.ts +53 -0
- package/lib/services/panes/properties/renderingPipelinePropertiesService.d.ts +3 -0
- package/lib/services/panes/properties/scenePropertiesService.d.ts +4 -0
- package/lib/services/panes/properties/skeletonPropertiesService.d.ts +4 -0
- package/lib/services/panes/properties/spritePropertiesService.d.ts +4 -0
- package/lib/services/panes/properties/texturePropertiesService.d.ts +4 -0
- package/lib/services/panes/properties/transformPropertiesService.d.ts +3 -0
- package/lib/services/panes/scene/animationGroupExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/atmosphereExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/defaultSectionsMetadata.d.ts +33 -0
- package/lib/services/panes/scene/disposableCommandService.d.ts +4 -0
- package/lib/services/panes/scene/effectLayersExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/frameGraphExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/guiExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/materialExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/nodeExplorerService.d.ts +7 -0
- package/lib/services/panes/scene/particleSystemExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/postProcessExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/renderingPipelinesExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/sceneExplorerService.d.ts +34 -0
- package/lib/services/panes/scene/skeletonExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/soundExplorerService.d.ts +5 -0
- package/lib/services/panes/scene/spriteManagerExplorerService.d.ts +6 -0
- package/lib/services/panes/scene/texturesExplorerService.d.ts +5 -0
- package/lib/services/panes/settingsService.d.ts +25 -0
- package/lib/services/panes/statsService.d.ts +28 -0
- package/lib/services/panes/tools/captureService.d.ts +3 -0
- package/lib/services/panes/tools/exportService.d.ts +3 -0
- package/lib/services/panes/tools/import/gltfAnimationImportService.d.ts +3 -0
- package/lib/services/panes/tools/import/gltfLoaderOptionsDefaults.d.ts +46 -0
- package/lib/services/panes/tools/import/gltfLoaderOptionsService.d.ts +4 -0
- package/lib/services/panes/tools/import/gltfValidationService.d.ts +3 -0
- package/lib/services/panes/tools/reflectorService.d.ts +7 -0
- package/lib/services/panes/toolsService.d.ts +29 -0
- package/lib/services/pickingService.d.ts +7 -0
- package/lib/services/reactContextService.d.ts +18 -0
- package/lib/services/sceneContext.d.ts +19 -0
- package/lib/services/selectionService.d.ts +24 -0
- package/lib/services/settingsStore.d.ts +55 -0
- package/lib/services/shellService.d.ts +256 -0
- package/lib/services/shellSettingsService.d.ts +3 -0
- package/lib/services/textureEditor/textureEditorService.d.ts +21 -0
- package/lib/services/textureEditor/tools/contrast.d.ts +2 -0
- package/lib/services/textureEditor/tools/eyedropper.d.ts +5 -0
- package/lib/services/textureEditor/tools/floodfill.d.ts +5 -0
- package/lib/services/textureEditor/tools/paintbrush.d.ts +2 -0
- package/lib/services/textureEditor/tools/rectangularSelect.d.ts +5 -0
- package/lib/services/themeSelectorService.d.ts +3 -0
- package/lib/services/themeService.d.ts +60 -0
- package/lib/services/userFeedbackService.d.ts +3 -0
- package/lib/services/watcherService.d.ts +38 -0
- package/lib/themes/babylonTheme.d.ts +3 -0
- package/package.json +2 -2
- package/lib/extensionsListService-zYdKn8uM.js.map +0 -1
- package/lib/index-DuVF9zYN.js.map +0 -1
- package/lib/quickCreateToolsService-BtsSLeMY.js.map +0 -1
- package/lib/reflectorService-Bzs-Ykos.js.map +0 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type Mesh } from "@babylonjs/core/index.js";
|
|
3
|
+
export declare const MeshGeneralProperties: FunctionComponent<{
|
|
4
|
+
mesh: Mesh;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const MeshDisplayProperties: FunctionComponent<{
|
|
7
|
+
mesh: Mesh;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const MeshMorphTargetsProperties: FunctionComponent<{
|
|
10
|
+
mesh: Mesh;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type Node } from "@babylonjs/core/index.js";
|
|
3
|
+
import { type ISelectionService } from "../../../services/selectionService";
|
|
4
|
+
export declare const NodeGeneralProperties: FunctionComponent<{
|
|
5
|
+
node: Node;
|
|
6
|
+
selectionService: ISelectionService;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type StandardMaterial } from "@babylonjs/core/Materials/standardMaterial.js";
|
|
2
|
+
import { type Color3 } from "@babylonjs/core/Maths/math.color.js";
|
|
3
|
+
import { type AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
|
4
|
+
import { type Scene } from "@babylonjs/core/scene.js";
|
|
5
|
+
import { type FunctionComponent } from "react";
|
|
6
|
+
import { type IAttractorData } from "./attractorAdapter";
|
|
7
|
+
type AttractorProps = {
|
|
8
|
+
attractorData: IAttractorData;
|
|
9
|
+
id: number;
|
|
10
|
+
impostorScale: number;
|
|
11
|
+
impostorColor: Color3;
|
|
12
|
+
impostorMaterial: StandardMaterial;
|
|
13
|
+
scene: Scene;
|
|
14
|
+
isControlled: (impostor: AbstractMesh) => boolean;
|
|
15
|
+
onControl: (impostor?: AbstractMesh) => void;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Represents the UX of an attractor, a sphere with a color/size whose position matches that of the underlying attractor
|
|
19
|
+
* @param props
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
export declare const AttractorComponent: FunctionComponent<AttractorProps>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type Vector3 } from "@babylonjs/core/Maths/math.vector.js";
|
|
2
|
+
import { Attractor } from "@babylonjs/core/Particles/attractor.js";
|
|
3
|
+
import { type ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
4
|
+
import { type NodeParticleSystemSet } from "@babylonjs/core/Particles/Node/nodeParticleSystemSet.js";
|
|
5
|
+
import { UpdateAttractorBlock } from "@babylonjs/core/Particles/Node/Blocks/Update/updateAttractorBlock.js";
|
|
6
|
+
/**
|
|
7
|
+
* Represents an attractor in a normalized way that works for both CPU and Node particle systems.
|
|
8
|
+
*/
|
|
9
|
+
export interface IAttractorData {
|
|
10
|
+
/** The position of the attractor */
|
|
11
|
+
position: Vector3;
|
|
12
|
+
/** The strength of the attractor (null if dynamically computed) */
|
|
13
|
+
strength: number | null;
|
|
14
|
+
/** Sets the strength of the attractor */
|
|
15
|
+
setStrength: (value: number) => void;
|
|
16
|
+
/** The original attractor object (CPU) or UpdateAttractorBlock (Node) */
|
|
17
|
+
source: Attractor | UpdateAttractorBlock;
|
|
18
|
+
/** Whether this attractor is read-only (position and strength cannot be edited in inspector) */
|
|
19
|
+
isReadOnly: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Interface for an attractor source that provides attractors from different particle system types.
|
|
23
|
+
*/
|
|
24
|
+
export interface IAttractorSource {
|
|
25
|
+
/** The attractors from the source */
|
|
26
|
+
attractors: IAttractorData[];
|
|
27
|
+
/** Add a new attractor (only for CPU particle systems) */
|
|
28
|
+
addAttractor?: (attractor?: Attractor) => void;
|
|
29
|
+
/** Remove an attractor (only for CPU particle systems) */
|
|
30
|
+
removeAttractor?: (attractor: Attractor) => void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Creates an IAttractorData adapter from a CPU particle system Attractor.
|
|
34
|
+
* @param attractor The CPU particle system attractor
|
|
35
|
+
* @returns The IAttractorData adapter
|
|
36
|
+
*/
|
|
37
|
+
export declare function CreateCPUAttractorData(attractor: Attractor): IAttractorData;
|
|
38
|
+
/**
|
|
39
|
+
* Creates an IAttractorData adapter from a Node particle system UpdateAttractorBlock.
|
|
40
|
+
* @param block The UpdateAttractorBlock from a Node particle system
|
|
41
|
+
* @returns The IAttractorData adapter
|
|
42
|
+
*/
|
|
43
|
+
export declare function CreateNodeAttractorData(block: UpdateAttractorBlock): IAttractorData;
|
|
44
|
+
/**
|
|
45
|
+
* Creates an IAttractorSource for a CPU particle system.
|
|
46
|
+
* @param system The CPU particle system
|
|
47
|
+
* @param attractors The current attractors array (from useObservableArray hook)
|
|
48
|
+
* @returns The IAttractorSource adapter
|
|
49
|
+
*/
|
|
50
|
+
export declare function CreateCPUAttractorSource(system: ParticleSystem, attractors: Attractor[]): IAttractorSource;
|
|
51
|
+
/**
|
|
52
|
+
* Creates an IAttractorSource for a Node particle system.
|
|
53
|
+
* @param nodeSet The NodeParticleSystemSet
|
|
54
|
+
* @returns The IAttractorSource adapter
|
|
55
|
+
*/
|
|
56
|
+
export declare function CreateNodeAttractorSource(nodeSet: NodeParticleSystemSet): IAttractorSource;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type Scene } from "@babylonjs/core/scene.js";
|
|
3
|
+
import { type IAttractorSource } from "./attractorAdapter";
|
|
4
|
+
type AttractorListProps = {
|
|
5
|
+
scene: Scene;
|
|
6
|
+
attractorSource: IAttractorSource;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Component that displays a list of attractors with debug visualization and editing controls.
|
|
10
|
+
* Supports both CPU particle systems (editable) and Node particle systems (read-only).
|
|
11
|
+
* @param props The component props containing the scene and attractor source.
|
|
12
|
+
* @returns The rendered AttractorList component.
|
|
13
|
+
*/
|
|
14
|
+
export declare const AttractorList: FunctionComponent<AttractorListProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Display attractor-related properties for a particle system.
|
|
5
|
+
* Supports both CPU particle systems (editable) and Node particle systems (read-only).
|
|
6
|
+
* @param props Component props.
|
|
7
|
+
* @returns Render property lines.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ParticleSystemAttractorProperties: FunctionComponent<{
|
|
10
|
+
particleSystem: ParticleSystem;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
import { ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
4
|
+
/**
|
|
5
|
+
* Display color-related properties for a particle system.
|
|
6
|
+
* @param props Component props.
|
|
7
|
+
* @returns Render property lines.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ParticleSystemColorProperties: FunctionComponent<{
|
|
10
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type ISelectionService } from "../../../services/selectionService";
|
|
3
|
+
import { GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
4
|
+
import { ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
5
|
+
/**
|
|
6
|
+
* Display commands that can be applied to a particle system inside Inspector.
|
|
7
|
+
* @param props Component props.
|
|
8
|
+
* @returns Render property lines.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ParticleSystemCommandProperties: FunctionComponent<{
|
|
11
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
12
|
+
selectionService: ISelectionService;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
import { ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
4
|
+
/**
|
|
5
|
+
* Display emission-related properties for a particle system.
|
|
6
|
+
* @param props Component props.
|
|
7
|
+
* @returns Render property lines.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ParticleSystemEmissionProperties: FunctionComponent<{
|
|
10
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
3
|
+
import { type ISelectionService } from "../../../services/selectionService";
|
|
4
|
+
import { ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
5
|
+
/**
|
|
6
|
+
* Display emitter-related properties for a particle system.
|
|
7
|
+
* @param props Component props.
|
|
8
|
+
* @returns Render property lines.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ParticleSystemEmitterProperties: FunctionComponent<{
|
|
11
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
12
|
+
selectionService: ISelectionService;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
2
|
+
import { type GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
3
|
+
import { type FunctionComponent } from "react";
|
|
4
|
+
/**
|
|
5
|
+
* Display lifetime-related properties for a particle system.
|
|
6
|
+
* @param props Component props.
|
|
7
|
+
* @returns Render property lines.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ParticleSystemLifetimeProperties: FunctionComponent<{
|
|
10
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type ISelectionService } from "../../../services/selectionService";
|
|
3
|
+
import { type ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
4
|
+
/**
|
|
5
|
+
* Display the NPE blocks that are marked as visible in the inspector.
|
|
6
|
+
* @param props Component props.
|
|
7
|
+
* @returns Render property lines.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ParticleSystemNodeEditorProperties: FunctionComponent<{
|
|
10
|
+
particleSystem: ParticleSystem;
|
|
11
|
+
selectionService: ISelectionService;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
2
|
+
import { type GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
3
|
+
import { type FunctionComponent } from "react";
|
|
4
|
+
/**
|
|
5
|
+
* Display rotation-related properties for a particle system.
|
|
6
|
+
* @param props Component props.
|
|
7
|
+
* @returns Render property lines.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ParticleSystemRotationProperties: FunctionComponent<{
|
|
10
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
import { ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
4
|
+
/**
|
|
5
|
+
* Display size-related properties for a particle system.
|
|
6
|
+
* @param props Component props.
|
|
7
|
+
* @returns Render property lines.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ParticleSystemSizeProperties: FunctionComponent<{
|
|
10
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
2
|
+
import { type GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
3
|
+
import { type FunctionComponent } from "react";
|
|
4
|
+
/**
|
|
5
|
+
* Display spritesheet-related properties for a particle system.
|
|
6
|
+
* @param props Component props.
|
|
7
|
+
* @returns Render property lines.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ParticleSystemSpritesheetProperties: FunctionComponent<{
|
|
10
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type GPUParticleSystem } from "@babylonjs/core/Particles/gpuParticleSystem.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
import { type ISelectionService } from "../../../services/selectionService";
|
|
4
|
+
import { ParticleSystem } from "@babylonjs/core/Particles/particleSystem.js";
|
|
5
|
+
/**
|
|
6
|
+
* Display general (high-level) information about a particle system.
|
|
7
|
+
* @param props Component props.
|
|
8
|
+
* @returns Render property lines.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ParticleSystemSystemProperties: FunctionComponent<{
|
|
11
|
+
particleSystem: ParticleSystem | GPUParticleSystem;
|
|
12
|
+
selectionService: ISelectionService;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type TransformNode } from "@babylonjs/core/index.js";
|
|
3
|
+
import "@babylonjs/core/Physics/v2/physicsEngineComponent.js";
|
|
4
|
+
export declare const TransformNodePhysicsProperties: FunctionComponent<{
|
|
5
|
+
node: TransformNode;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type PostProcess } from "@babylonjs/core/PostProcesses/postProcess.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* The properties component for a post process.
|
|
5
|
+
* @param props - The properties component props containing the post process.
|
|
6
|
+
* @returns JSX.Element
|
|
7
|
+
*/
|
|
8
|
+
export declare const PostProcessProperties: FunctionComponent<{
|
|
9
|
+
postProcess: PostProcess;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type DefaultRenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.js";
|
|
3
|
+
export declare const DefaultRenderingPipelineBloomProperties: FunctionComponent<{
|
|
4
|
+
pipeline: DefaultRenderingPipeline;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const DefaultRenderingPipelineChromaticAberrationProperties: FunctionComponent<{
|
|
7
|
+
pipeline: DefaultRenderingPipeline;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const DefaultRenderingPipelineDepthOfFieldProperties: FunctionComponent<{
|
|
10
|
+
pipeline: DefaultRenderingPipeline;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const DefaultRenderingPipelineFxaaGlowProperties: FunctionComponent<{
|
|
13
|
+
pipeline: DefaultRenderingPipeline;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const DefaultRenderingPipelineGrainProperties: FunctionComponent<{
|
|
16
|
+
pipeline: DefaultRenderingPipeline;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const DefaultRenderingPipelineImageProcessingProperties: FunctionComponent<{
|
|
19
|
+
pipeline: DefaultRenderingPipeline;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const DefaultRenderingPipelineSharpenProperties: FunctionComponent<{
|
|
22
|
+
pipeline: DefaultRenderingPipeline;
|
|
23
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type IblShadowsRenderPipeline } from "@babylonjs/core/Rendering/IBLShadows/iblShadowsRenderPipeline.js";
|
|
3
|
+
export declare const IblShadowsRenderPipelineVoxelProperties: FunctionComponent<{
|
|
4
|
+
pipeline: IblShadowsRenderPipeline;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const IblShadowsRenderPipelineScreenspaceProperties: FunctionComponent<{
|
|
7
|
+
pipeline: IblShadowsRenderPipeline;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const IblShadowsRenderPipelineDebugProperties: FunctionComponent<{
|
|
10
|
+
pipeline: IblShadowsRenderPipeline;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type LensRenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/lensRenderingPipeline.js";
|
|
3
|
+
export declare const LensRenderingPipelineOptionsProperties: FunctionComponent<{
|
|
4
|
+
pipeline: LensRenderingPipeline;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const LensRenderingPipelineDepthOfFieldProperties: FunctionComponent<{
|
|
7
|
+
pipeline: LensRenderingPipeline;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type PostProcessRenderPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipeline.js";
|
|
3
|
+
export declare const PostProcessRenderPipelineSamplesProperties: FunctionComponent<{
|
|
4
|
+
pipeline: PostProcessRenderPipeline;
|
|
5
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type SSAO2RenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline.js";
|
|
3
|
+
export declare const SSAO2RenderingPipelineSSAOProperties: FunctionComponent<{
|
|
4
|
+
pipeline: SSAO2RenderingPipeline;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const SSAO2RenderingPipelineDenoiserProperties: FunctionComponent<{
|
|
7
|
+
pipeline: SSAO2RenderingPipeline;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type SSAORenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssaoRenderingPipeline.js";
|
|
3
|
+
export declare const SSAORenderingPipelineProperties: FunctionComponent<{
|
|
4
|
+
pipeline: SSAORenderingPipeline;
|
|
5
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type SSRRenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.js";
|
|
3
|
+
export declare const SSRRenderingPipelineSSRProperties: FunctionComponent<{
|
|
4
|
+
pipeline: SSRRenderingPipeline;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const SSRRenderingPipelineThicknessProperties: FunctionComponent<{
|
|
7
|
+
pipeline: SSRRenderingPipeline;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const SSRRenderingPipelineBlurProperties: FunctionComponent<{
|
|
10
|
+
pipeline: SSRRenderingPipeline;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const SSRRenderingPipelineAttenuationProperties: FunctionComponent<{
|
|
13
|
+
pipeline: SSRRenderingPipeline;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const SSRRenderingPipelineColorSpaceProperties: FunctionComponent<{
|
|
16
|
+
pipeline: SSRRenderingPipeline;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Bone } from "@babylonjs/core/index.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
import { type ISelectionService } from "../../../services/selectionService";
|
|
4
|
+
export declare const BoneGeneralProperties: FunctionComponent<{
|
|
5
|
+
bone: Bone;
|
|
6
|
+
selectionService: ISelectionService;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Skeleton } from "@babylonjs/core/index.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
export declare const SkeletonGeneralProperties: FunctionComponent<{
|
|
4
|
+
skeleton: Skeleton;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const SkeletonViewerProperties: FunctionComponent<{
|
|
7
|
+
skeleton: Skeleton;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type ISelectionService } from "../../../services/selectionService";
|
|
3
|
+
import { SpriteManager } from "@babylonjs/core/Sprites/spriteManager.js";
|
|
4
|
+
export declare const SpriteManagerGeneralProperties: FunctionComponent<{
|
|
5
|
+
spriteManager: SpriteManager;
|
|
6
|
+
selectionService: ISelectionService;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const SpriteManagerOtherProperties: FunctionComponent<{
|
|
9
|
+
spriteManager: SpriteManager;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const SpriteManagerCellProperties: FunctionComponent<{
|
|
12
|
+
spriteManager: SpriteManager;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const SpriteManagerFileProperties: FunctionComponent<{
|
|
15
|
+
spriteManager: SpriteManager;
|
|
16
|
+
selectionService: ISelectionService;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const SpriteManagerSnippetProperties: FunctionComponent<{
|
|
19
|
+
spriteManager: SpriteManager;
|
|
20
|
+
selectionService: ISelectionService;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const SpriteManagerActionsProperties: FunctionComponent<{
|
|
23
|
+
spriteManager: SpriteManager;
|
|
24
|
+
selectionService: ISelectionService;
|
|
25
|
+
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type Sprite } from "@babylonjs/core/index.js";
|
|
3
|
+
import { type ISelectionService } from "../../../services/selectionService";
|
|
4
|
+
export declare const SpriteGeneralProperties: FunctionComponent<{
|
|
5
|
+
sprite: Sprite;
|
|
6
|
+
selectionService: ISelectionService;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const SpriteTransformProperties: FunctionComponent<{
|
|
9
|
+
sprite: Sprite;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const SpriteAnimationProperties: FunctionComponent<{
|
|
12
|
+
sprite: Sprite;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const SpriteOtherProperties: FunctionComponent<{
|
|
15
|
+
sprite: Sprite;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const SpriteCellProperties: FunctionComponent<{
|
|
18
|
+
sprite: Sprite;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type AdvancedDynamicTexture } from "@babylonjs/gui/2D/advancedDynamicTexture.js";
|
|
3
|
+
export declare const AdvancedDynamicTextureGeneralProperties: import("react").ForwardRefExoticComponent<{
|
|
4
|
+
texture: AdvancedDynamicTexture;
|
|
5
|
+
} & {
|
|
6
|
+
spinnerSize?: import("@fluentui/react-spinner").SpinnerProps["size"];
|
|
7
|
+
spinnerLabel?: string;
|
|
8
|
+
} & import("react").RefAttributes<never>>;
|
|
9
|
+
export declare const AdvancedDynamicTexturePreviewProperties: FunctionComponent<{
|
|
10
|
+
texture: AdvancedDynamicTexture;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ComponentType, type FunctionComponent } from "react";
|
|
2
|
+
import { type BaseTexture } from "@babylonjs/core/index.js";
|
|
3
|
+
import { type TextureEditorProps } from "../../textureEditor/textureEditor";
|
|
4
|
+
export declare const BaseTexturePreviewProperties: FunctionComponent<{
|
|
5
|
+
texture: BaseTexture;
|
|
6
|
+
textureEditor: ComponentType<TextureEditorProps>;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const BaseTextureGeneralProperties: FunctionComponent<{
|
|
9
|
+
texture: BaseTexture;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const BaseTextureCharacteristicProperties: FunctionComponent<{
|
|
12
|
+
texture: BaseTexture;
|
|
13
|
+
}>;
|
|
14
|
+
export declare const BaseTextureTransformProperties: FunctionComponent<{
|
|
15
|
+
texture: BaseTexture;
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const TextureFormat: ({
|
|
2
|
+
label: string;
|
|
3
|
+
normalizable: boolean;
|
|
4
|
+
value: number;
|
|
5
|
+
hideType?: undefined;
|
|
6
|
+
compressed?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
label: string;
|
|
9
|
+
normalizable: boolean;
|
|
10
|
+
hideType: boolean;
|
|
11
|
+
value: number;
|
|
12
|
+
compressed?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
label: string;
|
|
15
|
+
normalizable: boolean;
|
|
16
|
+
compressed: boolean;
|
|
17
|
+
value: number;
|
|
18
|
+
hideType?: undefined;
|
|
19
|
+
})[];
|
|
20
|
+
export declare function FindTextureFormat(format: number): {
|
|
21
|
+
label: string;
|
|
22
|
+
normalizable: boolean;
|
|
23
|
+
value: number;
|
|
24
|
+
hideType?: undefined;
|
|
25
|
+
compressed?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
label: string;
|
|
28
|
+
normalizable: boolean;
|
|
29
|
+
hideType: boolean;
|
|
30
|
+
value: number;
|
|
31
|
+
compressed?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
label: string;
|
|
34
|
+
normalizable: boolean;
|
|
35
|
+
compressed: boolean;
|
|
36
|
+
value: number;
|
|
37
|
+
hideType?: undefined;
|
|
38
|
+
} | null;
|
|
39
|
+
export declare const TextureType: {
|
|
40
|
+
label: string;
|
|
41
|
+
normalizable: boolean;
|
|
42
|
+
value: number;
|
|
43
|
+
}[];
|
|
44
|
+
export declare function FindTextureType(type: number): {
|
|
45
|
+
label: string;
|
|
46
|
+
normalizable: boolean;
|
|
47
|
+
value: number;
|
|
48
|
+
} | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type FunctionComponent, type Ref } from "react";
|
|
2
|
+
import { type BaseTexture } from "@babylonjs/core/index.js";
|
|
3
|
+
export type TexturePreviewImperativeRef = {
|
|
4
|
+
refresh: () => Promise<void>;
|
|
5
|
+
};
|
|
6
|
+
export type TexturePreviewProps = {
|
|
7
|
+
texture: BaseTexture;
|
|
8
|
+
disableToolbar?: boolean;
|
|
9
|
+
maxWidth?: string;
|
|
10
|
+
maxHeight?: string;
|
|
11
|
+
offsetX?: number;
|
|
12
|
+
offsetY?: number;
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
15
|
+
imperativeRef?: Ref<TexturePreviewImperativeRef>;
|
|
16
|
+
};
|
|
17
|
+
export declare const TexturePreview: FunctionComponent<TexturePreviewProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type Texture } from "@babylonjs/core/index.js";
|
|
2
|
+
import { type FunctionComponent } from "react";
|
|
3
|
+
export declare const TexturePreviewProperties: FunctionComponent<{
|
|
4
|
+
texture: Texture;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const TextureGeneralProperties: FunctionComponent<{
|
|
7
|
+
texture: Texture;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const TextureTransformProperties: FunctionComponent<{
|
|
10
|
+
texture: Texture;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type ThinTexture } from "@babylonjs/core/index.js";
|
|
3
|
+
export declare const ThinTextureGeneralProperties: FunctionComponent<{
|
|
4
|
+
texture: ThinTexture;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const ThinTextureSamplingProperties: FunctionComponent<{
|
|
7
|
+
texture: ThinTexture;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FunctionComponent } from "react";
|
|
2
|
+
import { type Nullable, type Quaternion, type Vector3 } from "@babylonjs/core/index.js";
|
|
3
|
+
export type Transform = {
|
|
4
|
+
position: Vector3;
|
|
5
|
+
rotation: Vector3;
|
|
6
|
+
rotationQuaternion: Nullable<Quaternion>;
|
|
7
|
+
scaling: Vector3;
|
|
8
|
+
};
|
|
9
|
+
export declare const TransformProperties: FunctionComponent<{
|
|
10
|
+
transform: Transform;
|
|
11
|
+
}>;
|