@fps-games/editor 0.1.3-beta.4 → 0.1.4-beta.1
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/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/local-editor-agent-actions.d.ts +38 -0
- package/dist/local-editor-agent-actions.d.ts.map +1 -0
- package/dist/local-editor-agent-actions.js +134 -0
- package/dist/local-editor-agent-actions.js.map +1 -0
- package/dist/local-editor-agent-context.d.ts +29 -0
- package/dist/local-editor-agent-context.d.ts.map +1 -0
- package/dist/local-editor-agent-context.js +266 -0
- package/dist/local-editor-agent-context.js.map +1 -0
- package/dist/local-editor-harness.d.ts +19 -1
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +641 -118
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.d.ts.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.js +34 -14
- package/dist/local-editor-viewport-render-coordinator.js.map +1 -1
- package/dist/playable-babylon-facade.d.ts +15 -0
- package/dist/playable-babylon-facade.d.ts.map +1 -0
- package/dist/playable-babylon-facade.js +12 -0
- package/dist/playable-babylon-facade.js.map +1 -0
- package/dist/playable-babylon-outline-inspector.d.ts +32 -0
- package/dist/playable-babylon-outline-inspector.d.ts.map +1 -0
- package/dist/playable-babylon-outline-inspector.js +182 -0
- package/dist/playable-babylon-outline-inspector.js.map +1 -0
- package/dist/playable-babylon-outline-runtime.d.ts +19 -0
- package/dist/playable-babylon-outline-runtime.d.ts.map +1 -0
- package/dist/playable-babylon-outline-runtime.js +67 -0
- package/dist/playable-babylon-outline-runtime.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +501 -0
- package/dist/playable-local-editor-host.d.ts.map +1 -0
- package/dist/playable-local-editor-host.js +526 -0
- package/dist/playable-local-editor-host.js.map +1 -0
- package/dist/playable-sdk.d.ts +8 -0
- package/dist/playable-sdk.d.ts.map +1 -0
- package/dist/playable-sdk.js +5 -0
- package/dist/playable-sdk.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +79 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +26 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +13 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +6 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +7 -4
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js +45 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts +7 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts +7 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +83 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js +155 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +77 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js +24 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js +105 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +14 -14
- package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +15 -5
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/edit-session.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/editor-world.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +24 -24
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js +396 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js +2 -567
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/inspector-host.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts +3 -2
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js +401 -96
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/monitor.js +2 -2
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js +7 -23
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +10 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +234 -150
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-camera-preview.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js +10 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/tool-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +12 -2
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +69 -17
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +5 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +9 -2
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +8 -2
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js +88 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +12 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +34 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +2 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts +55 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +144 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +40 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +312 -126
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +43 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +28 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +48 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +3 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +182 -20
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +24 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +373 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +17 -12
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +9 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +42 -19
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js +40 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts +59 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +182 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts +16 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts +11 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js +18 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +34 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +88 -37
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +16 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +630 -140
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts +40 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js +685 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts +73 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js +370 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts +15 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js +350 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +3 -2
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +17 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +14 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.js +14 -12
- package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +9 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +108 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +5 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts +27 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js +35 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-core/package.json +2 -2
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +23 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +43 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js +169 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts +46 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +64 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +120 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +35 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js +42 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js +36 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js +66 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js +89 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts +79 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js +42 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts +74 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js +46 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts +38 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js +98 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js +149 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js +214 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js +84 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts +32 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js +85 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js +88 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +50 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +112 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +201 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +81 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +545 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js +99 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js +557 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts +30 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js +56 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts +61 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +61 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js +48 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js +95 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js +162 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js +71 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js +108 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts +72 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js +70 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +80 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +371 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +125 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +87 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js +82 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +140 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +40 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +299 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js +251 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +188 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js +222 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js +97 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js +128 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js +259 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js +49 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts +433 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +224 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +242 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +30 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +62 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +131 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js +45 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +759 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +512 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js +73 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +290 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js +65 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +211 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +80 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js +78 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +73 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +49 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +81 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +164 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +206 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +91 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +579 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +90 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +268 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js +38 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +87 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/package.json +20 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +113 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.js +5 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +45 -4
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +115 -2
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +1 -1
- package/package.json +13 -7
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { InspectorValidationResult, SerializedMultiObject, SerializedObject, SerializedPropertyPatch } from '@fps-games/editor-core';
|
|
2
|
+
import type { EditorSceneDocument, EditorSceneGameObject, EditorSceneNodeKind } from '../document/index';
|
|
3
|
+
export interface EditorSceneSerializedPropertyValidationInput<TDocument extends EditorSceneDocument = EditorSceneDocument> {
|
|
4
|
+
document: TDocument;
|
|
5
|
+
gameObject: EditorSceneGameObject;
|
|
6
|
+
nodeKind: EditorSceneNodeKind;
|
|
7
|
+
path: string;
|
|
8
|
+
value: unknown;
|
|
9
|
+
}
|
|
10
|
+
export type EditorSceneSerializedPropertyValidator<TDocument extends EditorSceneDocument = EditorSceneDocument> = (input: EditorSceneSerializedPropertyValidationInput<TDocument>) => InspectorValidationResult;
|
|
11
|
+
export interface EditorSceneSerializedPropertyDescriptorInput<TDocument extends EditorSceneDocument = EditorSceneDocument> {
|
|
12
|
+
gameObject: EditorSceneGameObject;
|
|
13
|
+
validateField?: EditorSceneSerializedPropertyValidator<TDocument>;
|
|
14
|
+
}
|
|
15
|
+
export interface EditorSceneSerializedObjectInput<TDocument extends EditorSceneDocument = EditorSceneDocument> {
|
|
16
|
+
document: TDocument;
|
|
17
|
+
targetId: string;
|
|
18
|
+
label?: string;
|
|
19
|
+
validateField?: EditorSceneSerializedPropertyValidator<TDocument>;
|
|
20
|
+
}
|
|
21
|
+
export interface EditorSceneSerializedMultiObjectInput<TDocument extends EditorSceneDocument = EditorSceneDocument> {
|
|
22
|
+
document: TDocument;
|
|
23
|
+
targetIds: readonly string[];
|
|
24
|
+
activeId: string | null;
|
|
25
|
+
label?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface EditorSceneSerializedPropertyPatchInput<TDocument extends EditorSceneDocument = EditorSceneDocument> {
|
|
28
|
+
document: TDocument;
|
|
29
|
+
patch: SerializedPropertyPatch;
|
|
30
|
+
validateField?: EditorSceneSerializedPropertyValidator<TDocument>;
|
|
31
|
+
}
|
|
32
|
+
export type EditorSceneSerializedObjectResult<TDocument extends EditorSceneDocument = EditorSceneDocument> = SerializedObject<TDocument> | null;
|
|
33
|
+
export type EditorSceneSerializedMultiObjectResult<TDocument extends EditorSceneDocument = EditorSceneDocument> = SerializedMultiObject<TDocument> | null;
|
|
34
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/serialized-property/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB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EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,uBAAuB,CAAC;IAC/B,aAAa,CAAC,EAAE,sCAAsC,CAAC,SAAS,CAAC,CAAC;CACnE;AAED,MAAM,MAAM,iCAAiC,CAC3C,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,IACzD,gBAAgB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;AAEvC,MAAM,MAAM,sCAAsC,CAChD,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,IACzD,qBAAqB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/serialized-property/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type EditorSceneGameObject } from '../document/index';
|
|
2
|
+
export declare const EDITOR_SCENE_MAIN_CAMERA_ID = "main_camera";
|
|
3
|
+
export declare const EDITOR_SCENE_SUN_LIGHT_ID = "sun_light";
|
|
4
|
+
export declare function isEditorSceneGroupLikeGameObject(gameObject: EditorSceneGameObject): boolean;
|
|
5
|
+
export declare function canEditorSceneGameObjectHaveChildren(gameObject: Pick<EditorSceneGameObject, 'components'>): boolean;
|
|
6
|
+
export declare function isEditorSceneCameraGameObject(gameObject: EditorSceneGameObject): boolean;
|
|
7
|
+
export declare function isEditorSceneLightGameObject(gameObject: EditorSceneGameObject): boolean;
|
|
8
|
+
export declare function isEditorSceneProtectedSystemGameObject(gameObject: EditorSceneGameObject): boolean;
|
|
9
|
+
//# sourceMappingURL=classification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classification.d.ts","sourceRoot":"","sources":["../../src/session/classification.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,2BAA2B,gBAAgB,CAAC;AACzD,eAAO,MAAM,yBAAyB,cAAc,CAAC;AAErD,wBAAgB,gCAAgC,CAAC,UAAU,EAAE,qBAAqB,GAAG,OAAO,CAE3F;AAED,wBAAgB,oCAAoC,CAAC,UAAU,EAAE,IAAI,CAAC,qBAAqB,EAAE,YAAY,CAAC,GAAG,OAAO,CAEnH;AAED,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,qBAAqB,GAAG,OAAO,CAGxF;AAED,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,qBAAqB,GAAG,OAAO,CAGvF;AAED,wBAAgB,sCAAsC,CAAC,UAAU,EAAE,qBAAqB,GAAG,OAAO,CAKjG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { findEditorSceneTransform, readEditorSceneNodeKind, } from '../document/index.js';
|
|
2
|
+
export const EDITOR_SCENE_MAIN_CAMERA_ID = 'main_camera';
|
|
3
|
+
export const EDITOR_SCENE_SUN_LIGHT_ID = 'sun_light';
|
|
4
|
+
export function isEditorSceneGroupLikeGameObject(gameObject) {
|
|
5
|
+
return readEditorSceneNodeKind(gameObject) === 'group';
|
|
6
|
+
}
|
|
7
|
+
export function canEditorSceneGameObjectHaveChildren(gameObject) {
|
|
8
|
+
return !!findEditorSceneTransform(gameObject);
|
|
9
|
+
}
|
|
10
|
+
export function isEditorSceneCameraGameObject(gameObject) {
|
|
11
|
+
return readEditorSceneNodeKind(gameObject) === 'transform'
|
|
12
|
+
&& (gameObject.transformType === 'camera' || !!gameObject.camera);
|
|
13
|
+
}
|
|
14
|
+
export function isEditorSceneLightGameObject(gameObject) {
|
|
15
|
+
return readEditorSceneNodeKind(gameObject) === 'transform'
|
|
16
|
+
&& (gameObject.transformType === 'light' || !!gameObject.light);
|
|
17
|
+
}
|
|
18
|
+
export function isEditorSceneProtectedSystemGameObject(gameObject) {
|
|
19
|
+
return gameObject.id === EDITOR_SCENE_MAIN_CAMERA_ID
|
|
20
|
+
|| gameObject.id === EDITOR_SCENE_SUN_LIGHT_ID
|
|
21
|
+
|| isEditorSceneCameraGameObject(gameObject)
|
|
22
|
+
|| isEditorSceneLightGameObject(gameObject);
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=classification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classification.js","sourceRoot":"","sources":["../../src/session/classification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,uBAAuB,GAExB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAC;AACzD,MAAM,CAAC,MAAM,yBAAyB,GAAG,WAAW,CAAC;AAErD,MAAM,UAAU,gCAAgC,CAAC,UAAiC;IAChF,OAAO,uBAAuB,CAAC,UAAU,CAAC,KAAK,OAAO,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,UAAqD;IACxG,OAAO,CAAC,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,UAAiC;IAC7E,OAAO,uBAAuB,CAAC,UAAU,CAAC,KAAK,WAAW;WACrD,CAAC,UAAU,CAAC,aAAa,KAAK,QAAQ,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,UAAiC;IAC5E,OAAO,uBAAuB,CAAC,UAAU,CAAC,KAAK,WAAW;WACrD,CAAC,UAAU,CAAC,aAAa,KAAK,OAAO,IAAI,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAC,UAAiC;IACtF,OAAO,UAAU,CAAC,EAAE,KAAK,2BAA2B;WAC/C,UAAU,CAAC,EAAE,KAAK,yBAAyB;WAC3C,6BAA6B,CAAC,UAAU,CAAC;WACzC,4BAA4B,CAAC,UAAU,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type SceneGraphTreeItem } from '@fps-games/editor-core';
|
|
2
|
+
import { type EditorSceneDocument } from '../document/index';
|
|
3
|
+
export declare function getEditorSceneHierarchyItems(document: EditorSceneDocument): SceneGraphTreeItem[];
|
|
4
|
+
export declare function normalizeEditorSceneHierarchyDocument<TDocument extends EditorSceneDocument>(document: TDocument): TDocument;
|
|
5
|
+
export declare function collectEditorSceneSubtreeIdList(document: EditorSceneDocument, rootIds: string[]): string[];
|
|
6
|
+
export declare function collectEditorSceneSubtreeIds(document: EditorSceneDocument, rootIds: string[]): Set<string>;
|
|
7
|
+
//# sourceMappingURL=hierarchy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hierarchy.d.ts","sourceRoot":"","sources":["../../src/session/hierarchy.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,kBAAkB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,KAAK,mBAAmB,EAEzB,MAAM,mBAAmB,CAAC;AAmB3B,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,mBAAmB,GAAG,kBAAkB,EAAE,CA2BhG;AAoBD,wBAAgB,qCAAqC,CAAC,SAAS,SAAS,mBAAmB,EACzF,QAAQ,EAAE,SAAS,GAClB,SAAS,CAqCX;AAED,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,mBAAmB,EAC7B,OAAO,EAAE,MAAM,EAAE,GAChB,MAAM,EAAE,CAEV;AAED,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,mBAAmB,EAC7B,OAAO,EAAE,MAAM,EAAE,GAChB,GAAG,CAAC,MAAM,CAAC,CAab"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { combineEditorTransforms, createIdentityEditorTransform, } from '@fps-games/editor-core';
|
|
2
|
+
import { findEditorSceneTransform, } from '../document/index.js';
|
|
3
|
+
import { canEditorSceneGameObjectHaveChildren, isEditorSceneGroupLikeGameObject, isEditorSceneProtectedSystemGameObject, } from './classification.js';
|
|
4
|
+
import { EDITOR_SCENE_ROOT_ID, isEditorSceneRootGameObject, } from './identity.js';
|
|
5
|
+
import { getEditorSceneGameObjectDepth, getEditorSceneGameObjectWorldTransform, patchEditorSceneGameObjectLocalTransform, readRawEditorSceneGameObjectLocalTransform, resolveEditorSceneRootContainerId, toEditorSceneLocalTransformForParent, } from './transform.js';
|
|
6
|
+
export function getEditorSceneHierarchyItems(document) {
|
|
7
|
+
const rootId = resolveEditorSceneRootContainerId(document);
|
|
8
|
+
const byId = new Map(document.scene.gameObjects.map(gameObject => [gameObject.id, gameObject]));
|
|
9
|
+
return document.scene.gameObjects
|
|
10
|
+
.filter(gameObject => gameObject.id !== EDITOR_SCENE_ROOT_ID)
|
|
11
|
+
.map((gameObject) => {
|
|
12
|
+
const systemProtected = isEditorSceneProtectedSystemGameObject(gameObject);
|
|
13
|
+
const canHaveChildren = canEditorSceneGameObjectHaveChildren(gameObject);
|
|
14
|
+
const directEnabled = gameObject.active !== false;
|
|
15
|
+
return {
|
|
16
|
+
id: gameObject.id,
|
|
17
|
+
label: gameObject.name ?? gameObject.id,
|
|
18
|
+
parentId: gameObject.parentId === rootId ? null : gameObject.parentId ?? null,
|
|
19
|
+
depth: Math.max(0, getEditorSceneGameObjectDepth(document, gameObject) - (rootId ? 1 : 0)),
|
|
20
|
+
role: canHaveChildren && isEditorSceneGroupLikeGameObject(gameObject) ? 'group' : 'object',
|
|
21
|
+
selectable: true,
|
|
22
|
+
enabled: directEnabled && areEditorSceneAncestorsEnabled(byId, gameObject.parentId, rootId),
|
|
23
|
+
directEnabled,
|
|
24
|
+
canToggleEnabled: !systemProtected,
|
|
25
|
+
enableToggleDisabledReason: systemProtected ? 'Protected system objects cannot be hidden from Hierarchy.' : undefined,
|
|
26
|
+
protected: systemProtected,
|
|
27
|
+
canHaveChildren: !systemProtected && canHaveChildren,
|
|
28
|
+
renamable: !systemProtected,
|
|
29
|
+
deletable: !systemProtected,
|
|
30
|
+
draggable: !systemProtected,
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function areEditorSceneAncestorsEnabled(byId, parentId, rootId) {
|
|
35
|
+
const visited = new Set();
|
|
36
|
+
let cursorId = parentId ?? null;
|
|
37
|
+
while (cursorId) {
|
|
38
|
+
if (visited.has(cursorId))
|
|
39
|
+
return true;
|
|
40
|
+
visited.add(cursorId);
|
|
41
|
+
const parent = byId.get(cursorId);
|
|
42
|
+
if (!parent)
|
|
43
|
+
return true;
|
|
44
|
+
if (parent.id !== rootId && parent.active === false)
|
|
45
|
+
return false;
|
|
46
|
+
cursorId = parent.parentId ?? null;
|
|
47
|
+
}
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
export function normalizeEditorSceneHierarchyDocument(document) {
|
|
51
|
+
const normalizedDocument = normalizeEditorSceneRootTransformDocument(document);
|
|
52
|
+
const rootId = resolveEditorSceneRootContainerId(normalizedDocument);
|
|
53
|
+
if (!rootId)
|
|
54
|
+
return normalizedDocument;
|
|
55
|
+
let changed = false;
|
|
56
|
+
const gameObjects = normalizedDocument.scene.gameObjects.map((gameObject) => {
|
|
57
|
+
if (gameObject.id === rootId || gameObject.parentId)
|
|
58
|
+
return gameObject;
|
|
59
|
+
const world = getEditorSceneGameObjectWorldTransform(normalizedDocument, gameObject.id);
|
|
60
|
+
const local = world ? toEditorSceneLocalTransformForParent(normalizedDocument, rootId, world) : null;
|
|
61
|
+
changed = true;
|
|
62
|
+
return {
|
|
63
|
+
...gameObject,
|
|
64
|
+
parentId: rootId,
|
|
65
|
+
components: local
|
|
66
|
+
? gameObject.components.map((component) => {
|
|
67
|
+
if (component.type !== 'Transform')
|
|
68
|
+
return component;
|
|
69
|
+
return {
|
|
70
|
+
...component,
|
|
71
|
+
position: local.position,
|
|
72
|
+
rotation: local.rotation,
|
|
73
|
+
scale: local.scale,
|
|
74
|
+
};
|
|
75
|
+
})
|
|
76
|
+
: gameObject.components,
|
|
77
|
+
};
|
|
78
|
+
});
|
|
79
|
+
return changed
|
|
80
|
+
? {
|
|
81
|
+
...normalizedDocument,
|
|
82
|
+
scene: {
|
|
83
|
+
...normalizedDocument.scene,
|
|
84
|
+
gameObjects,
|
|
85
|
+
},
|
|
86
|
+
}
|
|
87
|
+
: normalizedDocument;
|
|
88
|
+
}
|
|
89
|
+
export function collectEditorSceneSubtreeIdList(document, rootIds) {
|
|
90
|
+
return [...collectEditorSceneSubtreeIds(document, rootIds)];
|
|
91
|
+
}
|
|
92
|
+
export function collectEditorSceneSubtreeIds(document, rootIds) {
|
|
93
|
+
const ids = new Set(rootIds.filter((id) => !!document.scene.gameObjects.find((gameObject) => gameObject.id === id)));
|
|
94
|
+
let changed = true;
|
|
95
|
+
while (changed) {
|
|
96
|
+
changed = false;
|
|
97
|
+
for (const gameObject of document.scene.gameObjects) {
|
|
98
|
+
if (gameObject.parentId && ids.has(gameObject.parentId) && !ids.has(gameObject.id)) {
|
|
99
|
+
ids.add(gameObject.id);
|
|
100
|
+
changed = true;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return ids;
|
|
105
|
+
}
|
|
106
|
+
function normalizeEditorSceneRootTransformDocument(document) {
|
|
107
|
+
const root = document.scene.gameObjects.find(isEditorSceneRootGameObject);
|
|
108
|
+
if (!root)
|
|
109
|
+
return document;
|
|
110
|
+
const rootLocalTransform = readRawEditorSceneGameObjectLocalTransform(root);
|
|
111
|
+
const bakeRootTransformIntoChildren = !!findEditorSceneTransform(root)
|
|
112
|
+
&& !editorSceneTransformsEqual(rootLocalTransform, createIdentityEditorTransform());
|
|
113
|
+
let changed = false;
|
|
114
|
+
const gameObjects = document.scene.gameObjects.map((gameObject) => {
|
|
115
|
+
if (isEditorSceneRootGameObject(gameObject)) {
|
|
116
|
+
const next = normalizeEditorSceneRootGameObject(gameObject);
|
|
117
|
+
changed = changed || next !== gameObject;
|
|
118
|
+
return next;
|
|
119
|
+
}
|
|
120
|
+
if (!bakeRootTransformIntoChildren || gameObject.parentId !== EDITOR_SCENE_ROOT_ID)
|
|
121
|
+
return gameObject;
|
|
122
|
+
const childTransform = findEditorSceneTransform(gameObject);
|
|
123
|
+
if (!childTransform)
|
|
124
|
+
return gameObject;
|
|
125
|
+
const bakedTransform = combineEditorTransforms(rootLocalTransform, readRawEditorSceneGameObjectLocalTransform(gameObject));
|
|
126
|
+
if (!bakedTransform)
|
|
127
|
+
return gameObject;
|
|
128
|
+
const next = patchEditorSceneGameObjectLocalTransform(gameObject, bakedTransform);
|
|
129
|
+
changed = true;
|
|
130
|
+
return next;
|
|
131
|
+
});
|
|
132
|
+
return changed
|
|
133
|
+
? {
|
|
134
|
+
...document,
|
|
135
|
+
scene: {
|
|
136
|
+
...document.scene,
|
|
137
|
+
gameObjects,
|
|
138
|
+
},
|
|
139
|
+
}
|
|
140
|
+
: document;
|
|
141
|
+
}
|
|
142
|
+
function normalizeEditorSceneRootGameObject(gameObject) {
|
|
143
|
+
let hasTransform = false;
|
|
144
|
+
let changed = gameObject.parentId !== undefined;
|
|
145
|
+
const identity = createIdentityEditorTransform();
|
|
146
|
+
const components = gameObject.components.map((component) => {
|
|
147
|
+
if (component.type !== 'Transform')
|
|
148
|
+
return component;
|
|
149
|
+
hasTransform = true;
|
|
150
|
+
const transform = component;
|
|
151
|
+
if (isEditorSceneVec3(transform.position)
|
|
152
|
+
&& isEditorSceneVec3(transform.rotation)
|
|
153
|
+
&& isEditorSceneVec3(transform.scale)
|
|
154
|
+
&& editorSceneVec3Equal(transform.position, identity.position)
|
|
155
|
+
&& editorSceneVec3Equal(transform.rotation, identity.rotation)
|
|
156
|
+
&& editorSceneVec3Equal(transform.scale, identity.scale)) {
|
|
157
|
+
return component;
|
|
158
|
+
}
|
|
159
|
+
changed = true;
|
|
160
|
+
return {
|
|
161
|
+
type: 'Transform',
|
|
162
|
+
position: { ...identity.position },
|
|
163
|
+
rotation: { ...identity.rotation },
|
|
164
|
+
scale: { ...identity.scale },
|
|
165
|
+
};
|
|
166
|
+
});
|
|
167
|
+
if (!hasTransform) {
|
|
168
|
+
changed = true;
|
|
169
|
+
components.unshift({
|
|
170
|
+
type: 'Transform',
|
|
171
|
+
position: { ...identity.position },
|
|
172
|
+
rotation: { ...identity.rotation },
|
|
173
|
+
scale: { ...identity.scale },
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
if (!changed)
|
|
177
|
+
return gameObject;
|
|
178
|
+
const next = {
|
|
179
|
+
...gameObject,
|
|
180
|
+
components,
|
|
181
|
+
};
|
|
182
|
+
delete next.parentId;
|
|
183
|
+
return next;
|
|
184
|
+
}
|
|
185
|
+
function editorSceneTransformsEqual(left, right) {
|
|
186
|
+
return editorSceneVec3Equal(left.position, right.position)
|
|
187
|
+
&& editorSceneVec3Equal(left.rotation, right.rotation)
|
|
188
|
+
&& editorSceneVec3Equal(left.scale, right.scale);
|
|
189
|
+
}
|
|
190
|
+
function editorSceneVec3Equal(left, right) {
|
|
191
|
+
return Math.abs(left.x - right.x) < 0.000001
|
|
192
|
+
&& Math.abs(left.y - right.y) < 0.000001
|
|
193
|
+
&& Math.abs(left.z - right.z) < 0.000001;
|
|
194
|
+
}
|
|
195
|
+
function isEditorSceneVec3(value) {
|
|
196
|
+
if (!value || typeof value !== 'object')
|
|
197
|
+
return false;
|
|
198
|
+
const candidate = value;
|
|
199
|
+
return typeof candidate.x === 'number'
|
|
200
|
+
&& Number.isFinite(candidate.x)
|
|
201
|
+
&& typeof candidate.y === 'number'
|
|
202
|
+
&& Number.isFinite(candidate.y)
|
|
203
|
+
&& typeof candidate.z === 'number'
|
|
204
|
+
&& Number.isFinite(candidate.z);
|
|
205
|
+
}
|
|
206
|
+
//# sourceMappingURL=hierarchy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hierarchy.js","sourceRoot":"","sources":["../../src/session/hierarchy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,6BAA6B,GAE9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,wBAAwB,GAGz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/B,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;WAC5B,OAAO,SAAS,CAAC,CAAC,KAAK,QAAQ;WAC/B,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AACpC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { EditorSceneDocument, EditorSceneGameObject } from '../document/index';
|
|
2
|
+
export declare const EDITOR_SCENE_ROOT_ID = "root";
|
|
3
|
+
export declare function isEditorSceneRootGameObjectId(gameObjectId: string | null | undefined): boolean;
|
|
4
|
+
export declare function isEditorSceneRootGameObject(gameObject: Pick<EditorSceneGameObject, 'id'>): boolean;
|
|
5
|
+
export declare function ensureEditorSceneGameObjectGuids<TDocument extends EditorSceneDocument>(document: TDocument): TDocument;
|
|
6
|
+
export declare function createEditorSceneGameObjectGuid(): string;
|
|
7
|
+
//# sourceMappingURL=identity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/session/identity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAEpF,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAG3C,wBAAgB,6BAA6B,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAE9F;AAED,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,IAAI,CAAC,qBAAqB,EAAE,IAAI,CAAC,GAAG,OAAO,CAElG;AAED,wBAAgB,gCAAgC,CAAC,SAAS,SAAS,mBAAmB,EACpF,QAAQ,EAAE,SAAS,GAClB,SAAS,CAiBX;AAED,wBAAgB,+BAA+B,IAAI,MAAM,CAGxD"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export const EDITOR_SCENE_ROOT_ID = 'root';
|
|
2
|
+
const EDITOR_SCENE_GAME_OBJECT_GUID_PREFIX = 'go_';
|
|
3
|
+
export function isEditorSceneRootGameObjectId(gameObjectId) {
|
|
4
|
+
return gameObjectId === EDITOR_SCENE_ROOT_ID;
|
|
5
|
+
}
|
|
6
|
+
export function isEditorSceneRootGameObject(gameObject) {
|
|
7
|
+
return isEditorSceneRootGameObjectId(gameObject.id);
|
|
8
|
+
}
|
|
9
|
+
export function ensureEditorSceneGameObjectGuids(document) {
|
|
10
|
+
const usedGuids = new Set();
|
|
11
|
+
let changed = false;
|
|
12
|
+
const gameObjects = document.scene.gameObjects.map((gameObject) => {
|
|
13
|
+
const next = ensureUniqueEditorSceneGameObjectGuid(gameObject, usedGuids);
|
|
14
|
+
changed = changed || next !== gameObject;
|
|
15
|
+
return next;
|
|
16
|
+
});
|
|
17
|
+
return changed
|
|
18
|
+
? {
|
|
19
|
+
...document,
|
|
20
|
+
scene: {
|
|
21
|
+
...document.scene,
|
|
22
|
+
gameObjects,
|
|
23
|
+
},
|
|
24
|
+
}
|
|
25
|
+
: document;
|
|
26
|
+
}
|
|
27
|
+
export function createEditorSceneGameObjectGuid() {
|
|
28
|
+
const randomId = globalThis.crypto?.randomUUID?.() ?? `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
|
|
29
|
+
return `${EDITOR_SCENE_GAME_OBJECT_GUID_PREFIX}${randomId}`;
|
|
30
|
+
}
|
|
31
|
+
function readEditorSceneGameObjectGuid(gameObject) {
|
|
32
|
+
return typeof gameObject.guid === 'string' && gameObject.guid.trim() ? gameObject.guid.trim() : null;
|
|
33
|
+
}
|
|
34
|
+
function ensureUniqueEditorSceneGameObjectGuid(gameObject, usedGuids) {
|
|
35
|
+
const existingGuid = readEditorSceneGameObjectGuid(gameObject);
|
|
36
|
+
if (existingGuid && !usedGuids.has(existingGuid)) {
|
|
37
|
+
usedGuids.add(existingGuid);
|
|
38
|
+
return existingGuid === gameObject.guid ? gameObject : { ...gameObject, guid: existingGuid };
|
|
39
|
+
}
|
|
40
|
+
let guid = createEditorSceneGameObjectGuid();
|
|
41
|
+
while (usedGuids.has(guid)) {
|
|
42
|
+
guid = createEditorSceneGameObjectGuid();
|
|
43
|
+
}
|
|
44
|
+
usedGuids.add(guid);
|
|
45
|
+
return { ...gameObject, guid };
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=identity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../src/session/identity.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAC3C,MAAM,oCAAoC,GAAG,KAAK,CAAC;AAEnD,MAAM,UAAU,6BAA6B,CAAC,YAAuC;IACnF,OAAO,YAAY,KAAK,oBAAoB,CAAC;AAC/C,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,UAA6C;IACvF,OAAO,6BAA6B,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAC9C,QAAmB;IAEnB,MAAM,SAAS,GAAG,IAAI,GAAG,EAAU,CAAC;IACpC,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,MAAM,WAAW,GAAG,QAAQ,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE;QAChE,MAAM,IAAI,GAAG,qCAAqC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QAC1E,OAAO,GAAG,OAAO,IAAI,IAAI,KAAK,UAAU,CAAC;QACzC,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;IACH,OAAO,OAAO;QACZ,CAAC,CAAC;YACE,GAAG,QAAQ;YACX,KAAK,EAAE;gBACL,GAAG,QAAQ,CAAC,KAAK;gBACjB,WAAW;aACZ;SACW;QAChB,CAAC,CAAC,QAAQ,CAAC;AACf,CAAC;AAED,MAAM,UAAU,+BAA+B;IAC7C,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,EA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types';
|
|
2
|
+
export { ensureEditorSceneGameObjectGuids, isEditorSceneRootGameObject, isEditorSceneRootGameObjectId, } from './identity';
|
|
3
|
+
export { canEditorSceneGameObjectHaveChildren, isEditorSceneCameraGameObject, isEditorSceneGroupLikeGameObject, isEditorSceneLightGameObject, } from './classification';
|
|
4
|
+
export { getEditorSceneGameObjectWorldTransform, toEditorSceneLocalTransformFromWorld, toEditorSceneLocalTransformForParent, } from './transform';
|
|
5
|
+
export { collectEditorSceneSubtreeIdList, getEditorSceneHierarchyItems, normalizeEditorSceneHierarchyDocument, } from './hierarchy';
|
|
6
|
+
export type { EditorSceneHierarchyPatch, } from './patches';
|
|
7
|
+
export { createEditorSceneCreateGroupPatch, createEditorSceneCreatePrimitivePatch, createEditorSceneDeleteSubtreePatch, createEditorSceneDuplicateSelectionPatch, createEditorSceneGroupSelectionPatch, createEditorSceneHierarchyMovePatch, createEditorSceneRenamePatch, createEditorSceneReparentPatch, validateEditorSceneGroupSelection, validateEditorSceneHierarchyMove, validateEditorSceneReparent, } from './patches';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,oCAAoC,EACpC,6BAA6B,EAC7B,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,sCAAsC,EACtC,oCAAoC,EACpC,oCAAoC,GACrC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,EAC5B,qCAAqC,GACtC,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,yBAAyB,GAC1B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,iCAAiC,EACjC,qCAAqC,EACrC,mCAAmC,EACnC,wCAAwC,EACxC,oCAAoC,EACpC,mCAAmC,EACnC,4BAA4B,EAC5B,8BAA8B,EAC9B,iCAAiC,EACjC,gCAAgC,EAChC,2BAA2B,GAC5B,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ensureEditorSceneGameObjectGuids, isEditorSceneRootGameObject, isEditorSceneRootGameObjectId, } from './identity.js';
|
|
2
|
+
export { canEditorSceneGameObjectHaveChildren, isEditorSceneCameraGameObject, isEditorSceneGroupLikeGameObject, isEditorSceneLightGameObject, } from './classification.js';
|
|
3
|
+
export { getEditorSceneGameObjectWorldTransform, toEditorSceneLocalTransformFromWorld, toEditorSceneLocalTransformForParent, } from './transform.js';
|
|
4
|
+
export { collectEditorSceneSubtreeIdList, getEditorSceneHierarchyItems, normalizeEditorSceneHierarchyDocument, } from './hierarchy.js';
|
|
5
|
+
export { createEditorSceneCreateGroupPatch, createEditorSceneCreatePrimitivePatch, createEditorSceneDeleteSubtreePatch, createEditorSceneDuplicateSelectionPatch, createEditorSceneGroupSelectionPatch, createEditorSceneHierarchyMovePatch, createEditorSceneRenamePatch, createEditorSceneReparentPatch, validateEditorSceneGroupSelection, validateEditorSceneHierarchyMove, validateEditorSceneReparent, } from './patches.js';
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/session/index.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,oCAAoC,EACpC,6BAA6B,EAC7B,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,sCAAsC,EACtC,oCAAoC,EACpC,oCAAoC,GACrC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,EAC5B,qCAAqC,GACtC,MAAM,aAAa,CAAC;AAIrB,OAAO,EACL,iCAAiC,EACjC,qCAAqC,EACrC,mCAAmC,EACnC,wCAAwC,EACxC,oCAAoC,EACpC,mCAAmC,EACnC,4BAA4B,EAC5B,8BAA8B,EAC9B,iCAAiC,EACjC,gCAAgC,EAChC,2BAA2B,GAC5B,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { type EditorTransformSnapshot, type SceneGraphCreateGroupIntent, type SceneGraphCreatePrimitiveIntent, type SceneGraphDeleteIntent, type SceneGraphDropIntent, type SceneGraphGroupSelectionIntent, type SceneGraphMoveIntent, type SceneGraphRenameIntent, type SceneGraphValidationResult } from '@fps-games/editor-core';
|
|
2
|
+
import { type EditorSceneDocument, type EditorSceneGameObject } from '../document/index';
|
|
3
|
+
export type EditorSceneHierarchyPatch<TGameObject extends EditorSceneGameObject = EditorSceneGameObject> = {
|
|
4
|
+
kind: 'game-object.rename';
|
|
5
|
+
targetId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
} | {
|
|
8
|
+
kind: 'game-object.create-group';
|
|
9
|
+
gameObject: TGameObject;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'game-object.create-primitive';
|
|
12
|
+
gameObject: TGameObject;
|
|
13
|
+
} | {
|
|
14
|
+
kind: 'game-object.delete-subtree';
|
|
15
|
+
targetIds: string[];
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'game-object.reparent';
|
|
18
|
+
targetId: string;
|
|
19
|
+
parentId?: string;
|
|
20
|
+
transform?: EditorTransformSnapshot;
|
|
21
|
+
} | {
|
|
22
|
+
kind: 'game-object.hierarchy-move';
|
|
23
|
+
moves: Array<{
|
|
24
|
+
targetId: string;
|
|
25
|
+
parentId?: string;
|
|
26
|
+
transform: EditorTransformSnapshot;
|
|
27
|
+
}>;
|
|
28
|
+
order: string[];
|
|
29
|
+
} | {
|
|
30
|
+
kind: 'game-object.group-selection';
|
|
31
|
+
gameObject: TGameObject;
|
|
32
|
+
childIds: string[];
|
|
33
|
+
childTransforms: Record<string, EditorTransformSnapshot>;
|
|
34
|
+
order: string[];
|
|
35
|
+
} | {
|
|
36
|
+
kind: 'game-object.duplicate-selection';
|
|
37
|
+
gameObjects: TGameObject[];
|
|
38
|
+
};
|
|
39
|
+
export declare function createEditorSceneRenamePatch(document: EditorSceneDocument, intent: SceneGraphRenameIntent): {
|
|
40
|
+
patch: EditorSceneHierarchyPatch;
|
|
41
|
+
label: string;
|
|
42
|
+
changedId: string;
|
|
43
|
+
} | null;
|
|
44
|
+
export declare function createEditorSceneCreateGroupPatch(document: EditorSceneDocument, intent: SceneGraphCreateGroupIntent): {
|
|
45
|
+
patch: EditorSceneHierarchyPatch;
|
|
46
|
+
label: string;
|
|
47
|
+
createdId: string;
|
|
48
|
+
} | null;
|
|
49
|
+
export declare function createEditorSceneCreatePrimitivePatch(document: EditorSceneDocument, intent: SceneGraphCreatePrimitiveIntent): {
|
|
50
|
+
patch: EditorSceneHierarchyPatch;
|
|
51
|
+
label: string;
|
|
52
|
+
createdId: string;
|
|
53
|
+
changedIds: string[];
|
|
54
|
+
} | null;
|
|
55
|
+
export declare function createEditorSceneDeleteSubtreePatch(document: EditorSceneDocument, intent: SceneGraphDeleteIntent): {
|
|
56
|
+
patch: EditorSceneHierarchyPatch;
|
|
57
|
+
label: string;
|
|
58
|
+
deletedIds: string[];
|
|
59
|
+
fallbackSelectionId: string | null;
|
|
60
|
+
} | null;
|
|
61
|
+
export declare function validateEditorSceneReparent(document: EditorSceneDocument, intent: SceneGraphDropIntent): SceneGraphValidationResult;
|
|
62
|
+
export declare function createEditorSceneReparentPatch(document: EditorSceneDocument, intent: SceneGraphDropIntent): {
|
|
63
|
+
patch: EditorSceneHierarchyPatch;
|
|
64
|
+
label: string;
|
|
65
|
+
changedIds: string[];
|
|
66
|
+
} | null;
|
|
67
|
+
export declare function validateEditorSceneHierarchyMove(document: EditorSceneDocument, intent: SceneGraphMoveIntent): SceneGraphValidationResult;
|
|
68
|
+
export declare function createEditorSceneHierarchyMovePatch(document: EditorSceneDocument, intent: SceneGraphMoveIntent): {
|
|
69
|
+
patch: EditorSceneHierarchyPatch;
|
|
70
|
+
label: string;
|
|
71
|
+
changedIds: string[];
|
|
72
|
+
} | null;
|
|
73
|
+
export declare function validateEditorSceneGroupSelection(document: EditorSceneDocument, intent: SceneGraphGroupSelectionIntent): SceneGraphValidationResult;
|
|
74
|
+
export declare function createEditorSceneGroupSelectionPatch(document: EditorSceneDocument, intent: SceneGraphGroupSelectionIntent): {
|
|
75
|
+
patch: EditorSceneHierarchyPatch;
|
|
76
|
+
label: string;
|
|
77
|
+
createdId: string;
|
|
78
|
+
changedIds: string[];
|
|
79
|
+
} | null;
|
|
80
|
+
export declare function createEditorSceneDuplicateSelectionPatch(input: {
|
|
81
|
+
document: EditorSceneDocument;
|
|
82
|
+
targetIds: string[];
|
|
83
|
+
activeId: string | null;
|
|
84
|
+
}): {
|
|
85
|
+
patch: EditorSceneHierarchyPatch;
|
|
86
|
+
label: string;
|
|
87
|
+
createdIds: string[];
|
|
88
|
+
activeId: string | null;
|
|
89
|
+
changedIds: string[];
|
|
90
|
+
} | null;
|
|
91
|
+
//# sourceMappingURL=patches.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patches.d.ts","sourceRoot":"","sources":["../../src/session/patches.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,oBAAoB,EAEzB,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAChC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB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