@fps-games/editor 0.1.3-beta.4 → 0.1.4-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +28 -1
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +662 -123
- 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-babylon-rendering.d.ts +51 -0
- package/dist/playable-babylon-rendering.d.ts.map +1 -0
- package/dist/playable-babylon-rendering.js +178 -0
- package/dist/playable-babylon-rendering.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +511 -0
- package/dist/playable-local-editor-host.d.ts.map +1 -0
- package/dist/playable-local-editor-host.js +528 -0
- package/dist/playable-local-editor-host.js.map +1 -0
- package/dist/playable-sdk.d.ts +10 -0
- package/dist/playable-sdk.d.ts.map +1 -0
- package/dist/playable-sdk.js +6 -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 +99 -28
- 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 +258 -151
- 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 +45 -10
- 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 +2 -0
- 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 +212 -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 +207 -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,579 @@
|
|
|
1
|
+
import { getTopLevelSceneGraphNodeIds, toEditorLocalTransformFromWorld, validateSceneGraphGroupSelection, validateSceneGraphMove, } from '@fps-games/editor-core';
|
|
2
|
+
import { findEditorSceneTransform, } from '../document/index.js';
|
|
3
|
+
import { isEditorSceneCameraGameObject, canEditorSceneGameObjectHaveChildren, } from './classification.js';
|
|
4
|
+
import { createEditorSceneGameObjectGuid, isEditorSceneRootGameObject, isEditorSceneRootGameObjectId, } from './identity.js';
|
|
5
|
+
import { collectEditorSceneSubtreeIds, collectEditorSceneSubtreeIdList, getEditorSceneHierarchyItems, } from './hierarchy.js';
|
|
6
|
+
import { createEditorSceneGameObjectMap, findEditorSceneGameObject, getEditorSceneGameObjectWorldTransform, readEditorSceneGameObjectLocalTransform, resolveEditorSceneRootContainerId, toEditorSceneLocalTransformForParent, } from './transform.js';
|
|
7
|
+
export function createEditorSceneRenamePatch(document, intent) {
|
|
8
|
+
const name = intent.name.trim();
|
|
9
|
+
if (!name)
|
|
10
|
+
return null;
|
|
11
|
+
const gameObject = findEditorSceneGameObject(document, intent.id);
|
|
12
|
+
if (!gameObject || gameObject.name === name)
|
|
13
|
+
return null;
|
|
14
|
+
return {
|
|
15
|
+
label: `Rename ${gameObject.name ?? gameObject.id} to ${name}`,
|
|
16
|
+
patch: {
|
|
17
|
+
kind: 'game-object.rename',
|
|
18
|
+
targetId: intent.id,
|
|
19
|
+
name,
|
|
20
|
+
},
|
|
21
|
+
changedId: intent.id,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export function createEditorSceneCreateGroupPatch(document, intent) {
|
|
25
|
+
const parentId = resolveCreateGroupParentId(document, intent);
|
|
26
|
+
if (parentId === null)
|
|
27
|
+
return null;
|
|
28
|
+
const id = createUniqueEditorSceneId(document.scene.gameObjects.map((gameObject) => gameObject.id), 'empty');
|
|
29
|
+
const name = intent.name?.trim() || 'Empty';
|
|
30
|
+
const gameObject = {
|
|
31
|
+
id,
|
|
32
|
+
guid: createEditorSceneGameObjectGuid(),
|
|
33
|
+
name,
|
|
34
|
+
kind: 'transform',
|
|
35
|
+
transformType: 'plain',
|
|
36
|
+
...(parentId ? { parentId } : {}),
|
|
37
|
+
active: true,
|
|
38
|
+
components: [
|
|
39
|
+
{
|
|
40
|
+
type: 'Transform',
|
|
41
|
+
position: { x: 0, y: 0, z: 0 },
|
|
42
|
+
rotation: { x: 0, y: 0, z: 0 },
|
|
43
|
+
scale: { x: 1, y: 1, z: 1 },
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
};
|
|
47
|
+
return {
|
|
48
|
+
label: `Create empty ${name}`,
|
|
49
|
+
patch: {
|
|
50
|
+
kind: 'game-object.create-group',
|
|
51
|
+
gameObject,
|
|
52
|
+
},
|
|
53
|
+
createdId: id,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function createEditorSceneCreatePrimitivePatch(document, intent) {
|
|
57
|
+
const shape = normalizeEditorScenePrimitiveShape(intent.shape);
|
|
58
|
+
if (!shape)
|
|
59
|
+
return null;
|
|
60
|
+
const parentId = resolveCreatePrimitiveParentId(document, intent);
|
|
61
|
+
if (parentId === null)
|
|
62
|
+
return null;
|
|
63
|
+
const id = createUniqueEditorSceneId(document.scene.gameObjects.map((gameObject) => gameObject.id), shape);
|
|
64
|
+
const name = intent.name?.trim() || getEditorScenePrimitiveDisplayName(shape);
|
|
65
|
+
const localTransform = createDefaultEditorScenePrimitiveTransform(shape);
|
|
66
|
+
const gameObject = {
|
|
67
|
+
id,
|
|
68
|
+
guid: createEditorSceneGameObjectGuid(),
|
|
69
|
+
name,
|
|
70
|
+
kind: 'primitive',
|
|
71
|
+
...(parentId ? { parentId } : {}),
|
|
72
|
+
active: true,
|
|
73
|
+
primitive: { shape },
|
|
74
|
+
components: [
|
|
75
|
+
{
|
|
76
|
+
type: 'Transform',
|
|
77
|
+
position: localTransform.position,
|
|
78
|
+
rotation: localTransform.rotation,
|
|
79
|
+
scale: localTransform.scale,
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
};
|
|
83
|
+
return {
|
|
84
|
+
label: `Create ${name}`,
|
|
85
|
+
patch: {
|
|
86
|
+
kind: 'game-object.create-primitive',
|
|
87
|
+
gameObject,
|
|
88
|
+
},
|
|
89
|
+
createdId: id,
|
|
90
|
+
changedIds: [id],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
export function createEditorSceneDeleteSubtreePatch(document, intent) {
|
|
94
|
+
if (intent.ids.some(isEditorSceneRootGameObjectId))
|
|
95
|
+
return null;
|
|
96
|
+
const deletedIds = collectEditorSceneSubtreeIdList(document, intent.ids);
|
|
97
|
+
if (deletedIds.length === 0)
|
|
98
|
+
return null;
|
|
99
|
+
if (document.scene.gameObjects.some((gameObject) => deletedIds.includes(gameObject.id) && isEditorSceneCameraGameObject(gameObject))) {
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
const fallbackSelectionId = resolveDeleteFallbackSelectionId(document, deletedIds, intent.activeId ?? null);
|
|
103
|
+
return {
|
|
104
|
+
label: `Delete ${deletedIds.length} GameObject${deletedIds.length === 1 ? '' : 's'}`,
|
|
105
|
+
patch: {
|
|
106
|
+
kind: 'game-object.delete-subtree',
|
|
107
|
+
targetIds: intent.ids,
|
|
108
|
+
},
|
|
109
|
+
deletedIds,
|
|
110
|
+
fallbackSelectionId,
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
export function validateEditorSceneReparent(document, intent) {
|
|
114
|
+
if (intent.placement !== 'inside')
|
|
115
|
+
return { ok: false, reason: 'Only inside reparent is supported.' };
|
|
116
|
+
const dragged = findEditorSceneGameObject(document, intent.draggedId);
|
|
117
|
+
const target = findEditorSceneGameObject(document, intent.targetId);
|
|
118
|
+
if (!dragged)
|
|
119
|
+
return { ok: false, reason: `GameObject not found: ${intent.draggedId}` };
|
|
120
|
+
if (isEditorSceneRootGameObject(dragged))
|
|
121
|
+
return { ok: false, reason: 'Root GameObject cannot be reparented.' };
|
|
122
|
+
if (!target)
|
|
123
|
+
return { ok: false, reason: `Parent GameObject not found: ${intent.targetId}` };
|
|
124
|
+
if (!findEditorSceneTransform(dragged))
|
|
125
|
+
return { ok: false, reason: `${intent.draggedId} has no Transform to preserve.` };
|
|
126
|
+
if (!canEditorSceneGameObjectHaveChildren(target))
|
|
127
|
+
return { ok: false, reason: `${intent.targetId} cannot have children.` };
|
|
128
|
+
if (dragged.id === target.id)
|
|
129
|
+
return { ok: false, reason: 'GameObject cannot be parented to itself.' };
|
|
130
|
+
if (isEditorSceneAncestor(document, dragged.id, target.id)) {
|
|
131
|
+
return { ok: false, reason: 'GameObject cannot be parented to its descendant.' };
|
|
132
|
+
}
|
|
133
|
+
if (intent.preserveWorldTransform !== false && !computeLocalTransformForParent(document, dragged.id, target.id)) {
|
|
134
|
+
return { ok: false, reason: 'Cannot preserve world transform under the target parent.' };
|
|
135
|
+
}
|
|
136
|
+
return { ok: true };
|
|
137
|
+
}
|
|
138
|
+
export function createEditorSceneReparentPatch(document, intent) {
|
|
139
|
+
const validation = validateEditorSceneReparent(document, intent);
|
|
140
|
+
if (!validation.ok)
|
|
141
|
+
return null;
|
|
142
|
+
const target = findEditorSceneGameObject(document, intent.draggedId);
|
|
143
|
+
if (!target || !findEditorSceneTransform(target))
|
|
144
|
+
return null;
|
|
145
|
+
const parentId = intent.targetId;
|
|
146
|
+
const transform = intent.preserveWorldTransform === false
|
|
147
|
+
? readEditorSceneGameObjectLocalTransform(target)
|
|
148
|
+
: computeLocalTransformForParent(document, target.id, parentId);
|
|
149
|
+
if (!transform)
|
|
150
|
+
return null;
|
|
151
|
+
if (target.parentId === parentId && editorSceneTransformsEqual(readEditorSceneGameObjectLocalTransform(target), transform))
|
|
152
|
+
return null;
|
|
153
|
+
return {
|
|
154
|
+
label: `Reparent ${target.name ?? target.id}`,
|
|
155
|
+
patch: {
|
|
156
|
+
kind: 'game-object.reparent',
|
|
157
|
+
targetId: target.id,
|
|
158
|
+
parentId,
|
|
159
|
+
transform,
|
|
160
|
+
},
|
|
161
|
+
changedIds: [target.id],
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
export function validateEditorSceneHierarchyMove(document, intent) {
|
|
165
|
+
const hierarchy = getEditorSceneHierarchyItems(document);
|
|
166
|
+
const validation = validateSceneGraphMove(hierarchy, intent);
|
|
167
|
+
if (!validation.ok)
|
|
168
|
+
return validation;
|
|
169
|
+
const ids = getTopLevelSceneGraphNodeIds(hierarchy, intent.ids);
|
|
170
|
+
if (ids.some(isEditorSceneRootGameObjectId))
|
|
171
|
+
return { ok: false, reason: 'Root GameObject cannot be moved.' };
|
|
172
|
+
const parentId = resolveEditorSceneMoveParentId(document, intent);
|
|
173
|
+
if (parentId && !isEditorSceneContainer(document, parentId)) {
|
|
174
|
+
return { ok: false, reason: `${parentId} cannot have children.` };
|
|
175
|
+
}
|
|
176
|
+
if (intent.preserveWorldTransform !== false) {
|
|
177
|
+
for (const id of ids) {
|
|
178
|
+
const gameObject = findEditorSceneGameObject(document, id);
|
|
179
|
+
if (!gameObject)
|
|
180
|
+
return { ok: false, reason: `GameObject not found: ${id}` };
|
|
181
|
+
if (!findEditorSceneTransform(gameObject))
|
|
182
|
+
return { ok: false, reason: `${id} has no Transform to preserve.` };
|
|
183
|
+
if (!computeLocalTransformForParent(document, id, parentId)) {
|
|
184
|
+
return { ok: false, reason: 'Cannot preserve world transform under the target parent.' };
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return { ok: true };
|
|
189
|
+
}
|
|
190
|
+
export function createEditorSceneHierarchyMovePatch(document, intent) {
|
|
191
|
+
const validation = validateEditorSceneHierarchyMove(document, intent);
|
|
192
|
+
if (!validation.ok)
|
|
193
|
+
return null;
|
|
194
|
+
const hierarchy = getEditorSceneHierarchyItems(document);
|
|
195
|
+
const ids = getTopLevelSceneGraphNodeIds(hierarchy, intent.ids);
|
|
196
|
+
const parentId = resolveEditorSceneMoveParentId(document, intent);
|
|
197
|
+
const moves = ids
|
|
198
|
+
.map((id) => {
|
|
199
|
+
const gameObject = findEditorSceneGameObject(document, id);
|
|
200
|
+
if (!gameObject || !findEditorSceneTransform(gameObject))
|
|
201
|
+
return null;
|
|
202
|
+
const transform = intent.preserveWorldTransform === false
|
|
203
|
+
? readEditorSceneGameObjectLocalTransform(gameObject)
|
|
204
|
+
: computeLocalTransformForParent(document, id, parentId);
|
|
205
|
+
if (!transform)
|
|
206
|
+
return null;
|
|
207
|
+
return parentId
|
|
208
|
+
? { targetId: id, parentId, transform }
|
|
209
|
+
: { targetId: id, transform };
|
|
210
|
+
})
|
|
211
|
+
.filter((move) => !!move);
|
|
212
|
+
if (moves.length !== ids.length)
|
|
213
|
+
return null;
|
|
214
|
+
const order = createEditorSceneMoveOrder(document, ids, intent);
|
|
215
|
+
const currentOrder = document.scene.gameObjects.map((gameObject) => gameObject.id);
|
|
216
|
+
const moved = moves.some((move) => {
|
|
217
|
+
const gameObject = findEditorSceneGameObject(document, move.targetId);
|
|
218
|
+
return !gameObject
|
|
219
|
+
|| gameObject.parentId !== move.parentId
|
|
220
|
+
|| !editorSceneTransformsEqual(readEditorSceneGameObjectLocalTransform(gameObject), move.transform);
|
|
221
|
+
});
|
|
222
|
+
if (!moved && arraysEqual(currentOrder, order))
|
|
223
|
+
return null;
|
|
224
|
+
return {
|
|
225
|
+
label: `Move ${ids.length} GameObject${ids.length === 1 ? '' : 's'}`,
|
|
226
|
+
patch: {
|
|
227
|
+
kind: 'game-object.hierarchy-move',
|
|
228
|
+
moves,
|
|
229
|
+
order,
|
|
230
|
+
},
|
|
231
|
+
changedIds: ids,
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
export function validateEditorSceneGroupSelection(document, intent) {
|
|
235
|
+
const hierarchy = getEditorSceneHierarchyItems(document);
|
|
236
|
+
const validation = validateSceneGraphGroupSelection(hierarchy, intent);
|
|
237
|
+
if (!validation.ok)
|
|
238
|
+
return validation;
|
|
239
|
+
const ids = getTopLevelSceneGraphNodeIds(hierarchy, intent.ids);
|
|
240
|
+
if (ids.some(isEditorSceneRootGameObjectId))
|
|
241
|
+
return { ok: false, reason: 'Root GameObject cannot be grouped.' };
|
|
242
|
+
const parentId = resolveEditorSceneGroupSelectionParentId(document, intent.parentId ?? null);
|
|
243
|
+
if (parentId && !isEditorSceneContainer(document, parentId)) {
|
|
244
|
+
return { ok: false, reason: `${parentId} cannot have children.` };
|
|
245
|
+
}
|
|
246
|
+
if (intent.preserveWorldTransform !== false) {
|
|
247
|
+
const center = computeEditorSceneSelectionWorldCenter(document, ids);
|
|
248
|
+
const groupWorld = center
|
|
249
|
+
? {
|
|
250
|
+
position: center,
|
|
251
|
+
rotation: { x: 0, y: 0, z: 0 },
|
|
252
|
+
scale: { x: 1, y: 1, z: 1 },
|
|
253
|
+
}
|
|
254
|
+
: null;
|
|
255
|
+
if (!groupWorld || !toEditorSceneLocalTransformForParent(document, parentId, groupWorld)) {
|
|
256
|
+
return { ok: false, reason: 'Cannot preserve world transform under the target parent.' };
|
|
257
|
+
}
|
|
258
|
+
for (const id of ids) {
|
|
259
|
+
const gameObject = findEditorSceneGameObject(document, id);
|
|
260
|
+
if (!gameObject)
|
|
261
|
+
return { ok: false, reason: `GameObject not found: ${id}` };
|
|
262
|
+
if (!findEditorSceneTransform(gameObject))
|
|
263
|
+
return { ok: false, reason: `${id} has no Transform to preserve.` };
|
|
264
|
+
if (!getEditorSceneGameObjectWorldTransform(document, id)) {
|
|
265
|
+
return { ok: false, reason: 'Cannot preserve world transform under the target parent.' };
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
return { ok: true };
|
|
270
|
+
}
|
|
271
|
+
export function createEditorSceneGroupSelectionPatch(document, intent) {
|
|
272
|
+
const validation = validateEditorSceneGroupSelection(document, intent);
|
|
273
|
+
if (!validation.ok)
|
|
274
|
+
return null;
|
|
275
|
+
const hierarchy = getEditorSceneHierarchyItems(document);
|
|
276
|
+
const ids = getTopLevelSceneGraphNodeIds(hierarchy, intent.ids);
|
|
277
|
+
if (ids.length === 0)
|
|
278
|
+
return null;
|
|
279
|
+
const parentId = resolveEditorSceneGroupSelectionParentId(document, intent.parentId ?? null);
|
|
280
|
+
const center = computeEditorSceneSelectionWorldCenter(document, ids);
|
|
281
|
+
if (!center)
|
|
282
|
+
return null;
|
|
283
|
+
const groupWorld = {
|
|
284
|
+
position: center,
|
|
285
|
+
rotation: { x: 0, y: 0, z: 0 },
|
|
286
|
+
scale: { x: 1, y: 1, z: 1 },
|
|
287
|
+
};
|
|
288
|
+
const groupLocal = toEditorSceneLocalTransformForParent(document, parentId, groupWorld);
|
|
289
|
+
if (!groupLocal)
|
|
290
|
+
return null;
|
|
291
|
+
const id = createUniqueEditorSceneId(document.scene.gameObjects.map((gameObject) => gameObject.id), 'parent');
|
|
292
|
+
const gameObject = {
|
|
293
|
+
id,
|
|
294
|
+
guid: createEditorSceneGameObjectGuid(),
|
|
295
|
+
name: intent.name?.trim() || 'Parent',
|
|
296
|
+
kind: 'transform',
|
|
297
|
+
transformType: 'plain',
|
|
298
|
+
...(parentId ? { parentId } : {}),
|
|
299
|
+
active: true,
|
|
300
|
+
components: [
|
|
301
|
+
{
|
|
302
|
+
type: 'Transform',
|
|
303
|
+
position: groupLocal.position,
|
|
304
|
+
rotation: groupLocal.rotation,
|
|
305
|
+
scale: groupLocal.scale,
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
};
|
|
309
|
+
const childTransforms = {};
|
|
310
|
+
for (const childId of ids) {
|
|
311
|
+
const child = findEditorSceneGameObject(document, childId);
|
|
312
|
+
if (!child)
|
|
313
|
+
return null;
|
|
314
|
+
if (intent.preserveWorldTransform === false) {
|
|
315
|
+
childTransforms[childId] = readEditorSceneGameObjectLocalTransform(child);
|
|
316
|
+
continue;
|
|
317
|
+
}
|
|
318
|
+
const childWorld = getEditorSceneGameObjectWorldTransform(document, childId);
|
|
319
|
+
if (!childWorld)
|
|
320
|
+
return null;
|
|
321
|
+
const childLocal = toEditorLocalTransformFromParentWorld(groupWorld, childWorld);
|
|
322
|
+
if (!childLocal)
|
|
323
|
+
return null;
|
|
324
|
+
childTransforms[childId] = childLocal;
|
|
325
|
+
}
|
|
326
|
+
const order = createEditorSceneGroupSelectionOrder(document, id, ids, intent.insertBeforeId ?? null);
|
|
327
|
+
return {
|
|
328
|
+
label: `Create Parent for ${ids.length} GameObject${ids.length === 1 ? '' : 's'}`,
|
|
329
|
+
patch: {
|
|
330
|
+
kind: 'game-object.group-selection',
|
|
331
|
+
gameObject,
|
|
332
|
+
childIds: ids,
|
|
333
|
+
childTransforms,
|
|
334
|
+
order,
|
|
335
|
+
},
|
|
336
|
+
createdId: id,
|
|
337
|
+
changedIds: [id, ...ids],
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
export function createEditorSceneDuplicateSelectionPatch(input) {
|
|
341
|
+
const idMap = new Map();
|
|
342
|
+
const usedIds = new Set(input.document.scene.gameObjects.map((gameObject) => gameObject.id));
|
|
343
|
+
for (const targetId of input.targetIds) {
|
|
344
|
+
const source = findEditorSceneGameObject(input.document, targetId);
|
|
345
|
+
if (!source || isEditorSceneRootGameObject(source) || isEditorSceneCameraGameObject(source))
|
|
346
|
+
continue;
|
|
347
|
+
const duplicateId = createUniqueEditorSceneId([...usedIds], `${source.id}_copy`);
|
|
348
|
+
usedIds.add(duplicateId);
|
|
349
|
+
idMap.set(source.id, duplicateId);
|
|
350
|
+
}
|
|
351
|
+
const gameObjects = input.targetIds
|
|
352
|
+
.map((targetId) => findEditorSceneGameObject(input.document, targetId))
|
|
353
|
+
.filter((source) => !!source && idMap.has(source.id))
|
|
354
|
+
.map((source) => {
|
|
355
|
+
const duplicate = structuredClone(source);
|
|
356
|
+
duplicate.id = idMap.get(source.id);
|
|
357
|
+
duplicate.guid = createEditorSceneGameObjectGuid();
|
|
358
|
+
duplicate.name = `${source.name ?? source.id} Copy`;
|
|
359
|
+
if (duplicate.parentId && idMap.has(duplicate.parentId)) {
|
|
360
|
+
duplicate.parentId = idMap.get(duplicate.parentId);
|
|
361
|
+
}
|
|
362
|
+
return duplicate;
|
|
363
|
+
});
|
|
364
|
+
if (gameObjects.length === 0)
|
|
365
|
+
return null;
|
|
366
|
+
const createdIds = gameObjects.map((gameObject) => gameObject.id);
|
|
367
|
+
const activeId = input.activeId && idMap.has(input.activeId)
|
|
368
|
+
? idMap.get(input.activeId)
|
|
369
|
+
: createdIds[createdIds.length - 1] ?? null;
|
|
370
|
+
return {
|
|
371
|
+
label: `Duplicate ${createdIds.length} object${createdIds.length === 1 ? '' : 's'}`,
|
|
372
|
+
patch: {
|
|
373
|
+
kind: 'game-object.duplicate-selection',
|
|
374
|
+
gameObjects,
|
|
375
|
+
},
|
|
376
|
+
createdIds,
|
|
377
|
+
activeId,
|
|
378
|
+
changedIds: createdIds,
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
function resolveCreateGroupParentId(document, intent) {
|
|
382
|
+
if (intent.parentId) {
|
|
383
|
+
const parent = findEditorSceneGameObject(document, intent.parentId);
|
|
384
|
+
return parent && canEditorSceneGameObjectHaveChildren(parent) ? parent.id : null;
|
|
385
|
+
}
|
|
386
|
+
const active = intent.activeId ? findEditorSceneGameObject(document, intent.activeId) : null;
|
|
387
|
+
if (active && canEditorSceneGameObjectHaveChildren(active))
|
|
388
|
+
return active.id;
|
|
389
|
+
if (active?.parentId) {
|
|
390
|
+
const activeParent = findEditorSceneGameObject(document, active.parentId);
|
|
391
|
+
if (activeParent && canEditorSceneGameObjectHaveChildren(activeParent))
|
|
392
|
+
return activeParent.id;
|
|
393
|
+
}
|
|
394
|
+
return resolveEditorSceneRootContainerId(document);
|
|
395
|
+
}
|
|
396
|
+
function resolveCreatePrimitiveParentId(document, intent) {
|
|
397
|
+
if (intent.parentId === null)
|
|
398
|
+
return resolveEditorSceneRootContainerId(document);
|
|
399
|
+
return resolveCreateGroupParentId(document, intent);
|
|
400
|
+
}
|
|
401
|
+
function resolveEditorSceneMoveParentId(document, intent) {
|
|
402
|
+
if (intent.placement === 'root')
|
|
403
|
+
return resolveEditorSceneRootContainerId(document);
|
|
404
|
+
if (intent.placement === 'inside' && intent.targetId)
|
|
405
|
+
return intent.targetId;
|
|
406
|
+
const target = intent.targetId ? findEditorSceneGameObject(document, intent.targetId) : null;
|
|
407
|
+
return intent.parentId ?? target?.parentId ?? resolveEditorSceneRootContainerId(document);
|
|
408
|
+
}
|
|
409
|
+
function resolveEditorSceneGroupSelectionParentId(document, parentId) {
|
|
410
|
+
return parentId && isEditorSceneContainer(document, parentId) ? parentId : resolveEditorSceneRootContainerId(document);
|
|
411
|
+
}
|
|
412
|
+
function isEditorSceneContainer(document, gameObjectId) {
|
|
413
|
+
const gameObject = findEditorSceneGameObject(document, gameObjectId);
|
|
414
|
+
return !!gameObject && canEditorSceneGameObjectHaveChildren(gameObject);
|
|
415
|
+
}
|
|
416
|
+
function computeLocalTransformForParent(document, gameObjectId, parentId) {
|
|
417
|
+
const world = getEditorSceneGameObjectWorldTransform(document, gameObjectId);
|
|
418
|
+
if (!world)
|
|
419
|
+
return null;
|
|
420
|
+
return toEditorSceneLocalTransformForParent(document, parentId, world);
|
|
421
|
+
}
|
|
422
|
+
function toEditorLocalTransformFromParentWorld(parentWorld, world) {
|
|
423
|
+
return toEditorLocalTransformFromWorld(parentWorld, world);
|
|
424
|
+
}
|
|
425
|
+
function createEditorSceneMoveOrder(document, ids, intent) {
|
|
426
|
+
const blockIds = collectOrderedEditorSceneSubtreeBlockIds(document, ids);
|
|
427
|
+
const blockSet = new Set(blockIds);
|
|
428
|
+
const remaining = document.scene.gameObjects
|
|
429
|
+
.map((gameObject) => gameObject.id)
|
|
430
|
+
.filter((id) => !blockSet.has(id));
|
|
431
|
+
const index = resolveEditorSceneInsertIndex(document, remaining, {
|
|
432
|
+
placement: intent.placement,
|
|
433
|
+
targetId: intent.targetId ?? null,
|
|
434
|
+
beforeId: intent.beforeId ?? null,
|
|
435
|
+
afterId: intent.afterId ?? null,
|
|
436
|
+
parentId: resolveEditorSceneMoveParentId(document, intent),
|
|
437
|
+
});
|
|
438
|
+
return insertEditorSceneIdsAt(remaining, blockIds, index);
|
|
439
|
+
}
|
|
440
|
+
function createEditorSceneGroupSelectionOrder(document, groupId, ids, insertBeforeId) {
|
|
441
|
+
const blockIds = collectOrderedEditorSceneSubtreeBlockIds(document, ids);
|
|
442
|
+
const blockSet = new Set(blockIds);
|
|
443
|
+
const currentOrder = document.scene.gameObjects.map((gameObject) => gameObject.id);
|
|
444
|
+
const remaining = currentOrder.filter((id) => !blockSet.has(id));
|
|
445
|
+
const firstSelectedIndex = Math.min(...ids.map((id) => currentOrder.indexOf(id)).filter((index) => index >= 0));
|
|
446
|
+
const fallbackIndex = Number.isFinite(firstSelectedIndex)
|
|
447
|
+
? remaining.filter((id) => currentOrder.indexOf(id) < firstSelectedIndex).length
|
|
448
|
+
: remaining.length;
|
|
449
|
+
const index = insertBeforeId
|
|
450
|
+
? Math.max(0, remaining.indexOf(insertBeforeId))
|
|
451
|
+
: fallbackIndex;
|
|
452
|
+
return insertEditorSceneIdsAt(remaining, [groupId, ...blockIds], index);
|
|
453
|
+
}
|
|
454
|
+
function collectOrderedEditorSceneSubtreeBlockIds(document, rootIds) {
|
|
455
|
+
const subtreeIds = collectEditorSceneSubtreeIds(document, [...rootIds]);
|
|
456
|
+
return document.scene.gameObjects
|
|
457
|
+
.map((gameObject) => gameObject.id)
|
|
458
|
+
.filter((id) => subtreeIds.has(id));
|
|
459
|
+
}
|
|
460
|
+
function resolveEditorSceneInsertIndex(document, remaining, input) {
|
|
461
|
+
if (input.beforeId)
|
|
462
|
+
return boundedInsertIndex(remaining.indexOf(input.beforeId), remaining.length);
|
|
463
|
+
if (input.afterId)
|
|
464
|
+
return indexAfterEditorSceneSubtree(document, remaining, input.afterId);
|
|
465
|
+
if (input.placement === 'before' && input.targetId)
|
|
466
|
+
return boundedInsertIndex(remaining.indexOf(input.targetId), remaining.length);
|
|
467
|
+
if (input.placement === 'after' && input.targetId)
|
|
468
|
+
return indexAfterEditorSceneSubtree(document, remaining, input.targetId);
|
|
469
|
+
if (input.placement === 'inside' && input.targetId)
|
|
470
|
+
return indexAfterEditorSceneSubtree(document, remaining, input.targetId);
|
|
471
|
+
if (input.placement === 'root')
|
|
472
|
+
return remaining.length;
|
|
473
|
+
if (input.parentId)
|
|
474
|
+
return indexAfterEditorSceneSubtree(document, remaining, input.parentId);
|
|
475
|
+
return remaining.length;
|
|
476
|
+
}
|
|
477
|
+
function indexAfterEditorSceneSubtree(document, remaining, anchorId) {
|
|
478
|
+
const subtreeIds = collectEditorSceneSubtreeIds(document, [anchorId]);
|
|
479
|
+
let index = remaining.indexOf(anchorId);
|
|
480
|
+
if (index < 0)
|
|
481
|
+
return remaining.length;
|
|
482
|
+
for (let cursor = index + 1; cursor < remaining.length; cursor += 1) {
|
|
483
|
+
if (!subtreeIds.has(remaining[cursor]))
|
|
484
|
+
break;
|
|
485
|
+
index = cursor;
|
|
486
|
+
}
|
|
487
|
+
return index + 1;
|
|
488
|
+
}
|
|
489
|
+
function insertEditorSceneIdsAt(base, ids, index) {
|
|
490
|
+
const safeIndex = Math.max(0, Math.min(index, base.length));
|
|
491
|
+
return [
|
|
492
|
+
...base.slice(0, safeIndex),
|
|
493
|
+
...ids,
|
|
494
|
+
...base.slice(safeIndex),
|
|
495
|
+
];
|
|
496
|
+
}
|
|
497
|
+
function boundedInsertIndex(index, fallback) {
|
|
498
|
+
return index >= 0 ? index : fallback;
|
|
499
|
+
}
|
|
500
|
+
function computeEditorSceneSelectionWorldCenter(document, ids) {
|
|
501
|
+
const worlds = ids
|
|
502
|
+
.map((id) => getEditorSceneGameObjectWorldTransform(document, id))
|
|
503
|
+
.filter((transform) => !!transform);
|
|
504
|
+
if (worlds.length === 0)
|
|
505
|
+
return null;
|
|
506
|
+
return {
|
|
507
|
+
x: worlds.reduce((sum, transform) => sum + transform.position.x, 0) / worlds.length,
|
|
508
|
+
y: worlds.reduce((sum, transform) => sum + transform.position.y, 0) / worlds.length,
|
|
509
|
+
z: worlds.reduce((sum, transform) => sum + transform.position.z, 0) / worlds.length,
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
function resolveDeleteFallbackSelectionId(document, deletedIds, activeId) {
|
|
513
|
+
const deleted = new Set(deletedIds);
|
|
514
|
+
const active = activeId ? findEditorSceneGameObject(document, activeId) : null;
|
|
515
|
+
if (active?.parentId && !deleted.has(active.parentId) && findEditorSceneGameObject(document, active.parentId)) {
|
|
516
|
+
return active.parentId;
|
|
517
|
+
}
|
|
518
|
+
const remaining = document.scene.gameObjects.filter((gameObject) => !deleted.has(gameObject.id));
|
|
519
|
+
return remaining[remaining.length - 1]?.id ?? null;
|
|
520
|
+
}
|
|
521
|
+
function isEditorSceneAncestor(document, ancestorId, descendantId) {
|
|
522
|
+
const byId = createEditorSceneGameObjectMap(document);
|
|
523
|
+
const seen = new Set();
|
|
524
|
+
let cursor = byId.get(descendantId);
|
|
525
|
+
while (cursor?.parentId && !seen.has(cursor.parentId)) {
|
|
526
|
+
if (cursor.parentId === ancestorId)
|
|
527
|
+
return true;
|
|
528
|
+
seen.add(cursor.parentId);
|
|
529
|
+
cursor = byId.get(cursor.parentId);
|
|
530
|
+
}
|
|
531
|
+
return false;
|
|
532
|
+
}
|
|
533
|
+
function normalizeEditorScenePrimitiveShape(shape) {
|
|
534
|
+
return shape === 'cube' || shape === 'sphere' || shape === 'plane' || shape === 'capsule'
|
|
535
|
+
? shape
|
|
536
|
+
: null;
|
|
537
|
+
}
|
|
538
|
+
function getEditorScenePrimitiveDisplayName(shape) {
|
|
539
|
+
return shape[0].toUpperCase() + shape.slice(1);
|
|
540
|
+
}
|
|
541
|
+
function createDefaultEditorScenePrimitiveTransform(_shape) {
|
|
542
|
+
return {
|
|
543
|
+
position: { x: 0, y: 0, z: 0 },
|
|
544
|
+
rotation: { x: 0, y: 0, z: 0 },
|
|
545
|
+
scale: { x: 1, y: 1, z: 1 },
|
|
546
|
+
};
|
|
547
|
+
}
|
|
548
|
+
function createUniqueEditorSceneId(existingIds, preferredId) {
|
|
549
|
+
const used = new Set(existingIds);
|
|
550
|
+
const base = sanitizeEditorSceneId(preferredId) || 'game_object';
|
|
551
|
+
if (!used.has(base))
|
|
552
|
+
return base;
|
|
553
|
+
let suffix = 2;
|
|
554
|
+
while (used.has(`${base}_${suffix}`))
|
|
555
|
+
suffix += 1;
|
|
556
|
+
return `${base}_${suffix}`;
|
|
557
|
+
}
|
|
558
|
+
function sanitizeEditorSceneId(value) {
|
|
559
|
+
return value
|
|
560
|
+
.trim()
|
|
561
|
+
.toLowerCase()
|
|
562
|
+
.replace(/[^a-z0-9_]+/g, '_')
|
|
563
|
+
.replace(/^_+|_+$/g, '')
|
|
564
|
+
|| 'asset';
|
|
565
|
+
}
|
|
566
|
+
function editorSceneTransformsEqual(left, right) {
|
|
567
|
+
return editorSceneVec3Equal(left.position, right.position)
|
|
568
|
+
&& editorSceneVec3Equal(left.rotation, right.rotation)
|
|
569
|
+
&& editorSceneVec3Equal(left.scale, right.scale);
|
|
570
|
+
}
|
|
571
|
+
function editorSceneVec3Equal(left, right) {
|
|
572
|
+
return Math.abs(left.x - right.x) < 0.000001
|
|
573
|
+
&& Math.abs(left.y - right.y) < 0.000001
|
|
574
|
+
&& Math.abs(left.z - right.z) < 0.000001;
|
|
575
|
+
}
|
|
576
|
+
function arraysEqual(left, right) {
|
|
577
|
+
return left.length === right.length && left.every((value, index) => value === right[index]);
|
|
578
|
+
}
|
|
579
|
+
//# sourceMappingURL=patches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patches.js","sourceRoot":"","sources":["../../src/session/patches.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/B,gCAAgC,EAChC,sBAAsB,GAWvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,wBAAwB,GAIzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,6BAA6B,EAC7B,oCAAoC,GACrC,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,+BAA+B,EAC/B,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/B,4BAA4B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AAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC9F,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type EditorTransformSnapshot } from '@fps-games/editor-core';
|
|
2
|
+
import { type EditorSceneDocument, type EditorSceneGameObject, type EditorSceneTransformComponent, type EditorSceneVec3 } from '../document/index';
|
|
3
|
+
export declare function getEditorSceneGameObjectWorldTransform(document: EditorSceneDocument, gameObjectId: string): EditorTransformSnapshot | null;
|
|
4
|
+
export declare function toEditorSceneLocalTransformFromWorld(document: EditorSceneDocument, gameObjectId: string, worldTransform: EditorTransformSnapshot): EditorTransformSnapshot | null;
|
|
5
|
+
export declare function findEditorSceneGameObject(document: EditorSceneDocument, gameObjectId: string): EditorSceneGameObject | null;
|
|
6
|
+
export declare function createEditorSceneGameObjectMap(document: EditorSceneDocument): Map<string, EditorSceneGameObject>;
|
|
7
|
+
export declare function toEditorSceneLocalTransformForParent(document: EditorSceneDocument, parentId: string | undefined, world: EditorTransformSnapshot): EditorTransformSnapshot | null;
|
|
8
|
+
export declare function readEditorSceneGameObjectLocalTransform(gameObject: EditorSceneGameObject): EditorTransformSnapshot;
|
|
9
|
+
export declare function readRawEditorSceneGameObjectLocalTransform(gameObject: Pick<EditorSceneGameObject, 'components'>): EditorTransformSnapshot;
|
|
10
|
+
export declare function patchEditorSceneGameObjectLocalTransform<TGameObject extends EditorSceneGameObject>(gameObject: TGameObject, transform: EditorTransformSnapshot): TGameObject;
|
|
11
|
+
export declare function getEditorSceneGameObjectDepth(document: EditorSceneDocument, gameObject: EditorSceneGameObject): number;
|
|
12
|
+
export declare function readEditorSceneTransformVector(transform: Pick<EditorSceneTransformComponent, 'position' | 'rotation' | 'scale'>, vectorName: 'position' | 'rotation' | 'scale'): EditorSceneVec3;
|
|
13
|
+
export declare function resolveEditorSceneRootContainerId(document: EditorSceneDocument): string | undefined;
|
|
14
|
+
//# sourceMappingURL=transform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../src/session/transform.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,eAAe,EACrB,MAAM,mBAAmB,CAAC;AAO3B,wBAAgB,sCAAsC,CACpD,QAAQ,EAAE,mBAAmB,EAC7B,YAAY,EAAE,MAAM,GACnB,uBAAuB,GAAG,IAAI,CAgBhC;AAED,wBAAgB,oCAAoC,CAClD,QAAQ,EAAE,mBAAmB,EAC7B,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,uBAAuB,GACtC,uBAAuB,GAAG,IAAI,CAIhC;AAED,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,mBAAmB,EAC7B,YAAY,EAAE,MAAM,GACnB,qBAAqB,GAAG,IAAI,CAE9B;AAED,wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE,mBAAmB,GAC5B,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAEpC;AAED,wBAAgB,oCAAoC,CAClD,QAAQ,EAAE,mBAAmB,EAC7B,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,KAAK,EAAE,uBAAuB,GAC7B,uBAAuB,GAAG,IAAI,CAGhC;AAED,wBAAgB,uCAAuC,CAAC,UAAU,EAAE,qBAAqB,GAAG,uBAAuB,CAGlH;AAED,wBAAgB,0CAA0C,CAAC,UAAU,EAAE,IAAI,CAAC,qBAAqB,EAAE,YAAY,CAAC,GAAG,uBAAuB,CAQzI;AAED,wBAAgB,wCAAwC,CAAC,WAAW,SAAS,qBAAqB,EAChG,UAAU,EAAE,WAAW,EACvB,SAAS,EAAE,uBAAuB,GACjC,WAAW,CAab;AAED,wBAAgB,6BAA6B,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