@fps-games/editor 0.1.3-beta.3 → 0.1.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/local-editor-agent-actions.d.ts +38 -0
- package/dist/local-editor-agent-actions.d.ts.map +1 -0
- package/dist/local-editor-agent-actions.js +134 -0
- package/dist/local-editor-agent-actions.js.map +1 -0
- package/dist/local-editor-agent-context.d.ts +29 -0
- package/dist/local-editor-agent-context.d.ts.map +1 -0
- package/dist/local-editor-agent-context.js +266 -0
- package/dist/local-editor-agent-context.js.map +1 -0
- package/dist/local-editor-harness.d.ts +23 -2
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +657 -128
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.d.ts.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.js +34 -14
- package/dist/local-editor-viewport-render-coordinator.js.map +1 -1
- package/dist/playable-babylon-facade.d.ts +15 -0
- package/dist/playable-babylon-facade.d.ts.map +1 -0
- package/dist/playable-babylon-facade.js +12 -0
- package/dist/playable-babylon-facade.js.map +1 -0
- package/dist/playable-babylon-outline-inspector.d.ts +32 -0
- package/dist/playable-babylon-outline-inspector.d.ts.map +1 -0
- package/dist/playable-babylon-outline-inspector.js +182 -0
- package/dist/playable-babylon-outline-inspector.js.map +1 -0
- package/dist/playable-babylon-outline-runtime.d.ts +19 -0
- package/dist/playable-babylon-outline-runtime.d.ts.map +1 -0
- package/dist/playable-babylon-outline-runtime.js +67 -0
- package/dist/playable-babylon-outline-runtime.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +501 -0
- package/dist/playable-local-editor-host.d.ts.map +1 -0
- package/dist/playable-local-editor-host.js +526 -0
- package/dist/playable-local-editor-host.js.map +1 -0
- package/dist/playable-sdk.d.ts +8 -0
- package/dist/playable-sdk.d.ts.map +1 -0
- package/dist/playable-sdk.js +5 -0
- package/dist/playable-sdk.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +79 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +26 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +13 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +6 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +7 -4
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js +45 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts +7 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts +7 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +83 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js +155 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +77 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js +24 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js +105 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +14 -14
- package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +15 -5
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/edit-session.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/editor-world.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +24 -24
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js +396 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js +2 -567
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/inspector-host.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts +3 -2
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js +401 -96
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/monitor.js +2 -2
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js +7 -23
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +10 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +234 -150
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-camera-preview.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js +10 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/tool-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +12 -2
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +69 -17
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +5 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +9 -2
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +8 -2
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js +88 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +12 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +34 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +2 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts +55 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +144 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +40 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +312 -126
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +43 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +28 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +48 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +3 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +182 -20
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +24 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +373 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +17 -12
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +9 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +42 -19
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js +40 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts +59 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +182 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts +16 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts +11 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js +18 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +34 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +88 -37
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +16 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +630 -140
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts +40 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js +685 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts +73 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js +370 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts +15 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js +350 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +3 -2
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +17 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +14 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.js +14 -12
- package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +9 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +108 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +5 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts +27 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js +35 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-core/package.json +2 -2
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +23 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +43 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js +169 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts +46 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +64 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +120 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +35 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js +42 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js +36 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js +66 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js +89 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts +79 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js +42 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts +74 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js +46 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts +38 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js +98 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js +149 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js +214 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js +84 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts +32 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js +85 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js +88 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +50 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +112 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +201 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +81 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +545 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js +99 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js +557 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts +30 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js +56 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts +61 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +61 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js +48 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js +95 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js +162 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js +71 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js +108 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts +72 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js +70 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +80 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +371 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +125 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +87 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js +82 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +140 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +40 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +299 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js +251 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +188 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js +222 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js +97 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js +128 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js +259 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js +49 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts +433 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +224 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +242 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +30 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +62 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +131 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js +45 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +759 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +512 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js +73 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +290 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js +65 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +211 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +80 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js +78 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +73 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +49 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +81 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +164 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +206 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +91 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +579 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +90 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +268 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js +38 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +87 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/package.json +20 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +113 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.js +5 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +45 -4
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +115 -2
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +1 -1
- package/package.json +13 -7
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { patchEditorSceneGameObjectField, } from '../mutation/index.js';
|
|
2
|
+
import { ensureEditorSceneGameObjectGuids, isEditorSceneCameraGameObject, } from '../session/index.js';
|
|
3
|
+
import { normalizeEditorSceneRuntimeCameraBinding, } from './binding.js';
|
|
4
|
+
import { sanitizeEditorSceneCameraRig, } from './rig.js';
|
|
5
|
+
export const EDITOR_SCENE_CAMERA_RIG_SAVE_FIELDS = [
|
|
6
|
+
'projection',
|
|
7
|
+
'alpha',
|
|
8
|
+
'beta',
|
|
9
|
+
'radius',
|
|
10
|
+
'orthoSize',
|
|
11
|
+
'fov',
|
|
12
|
+
'targetOffset',
|
|
13
|
+
'minZ',
|
|
14
|
+
'maxZ',
|
|
15
|
+
'lowerBetaLimit',
|
|
16
|
+
'upperBetaLimit',
|
|
17
|
+
'lowerRadiusLimit',
|
|
18
|
+
'upperRadiusLimit',
|
|
19
|
+
'inertia',
|
|
20
|
+
'targetScreenOffset',
|
|
21
|
+
];
|
|
22
|
+
export function patchEditorSceneRuntimeCameraRig(document, binding, cameraRig, options = {}) {
|
|
23
|
+
const normalizedBinding = normalizeEditorSceneRuntimeCameraBinding(binding);
|
|
24
|
+
if (options.expectedSourceId && normalizedBinding.sourceId !== options.expectedSourceId) {
|
|
25
|
+
throw new Error(`Runtime camera binding source mismatch: ${normalizedBinding.sourceId} !== ${options.expectedSourceId}`);
|
|
26
|
+
}
|
|
27
|
+
const originalGuidById = createOriginalEditorSceneGuidById(document);
|
|
28
|
+
let nextDocument = ensureEditorSceneGameObjectGuids(document);
|
|
29
|
+
const target = findEditorSceneRuntimeCameraTarget(nextDocument, normalizedBinding, originalGuidById);
|
|
30
|
+
if (!target) {
|
|
31
|
+
throw new Error('Runtime camera binding did not match an editor camera object.');
|
|
32
|
+
}
|
|
33
|
+
if (!isEditorSceneCameraGameObject(target)) {
|
|
34
|
+
throw new Error(`Runtime camera binding target is not a camera object: ${target.id}`);
|
|
35
|
+
}
|
|
36
|
+
const sanitizedRig = sanitizeEditorSceneCameraRig(cameraRig);
|
|
37
|
+
for (const field of EDITOR_SCENE_CAMERA_RIG_SAVE_FIELDS) {
|
|
38
|
+
if (!Object.prototype.hasOwnProperty.call(sanitizedRig, field))
|
|
39
|
+
continue;
|
|
40
|
+
const path = `camera.${field}`;
|
|
41
|
+
nextDocument = options.patchCameraField
|
|
42
|
+
? options.patchCameraField(nextDocument, target.id, path, sanitizedRig[field])
|
|
43
|
+
: patchEditorSceneGameObjectField(nextDocument, target.id, path, sanitizedRig[field], options.fieldMutation);
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
document: nextDocument,
|
|
47
|
+
targetId: target.id,
|
|
48
|
+
objectGuid: target.guid,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function findEditorSceneRuntimeCameraTarget(document, binding, originalGuidById = createOriginalEditorSceneGuidById(document)) {
|
|
52
|
+
if (binding.objectGuid) {
|
|
53
|
+
const guidMatch = document.scene.gameObjects.find((gameObject) => gameObject.guid === binding.objectGuid) ?? null;
|
|
54
|
+
if (guidMatch) {
|
|
55
|
+
if (binding.objectId && guidMatch.id !== binding.objectId) {
|
|
56
|
+
throw new Error(`Runtime camera binding guid/id conflict: ${binding.objectGuid} belongs to ${guidMatch.id}, not ${binding.objectId}.`);
|
|
57
|
+
}
|
|
58
|
+
return guidMatch;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
if (!binding.objectId)
|
|
62
|
+
return null;
|
|
63
|
+
const idMatch = document.scene.gameObjects.find((gameObject) => gameObject.id === binding.objectId) ?? null;
|
|
64
|
+
if (!idMatch)
|
|
65
|
+
return null;
|
|
66
|
+
const originalGuid = originalGuidById.get(idMatch.id);
|
|
67
|
+
if (binding.objectGuid && originalGuid && originalGuid !== binding.objectGuid) {
|
|
68
|
+
throw new Error(`Runtime camera binding guid conflict for ${idMatch.id}.`);
|
|
69
|
+
}
|
|
70
|
+
return idMatch;
|
|
71
|
+
}
|
|
72
|
+
function createOriginalEditorSceneGuidById(document) {
|
|
73
|
+
const result = new Map();
|
|
74
|
+
for (const gameObject of document.scene.gameObjects) {
|
|
75
|
+
const guid = readNonEmptyString(gameObject.guid);
|
|
76
|
+
if (guid)
|
|
77
|
+
result.set(gameObject.id, guid);
|
|
78
|
+
}
|
|
79
|
+
return result;
|
|
80
|
+
}
|
|
81
|
+
function readNonEmptyString(value) {
|
|
82
|
+
return typeof value === 'string' && value.trim() ? value.trim() : null;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=save-patch.js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,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AACzE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { EditorSceneCameraRig } from '../document/index';
|
|
2
|
+
import { type EditorSceneRuntimeCameraBinding } from './binding';
|
|
3
|
+
import type { EditorSceneCameraDebugSnapshot } from './types';
|
|
4
|
+
export interface EditorSceneCameraDebugRuntimeCameraLike {
|
|
5
|
+
mode?: unknown;
|
|
6
|
+
alpha?: unknown;
|
|
7
|
+
beta?: unknown;
|
|
8
|
+
radius?: unknown;
|
|
9
|
+
orthoTop?: unknown;
|
|
10
|
+
orthoBottom?: unknown;
|
|
11
|
+
fov?: unknown;
|
|
12
|
+
minZ?: unknown;
|
|
13
|
+
maxZ?: unknown;
|
|
14
|
+
lowerBetaLimit?: unknown;
|
|
15
|
+
upperBetaLimit?: unknown;
|
|
16
|
+
lowerRadiusLimit?: unknown;
|
|
17
|
+
upperRadiusLimit?: unknown;
|
|
18
|
+
inertia?: unknown;
|
|
19
|
+
targetScreenOffset?: unknown;
|
|
20
|
+
target?: unknown;
|
|
21
|
+
metadata?: unknown;
|
|
22
|
+
}
|
|
23
|
+
export interface EditorSceneCameraDebugSnapshotInput {
|
|
24
|
+
camera: EditorSceneCameraDebugRuntimeCameraLike | null | undefined;
|
|
25
|
+
selectedRig?: EditorSceneCameraRig | null;
|
|
26
|
+
binding?: EditorSceneRuntimeCameraBinding | null;
|
|
27
|
+
perspectiveMode?: number;
|
|
28
|
+
}
|
|
29
|
+
export declare function createEditorSceneCameraDebugSnapshot(input: EditorSceneCameraDebugSnapshotInput): EditorSceneCameraDebugSnapshot | null;
|
|
30
|
+
export declare function readEditorSceneCameraProjectionFromRuntimeMode(mode: unknown, perspectiveMode?: number): 'orthographic' | 'perspective';
|
|
31
|
+
export declare function readEditorSceneCameraOrthoSize(camera: Pick<EditorSceneCameraDebugRuntimeCameraLike, 'orthoTop' | 'orthoBottom'>): number;
|
|
32
|
+
//# sourceMappingURL=snapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../src/camera-debug/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,WAAW,CAAC;AAMnB,OAAO,KAAK,EACV,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,uCAAuC;IACtD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,uCAAuC,GAAG,IAAI,GAAG,SAAS,CAAC;IACnE,WAAW,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC1C,OAAO,CAAC,EAAE,+BAA+B,GAAG,IAAI,CAAC;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,mCAAmC,GACzC,8BAA8B,GAAG,IAAI,CA2BvC;AAED,wBAAgB,8CAA8C,CAC5D,IAAI,EAAE,OAAO,EACb,eAAe,SAAI,GAClB,cAAc,GAAG,aAAa,CAEhC;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,IAAI,CAAC,uCAAuC,EAAE,UAAU,GAAG,aAAa,CAAC,GAAG,MAAM,CAKxI"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { readEditorSceneRuntimeCameraBinding, } from './binding.js';
|
|
2
|
+
import { readEditorSceneCameraDebugFiniteNumber, readEditorSceneCameraDebugPositiveNumber, roundEditorSceneCameraDebugNumber, } from './math.js';
|
|
3
|
+
export function createEditorSceneCameraDebugSnapshot(input) {
|
|
4
|
+
const camera = input.camera;
|
|
5
|
+
if (!camera)
|
|
6
|
+
return null;
|
|
7
|
+
const binding = input.binding ?? readEditorSceneRuntimeCameraBinding(camera.metadata);
|
|
8
|
+
if (!binding)
|
|
9
|
+
return null;
|
|
10
|
+
const selectedRig = input.selectedRig ?? {};
|
|
11
|
+
const targetScreenOffset = readCameraDebugVec2(camera.targetScreenOffset, readCameraRigVec2(selectedRig.targetScreenOffset, { x: 0, y: 0 }));
|
|
12
|
+
const targetOffset = readCameraRigVec3(selectedRig.targetOffset);
|
|
13
|
+
return {
|
|
14
|
+
projection: readEditorSceneCameraProjectionFromRuntimeMode(camera.mode, input.perspectiveMode),
|
|
15
|
+
alpha: roundEditorSceneCameraDebugNumber(readEditorSceneCameraDebugFiniteNumber(camera.alpha, readCameraRigNumber(selectedRig.alpha, 0))),
|
|
16
|
+
beta: roundEditorSceneCameraDebugNumber(readEditorSceneCameraDebugFiniteNumber(camera.beta, readCameraRigNumber(selectedRig.beta, 0))),
|
|
17
|
+
radius: roundEditorSceneCameraDebugNumber(readEditorSceneCameraDebugPositiveNumber(camera.radius, readCameraRigNumber(selectedRig.radius, 1))),
|
|
18
|
+
orthoSize: roundEditorSceneCameraDebugNumber(readCameraRigNumber(selectedRig.orthoSize, readEditorSceneCameraOrthoSize(camera))),
|
|
19
|
+
fov: readEditorSceneCameraDebugPositiveNumber(camera.fov, readCameraRigNumber(selectedRig.fov, 0.85)),
|
|
20
|
+
...(targetOffset ? { targetOffset } : {}),
|
|
21
|
+
minZ: readEditorSceneCameraDebugPositiveNumber(camera.minZ, readCameraRigNumber(selectedRig.minZ, 1)),
|
|
22
|
+
maxZ: readEditorSceneCameraDebugPositiveNumber(camera.maxZ, readCameraRigNumber(selectedRig.maxZ, 10000)),
|
|
23
|
+
lowerBetaLimit: readEditorSceneCameraDebugFiniteNumber(camera.lowerBetaLimit, readCameraRigNumber(selectedRig.lowerBetaLimit, readEditorSceneCameraDebugFiniteNumber(camera.beta, 0))),
|
|
24
|
+
upperBetaLimit: readEditorSceneCameraDebugFiniteNumber(camera.upperBetaLimit, readCameraRigNumber(selectedRig.upperBetaLimit, readEditorSceneCameraDebugFiniteNumber(camera.beta, 0))),
|
|
25
|
+
lowerRadiusLimit: readEditorSceneCameraDebugPositiveNumber(camera.lowerRadiusLimit, readCameraRigNumber(selectedRig.lowerRadiusLimit, readEditorSceneCameraDebugPositiveNumber(camera.radius, 1))),
|
|
26
|
+
upperRadiusLimit: readEditorSceneCameraDebugPositiveNumber(camera.upperRadiusLimit, readCameraRigNumber(selectedRig.upperRadiusLimit, readEditorSceneCameraDebugPositiveNumber(camera.radius, 1))),
|
|
27
|
+
inertia: Math.min(1, Math.max(0, readEditorSceneCameraDebugFiniteNumber(camera.inertia, readCameraRigNumber(selectedRig.inertia, 0.9)))),
|
|
28
|
+
targetScreenOffset,
|
|
29
|
+
target: readCameraDebugVec3(camera.target, { x: 0, y: 0, z: 0 }),
|
|
30
|
+
binding,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function readEditorSceneCameraProjectionFromRuntimeMode(mode, perspectiveMode = 0) {
|
|
34
|
+
return mode === perspectiveMode ? 'perspective' : 'orthographic';
|
|
35
|
+
}
|
|
36
|
+
export function readEditorSceneCameraOrthoSize(camera) {
|
|
37
|
+
const top = typeof camera.orthoTop === 'number' ? camera.orthoTop : null;
|
|
38
|
+
const bottom = typeof camera.orthoBottom === 'number' ? camera.orthoBottom : null;
|
|
39
|
+
if (top == null || bottom == null)
|
|
40
|
+
return 10;
|
|
41
|
+
return Math.max(0.001, Math.abs(top - bottom) / 2);
|
|
42
|
+
}
|
|
43
|
+
function readCameraRigNumber(value, fallback) {
|
|
44
|
+
return typeof value === 'number' && Number.isFinite(value) ? value : fallback;
|
|
45
|
+
}
|
|
46
|
+
function readCameraRigVec3(value) {
|
|
47
|
+
const record = readRecord(value);
|
|
48
|
+
if (!record)
|
|
49
|
+
return undefined;
|
|
50
|
+
return readCameraDebugVec3(record);
|
|
51
|
+
}
|
|
52
|
+
function readCameraRigVec2(value, fallback) {
|
|
53
|
+
const record = readRecord(value);
|
|
54
|
+
if (!record)
|
|
55
|
+
return fallback;
|
|
56
|
+
return {
|
|
57
|
+
x: readEditorSceneCameraDebugFiniteNumber(record.x, fallback.x),
|
|
58
|
+
y: readEditorSceneCameraDebugFiniteNumber(record.y, fallback.y),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function readCameraDebugVec3(value, fallback = { x: 0, y: 0, z: 0 }) {
|
|
62
|
+
const record = readRecord(value);
|
|
63
|
+
if (!record)
|
|
64
|
+
return { ...fallback };
|
|
65
|
+
return {
|
|
66
|
+
x: readEditorSceneCameraDebugFiniteNumber(record.x, fallback.x),
|
|
67
|
+
y: readEditorSceneCameraDebugFiniteNumber(record.y, fallback.y),
|
|
68
|
+
z: readEditorSceneCameraDebugFiniteNumber(record.z, fallback.z),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function readCameraDebugVec2(value, fallback) {
|
|
72
|
+
const record = readRecord(value);
|
|
73
|
+
if (!record)
|
|
74
|
+
return { ...fallback };
|
|
75
|
+
return {
|
|
76
|
+
x: readEditorSceneCameraDebugFiniteNumber(record.x, fallback.x),
|
|
77
|
+
y: readEditorSceneCameraDebugFiniteNumber(record.y, fallback.y),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function readRecord(value) {
|
|
81
|
+
return value && typeof value === 'object' && !Array.isArray(value)
|
|
82
|
+
? value
|
|
83
|
+
: null;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=snapshot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../src/camera-debug/snapshot.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,mCAAmC,GAEpC,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,sCAAsC,EACtC,wCAAwC,EACxC,iCAAiC,GAClC,MAAM,QAAQ,CAAC;AAgChB,MAAM,UAAU,oCAAoC,CAClD,KAA0C;IAE1C,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IAC5B,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IACzB,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,IAAI,mCAAmC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACtF,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,IAAI,EAAE,CAAC;IAC5C,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,MAAM,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,WAAW,CAAC,kBAAkB,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC7I,MAAM,YAAY,GAAG,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;IACjE,OAAO;QACL,UAAU,EAAE,8CAA8C,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,eAAe,CAAC;QAC9F,KAAK,EAAE,iCAA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D,CAAC,EAAE,sCAAsC,CAAC,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;QAC/D,CAAC,EAAE,sCAAsC,CAAC,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;KAChE,CAAC;AACJ,CAAC;AAED,SAAS,mBAAmB,CAAC,KAAc,EAAE,QAAkC;IAC7E,MAAM,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,MAAM;QAAE,OAAO,EAAE,GAAG,QAAQ,EAAE,CAAC;IACpC,OAAO;QACL,CAAC,EAAE,sCAAsC,CAAC,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;QAC/D,CAAC,EAAE,sCAAsC,CAAC,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;KAChE,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChE,CAAC,CAAC,KAAgC;QAClC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { EditorSceneCameraRig, EditorSceneVec3 } from '../document/index';
|
|
2
|
+
import type { EditorSceneRuntimeCameraBinding } from './binding';
|
|
3
|
+
export type EditorSceneCameraDebugNumberField = 'alpha' | 'beta' | 'radius' | 'orthoSize' | 'fovDeg' | 'targetOffsetX' | 'targetOffsetY' | 'targetOffsetZ' | 'minZ' | 'maxZ' | 'lowerBetaLimit' | 'upperBetaLimit' | 'lowerRadiusLimit' | 'upperRadiusLimit' | 'inertia' | 'targetScreenOffsetX' | 'targetScreenOffsetY';
|
|
4
|
+
export interface EditorSceneCameraDebugVec2 {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
}
|
|
8
|
+
export interface EditorSceneCameraDebugSnapshot extends EditorSceneCameraRig {
|
|
9
|
+
projection: 'orthographic' | 'perspective';
|
|
10
|
+
alpha: number;
|
|
11
|
+
beta: number;
|
|
12
|
+
radius: number;
|
|
13
|
+
orthoSize: number;
|
|
14
|
+
fov: number;
|
|
15
|
+
target: EditorSceneVec3;
|
|
16
|
+
targetOffset?: EditorSceneVec3;
|
|
17
|
+
minZ?: number;
|
|
18
|
+
maxZ?: number;
|
|
19
|
+
lowerBetaLimit?: number;
|
|
20
|
+
upperBetaLimit?: number;
|
|
21
|
+
lowerRadiusLimit?: number;
|
|
22
|
+
upperRadiusLimit?: number;
|
|
23
|
+
inertia?: number;
|
|
24
|
+
targetScreenOffset?: EditorSceneCameraDebugVec2;
|
|
25
|
+
binding?: EditorSceneRuntimeCameraBinding;
|
|
26
|
+
}
|
|
27
|
+
export interface EditorSceneCameraDebugNumberFieldConfig {
|
|
28
|
+
field: EditorSceneCameraDebugNumberField;
|
|
29
|
+
step: number;
|
|
30
|
+
min?: number;
|
|
31
|
+
max?: number;
|
|
32
|
+
projection?: EditorSceneCameraDebugSnapshot['projection'];
|
|
33
|
+
}
|
|
34
|
+
export interface EditorSceneCameraDebugRangeFieldPair {
|
|
35
|
+
lower: EditorSceneCameraDebugNumberField;
|
|
36
|
+
upper: EditorSceneCameraDebugNumberField;
|
|
37
|
+
value: 'beta' | 'radius';
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/camera-debug/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,+BAA+B,EAChC,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,iCAAiC,GACzC,OAAO,GACP,MAAM,GACN,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,eAAe,GACf,eAAe,GAC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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/camera-debug/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { EditorSceneSerializedMultiTransformPatchInput, EditorSceneSerializedTransformAxis, EditorSceneSerializedTransformPath, EditorSceneSerializedTransformVector, EditorSceneTransformBatchPatchInput, EditorSceneTransformBatchPatchResult, EditorSceneTransformBatchTarget, EditorSceneTransformCommandPatch, EditorSceneTransformPatchInput, EditorSceneTransformPatchResult, EditorSceneTransformTool, } from './types';
|
|
2
|
+
export { createEditorSceneSerializedMultiTransformPatch, createEditorSceneTransformBatchPatch, createEditorSceneTransformFromSerializedPath, createEditorSceneTransformPatch, hasEditorSceneAncestorDescendantPair, hasEditorSceneDescendants, } from './transform';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,6CAA6C,EAC7C,kCAAkC,EAClC,kCAAkC,EAClC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,+BAA+B,EAC/B,gCAAgC,EAChC,8BAA8B,EAC9B,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,8CAA8C,EAC9C,oCAAoC,EACpC,4CAA4C,EAC5C,+BAA+B,EAC/B,oCAAoC,EACpC,yBAAyB,GAC1B,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { createEditorSceneSerializedMultiTransformPatch, createEditorSceneTransformBatchPatch, createEditorSceneTransformFromSerializedPath, createEditorSceneTransformPatch, hasEditorSceneAncestorDescendantPair, hasEditorSceneDescendants, } from './transform.js';
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/commands/index.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,8CAA8C,EAC9C,oCAAoC,EACpC,4CAA4C,EAC5C,+BAA+B,EAC/B,oCAAoC,EACpC,yBAAyB,GAC1B,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { EditorTransformSnapshot } from '@fps-games/editor-core';
|
|
2
|
+
import type { EditorSceneDocument } from '../document/index';
|
|
3
|
+
import type { EditorSceneTransformBatchPatchInput, EditorSceneTransformBatchPatchResult, EditorSceneTransformPatchInput, EditorSceneTransformPatchResult, EditorSceneSerializedMultiTransformPatchInput } from './types';
|
|
4
|
+
export declare function createEditorSceneTransformPatch(input: EditorSceneTransformPatchInput): EditorSceneTransformPatchResult | null;
|
|
5
|
+
export declare function createEditorSceneTransformBatchPatch(input: EditorSceneTransformBatchPatchInput): EditorSceneTransformBatchPatchResult | null;
|
|
6
|
+
export declare function createEditorSceneSerializedMultiTransformPatch(input: EditorSceneSerializedMultiTransformPatchInput): EditorSceneTransformBatchPatchResult | null;
|
|
7
|
+
export declare function createEditorSceneTransformFromSerializedPath(path: string, value: unknown): Partial<EditorTransformSnapshot> | null;
|
|
8
|
+
export declare function hasEditorSceneDescendants(document: EditorSceneDocument, targetId: string): boolean;
|
|
9
|
+
export declare function hasEditorSceneAncestorDescendantPair(document: EditorSceneDocument, ids: readonly string[]): boolean;
|
|
10
|
+
//# sourceMappingURL=transform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../src/commands/transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAQhC,OAAO,KAAK,EACV,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAEV,mCAAmC,EACnC,oCAAoC,EACpC,8BAA8B,EAC9B,+BAA+B,EAC/B,6CAA6C,EAC9C,MAAM,SAAS,CAAC;AAIjB,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,8BAA8B,GACpC,+BAA+B,GAAG,IAAI,CAaxC;AAED,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,mCAAmC,GACzC,oCAAoC,GAAG,IAAI,CAiB7C;AAED,wBAAgB,8CAA8C,CAC5D,KAAK,EAAE,6CAA6C,GACnD,oCAAoC,GAAG,IAAI,CAe7C;AAED,wBAAgB,4CAA4C,CAC1D,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAWzC;AAED,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAElG;AAED,wBAAgB,oCAAoC,CAAC,QAAQ,EAAE,mBAAmB,EAAE,GAAG,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAanH"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { collectEditorSceneSubtreeIdList, } from '../session/hierarchy.js';
|
|
2
|
+
import { createEditorSceneGameObjectMap, toEditorSceneLocalTransformFromWorld, } from '../session/transform.js';
|
|
3
|
+
const SERIALIZED_TRANSFORM_PATH_PATTERN = /^transform\.(position|rotation|scale)\.(x|y|z)$/;
|
|
4
|
+
export function createEditorSceneTransformPatch(input) {
|
|
5
|
+
const transform = toEditorSceneLocalTransformFromWorld(input.document, input.targetId, input.after);
|
|
6
|
+
if (!transform)
|
|
7
|
+
return null;
|
|
8
|
+
return {
|
|
9
|
+
label: `${input.tool} ${input.targetId}`,
|
|
10
|
+
patch: {
|
|
11
|
+
kind: 'game-object.transform',
|
|
12
|
+
targetId: input.targetId,
|
|
13
|
+
transform,
|
|
14
|
+
},
|
|
15
|
+
changedId: input.targetId,
|
|
16
|
+
changedIds: collectEditorSceneSubtreeIdList(input.document, [input.targetId]),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function createEditorSceneTransformBatchPatch(input) {
|
|
20
|
+
if (input.targets.length === 0)
|
|
21
|
+
return null;
|
|
22
|
+
const targetIds = input.targets.map((target) => target.id);
|
|
23
|
+
if (hasEditorSceneAncestorDescendantPair(input.document, targetIds))
|
|
24
|
+
return null;
|
|
25
|
+
const targets = input.targets.flatMap((target) => {
|
|
26
|
+
const transform = toEditorSceneLocalTransformFromWorld(input.document, target.id, target.after);
|
|
27
|
+
return transform ? [{ targetId: target.id, transform }] : [];
|
|
28
|
+
});
|
|
29
|
+
if (targets.length !== input.targets.length)
|
|
30
|
+
return null;
|
|
31
|
+
return {
|
|
32
|
+
label: `${input.tool} ${input.targets.length} objects`,
|
|
33
|
+
patch: {
|
|
34
|
+
kind: 'game-object.transform-batch',
|
|
35
|
+
targets,
|
|
36
|
+
},
|
|
37
|
+
changedIds: collectEditorSceneSubtreeIdList(input.document, targetIds),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function createEditorSceneSerializedMultiTransformPatch(input) {
|
|
41
|
+
if (input.targetIds.length === 0)
|
|
42
|
+
return null;
|
|
43
|
+
const transform = createEditorSceneTransformFromSerializedPath(input.path, input.value);
|
|
44
|
+
if (!transform)
|
|
45
|
+
return null;
|
|
46
|
+
return {
|
|
47
|
+
label: `Patch ${input.path} on ${input.targetIds.length} objects`,
|
|
48
|
+
patch: {
|
|
49
|
+
kind: 'game-object.transform-batch',
|
|
50
|
+
targets: input.targetIds.map((targetId) => ({
|
|
51
|
+
targetId,
|
|
52
|
+
transform,
|
|
53
|
+
})),
|
|
54
|
+
},
|
|
55
|
+
changedIds: collectEditorSceneSubtreeIdList(input.document, [...input.targetIds]),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function createEditorSceneTransformFromSerializedPath(path, value) {
|
|
59
|
+
const numericValue = Number(value);
|
|
60
|
+
if (!Number.isFinite(numericValue))
|
|
61
|
+
return null;
|
|
62
|
+
const match = path.match(SERIALIZED_TRANSFORM_PATH_PATTERN);
|
|
63
|
+
if (!match)
|
|
64
|
+
return null;
|
|
65
|
+
const vectorName = match[1];
|
|
66
|
+
const axis = match[2];
|
|
67
|
+
const storedValue = vectorName === 'rotation' ? (numericValue * Math.PI) / 180 : numericValue;
|
|
68
|
+
return { [vectorName]: { [axis]: storedValue } };
|
|
69
|
+
}
|
|
70
|
+
export function hasEditorSceneDescendants(document, targetId) {
|
|
71
|
+
return collectEditorSceneSubtreeIdList(document, [targetId]).length > 1;
|
|
72
|
+
}
|
|
73
|
+
export function hasEditorSceneAncestorDescendantPair(document, ids) {
|
|
74
|
+
const selected = new Set(ids);
|
|
75
|
+
const byId = createEditorSceneGameObjectMap(document);
|
|
76
|
+
for (const id of ids) {
|
|
77
|
+
const seen = new Set();
|
|
78
|
+
let cursor = byId.get(id);
|
|
79
|
+
while (cursor?.parentId && !seen.has(cursor.parentId)) {
|
|
80
|
+
if (selected.has(cursor.parentId))
|
|
81
|
+
return true;
|
|
82
|
+
seen.add(cursor.parentId);
|
|
83
|
+
cursor = byId.get(cursor.parentId);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=transform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../src/commands/transform.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,+BAA+B,GAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,8BAA8B,EAC9B,oCAAoC,GACrC,MAAM,sBAAsB,CAAC;AAa9B,MAAM,iCAAiC,GAAG,iDAAiD,CAAC;AAE5F,MAAM,UAAU,+BAA+B,CAC7C,KAAqC;IAErC,MAAM,SAAS,GAAG,oCAAoC,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACpG,IAAI,CAAC,SAAS;QAAE,OAAO,IAAI,CAAC;IAC5B,OAA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
|
|
3
|
+
export type EditorSceneSerializedTransformVector = 'position' | 'rotation' | 'scale';
|
|
4
|
+
export type EditorSceneSerializedTransformAxis = 'x' | 'y' | 'z';
|
|
5
|
+
export type EditorSceneSerializedTransformPath = `transform.${EditorSceneSerializedTransformVector}.${EditorSceneSerializedTransformAxis}`;
|
|
6
|
+
export type EditorSceneTransformCommandPatch = {
|
|
7
|
+
kind: 'game-object.transform';
|
|
8
|
+
targetId: string;
|
|
9
|
+
transform: EditorTransformSnapshot;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'game-object.transform-batch';
|
|
12
|
+
targets: Array<{
|
|
13
|
+
targetId: string;
|
|
14
|
+
transform: Partial<EditorTransformSnapshot>;
|
|
15
|
+
}>;
|
|
16
|
+
};
|
|
17
|
+
export type EditorSceneTransformTool = Exclude<EditorTransformTool, 'select'>;
|
|
18
|
+
export interface EditorSceneTransformPatchInput {
|
|
19
|
+
document: EditorSceneDocument;
|
|
20
|
+
targetId: string;
|
|
21
|
+
tool: EditorSceneTransformTool;
|
|
22
|
+
after: EditorTransformSnapshot;
|
|
23
|
+
}
|
|
24
|
+
export interface EditorSceneTransformBatchTarget {
|
|
25
|
+
id: string;
|
|
26
|
+
after: EditorTransformSnapshot;
|
|
27
|
+
}
|
|
28
|
+
export interface EditorSceneTransformBatchPatchInput {
|
|
29
|
+
document: EditorSceneDocument;
|
|
30
|
+
tool: EditorSceneTransformTool;
|
|
31
|
+
targets: readonly EditorSceneTransformBatchTarget[];
|
|
32
|
+
}
|
|
33
|
+
export interface EditorSceneSerializedMultiTransformPatchInput {
|
|
34
|
+
document: EditorSceneDocument;
|
|
35
|
+
targetIds: readonly string[];
|
|
36
|
+
path: string;
|
|
37
|
+
value: unknown;
|
|
38
|
+
}
|
|
39
|
+
export interface EditorSceneTransformPatchResult {
|
|
40
|
+
patch: EditorSceneTransformCommandPatch;
|
|
41
|
+
label: string;
|
|
42
|
+
changedId: string;
|
|
43
|
+
changedIds: string[];
|
|
44
|
+
}
|
|
45
|
+
export interface EditorSceneTransformBatchPatchResult {
|
|
46
|
+
patch: EditorSceneTransformCommandPatch;
|
|
47
|
+
label: string;
|
|
48
|
+
changedIds: string[];
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/commands/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EACV,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,oCAAoC,GAC5C,UAAU,GACV,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,MAAM,kCAAkC,GAC1C,GAAG,GACH,GAAG,GACH,GAAG,CAAC;AAER,MAAM,MAAM,kCAAkC,GAC5C,aAAa,oCAAoC,IAAI,kCAAkC,EAAE,CAAC;AAE5F,MAAM,MAAM,gCAAgC,GACxC;IACA,IAAI,EAAE,uBAAuB,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,uBAAuB,CAAC;CACpC,GACC;IACA,IAAI,EAAE,6BAA6B,CAAC;IACpC,OAAO,EAAE,KAAK,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAC;KAC7C,CAAC,CAAC;CACJ,CAAC;AAEJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;AAE9E,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,EAAE,uBAAuB,CAAC;CAChC;AAED,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,uBAAuB,CAAC;CAChC;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,OAAO,EAAE,SAAS,+BAA+B,EAAE,CAAC;CACrD;AAED,MAAM,WAAW,6CAA6C;IAC5D,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,+BAA+B;IAC9C,KAAK,EAAE,gCAAgC,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,oCAAoC;IACnD,KAAK,EAAE,gCAAgC,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/commands/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { AuthoringSourceDescriptor, AuthoringSourceDriver, AuthoringSourceRef, AuthoringSourceSaveResult, CompiledArtifact, CompiledArtifactProvenance, DocumentCommand, EditorPlacementHit, EditorTransformSnapshot, InspectorObject, InspectorProperty, InspectorSection, InspectorValidationResult, RuntimePatch, SceneGraphCreateGroupIntent, SceneGraphCreatePrimitiveIntent, SceneGraphDeleteIntent, SceneGraphDropIntent, SceneGraphGroupSelectionIntent, SceneGraphMoveIntent, SceneGraphRenameIntent, SceneGraphTreeItem, SceneGraphValidationResult, SerializedMultiObject, SerializedObject, SerializedPropertyPatch, } from '@fps-games/editor-core';
|
|
2
|
+
export { combineEditorTransforms, createIdentityEditorTransform, getTopLevelSceneGraphNodeIds, toEditorLocalTransformFromWorld, } from '@fps-games/editor-core';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core-contracts/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,EAClB,yBAAyB,EACzB,gBAAgB,EAChB,0BAA0B,EAC1B,eAAe,EACf,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,EACzB,YAAY,EACZ,2BAA2B,EAC3B,+BAA+B,EAC/B,sBAAsB,EACtB,oBAAoB,EACpB,8BAA8B,EAC9B,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,qBAAqB,EACrB,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core-contracts/index.ts"],"names":[],"mappings":"AA6BA,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EditorSceneDocument, EditorSceneGameObject, EditorSceneModelRendererComponent, EditorSceneNodeKind, EditorSceneTransformComponent } from './types';
|
|
2
|
+
export declare function cloneEditorSceneDocument<TDocument extends EditorSceneDocument>(document: TDocument): TDocument;
|
|
3
|
+
export declare function findEditorSceneTransform(gameObject: Pick<EditorSceneGameObject, 'components'>): EditorSceneTransformComponent | null;
|
|
4
|
+
export declare function findEditorSceneModelRenderer(gameObject: Pick<EditorSceneGameObject, 'components'>): EditorSceneModelRendererComponent | null;
|
|
5
|
+
export declare function readEditorSceneNodeKind(gameObject: EditorSceneGameObject): EditorSceneNodeKind;
|
|
6
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/document/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,mBAAmB,EACnB,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,6BAA6B,EAC9B,MAAM,SAAS,CAAC;AAEjB,wBAAgB,wBAAwB,CAAC,SAAS,SAAS,mBAAmB,EAC5E,QAAQ,EAAE,SAAS,GAClB,SAAS,CAEX;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,IAAI,CAAC,qBAAqB,EAAE,YAAY,CAAC,GACpD,6BAA6B,GAAG,IAAI,CAEtC;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,IAAI,CAAC,qBAAqB,EAAE,YAAY,CAAC,GACpD,iCAAiC,GAAG,IAAI,CAE1C;AAED,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,qBAAqB,GAAG,mBAAmB,CAa9F"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export function cloneEditorSceneDocument(document) {
|
|
2
|
+
return structuredClone(document);
|
|
3
|
+
}
|
|
4
|
+
export function findEditorSceneTransform(gameObject) {
|
|
5
|
+
return gameObject.components.find(isEditorSceneTransformComponent) ?? null;
|
|
6
|
+
}
|
|
7
|
+
export function findEditorSceneModelRenderer(gameObject) {
|
|
8
|
+
return gameObject.components.find(isEditorSceneModelRendererComponent) ?? null;
|
|
9
|
+
}
|
|
10
|
+
export function readEditorSceneNodeKind(gameObject) {
|
|
11
|
+
if (gameObject.kind === 'group'
|
|
12
|
+
|| gameObject.kind === 'instance'
|
|
13
|
+
|| gameObject.kind === 'transform'
|
|
14
|
+
|| gameObject.kind === 'primitive') {
|
|
15
|
+
return gameObject.kind;
|
|
16
|
+
}
|
|
17
|
+
if (gameObject.primitive)
|
|
18
|
+
return 'primitive';
|
|
19
|
+
if (findEditorSceneModelRenderer(gameObject))
|
|
20
|
+
return 'instance';
|
|
21
|
+
if (gameObject.transformType || gameObject.groundDecal)
|
|
22
|
+
return 'transform';
|
|
23
|
+
return 'group';
|
|
24
|
+
}
|
|
25
|
+
function isEditorSceneTransformComponent(component) {
|
|
26
|
+
return component.type === 'Transform';
|
|
27
|
+
}
|
|
28
|
+
function isEditorSceneModelRendererComponent(component) {
|
|
29
|
+
return component.type === 'ModelRenderer';
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/document/helpers.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,wBAAwB,CACtC,QAAmB;IAEnB,OAAO,eAAe,CAAC,QAAQ,CAAc,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,UAAqD;IAErD,OAAO,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,+BAA+B,CAAC,IAAI,IAAI,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,4BAA4B,CAC1C,UAAqD;IAErD,OAAO,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,mCAAmC,CAAC,IAAI,IAAI,CAAC;AACjF,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,UAAiC;IACvE,IACE,UAAU,CAAC,IAAI,KAAK,OAAO;WACxB,UAAU,CAAC,IAAI,KAAK,UAAU;WAC9B,UAAU,CAAC,IAAI,KAAK,WAAW;WAC/B,UAAU,CAAC,IAAI,KAAK,WAAW,EAClC,CAAC;QACD,OAAO,UAAU,CAAC,IAAI,CAAC;IACzB,CAAC;IACD,IAAI,UAAU,CAAC,SAAS;QAAE,OAAO,WAAW,CAAC;IAC7C,IAAI,4BAA4B,CAAC,UAAU,CAAC;QAAE,OAAO,UAAU,CAAC;IAChE,IAAI,UAAU,CAAC,aAAa,IAAI,UAAU,CAAC,WAAW;QAAE,OAAO,WAAW,CAAC;IAC3E,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,+BAA+B,CACtC,SAA+B;IAE/B,OAAO,SAAS,CAAC,IAAI,KAAK,WAAW,CAAC;AACxC,CAAC;AAED,SAAS,mCAAmC,CAC1C,SAA+B;IAE/B,OAAO,SAAS,CAAC,IAAI,KAAK,eAAe,CAAC;AAC5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/document/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/document/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
|