babylonjs-editor 4.5.0 → 5.4.0-alpha.2
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/.env +1 -0
- package/build/src/index.js +150 -0
- package/declaration/src/dashboard/create.d.ts +6 -0
- package/declaration/src/dashboard/item.d.ts +8 -0
- package/declaration/src/dashboard/main.d.ts +19 -0
- package/declaration/src/dashboard/menu.d.ts +1 -0
- package/declaration/src/dashboard/preload.d.ts +0 -0
- package/declaration/src/dashboard/progress.d.ts +17 -0
- package/declaration/src/dashboard/window-controls.d.ts +1 -0
- package/declaration/src/dashboard/window.d.ts +2 -0
- package/declaration/src/editor/dialogs/command-palette/camera.d.ts +4 -0
- package/declaration/src/editor/dialogs/command-palette/command-palette.d.ts +27 -0
- package/declaration/src/editor/dialogs/command-palette/light.d.ts +4 -0
- package/declaration/src/editor/dialogs/command-palette/material.d.ts +4 -0
- package/declaration/src/editor/dialogs/command-palette/mesh.d.ts +4 -0
- package/declaration/src/editor/dialogs/command-palette/node.d.ts +4 -0
- package/declaration/src/editor/dialogs/command-palette/particle-systems.d.ts +3 -0
- package/declaration/src/editor/dialogs/command-palette/project.d.ts +3 -0
- package/declaration/src/editor/dialogs/command-palette/shared-commands.d.ts +31 -0
- package/declaration/src/editor/dialogs/command-palette/sprite.d.ts +4 -0
- package/declaration/src/editor/dialogs/edit-preferences/edit-preferences.d.ts +24 -0
- package/declaration/src/editor/dialogs/edit-project/edit-project.d.ts +17 -0
- package/declaration/src/editor/dialogs/edit-project/plugins/component.d.ts +18 -0
- package/declaration/src/editor/dialogs/edit-project/plugins/item.d.ts +7 -0
- package/declaration/src/editor/dialogs/edit-project/textures/component.d.ts +9 -0
- package/declaration/src/editor/dialogs/generate/complete.d.ts +5 -0
- package/declaration/src/editor/dialogs/generate/generate-project.d.ts +24 -0
- package/declaration/src/editor/dialogs/generate/generate.d.ts +10 -0
- package/declaration/src/editor/dialogs/generate/options.d.ts +5 -0
- package/declaration/src/editor/layout/animation/inspector/inspector.d.ts +21 -0
- package/declaration/src/editor/layout/animation/timeline/key.d.ts +24 -0
- package/declaration/src/editor/layout/animation/timeline/timeline.d.ts +68 -0
- package/declaration/src/editor/layout/animation/timeline/track.d.ts +29 -0
- package/declaration/src/editor/layout/animation/timeline/tracker.d.ts +17 -0
- package/declaration/src/editor/layout/animation/toolbar.d.ts +11 -0
- package/declaration/src/editor/layout/animation/tools/export.d.ts +2 -0
- package/declaration/src/editor/layout/animation/tools/import.d.ts +3 -0
- package/declaration/src/editor/layout/animation/tools/properties.d.ts +6 -0
- package/declaration/src/editor/layout/animation/tracks/add.d.ts +7 -0
- package/declaration/src/editor/layout/animation/tracks/item.d.ts +11 -0
- package/declaration/src/editor/layout/animation/tracks/tracks.d.ts +18 -0
- package/declaration/src/editor/layout/animation.d.ts +53 -0
- package/declaration/src/editor/layout/assets-browser/events/gui.d.ts +2 -0
- package/declaration/src/editor/layout/assets-browser/events/material.d.ts +2 -0
- package/declaration/src/editor/layout/assets-browser/events/particles.d.ts +2 -0
- package/declaration/src/editor/layout/assets-browser/events/scene.d.ts +2 -0
- package/declaration/src/editor/layout/assets-browser/items/cinematic-item.d.ts +12 -0
- package/declaration/src/editor/layout/assets-browser/items/gui-item.d.ts +14 -0
- package/declaration/src/editor/layout/assets-browser/items/hdr-item.d.ts +13 -0
- package/declaration/src/editor/layout/assets-browser/items/image-item.d.ts +27 -0
- package/declaration/src/editor/layout/assets-browser/items/item.d.ts +91 -0
- package/declaration/src/editor/layout/assets-browser/items/json-item.d.ts +14 -0
- package/declaration/src/editor/layout/assets-browser/items/material-item.d.ts +26 -0
- package/declaration/src/editor/layout/assets-browser/items/mesh-item.d.ts +20 -0
- package/declaration/src/editor/layout/assets-browser/items/navmesh-item.d.ts +12 -0
- package/declaration/src/editor/layout/assets-browser/items/particle-system-item.d.ts +12 -0
- package/declaration/src/editor/layout/assets-browser/items/ragdoll.d.ts +12 -0
- package/declaration/src/editor/layout/assets-browser/items/scene-item.d.ts +16 -0
- package/declaration/src/editor/layout/assets-browser/label.d.ts +7 -0
- package/declaration/src/editor/layout/assets-browser/viewers/env-viewer.d.ts +1 -0
- package/declaration/src/editor/layout/assets-browser/viewers/material-viewer.d.ts +6 -0
- package/declaration/src/editor/layout/assets-browser/viewers/model-viewer.d.ts +10 -0
- package/declaration/src/editor/layout/assets-browser.d.ts +107 -0
- package/declaration/src/editor/layout/cinematic/curves/curve.d.ts +23 -0
- package/declaration/src/editor/layout/cinematic/curves/handle.d.ts +20 -0
- package/declaration/src/editor/layout/cinematic/curves/point.d.ts +16 -0
- package/declaration/src/editor/layout/cinematic/curves/root.d.ts +27 -0
- package/declaration/src/editor/layout/cinematic/curves/ticks.d.ts +9 -0
- package/declaration/src/editor/layout/cinematic/curves/tools/animation-group.d.ts +3 -0
- package/declaration/src/editor/layout/cinematic/curves/tools/property.d.ts +8 -0
- package/declaration/src/editor/layout/cinematic/curves/tools/sound.d.ts +2 -0
- package/declaration/src/editor/layout/cinematic/curves/tools/tools.d.ts +34 -0
- package/declaration/src/editor/layout/cinematic/curves.d.ts +21 -0
- package/declaration/src/editor/layout/cinematic/editor.d.ts +78 -0
- package/declaration/src/editor/layout/cinematic/inspector/animation-group.d.ts +8 -0
- package/declaration/src/editor/layout/cinematic/inspector/events/apply-impulse.d.ts +7 -0
- package/declaration/src/editor/layout/cinematic/inspector/events/base.d.ts +8 -0
- package/declaration/src/editor/layout/cinematic/inspector/events/event.d.ts +5 -0
- package/declaration/src/editor/layout/cinematic/inspector/events/set-enabled.d.ts +7 -0
- package/declaration/src/editor/layout/cinematic/inspector/key-cut.d.ts +8 -0
- package/declaration/src/editor/layout/cinematic/inspector/key.d.ts +9 -0
- package/declaration/src/editor/layout/cinematic/inspector/sound.d.ts +8 -0
- package/declaration/src/editor/layout/cinematic/inspector/tools.d.ts +13 -0
- package/declaration/src/editor/layout/cinematic/inspector.d.ts +16 -0
- package/declaration/src/editor/layout/cinematic/render/convert.d.ts +21 -0
- package/declaration/src/editor/layout/cinematic/render/dialog.d.ts +19 -0
- package/declaration/src/editor/layout/cinematic/render/render.d.ts +18 -0
- package/declaration/src/editor/layout/cinematic/render/renderer.d.ts +16 -0
- package/declaration/src/editor/layout/cinematic/render/tools.d.ts +21 -0
- package/declaration/src/editor/layout/cinematic/serialization/parse.d.ts +21 -0
- package/declaration/src/editor/layout/cinematic/serialization/serialize.d.ts +4 -0
- package/declaration/src/editor/layout/cinematic/timelines/add.d.ts +6 -0
- package/declaration/src/editor/layout/cinematic/timelines/keys/animation-group.d.ts +9 -0
- package/declaration/src/editor/layout/cinematic/timelines/keys/base.d.ts +22 -0
- package/declaration/src/editor/layout/cinematic/timelines/keys/event.d.ts +9 -0
- package/declaration/src/editor/layout/cinematic/timelines/keys/property.d.ts +9 -0
- package/declaration/src/editor/layout/cinematic/timelines/keys/sound.d.ts +9 -0
- package/declaration/src/editor/layout/cinematic/timelines/move.d.ts +18 -0
- package/declaration/src/editor/layout/cinematic/timelines/options.d.ts +5 -0
- package/declaration/src/editor/layout/cinematic/timelines/remove.d.ts +6 -0
- package/declaration/src/editor/layout/cinematic/timelines/tools.d.ts +4 -0
- package/declaration/src/editor/layout/cinematic/timelines.d.ts +26 -0
- package/declaration/src/editor/layout/cinematic/toolbar.d.ts +6 -0
- package/declaration/src/editor/layout/cinematic/tools/state.d.ts +3 -0
- package/declaration/src/editor/layout/cinematic/tools/sync.d.ts +6 -0
- package/declaration/src/editor/layout/cinematic/tools/tracks.d.ts +2 -0
- package/declaration/src/editor/layout/cinematic/tracker.d.ts +11 -0
- package/declaration/src/editor/layout/cinematic/tracks/add.d.ts +5 -0
- package/declaration/src/editor/layout/cinematic/tracks/animation-group.d.ts +7 -0
- package/declaration/src/editor/layout/cinematic/tracks/event.d.ts +7 -0
- package/declaration/src/editor/layout/cinematic/tracks/property.d.ts +7 -0
- package/declaration/src/editor/layout/cinematic/tracks/remove.d.ts +7 -0
- package/declaration/src/editor/layout/cinematic/tracks/sound.d.ts +7 -0
- package/declaration/src/editor/layout/cinematic/tracks.d.ts +21 -0
- package/declaration/src/editor/layout/console/progress-log.d.ts +21 -0
- package/declaration/src/editor/layout/console.d.ts +40 -0
- package/declaration/src/editor/layout/graph/export.d.ts +19 -0
- package/declaration/src/editor/layout/graph/graph.d.ts +18 -0
- package/declaration/src/editor/layout/graph/label.d.ts +7 -0
- package/declaration/src/editor/layout/graph/remove.d.ts +6 -0
- package/declaration/src/editor/layout/graph.d.ts +100 -0
- package/declaration/src/editor/layout/inspector/camera/arc-rotate.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/camera/editor.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/camera/free.d.ts +15 -0
- package/declaration/src/editor/layout/inspector/camera/utils/focal.d.ts +5 -0
- package/declaration/src/editor/layout/inspector/camera/utils/mode.d.ts +6 -0
- package/declaration/src/editor/layout/inspector/decals/configuration.d.ts +6 -0
- package/declaration/src/editor/layout/inspector/decals/decals.d.ts +36 -0
- package/declaration/src/editor/layout/inspector/fields/asset.d.ts +8 -0
- package/declaration/src/editor/layout/inspector/fields/block.d.ts +2 -0
- package/declaration/src/editor/layout/inspector/fields/color.d.ts +9 -0
- package/declaration/src/editor/layout/inspector/fields/dimensions.d.ts +10 -0
- package/declaration/src/editor/layout/inspector/fields/entity.d.ts +8 -0
- package/declaration/src/editor/layout/inspector/fields/field.d.ts +14 -0
- package/declaration/src/editor/layout/inspector/fields/key.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/fields/list.d.ts +15 -0
- package/declaration/src/editor/layout/inspector/fields/number.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/fields/section.d.ts +21 -0
- package/declaration/src/editor/layout/inspector/fields/slider.d.ts +8 -0
- package/declaration/src/editor/layout/inspector/fields/string.d.ts +6 -0
- package/declaration/src/editor/layout/inspector/fields/switch.d.ts +5 -0
- package/declaration/src/editor/layout/inspector/fields/texture.d.ts +37 -0
- package/declaration/src/editor/layout/inspector/fields/vector.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/file/image.d.ts +5 -0
- package/declaration/src/editor/layout/inspector/file/markdown.d.ts +5 -0
- package/declaration/src/editor/layout/inspector/file/sound.d.ts +5 -0
- package/declaration/src/editor/layout/inspector/file.d.ts +18 -0
- package/declaration/src/editor/layout/inspector/gui/gui.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/inspector.d.ts +5 -0
- package/declaration/src/editor/layout/inspector/light/directional.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/light/hemispheric.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/light/point.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/light/shadows.d.ts +28 -0
- package/declaration/src/editor/layout/inspector/light/spot.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/marketplace-asset.d.ts +40 -0
- package/declaration/src/editor/layout/inspector/material/cell.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/components/alpha.d.ts +6 -0
- package/declaration/src/editor/layout/inspector/material/components/transparency.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/material/components/utils.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/fire.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/gradient.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/grid.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/lava.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/multi.d.ts +15 -0
- package/declaration/src/editor/layout/inspector/material/node.d.ts +19 -0
- package/declaration/src/editor/layout/inspector/material/normal.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/pbr.d.ts +10 -0
- package/declaration/src/editor/layout/inspector/material/sky.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/standard.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/material/tri-planar.d.ts +11 -0
- package/declaration/src/editor/layout/inspector/material/water.d.ts +15 -0
- package/declaration/src/editor/layout/inspector/mesh/collision.d.ts +17 -0
- package/declaration/src/editor/layout/inspector/mesh/decal.d.ts +15 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/box.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/capsule.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/cylinder.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/ground.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/plane.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/proxy.d.ts +1 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/sphere.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/torus-knot.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry/torus.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/geometry.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/mesh/mesh.d.ts +32 -0
- package/declaration/src/editor/layout/inspector/mesh/physics.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/mesh/skeleton.d.ts +12 -0
- package/declaration/src/editor/layout/inspector/metadata/custom-metadata.d.ts +14 -0
- package/declaration/src/editor/layout/inspector/particles/gpu-particle-system.d.ts +26 -0
- package/declaration/src/editor/layout/inspector/particles/gradient.d.ts +6 -0
- package/declaration/src/editor/layout/inspector/particles/node-particle-system-set.d.ts +17 -0
- package/declaration/src/editor/layout/inspector/particles/particle-system.d.ts +22 -0
- package/declaration/src/editor/layout/inspector/particles/property-gradient.d.ts +13 -0
- package/declaration/src/editor/layout/inspector/scene/animation-groups.d.ts +7 -0
- package/declaration/src/editor/layout/inspector/scene/scene.d.ts +28 -0
- package/declaration/src/editor/layout/inspector/script/field.d.ts +9 -0
- package/declaration/src/editor/layout/inspector/script/script.d.ts +18 -0
- package/declaration/src/editor/layout/inspector/script/tools.d.ts +20 -0
- package/declaration/src/editor/layout/inspector/sound/sound.d.ts +17 -0
- package/declaration/src/editor/layout/inspector/sound/spatial.d.ts +14 -0
- package/declaration/src/editor/layout/inspector/sprites/sprite-manager.d.ts +27 -0
- package/declaration/src/editor/layout/inspector/sprites/sprite-map.d.ts +29 -0
- package/declaration/src/editor/layout/inspector/sprites/sprite.d.ts +27 -0
- package/declaration/src/editor/layout/inspector/transform.d.ts +17 -0
- package/declaration/src/editor/layout/inspector.d.ts +24 -0
- package/declaration/src/editor/layout/marketplace-browser/footer.d.ts +11 -0
- package/declaration/src/editor/layout/marketplace-browser/grid.d.ts +9 -0
- package/declaration/src/editor/layout/marketplace-browser/import-progress.d.ts +11 -0
- package/declaration/src/editor/layout/marketplace-browser/item.d.ts +7 -0
- package/declaration/src/editor/layout/marketplace-browser/settings-dialog.d.ts +21 -0
- package/declaration/src/editor/layout/marketplace-browser/sidebar.d.ts +19 -0
- package/declaration/src/editor/layout/marketplace-browser/toolbar.d.ts +17 -0
- package/declaration/src/editor/layout/marketplace-browser.d.ts +36 -0
- package/declaration/src/editor/layout/navmesh/components/list.d.ts +10 -0
- package/declaration/src/editor/layout/navmesh/components/search.d.ts +5 -0
- package/declaration/src/editor/layout/navmesh/editor.d.ts +34 -0
- package/declaration/src/editor/layout/navmesh/inspector.d.ts +7 -0
- package/declaration/src/editor/layout/navmesh/meshes.d.ts +7 -0
- package/declaration/src/editor/layout/navmesh/obstacles.d.ts +7 -0
- package/declaration/src/editor/layout/navmesh/preview.d.ts +7 -0
- package/declaration/src/editor/layout/navmesh/toolbar.d.ts +5 -0
- package/declaration/src/editor/layout/navmesh/tools.d.ts +10 -0
- package/declaration/src/editor/layout/navmesh/types.d.ts +20 -0
- package/declaration/src/editor/layout/preview/axis.d.ts +30 -0
- package/declaration/src/editor/layout/preview/camera.d.ts +8 -0
- package/declaration/src/editor/layout/preview/gizmo.d.ts +45 -0
- package/declaration/src/editor/layout/preview/icons.d.ts +35 -0
- package/declaration/src/editor/layout/preview/import/gui.d.ts +8 -0
- package/declaration/src/editor/layout/preview/import/import.d.ts +9 -0
- package/declaration/src/editor/layout/preview/import/material.d.ts +16 -0
- package/declaration/src/editor/layout/preview/import/particles.d.ts +3 -0
- package/declaration/src/editor/layout/preview/import/progress.d.ts +11 -0
- package/declaration/src/editor/layout/preview/import/sound.d.ts +2 -0
- package/declaration/src/editor/layout/preview/import/texture.d.ts +17 -0
- package/declaration/src/editor/layout/preview/play.d.ts +91 -0
- package/declaration/src/editor/layout/preview/stats/row.d.ts +5 -0
- package/declaration/src/editor/layout/preview/stats/stats.d.ts +17 -0
- package/declaration/src/editor/layout/preview/stats/types.d.ts +28 -0
- package/declaration/src/editor/layout/preview.d.ts +140 -0
- package/declaration/src/editor/layout/ragdoll/editor.d.ts +23 -0
- package/declaration/src/editor/layout/ragdoll/empty.d.ts +5 -0
- package/declaration/src/editor/layout/ragdoll/inspector.d.ts +28 -0
- package/declaration/src/editor/layout/ragdoll/preview.d.ts +27 -0
- package/declaration/src/editor/layout/ragdoll/toolbar.d.ts +5 -0
- package/declaration/src/editor/layout/toolbar.d.ts +18 -0
- package/declaration/src/editor/layout.d.ts +84 -0
- package/declaration/src/editor/main.d.ts +102 -0
- package/declaration/src/editor/menu.d.ts +4 -0
- package/declaration/src/editor/nodes/camera-pan-input.d.ts +30 -0
- package/declaration/src/editor/nodes/camera.d.ts +50 -0
- package/declaration/src/editor/nodes/collision.d.ts +36 -0
- package/declaration/src/editor/nodes/node-particle-system.d.ts +30 -0
- package/declaration/src/editor/nodes/scene-link.d.ts +28 -0
- package/declaration/src/editor/nodes/sprite-manager.d.ts +36 -0
- package/declaration/src/editor/nodes/sprite-map.d.ts +38 -0
- package/declaration/src/editor/overrides.d.ts +1 -0
- package/declaration/src/editor/preload.d.ts +1 -0
- package/declaration/src/editor/rendering/default-pipeline.d.ts +14 -0
- package/declaration/src/editor/rendering/ibl-shadows.d.ts +11 -0
- package/declaration/src/editor/rendering/motion-blur.d.ts +11 -0
- package/declaration/src/editor/rendering/ssao.d.ts +11 -0
- package/declaration/src/editor/rendering/ssr.d.ts +11 -0
- package/declaration/src/editor/rendering/taa.d.ts +11 -0
- package/declaration/src/editor/rendering/tools.d.ts +7 -0
- package/declaration/src/editor/rendering/vls.d.ts +11 -0
- package/declaration/src/editor/window.d.ts +23 -0
- package/declaration/src/editor/windows/ge/index.d.ts +13 -0
- package/declaration/src/editor/windows/nme/index.d.ts +15 -0
- package/declaration/src/editor/windows/npe/index.d.ts +15 -0
- package/declaration/src/editor/windows/preload.d.ts +1 -0
- package/declaration/src/editor/windows/scene/index.d.ts +12 -0
- package/declaration/src/electron/assimp/assimpjs-worker.d.ts +1 -0
- package/declaration/src/electron/assimp/assimpjs.d.ts +1 -0
- package/declaration/src/electron/events/dialog.d.ts +1 -0
- package/declaration/src/electron/events/editor.d.ts +1 -0
- package/declaration/src/electron/events/export.d.ts +1 -0
- package/declaration/src/electron/events/shell.d.ts +1 -0
- package/declaration/src/electron/events/window.d.ts +1 -0
- package/declaration/src/electron/node-pty.d.ts +6 -0
- package/declaration/src/electron/oauth.d.ts +1 -0
- package/declaration/src/electron/protocol.d.ts +1 -0
- package/declaration/src/export.d.ts +85 -0
- package/declaration/src/index.d.ts +10 -0
- package/declaration/src/loader/animation.d.ts +2 -0
- package/declaration/src/loader/assimpjs.d.ts +42 -0
- package/declaration/src/loader/maps.d.ts +4 -0
- package/declaration/src/loader/material.d.ts +3 -0
- package/declaration/src/loader/mesh.d.ts +3 -0
- package/declaration/src/loader/node.d.ts +4 -0
- package/declaration/src/loader/texture.d.ts +2 -0
- package/declaration/src/loader/types.d.ts +64 -0
- package/declaration/src/project/add/camera.d.ts +4 -0
- package/declaration/src/project/add/configure.d.ts +3 -0
- package/declaration/src/project/add/light.d.ts +6 -0
- package/declaration/src/project/add/material.d.ts +14 -0
- package/declaration/src/project/add/mesh.d.ts +12 -0
- package/declaration/src/project/add/node.d.ts +3 -0
- package/declaration/src/project/add/particles.d.ts +4 -0
- package/declaration/src/project/add/sprite.d.ts +6 -0
- package/declaration/src/project/configuration.d.ts +11 -0
- package/declaration/src/project/export/assets.d.ts +9 -0
- package/declaration/src/project/export/dialog.d.ts +23 -0
- package/declaration/src/project/export/export.d.ts +7 -0
- package/declaration/src/project/export/ktx.d.ts +29 -0
- package/declaration/src/project/export/lod.d.ts +7 -0
- package/declaration/src/project/export/materials.d.ts +8 -0
- package/declaration/src/project/export/particles.d.ts +9 -0
- package/declaration/src/project/export/physics.d.ts +7 -0
- package/declaration/src/project/export/progress.d.ts +11 -0
- package/declaration/src/project/export/scripts.d.ts +2 -0
- package/declaration/src/project/export/texture.d.ts +6 -0
- package/declaration/src/project/load/default.d.ts +3 -0
- package/declaration/src/project/load/install.d.ts +23 -0
- package/declaration/src/project/load/load.d.ts +16 -0
- package/declaration/src/project/load/plugins/animation-groups.d.ts +4 -0
- package/declaration/src/project/load/plugins/cameras.d.ts +4 -0
- package/declaration/src/project/load/plugins/gui.d.ts +3 -0
- package/declaration/src/project/load/plugins/lights.d.ts +4 -0
- package/declaration/src/project/load/plugins/meshes.d.ts +3 -0
- package/declaration/src/project/load/plugins/morph-targets.d.ts +4 -0
- package/declaration/src/project/load/plugins/node-particle-system-sets.d.ts +4 -0
- package/declaration/src/project/load/plugins/particle-systems.d.ts +4 -0
- package/declaration/src/project/load/plugins/shadow-generators.d.ts +4 -0
- package/declaration/src/project/load/plugins/skeletons.d.ts +4 -0
- package/declaration/src/project/load/plugins/sounds.d.ts +4 -0
- package/declaration/src/project/load/plugins/sprite-managers.d.ts +4 -0
- package/declaration/src/project/load/plugins/sprite-maps.d.ts +4 -0
- package/declaration/src/project/load/plugins/transform-nodes.d.ts +4 -0
- package/declaration/src/project/load/prepare.d.ts +4 -0
- package/declaration/src/project/load/progress.d.ts +20 -0
- package/declaration/src/project/load/scene.d.ts +34 -0
- package/declaration/src/project/load/texture.d.ts +2 -0
- package/declaration/src/project/run.d.ts +3 -0
- package/declaration/src/project/save/dialog.d.ts +23 -0
- package/declaration/src/project/save/progress.d.ts +4 -0
- package/declaration/src/project/save/save.d.ts +4 -0
- package/declaration/src/project/save/scene.d.ts +2 -0
- package/declaration/src/project/tools/geometry.d.ts +7 -0
- package/declaration/src/project/tools/morph-target.d.ts +1 -0
- package/declaration/src/project/typings.d.ts +34 -0
- package/declaration/src/splash/main.d.ts +6 -0
- package/declaration/src/splash/preload.d.ts +0 -0
- package/declaration/src/tools/animation/group.d.ts +7 -0
- package/declaration/src/tools/animation/tools.d.ts +27 -0
- package/declaration/src/tools/animation/tween.d.ts +95 -0
- package/declaration/src/tools/augmentations.d.ts +10 -0
- package/declaration/src/tools/camera/focus.d.ts +7 -0
- package/declaration/src/tools/dialog.d.ts +14 -0
- package/declaration/src/tools/dom.d.ts +17 -0
- package/declaration/src/tools/fs.d.ts +30 -0
- package/declaration/src/tools/guards/material.d.ts +21 -0
- package/declaration/src/tools/guards/math.d.ts +26 -0
- package/declaration/src/tools/guards/nodes.d.ts +103 -0
- package/declaration/src/tools/guards/particles.d.ts +22 -0
- package/declaration/src/tools/guards/scene.d.ts +12 -0
- package/declaration/src/tools/guards/shadows.d.ts +11 -0
- package/declaration/src/tools/guards/sound.d.ts +6 -0
- package/declaration/src/tools/guards/sprites.d.ts +18 -0
- package/declaration/src/tools/guards/texture.d.ts +22 -0
- package/declaration/src/tools/ipc.d.ts +14 -0
- package/declaration/src/tools/light/ibl.d.ts +2 -0
- package/declaration/src/tools/light/shadows.d.ts +19 -0
- package/declaration/src/tools/local-storage.d.ts +29 -0
- package/declaration/src/tools/marketplaces/ambientcg.d.ts +12 -0
- package/declaration/src/tools/marketplaces/polyhaven.d.ts +16 -0
- package/declaration/src/tools/marketplaces/provider.d.ts +37 -0
- package/declaration/src/tools/marketplaces/registrations.d.ts +3 -0
- package/declaration/src/tools/marketplaces/sketchfab/settings.d.ts +8 -0
- package/declaration/src/tools/marketplaces/sketchfab.d.ts +29 -0
- package/declaration/src/tools/marketplaces/types.d.ts +79 -0
- package/declaration/src/tools/material/extract.d.ts +6 -0
- package/declaration/src/tools/material/material.d.ts +11 -0
- package/declaration/src/tools/material/texture.d.ts +2 -0
- package/declaration/src/tools/maths/projection.d.ts +2 -0
- package/declaration/src/tools/maths/scalar.d.ts +8 -0
- package/declaration/src/tools/mesh/augmentations.d.ts +7 -0
- package/declaration/src/tools/mesh/collision.d.ts +7 -0
- package/declaration/src/tools/mesh/ground.d.ts +10 -0
- package/declaration/src/tools/mesh/instance.d.ts +3 -0
- package/declaration/src/tools/node/clone.d.ts +10 -0
- package/declaration/src/tools/node/metadata.d.ts +55 -0
- package/declaration/src/tools/node/parenting.d.ts +11 -0
- package/declaration/src/tools/node-pty.d.ts +43 -0
- package/declaration/src/tools/observables.d.ts +45 -0
- package/declaration/src/tools/os.d.ts +10 -0
- package/declaration/src/tools/particles/augmentations.d.ts +7 -0
- package/declaration/src/tools/particles/extract.d.ts +10 -0
- package/declaration/src/tools/particles/metadata.d.ts +39 -0
- package/declaration/src/tools/particles/particle.d.ts +6 -0
- package/declaration/src/tools/particles/texture.d.ts +8 -0
- package/declaration/src/tools/physics/init.d.ts +5 -0
- package/declaration/src/tools/physics/serialization/aggregate.d.ts +33 -0
- package/declaration/src/tools/physics/shape.d.ts +7 -0
- package/declaration/src/tools/plugins/require.d.ts +7 -0
- package/declaration/src/tools/plugins/watch.d.ts +5 -0
- package/declaration/src/tools/process.d.ts +36 -0
- package/declaration/src/tools/project.d.ts +27 -0
- package/declaration/src/tools/property.d.ts +15 -0
- package/declaration/src/tools/recast/init.d.ts +2 -0
- package/declaration/src/tools/scene/materials.d.ts +7 -0
- package/declaration/src/tools/scene/play/compile.d.ts +4 -0
- package/declaration/src/tools/scene/play/override.d.ts +7 -0
- package/declaration/src/tools/scene/rename.d.ts +7 -0
- package/declaration/src/tools/scene/scene-link.d.ts +17 -0
- package/declaration/src/tools/scene/screenshot.d.ts +11 -0
- package/declaration/src/tools/sound/augmentations.d.ts +7 -0
- package/declaration/src/tools/sound/tools.d.ts +15 -0
- package/declaration/src/tools/sprite/augmentations.d.ts +8 -0
- package/declaration/src/tools/sprite/preview.d.ts +6 -0
- package/declaration/src/tools/sprite/tools.d.ts +4 -0
- package/declaration/src/tools/tools.d.ts +55 -0
- package/declaration/src/tools/undoredo.d.ts +24 -0
- package/declaration/src/tools/worker.d.ts +17 -0
- package/declaration/src/tools/workers/md5.d.ts +2 -0
- package/declaration/src/tools/workers/script.d.ts +9 -0
- package/declaration/src/tools/workers/thumbnail/main.d.ts +2 -0
- package/declaration/src/tools/workers/thumbnail/material.d.ts +2 -0
- package/declaration/src/tools/workers/thumbnail/mesh.d.ts +2 -0
- package/declaration/src/ui/color-picker.d.ts +15 -0
- package/declaration/src/ui/dialog.d.ts +13 -0
- package/declaration/src/ui/scene-asset-browser.d.ts +88 -0
- package/declaration/src/ui/shadcn/ui/alert-dialog.d.ts +20 -0
- package/declaration/src/ui/shadcn/ui/alert.d.ts +9 -0
- package/declaration/src/ui/shadcn/ui/badge.d.ts +9 -0
- package/declaration/src/ui/shadcn/ui/breadcrumb.d.ts +19 -0
- package/declaration/src/ui/shadcn/ui/button.d.ts +11 -0
- package/declaration/src/ui/shadcn/ui/checkbox.d.ts +4 -0
- package/declaration/src/ui/shadcn/ui/command.d.ts +82 -0
- package/declaration/src/ui/shadcn/ui/context-menu.d.ts +27 -0
- package/declaration/src/ui/shadcn/ui/dialog.d.ts +19 -0
- package/declaration/src/ui/shadcn/ui/dropdown-menu.d.ts +27 -0
- package/declaration/src/ui/shadcn/ui/field.d.ts +24 -0
- package/declaration/src/ui/shadcn/ui/hover-card.d.ts +6 -0
- package/declaration/src/ui/shadcn/ui/input.d.ts +5 -0
- package/declaration/src/ui/shadcn/ui/label.d.ts +5 -0
- package/declaration/src/ui/shadcn/ui/menubar.d.ts +31 -0
- package/declaration/src/ui/shadcn/ui/popover.d.ts +7 -0
- package/declaration/src/ui/shadcn/ui/progress.d.ts +4 -0
- package/declaration/src/ui/shadcn/ui/radio-group.d.ts +5 -0
- package/declaration/src/ui/shadcn/ui/resizable.d.ts +23 -0
- package/declaration/src/ui/shadcn/ui/select.d.ts +13 -0
- package/declaration/src/ui/shadcn/ui/separator.d.ts +4 -0
- package/declaration/src/ui/shadcn/ui/slider.d.ts +4 -0
- package/declaration/src/ui/shadcn/ui/sonner.d.ts +4 -0
- package/declaration/src/ui/shadcn/ui/switch.d.ts +4 -0
- package/declaration/src/ui/shadcn/ui/table.d.ts +10 -0
- package/declaration/src/ui/shadcn/ui/tabs.d.ts +7 -0
- package/declaration/src/ui/shadcn/ui/textarea.d.ts +3 -0
- package/declaration/src/ui/shadcn/ui/toggle-group.d.ts +12 -0
- package/declaration/src/ui/shadcn/ui/toggle.d.ts +12 -0
- package/declaration/src/ui/shadcn/ui/toolbar-radio-group.d.ts +5 -0
- package/declaration/src/ui/shadcn/ui/tooltip.d.ts +7 -0
- package/declaration/src/ui/spinner.d.ts +2 -0
- package/declaration/src/ui/toolbar.d.ts +4 -0
- package/declaration/src/ui/utils.d.ts +2 -0
- package/package.json +135 -38
- package/index.d.ts +0 -6126
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { FreeCamera, Scene, Vector3 } from "babylonjs";
|
|
2
|
+
export declare class EditorCamera extends FreeCamera {
|
|
3
|
+
private _savedSpeed;
|
|
4
|
+
private _panInput;
|
|
5
|
+
private _isAttached;
|
|
6
|
+
private _isControlDown;
|
|
7
|
+
private _noPreventDefault;
|
|
8
|
+
private _keyboardUpListener;
|
|
9
|
+
private _keyboardDownListener;
|
|
10
|
+
/**
|
|
11
|
+
* Constructor.
|
|
12
|
+
* @param name defines the name of the camera.
|
|
13
|
+
* @param position defines the start position of the camera.
|
|
14
|
+
* @param scene defines the reference to the scene where to add the camera.
|
|
15
|
+
* @param setActiveOnSceneIfNoneActive defines wether or not camera should be set as active
|
|
16
|
+
*/
|
|
17
|
+
constructor(name: string, position: Vector3, scene: Scene, setActiveOnSceneIfNoneActive?: boolean);
|
|
18
|
+
/**
|
|
19
|
+
* Override attachControl to ensure pan input is attached
|
|
20
|
+
*/
|
|
21
|
+
attachControl(noPreventDefault?: boolean): void;
|
|
22
|
+
detachControl(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Some preferences for the editor's camera are saved in the local storage in order
|
|
25
|
+
* to be global for each project. This function tries to get the preferences from the local storage
|
|
26
|
+
* and applies it to the camera.
|
|
27
|
+
*/
|
|
28
|
+
configureFromPreferences(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Destroy the camera and release the current resources hold by it.
|
|
31
|
+
*/
|
|
32
|
+
dispose(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the current object class name.
|
|
35
|
+
* @return the class name
|
|
36
|
+
*/
|
|
37
|
+
getClassName(): string;
|
|
38
|
+
/**
|
|
39
|
+
* Gets the pan sensitivity multiplier for the camera pan input.
|
|
40
|
+
* @returns the current pan sensitivity multiplier value.
|
|
41
|
+
*/
|
|
42
|
+
get panSensitivityMultiplier(): number;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the pan sensitivity multiplier for the camera pan input.
|
|
45
|
+
* @param value defines the new pan sensitivity multiplier value.
|
|
46
|
+
*/
|
|
47
|
+
set panSensitivityMultiplier(value: number);
|
|
48
|
+
private _setDefaultKeys;
|
|
49
|
+
private _setDefaultKeysFromLayout;
|
|
50
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AbstractMesh, BoundingInfo, Mesh, Node, Scene } from "babylonjs";
|
|
2
|
+
export type CollisionMeshType = "none" | "cube" | "sphere" | "capsule" | "lod";
|
|
3
|
+
export declare class CollisionMesh extends Mesh {
|
|
4
|
+
type: CollisionMeshType;
|
|
5
|
+
/**
|
|
6
|
+
* Constructor
|
|
7
|
+
* @param name The value used by scene.getMeshByName() to do a lookup.
|
|
8
|
+
* @param scene The scene to add this mesh to.
|
|
9
|
+
* @param parent The parent of this mesh, if it has one
|
|
10
|
+
* @param source An optional Mesh from which geometry is shared, cloned.
|
|
11
|
+
* @param doNotCloneChildren When cloning, skip cloning child meshes of source, default False.
|
|
12
|
+
* When false, achieved by calling a clone(), also passing False.
|
|
13
|
+
* This will make creation of children, recursive.
|
|
14
|
+
* @param clonePhysicsImpostor When cloning, include cloning mesh physics impostor, default True.
|
|
15
|
+
*/
|
|
16
|
+
constructor(name: string, scene: Scene, parent?: Node | null, source?: Mesh | null, doNotCloneChildren?: boolean, clonePhysicsImpostor?: boolean);
|
|
17
|
+
setType(type: CollisionMeshType, sourceMesh: AbstractMesh): Promise<void>;
|
|
18
|
+
updateInstances(sourceMesh: Mesh, boundingInfo?: BoundingInfo): void;
|
|
19
|
+
private static _debugMaterial;
|
|
20
|
+
private _createMaterial;
|
|
21
|
+
private _createCubeCollisionMesh;
|
|
22
|
+
private _createSphereCollisionMesh;
|
|
23
|
+
private _createCapsuleCollisionMesh;
|
|
24
|
+
private _createLodCollisionMesh;
|
|
25
|
+
/**
|
|
26
|
+
* Gets the current object class name.
|
|
27
|
+
* @return the class name
|
|
28
|
+
*/
|
|
29
|
+
getClassName(): string;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a new collision mesh based on the given source mesh parameters.
|
|
32
|
+
* @param sourceMesh defines the source mesh to copy in order to transform as collision mesh.
|
|
33
|
+
* @param type defines the collision type for the mesh.
|
|
34
|
+
*/
|
|
35
|
+
static CreateFromSourceMesh(sourceMesh: Mesh, type: CollisionMeshType): CollisionMesh;
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Scene, Mesh, NodeParticleSystemSet, ParticleSystemSet, Node } from "babylonjs";
|
|
2
|
+
export declare class NodeParticleSystemSetMesh extends Mesh {
|
|
3
|
+
/**
|
|
4
|
+
* Defines the reference to the associated Particle System Set created from the node particle system set.
|
|
5
|
+
*/
|
|
6
|
+
particleSystemSet: ParticleSystemSet | null;
|
|
7
|
+
/**
|
|
8
|
+
* Defines the reference to the associated Node Particle System Set.
|
|
9
|
+
*/
|
|
10
|
+
nodeParticleSystemSet: NodeParticleSystemSet | null;
|
|
11
|
+
/**
|
|
12
|
+
* Constructor.
|
|
13
|
+
* @param name defines the name of mesh.
|
|
14
|
+
* @param scene defines the scene the mesh belongs to.
|
|
15
|
+
*/
|
|
16
|
+
constructor(name: string, scene: Scene, parent?: Node | null, source?: Mesh, doNotCloneChildren?: boolean, clonePhysicsImpostor?: boolean);
|
|
17
|
+
buildNodeParticleSystemSet(data: any): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Releases resources associated with this scene link.
|
|
20
|
+
*/
|
|
21
|
+
dispose(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Gets the current object class name.
|
|
24
|
+
* @return the class name
|
|
25
|
+
*/
|
|
26
|
+
getClassName(): string;
|
|
27
|
+
clone(name?: string, newParent?: Node | null, doNotCloneChildren?: boolean, clonePhysicsImpostor?: boolean): NodeParticleSystemSetMesh;
|
|
28
|
+
serialize(serializationObject?: any): any;
|
|
29
|
+
static Parse(parsedMesh: any, scene: Scene, _rootUrl: string): NodeParticleSystemSetMesh;
|
|
30
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Scene, TransformNode } from "babylonjs";
|
|
2
|
+
import { SceneLoadResult } from "../../project/load/scene";
|
|
3
|
+
import { Editor } from "../main";
|
|
4
|
+
export declare class SceneLinkNode extends TransformNode {
|
|
5
|
+
private _editor;
|
|
6
|
+
private _lastLoadResult;
|
|
7
|
+
private _relativePath;
|
|
8
|
+
get relativePath(): string | null;
|
|
9
|
+
/**
|
|
10
|
+
* Constructor.
|
|
11
|
+
* @param name defines the name of the scene component.
|
|
12
|
+
* @param scene defines the reference to the scene where to add the scene component.
|
|
13
|
+
*/
|
|
14
|
+
constructor(name: string, scene: Scene, editor: Editor);
|
|
15
|
+
setRelativePath(relativePath: string): Promise<SceneLoadResult | null>;
|
|
16
|
+
reload(): Promise<SceneLoadResult | null>;
|
|
17
|
+
private _disposeLastLoadResult;
|
|
18
|
+
/**
|
|
19
|
+
* Releases resources associated with this scene link.
|
|
20
|
+
*/
|
|
21
|
+
dispose(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Gets the current object class name.
|
|
24
|
+
* @return the class name
|
|
25
|
+
*/
|
|
26
|
+
getClassName(): string;
|
|
27
|
+
parse(data: any): void;
|
|
28
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TransformNode, Scene, SpriteManager, Texture } from "babylonjs";
|
|
2
|
+
export declare class SpriteManagerNode extends TransformNode {
|
|
3
|
+
atlasJsonRelativePath: string | null;
|
|
4
|
+
atlasJson: any;
|
|
5
|
+
spriteManager: SpriteManager | null;
|
|
6
|
+
private _renderObserver;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
_previews: string[];
|
|
11
|
+
/**
|
|
12
|
+
* Constructor.
|
|
13
|
+
* @param name defines the name of the scene component.
|
|
14
|
+
* @param scene defines the reference to the scene where to add the scene component.
|
|
15
|
+
*/
|
|
16
|
+
constructor(name: string, scene: Scene);
|
|
17
|
+
get spritesheet(): Texture | null;
|
|
18
|
+
set spritesheet(texture: Texture | null);
|
|
19
|
+
buildFromImageAbsolutePath(imagePath: string, serializeSpriteManager?: any): void;
|
|
20
|
+
buildFromAtlasJsonAbsolutePath(absolutePath: string, serializeSpriteManager?: any): void;
|
|
21
|
+
disposeSpriteManager(): void;
|
|
22
|
+
private _parseSpriteManager;
|
|
23
|
+
private _overrideSpriteRenderer;
|
|
24
|
+
private _onBeforeRenderScene;
|
|
25
|
+
/**
|
|
26
|
+
* Releases resources associated with this scene link.
|
|
27
|
+
*/
|
|
28
|
+
dispose(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Gets the current object class name.
|
|
31
|
+
* @return the class name
|
|
32
|
+
*/
|
|
33
|
+
getClassName(): string;
|
|
34
|
+
serialize(): any;
|
|
35
|
+
static Parse(parsedData: any, scene: Scene, rootUrl: string): SpriteManagerNode;
|
|
36
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TransformNode, Scene, SpriteMap, Texture, ISpriteJSONAtlas, Mesh, ShaderMaterial, RawTexture, ISpriteMapOptions } from "babylonjs";
|
|
2
|
+
import { ISpriteMapTile } from "babylonjs-editor-tools";
|
|
3
|
+
export declare class SpriteMapNode extends TransformNode {
|
|
4
|
+
private _spriteMap;
|
|
5
|
+
atlasJsonRelativePath: string | null;
|
|
6
|
+
tiles: ISpriteMapTile[];
|
|
7
|
+
/**
|
|
8
|
+
* Constructor.
|
|
9
|
+
* @param name defines the name of the scene component.
|
|
10
|
+
* @param scene defines the reference to the scene where to add the scene component.
|
|
11
|
+
*/
|
|
12
|
+
constructor(name: string, scene: Scene);
|
|
13
|
+
get spritesheet(): Texture | null;
|
|
14
|
+
get atlasJson(): ISpriteJSONAtlas | null;
|
|
15
|
+
get outputPlane(): Mesh | null;
|
|
16
|
+
get material(): ShaderMaterial | null;
|
|
17
|
+
get tileMaps(): RawTexture[] | null;
|
|
18
|
+
buildFromAbsolutePath(absolutePath: string, atlasJson?: ISpriteJSONAtlas, spritesheet?: Texture, options?: Pick<ISpriteMapOptions, "stageSize" | "outputSize" | "colorMultiply" | "layerCount">): Promise<void>;
|
|
19
|
+
createTileBuffer(buffer: any, _layer?: number): RawTexture | null;
|
|
20
|
+
get spriteMap(): SpriteMap | null;
|
|
21
|
+
set spriteMap(value: SpriteMap | null);
|
|
22
|
+
private _configureSpriteMap;
|
|
23
|
+
updateFromOptions(options: Pick<ISpriteMapOptions, "stageSize" | "outputSize" | "colorMultiply" | "layerCount">): void;
|
|
24
|
+
updateTile(tile: ISpriteMapTile): void;
|
|
25
|
+
updateTileByIndex(index: number): void;
|
|
26
|
+
buildTiles(layer?: number): void;
|
|
27
|
+
/**
|
|
28
|
+
* Releases resources associated with this scene link.
|
|
29
|
+
*/
|
|
30
|
+
dispose(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Gets the current object class name.
|
|
33
|
+
* @return the class name
|
|
34
|
+
*/
|
|
35
|
+
getClassName(): string;
|
|
36
|
+
serialize(): any;
|
|
37
|
+
static Parse(parsedData: any, scene: Scene, rootUrl: string): SpriteMapNode;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "babylonjs-materials";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DefaultRenderingPipeline, Camera } from "babylonjs";
|
|
2
|
+
import { Editor } from "../main";
|
|
3
|
+
/**
|
|
4
|
+
* Defines the configuration of the default rendering pipeline per camera.
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultPipelineCameraConfigurations: Map<Camera, any>;
|
|
7
|
+
/**
|
|
8
|
+
* Returns the reference to the default rendering pipeline if exists.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getDefaultRenderingPipeline(): DefaultRenderingPipeline | null;
|
|
11
|
+
export declare function disposeDefaultRenderingPipeline(): void;
|
|
12
|
+
export declare function createDefaultRenderingPipeline(editor: Editor): DefaultRenderingPipeline;
|
|
13
|
+
export declare function serializeDefaultRenderingPipeline(): any;
|
|
14
|
+
export declare function parseDefaultRenderingPipeline(editor: Editor, data: any): DefaultRenderingPipeline;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IblShadowsRenderPipeline } from "babylonjs";
|
|
2
|
+
import { Editor } from "../main";
|
|
3
|
+
/**
|
|
4
|
+
* Defines the configuration of the IBL shadows rendering pipeline per camera.
|
|
5
|
+
*/
|
|
6
|
+
export declare const iblShadowsRenderingPipelineCameraConfigurations: Map<any, any>;
|
|
7
|
+
export declare function getIblShadowsRenderingPipeline(): IblShadowsRenderPipeline | null;
|
|
8
|
+
export declare function disposeIblShadowsRenderingPipeline(): void;
|
|
9
|
+
export declare function createIblShadowsRenderingPipeline(editor: Editor): IblShadowsRenderPipeline;
|
|
10
|
+
export declare function serializeIblShadowsRenderingPipeline(): any;
|
|
11
|
+
export declare function parseIblShadowsRenderingPipeline(editor: Editor, data: any): IblShadowsRenderPipeline;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MotionBlurPostProcess, Camera } from "babylonjs";
|
|
2
|
+
import { Editor } from "../main";
|
|
3
|
+
/**
|
|
4
|
+
* Defines the configuration of the motion blur post-process per camera.
|
|
5
|
+
*/
|
|
6
|
+
export declare const motionBlurPostProcessCameraConfigurations: Map<Camera, any>;
|
|
7
|
+
export declare function getMotionBlurPostProcess(): MotionBlurPostProcess | null;
|
|
8
|
+
export declare function disposeMotionBlurPostProcess(): void;
|
|
9
|
+
export declare function createMotionBlurPostProcess(editor: Editor): MotionBlurPostProcess;
|
|
10
|
+
export declare function serializeMotionBlurPostProcess(): any;
|
|
11
|
+
export declare function parseMotionBlurPostProcess(editor: Editor, data: any): MotionBlurPostProcess;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SSAO2RenderingPipeline, Camera } from "babylonjs";
|
|
2
|
+
import { Editor } from "../main";
|
|
3
|
+
/**
|
|
4
|
+
* Defines the configuration of the SSAO rendering pipeline per camera.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ssaoRenderingPipelineCameraConfigurations: Map<Camera, any>;
|
|
7
|
+
export declare function getSSAO2RenderingPipeline(): SSAO2RenderingPipeline | null;
|
|
8
|
+
export declare function disposeSSAO2RenderingPipeline(): void;
|
|
9
|
+
export declare function createSSAO2RenderingPipeline(editor: Editor): SSAO2RenderingPipeline;
|
|
10
|
+
export declare function serializeSSAO2RenderingPipeline(): any;
|
|
11
|
+
export declare function parseSSAO2RenderingPipeline(editor: Editor, data: any): SSAO2RenderingPipeline;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SSRRenderingPipeline, Camera } from "babylonjs";
|
|
2
|
+
import { Editor } from "../main";
|
|
3
|
+
/**
|
|
4
|
+
* Defines the configuration of the ssr rendering pipeline per camera.
|
|
5
|
+
*/
|
|
6
|
+
export declare const ssrRenderingPipelineCameraConfigurations: Map<Camera, any>;
|
|
7
|
+
export declare function getSSRRenderingPipeline(): SSRRenderingPipeline | null;
|
|
8
|
+
export declare function disposeSSRRenderingPipeline(): void;
|
|
9
|
+
export declare function createSSRRenderingPipeline(editor: Editor): SSRRenderingPipeline;
|
|
10
|
+
export declare function serializeSSRRenderingPipeline(): any;
|
|
11
|
+
export declare function parseSSRRenderingPipeline(editor: Editor, data: any): SSRRenderingPipeline;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TAARenderingPipeline, Camera } from "babylonjs";
|
|
2
|
+
import { Editor } from "../main";
|
|
3
|
+
/**
|
|
4
|
+
* Defines the configuration of the TAA rendering pipeline per camera.
|
|
5
|
+
*/
|
|
6
|
+
export declare const taaPipelineCameraConfigurations: Map<Camera, any>;
|
|
7
|
+
export declare function getTAARenderingPipeline(): TAARenderingPipeline | null;
|
|
8
|
+
export declare function disposeTAARenderingPipeline(): void;
|
|
9
|
+
export declare function createTAARenderingPipeline(editor: Editor): TAARenderingPipeline;
|
|
10
|
+
export declare function serializeTAARenderingPipeline(): any;
|
|
11
|
+
export declare function parseTAARenderingPipeline(editor: Editor, data: any): TAARenderingPipeline;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Camera } from "babylonjs";
|
|
2
|
+
/**
|
|
3
|
+
* Saves the rendering configurations for the given camera. This is useful to restore the rendering configurations
|
|
4
|
+
* when the camera is re-activated (typically using the preview panel toolbar).
|
|
5
|
+
* @param camera defines the reference to the camera to save its rendering configurations.
|
|
6
|
+
*/
|
|
7
|
+
export declare function saveRenderingConfigurationForCamera(camera: Camera): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VolumetricLightScatteringPostProcess, Mesh, Camera } from "babylonjs";
|
|
2
|
+
import { Editor } from "../main";
|
|
3
|
+
/**
|
|
4
|
+
* Defines the configuration of the motion blur post-process per camera.
|
|
5
|
+
*/
|
|
6
|
+
export declare const vlsPostProcessCameraConfigurations: Map<Camera, any>;
|
|
7
|
+
export declare function getVLSPostProcess(): VolumetricLightScatteringPostProcess | null;
|
|
8
|
+
export declare function disposeVLSPostProcess(editor: Editor): void;
|
|
9
|
+
export declare function createVLSPostProcess(editor: Editor, mesh?: Mesh | null): VolumetricLightScatteringPostProcess;
|
|
10
|
+
export declare function serializeVLSPostProcess(): any;
|
|
11
|
+
export declare function parseVLSPostProcess(editor: Editor, data: any): VolumetricLightScatteringPostProcess;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BrowserWindow } from "electron";
|
|
2
|
+
/**
|
|
3
|
+
* Defines the list of all available editor windows that are opened.
|
|
4
|
+
*/
|
|
5
|
+
export declare const editorWindows: BrowserWindow[];
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new window that takes up the entire screen.
|
|
8
|
+
* @returns The newly created window.
|
|
9
|
+
*/
|
|
10
|
+
export declare function createEditorWindow(): Promise<BrowserWindow>;
|
|
11
|
+
/**
|
|
12
|
+
* Opens a new custom window that will require the given index.js file and will instantiate the content of it using the given options.
|
|
13
|
+
* @param indexPath defines the path to the index.js file to require for the window (entry point). The path is relative to the app path.
|
|
14
|
+
* @param options defines the optional options to pass to the window main component exported by default by the index.js required file.
|
|
15
|
+
* @example ipcRenderer.send("window:open", "build/src/editor/windows/nme", { filePath: "my-material.material" });
|
|
16
|
+
*/
|
|
17
|
+
export declare function createCustomWindow(indexPath: string, options: any): Promise<BrowserWindow>;
|
|
18
|
+
/**
|
|
19
|
+
* Shows the close editor window dialog. This is used to get a confirmation from the user that the window
|
|
20
|
+
* should be closed and is not due to a miss-click or bad keyboard shortcut.
|
|
21
|
+
* @param window defines the reference to the window to show the dialog in.
|
|
22
|
+
*/
|
|
23
|
+
export declare function showCloseEditorWindowsDialog(window: BrowserWindow): boolean;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component, ReactNode } from "react";
|
|
2
|
+
export interface INodeMaterialEditorWindowProps {
|
|
3
|
+
filePath: string;
|
|
4
|
+
}
|
|
5
|
+
export default class NodeMaterialEditorWindow extends Component<INodeMaterialEditorWindowProps> {
|
|
6
|
+
private _divRef;
|
|
7
|
+
private _gui;
|
|
8
|
+
constructor(props: INodeMaterialEditorWindowProps);
|
|
9
|
+
render(): ReactNode;
|
|
10
|
+
componentDidMount(): Promise<void>;
|
|
11
|
+
close(): void;
|
|
12
|
+
private _save;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, ReactNode } from "react";
|
|
2
|
+
import "babylonjs-loaders";
|
|
3
|
+
export interface INodeMaterialEditorWindowProps {
|
|
4
|
+
filePath: string;
|
|
5
|
+
rootUrl?: string;
|
|
6
|
+
}
|
|
7
|
+
export default class NodeMaterialEditorWindow extends Component<INodeMaterialEditorWindowProps> {
|
|
8
|
+
private _divRef;
|
|
9
|
+
private _nodeMaterial;
|
|
10
|
+
constructor(props: INodeMaterialEditorWindowProps);
|
|
11
|
+
render(): ReactNode;
|
|
12
|
+
componentDidMount(): Promise<void>;
|
|
13
|
+
close(): void;
|
|
14
|
+
private _save;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, ReactNode } from "react";
|
|
2
|
+
export interface INodeMaterialEditorWindowProps {
|
|
3
|
+
filePath: string;
|
|
4
|
+
rootUrl?: string;
|
|
5
|
+
}
|
|
6
|
+
export default class NodeMaterialEditorWindow extends Component<INodeMaterialEditorWindowProps> {
|
|
7
|
+
private _divRef;
|
|
8
|
+
private _scene;
|
|
9
|
+
private _nodeParticleSystem;
|
|
10
|
+
constructor(props: INodeMaterialEditorWindowProps);
|
|
11
|
+
render(): ReactNode;
|
|
12
|
+
componentDidMount(): Promise<void>;
|
|
13
|
+
close(): void;
|
|
14
|
+
private _save;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "babylonjs-materials";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component, ReactNode } from "react";
|
|
2
|
+
export interface ISceneEditorWindowProps {
|
|
3
|
+
appPath: string;
|
|
4
|
+
scenePath: string;
|
|
5
|
+
projectPath: string;
|
|
6
|
+
}
|
|
7
|
+
export default class SceneEditorWindow extends Component<ISceneEditorWindowProps> {
|
|
8
|
+
private _editor;
|
|
9
|
+
constructor(props: ISceneEditorWindowProps);
|
|
10
|
+
render(): ReactNode;
|
|
11
|
+
componentDidMount(): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Closes all the process started by the window identified by the given web contents id.
|
|
3
|
+
* @param id defines the id of the web contents to close all node pty processes for.
|
|
4
|
+
* @example closeAllNodePtyForWebContentsId(window.webContents.id);
|
|
5
|
+
*/
|
|
6
|
+
export declare function closeAllNodePtyForWebContentsId(id: number): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export { Editor, createEditor } from "./editor/main";
|
|
2
|
+
export { EditorLayout } from "./editor/layout";
|
|
3
|
+
export { EditorGraph } from "./editor/layout/graph";
|
|
4
|
+
export { EditorToolbar } from "./editor/layout/toolbar";
|
|
5
|
+
export { EditorConsole } from "./editor/layout/console";
|
|
6
|
+
export { EditorPreview } from "./editor/layout/preview";
|
|
7
|
+
export * from "./editor/layout/preview/import/import";
|
|
8
|
+
export * from "./editor/layout/preview/import/material";
|
|
9
|
+
export * from "./editor/layout/preview/import/texture";
|
|
10
|
+
export * from "./editor/layout/preview/import/sound";
|
|
11
|
+
export { EditorInspector } from "./editor/layout/inspector";
|
|
12
|
+
export * from "./editor/layout/inspector/inspector";
|
|
13
|
+
export { EditorAssetsBrowser } from "./editor/layout/assets-browser";
|
|
14
|
+
export * from "./editor/layout/assets-browser/items/item";
|
|
15
|
+
export * from "./editor/layout/assets-browser/viewers/env-viewer";
|
|
16
|
+
export * from "./editor/layout/assets-browser/viewers/material-viewer";
|
|
17
|
+
export * from "./editor/layout/assets-browser/viewers/model-viewer";
|
|
18
|
+
export * from "./tools/os";
|
|
19
|
+
export * from "./tools/fs";
|
|
20
|
+
export * from "./tools/tools";
|
|
21
|
+
export * from "./tools/dialog";
|
|
22
|
+
export * from "./tools/process";
|
|
23
|
+
export * from "./tools/node-pty";
|
|
24
|
+
export * from "./tools/undoredo";
|
|
25
|
+
export * from "./tools/observables";
|
|
26
|
+
export * from "./tools/assets/ktx";
|
|
27
|
+
export * from "./tools/assets/thumbnail";
|
|
28
|
+
export * from "./tools/assets/extensions";
|
|
29
|
+
export * from "./tools/maths/scalar";
|
|
30
|
+
export * from "./tools/maths/projection";
|
|
31
|
+
export * from "./tools/light/shadows";
|
|
32
|
+
export * from "./tools/node/metadata";
|
|
33
|
+
export * from "./tools/material/material";
|
|
34
|
+
export * from "./tools/material/extract";
|
|
35
|
+
export * from "./tools/mesh/collision";
|
|
36
|
+
export * from "./tools/scene/materials";
|
|
37
|
+
export * from "./tools/sound/tools";
|
|
38
|
+
export * from "./tools/guards/material";
|
|
39
|
+
export * from "./tools/guards/math";
|
|
40
|
+
export * from "./tools/guards/nodes";
|
|
41
|
+
export * from "./tools/guards/particles";
|
|
42
|
+
export * from "./tools/guards/scene";
|
|
43
|
+
export * from "./tools/guards/shadows";
|
|
44
|
+
export * from "./tools/guards/sound";
|
|
45
|
+
export * from "./tools/guards/texture";
|
|
46
|
+
export * from "./tools/animation/tools";
|
|
47
|
+
export * from "./tools/animation/tween";
|
|
48
|
+
export * from "./editor/rendering/ssr";
|
|
49
|
+
export * from "./editor/rendering/vls";
|
|
50
|
+
export * from "./editor/rendering/ssao";
|
|
51
|
+
export * from "./editor/rendering/motion-blur";
|
|
52
|
+
export * from "./editor/rendering/default-pipeline";
|
|
53
|
+
export * from "./ui/spinner";
|
|
54
|
+
export * from "./ui/color-picker";
|
|
55
|
+
export * from "./ui/dialog";
|
|
56
|
+
export * from "./ui/shadcn/ui/alert-dialog";
|
|
57
|
+
export * from "./ui/shadcn/ui/badge";
|
|
58
|
+
export * from "./ui/shadcn/ui/breadcrumb";
|
|
59
|
+
export * from "./ui/shadcn/ui/button";
|
|
60
|
+
export * from "./ui/shadcn/ui/checkbox";
|
|
61
|
+
export * from "./ui/shadcn/ui/command";
|
|
62
|
+
export * from "./ui/shadcn/ui/context-menu";
|
|
63
|
+
export * from "./ui/shadcn/ui/dialog";
|
|
64
|
+
export * from "./ui/shadcn/ui/dropdown-menu";
|
|
65
|
+
export * from "./ui/shadcn/ui/hover-card";
|
|
66
|
+
export * from "./ui/shadcn/ui/input";
|
|
67
|
+
export * from "./ui/shadcn/ui/label";
|
|
68
|
+
export * from "./ui/shadcn/ui/menubar";
|
|
69
|
+
export * from "./ui/shadcn/ui/popover";
|
|
70
|
+
export * from "./ui/shadcn/ui/progress";
|
|
71
|
+
export * from "./ui/shadcn/ui/radio-group";
|
|
72
|
+
export * from "./ui/shadcn/ui/resizable";
|
|
73
|
+
export * from "./ui/shadcn/ui/select";
|
|
74
|
+
export * from "./ui/shadcn/ui/separator";
|
|
75
|
+
export * from "./ui/shadcn/ui/slider";
|
|
76
|
+
export * from "./ui/shadcn/ui/sonner";
|
|
77
|
+
export * from "./ui/shadcn/ui/switch";
|
|
78
|
+
export * from "./ui/shadcn/ui/table";
|
|
79
|
+
export * from "./ui/shadcn/ui/tabs";
|
|
80
|
+
export * from "./ui/shadcn/ui/textarea";
|
|
81
|
+
export * from "./ui/shadcn/ui/toggle-group";
|
|
82
|
+
export * from "./ui/shadcn/ui/toggle";
|
|
83
|
+
export * from "./ui/shadcn/ui/toolbar-radio-group";
|
|
84
|
+
export * from "./ui/shadcn/ui/tooltip";
|
|
85
|
+
export * from "./project/configuration";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "dotenv/config";
|
|
2
|
+
import "./electron/node-pty";
|
|
3
|
+
import "./electron/events/shell";
|
|
4
|
+
import "./electron/events/dialog";
|
|
5
|
+
import "./electron/events/editor";
|
|
6
|
+
import "./electron/events/window";
|
|
7
|
+
import "./electron/assimp/assimpjs";
|
|
8
|
+
import "./electron/events/export";
|
|
9
|
+
import "./electron/protocol";
|
|
10
|
+
import "./electron/oauth";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ISceneLoaderPluginAsync, ISceneLoaderPluginExtensions, ISceneLoaderProgressEvent, ISceneLoaderAsyncResult, Scene, AssetContainer } from "babylonjs";
|
|
2
|
+
import { IAssimpJSRootData } from "./types";
|
|
3
|
+
export declare class AssimpJSLoader implements ISceneLoaderPluginAsync {
|
|
4
|
+
private _useWorker;
|
|
5
|
+
name: string;
|
|
6
|
+
extensions: ISceneLoaderPluginExtensions;
|
|
7
|
+
constructor(_useWorker: boolean);
|
|
8
|
+
/**
|
|
9
|
+
* Import meshes into a scene.
|
|
10
|
+
* @param meshesNames An array of mesh names, a single mesh name, or empty string for all meshes that filter what meshes are imported
|
|
11
|
+
* @param scene The scene to import into
|
|
12
|
+
* @param data The data to import
|
|
13
|
+
* @param rootUrl The root url for scene and resources
|
|
14
|
+
* @param onProgress The callback when the load progresses
|
|
15
|
+
* @param fileName Defines the name of the file to load
|
|
16
|
+
* @returns The loaded objects (e.g. meshes, particle systems, skeletons, animation groups, etc.)
|
|
17
|
+
*/
|
|
18
|
+
importMeshAsync(meshesNames: any, scene: Scene, data: any, rootUrl: string, onProgress?: (event: ISceneLoaderProgressEvent) => void, fileName?: string): Promise<ISceneLoaderAsyncResult>;
|
|
19
|
+
/**
|
|
20
|
+
* Load into a scene.
|
|
21
|
+
* @param scene The scene to load into.
|
|
22
|
+
* @param data The data to import.
|
|
23
|
+
* @param rootUrl The root url for scene and resources.
|
|
24
|
+
* @param onProgress The callback when the load progresses.
|
|
25
|
+
* @param fileName Defines the name of the file to load.
|
|
26
|
+
*/
|
|
27
|
+
loadAsync(scene: Scene, data: any, rootUrl: string, onProgress?: (event: ISceneLoaderProgressEvent) => void, fileName?: string): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Load into an asset container.
|
|
30
|
+
* @param scene The scene to load into
|
|
31
|
+
* @param data The data to import
|
|
32
|
+
* @param rootUrl The root url for scene and resources
|
|
33
|
+
* @param onProgress The callback when the load progresses
|
|
34
|
+
* @param fileName Defines the name of the file to load
|
|
35
|
+
* @returns The loaded asset container
|
|
36
|
+
*/
|
|
37
|
+
loadAssetContainerAsync(scene: Scene, data: IAssimpJSRootData[], rootUrl: string, _?: (event: ISceneLoaderProgressEvent) => void, fileName?: string): Promise<AssetContainer>;
|
|
38
|
+
private _parseRoot;
|
|
39
|
+
appPath: string;
|
|
40
|
+
private _assimpjs;
|
|
41
|
+
private _locallyLoadFile;
|
|
42
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Bone, TransformNode } from "babylonjs";
|
|
2
|
+
import { AssimpJSRuntime, IAssimpJSNodeData } from "./types";
|
|
3
|
+
export declare function parseNodes(runtime: AssimpJSRuntime, nodes: IAssimpJSNodeData[], parent: TransformNode | null): void;
|
|
4
|
+
export declare function parseNodeTransform(node: TransformNode | Bone, transformation: number[]): void;
|