@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,685 @@
|
|
|
1
|
+
import { canHandleEditorSceneCameraDebugPanKey, cloneEditorSceneCameraDebugSnapshot, cloneEditorSceneCameraDebugTarget, createEditorSceneCameraDebugPanelNumberFields, createEditorSceneCameraDebugPanelRangeFieldEnds, createEditorSceneCameraDebugPanelRangeFieldPairs, formatEditorSceneCameraDebugCoordinate, formatEditorSceneCameraDebugErrorMessage, getEditorSceneCameraDebugText, getEditorSceneCameraDebugTooltips, isEditorSceneCameraDebugPanelFieldVisible, isEditorSceneCameraDebugPanKey, readEditorSceneCameraDebugPanelInputSnapshot, readEditorSceneCameraDebugProjectionSelectValue, readEditorSceneCameraDebugSnapshotField, readEditorSceneCameraDebugStoredLanguage, readEditorSceneCameraDebugStoredOpen, roundEditorSceneCameraDebugNumber, toEditorSceneCameraRig, writeEditorSceneCameraDebugStoredLanguage, writeEditorSceneCameraDebugStoredOpen, } from '@fps-games/editor-playable-sdk';
|
|
2
|
+
import { createEditorRuntimeDebugPanelButton, createEditorRuntimeDebugPanelInputStyle, createEditorRuntimeDebugPanelLabel, createEditorRuntimeDebugPanelNumberInput, createEditorRuntimeDebugPanelSelect, mountEditorRuntimeDebugPanelShell, } from './runtime-debug-panel-shell.js';
|
|
3
|
+
const DEFAULT_CAMERA_DEBUG_STORAGE_KEY = 'fps-editor.camera-debug.open';
|
|
4
|
+
const DEFAULT_CAMERA_DEBUG_LANGUAGE_STORAGE_KEY = 'fps-editor.camera-debug.language';
|
|
5
|
+
const CAMERA_NUMBER_FIELDS = createEditorSceneCameraDebugPanelNumberFields();
|
|
6
|
+
const CAMERA_DEBUG_RANGE_FIELD_PAIRS = createEditorSceneCameraDebugPanelRangeFieldPairs();
|
|
7
|
+
const CAMERA_DEBUG_RANGE_FIELD_ENDS = createEditorSceneCameraDebugPanelRangeFieldEnds();
|
|
8
|
+
const CAMERA_DEBUG_TARGET_MARKER_Y_OFFSET = 0.32;
|
|
9
|
+
const CAMERA_DEBUG_TARGET_MARKER_ARM_LENGTH = 0.16;
|
|
10
|
+
const CAMERA_DEBUG_TARGET_MARKER_ARM_GAP = 0.02;
|
|
11
|
+
const CAMERA_DEBUG_TARGET_MARKER_ARM_HEIGHT = 0.2;
|
|
12
|
+
const CAMERA_DEBUG_TARGET_LABEL_MIN_GAP_PX = 8;
|
|
13
|
+
const CAMERA_DEBUG_TARGET_LABEL_MAX_GAP_PX = 20;
|
|
14
|
+
export function mountEditorRuntimeCameraDebugPanel(options) {
|
|
15
|
+
const root = options.root ?? document.body;
|
|
16
|
+
const ownerDocument = root.ownerDocument;
|
|
17
|
+
const storageKey = options.storageKey ?? DEFAULT_CAMERA_DEBUG_STORAGE_KEY;
|
|
18
|
+
const languageStorageKey = options.languageStorageKey ?? DEFAULT_CAMERA_DEBUG_LANGUAGE_STORAGE_KEY;
|
|
19
|
+
let language = readEditorSceneCameraDebugStoredLanguage(ownerDocument.defaultView, languageStorageKey);
|
|
20
|
+
let disposed = false;
|
|
21
|
+
let saving = false;
|
|
22
|
+
let initialSnapshot = null;
|
|
23
|
+
let latestSnapshot = null;
|
|
24
|
+
let cameraPanRestoreTarget = null;
|
|
25
|
+
let targetCoordinateLabel = null;
|
|
26
|
+
let targetCoordinate = null;
|
|
27
|
+
let compositionLinesEnabled = false;
|
|
28
|
+
let compositionOverlay = null;
|
|
29
|
+
let frameHandle = 0;
|
|
30
|
+
let lastFrameTime = 0;
|
|
31
|
+
const pressedPanKeys = new Set();
|
|
32
|
+
const shell = mountEditorRuntimeDebugPanelShell({
|
|
33
|
+
root,
|
|
34
|
+
toggleLabel: 'Camera',
|
|
35
|
+
title: text().title,
|
|
36
|
+
modeLabel: text().runtime,
|
|
37
|
+
languageButtonLabel: text().languageButton,
|
|
38
|
+
toggleTooltip: tooltips().toggleTitle,
|
|
39
|
+
languageTooltip: tooltips().languageButton,
|
|
40
|
+
tooltipDataAttribute: 'cameraDebugTooltip',
|
|
41
|
+
tooltipDelayMs: 140,
|
|
42
|
+
initialOpen: readEditorSceneCameraDebugStoredOpen(ownerDocument.defaultView, storageKey),
|
|
43
|
+
language,
|
|
44
|
+
placement: {
|
|
45
|
+
right: 16,
|
|
46
|
+
width: 320,
|
|
47
|
+
...options.placement,
|
|
48
|
+
},
|
|
49
|
+
onOpenChange: open => {
|
|
50
|
+
writeEditorSceneCameraDebugStoredOpen(ownerDocument.defaultView, storageKey, open);
|
|
51
|
+
renderOpenState();
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
const grid = ownerDocument.createElement('div');
|
|
55
|
+
grid.style.cssText = 'display:grid;grid-template-columns:1fr 108px;gap:7px 8px;align-items:center;';
|
|
56
|
+
const projectionLabel = createEditorRuntimeDebugPanelLabel(ownerDocument);
|
|
57
|
+
const projectionSelect = createEditorRuntimeDebugPanelSelect(ownerDocument);
|
|
58
|
+
projectionSelect.addEventListener('change', () => applyInputSnapshot());
|
|
59
|
+
grid.append(projectionLabel, projectionSelect);
|
|
60
|
+
const fields = new Map();
|
|
61
|
+
const fieldRows = new Map();
|
|
62
|
+
const rangeRows = [];
|
|
63
|
+
for (const config of CAMERA_NUMBER_FIELDS) {
|
|
64
|
+
if (CAMERA_DEBUG_RANGE_FIELD_ENDS.has(config.field))
|
|
65
|
+
continue;
|
|
66
|
+
const rangePair = CAMERA_DEBUG_RANGE_FIELD_PAIRS.find(pair => pair.lower === config.field);
|
|
67
|
+
if (rangePair) {
|
|
68
|
+
const upperConfig = CAMERA_NUMBER_FIELDS.find(candidate => candidate.field === rangePair.upper);
|
|
69
|
+
if (!upperConfig)
|
|
70
|
+
continue;
|
|
71
|
+
const label = createEditorRuntimeDebugPanelLabel(ownerDocument);
|
|
72
|
+
const wrapper = ownerDocument.createElement('div');
|
|
73
|
+
wrapper.style.cssText = 'display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:108px;';
|
|
74
|
+
const lowerInput = createCameraNumberInput(config, { compact: true });
|
|
75
|
+
const upperInput = createCameraNumberInput(upperConfig, { compact: true });
|
|
76
|
+
fields.set(config.field, lowerInput);
|
|
77
|
+
fields.set(upperConfig.field, upperInput);
|
|
78
|
+
rangeRows.push({
|
|
79
|
+
label,
|
|
80
|
+
wrapper,
|
|
81
|
+
labelKey: rangePair.labelKey,
|
|
82
|
+
tooltipKey: rangePair.tooltipKey,
|
|
83
|
+
lowerConfig: config,
|
|
84
|
+
upperConfig,
|
|
85
|
+
lowerInput,
|
|
86
|
+
upperInput,
|
|
87
|
+
});
|
|
88
|
+
wrapper.append(lowerInput, upperInput);
|
|
89
|
+
grid.append(label, wrapper);
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
const label = createEditorRuntimeDebugPanelLabel(ownerDocument);
|
|
93
|
+
const input = createCameraNumberInput(config);
|
|
94
|
+
fields.set(config.field, input);
|
|
95
|
+
fieldRows.set(config.field, { label, input, config });
|
|
96
|
+
grid.append(label, input);
|
|
97
|
+
}
|
|
98
|
+
const panHint = ownerDocument.createElement('div');
|
|
99
|
+
panHint.style.cssText = 'margin-top:10px;font-size:11px;line-height:1.35;color:#9fb2d0;';
|
|
100
|
+
const viewTools = ownerDocument.createElement('div');
|
|
101
|
+
viewTools.style.cssText = 'display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;';
|
|
102
|
+
const compositionButton = createEditorRuntimeDebugPanelButton(ownerDocument);
|
|
103
|
+
const screenshotButton = createEditorRuntimeDebugPanelButton(ownerDocument);
|
|
104
|
+
viewTools.append(compositionButton, screenshotButton);
|
|
105
|
+
const resetButton = createEditorRuntimeDebugPanelButton(ownerDocument);
|
|
106
|
+
const saveButton = createEditorRuntimeDebugPanelButton(ownerDocument);
|
|
107
|
+
shell.actions.append(resetButton, saveButton);
|
|
108
|
+
shell.content.append(grid, panHint, viewTools);
|
|
109
|
+
shell.languageButton.addEventListener('click', () => {
|
|
110
|
+
language = language === 'zh' ? 'en' : 'zh';
|
|
111
|
+
writeEditorSceneCameraDebugStoredLanguage(ownerDocument.defaultView, languageStorageKey, language);
|
|
112
|
+
renderLanguage();
|
|
113
|
+
syncVisibleFields(latestSnapshot?.projection ?? readProjectionSelectValue());
|
|
114
|
+
});
|
|
115
|
+
compositionButton.addEventListener('click', () => {
|
|
116
|
+
compositionLinesEnabled = !compositionLinesEnabled;
|
|
117
|
+
renderCompositionLinesState();
|
|
118
|
+
updateCompositionOverlay();
|
|
119
|
+
});
|
|
120
|
+
screenshotButton.addEventListener('click', () => {
|
|
121
|
+
void captureCameraViewportScreenshot();
|
|
122
|
+
});
|
|
123
|
+
resetButton.addEventListener('click', () => {
|
|
124
|
+
if (!initialSnapshot || saving)
|
|
125
|
+
return;
|
|
126
|
+
setInputs(initialSnapshot);
|
|
127
|
+
applySnapshot(initialSnapshot, { restoreTarget: true });
|
|
128
|
+
cameraPanRestoreTarget = cloneEditorSceneCameraDebugTarget(initialSnapshot.target);
|
|
129
|
+
updateTargetMarker(initialSnapshot.target);
|
|
130
|
+
shell.setStatus(text().resetStatus);
|
|
131
|
+
});
|
|
132
|
+
saveButton.addEventListener('click', () => {
|
|
133
|
+
const snapshot = latestSnapshot ?? options.readSnapshot();
|
|
134
|
+
if (!snapshot || saving || !snapshot.binding)
|
|
135
|
+
return;
|
|
136
|
+
saving = true;
|
|
137
|
+
syncPanel(snapshot);
|
|
138
|
+
shell.setStatus(text().savingStatus, { sticky: true });
|
|
139
|
+
void Promise.resolve(options.saveRig(snapshot.binding, toEditorSceneCameraRig(snapshot)))
|
|
140
|
+
.then(() => {
|
|
141
|
+
shell.setStatus(text().savedStatus, { sticky: true });
|
|
142
|
+
if (options.reloadAfterSave !== false)
|
|
143
|
+
ownerDocument.defaultView?.location.reload();
|
|
144
|
+
})
|
|
145
|
+
.catch((error) => {
|
|
146
|
+
console.error('[EditorRuntimeCameraDebugPanel] Save rig failed', error);
|
|
147
|
+
saving = false;
|
|
148
|
+
shell.setStatus(formatEditorSceneCameraDebugErrorMessage(error, text().saveFailed), { sticky: true, tone: 'error' });
|
|
149
|
+
syncPanel(latestSnapshot);
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
ownerDocument.defaultView?.addEventListener('keydown', handlePanKeyDown, { capture: true });
|
|
153
|
+
ownerDocument.defaultView?.addEventListener('keyup', handlePanKeyUp, { capture: true });
|
|
154
|
+
ownerDocument.defaultView?.addEventListener('blur', clearPanKeys);
|
|
155
|
+
renderLanguage();
|
|
156
|
+
renderOpenState();
|
|
157
|
+
frameHandle = ownerDocument.defaultView?.requestAnimationFrame(tick) ?? 0;
|
|
158
|
+
return {
|
|
159
|
+
dispose() {
|
|
160
|
+
disposed = true;
|
|
161
|
+
stopCameraPanMode();
|
|
162
|
+
disposeCompositionOverlay();
|
|
163
|
+
if (frameHandle)
|
|
164
|
+
ownerDocument.defaultView?.cancelAnimationFrame(frameHandle);
|
|
165
|
+
ownerDocument.defaultView?.removeEventListener('keydown', handlePanKeyDown, { capture: true });
|
|
166
|
+
ownerDocument.defaultView?.removeEventListener('keyup', handlePanKeyUp, { capture: true });
|
|
167
|
+
ownerDocument.defaultView?.removeEventListener('blur', clearPanKeys);
|
|
168
|
+
shell.dispose();
|
|
169
|
+
},
|
|
170
|
+
};
|
|
171
|
+
function tick(time) {
|
|
172
|
+
if (disposed)
|
|
173
|
+
return;
|
|
174
|
+
const deltaSeconds = lastFrameTime > 0
|
|
175
|
+
? Math.min(0.05, Math.max(0, (time - lastFrameTime) / 1000))
|
|
176
|
+
: 0;
|
|
177
|
+
lastFrameTime = time;
|
|
178
|
+
const snapshot = options.readSnapshot();
|
|
179
|
+
if (!snapshot) {
|
|
180
|
+
initialSnapshot = null;
|
|
181
|
+
latestSnapshot = null;
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
if (!initialSnapshot)
|
|
185
|
+
initialSnapshot = cloneEditorSceneCameraDebugSnapshot(snapshot);
|
|
186
|
+
latestSnapshot = cloneEditorSceneCameraDebugSnapshot(snapshot);
|
|
187
|
+
}
|
|
188
|
+
syncPanel(snapshot);
|
|
189
|
+
applyCameraPan(deltaSeconds);
|
|
190
|
+
updateTargetCoordinateLabel();
|
|
191
|
+
updateCompositionOverlay();
|
|
192
|
+
frameHandle = ownerDocument.defaultView?.requestAnimationFrame(tick) ?? 0;
|
|
193
|
+
}
|
|
194
|
+
function syncPanel(snapshot) {
|
|
195
|
+
shell.container.style.display = snapshot ? 'flex' : 'none';
|
|
196
|
+
if (!snapshot) {
|
|
197
|
+
shell.hideTooltip();
|
|
198
|
+
stopCameraPanMode();
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
if (shell.open)
|
|
202
|
+
startCameraPanMode(snapshot);
|
|
203
|
+
else
|
|
204
|
+
stopCameraPanMode();
|
|
205
|
+
for (const input of fields.values())
|
|
206
|
+
input.disabled = saving;
|
|
207
|
+
projectionSelect.disabled = saving;
|
|
208
|
+
resetButton.disabled = !initialSnapshot || saving;
|
|
209
|
+
saveButton.disabled = saving || !snapshot.binding;
|
|
210
|
+
saveButton.style.opacity = saveButton.disabled ? '0.68' : '1';
|
|
211
|
+
saveButton.style.cursor = saveButton.disabled ? 'not-allowed' : 'pointer';
|
|
212
|
+
syncVisibleFields(snapshot.projection);
|
|
213
|
+
if (isPanelInputActive())
|
|
214
|
+
return;
|
|
215
|
+
setInputs(snapshot);
|
|
216
|
+
}
|
|
217
|
+
function applyInputSnapshot() {
|
|
218
|
+
if (saving)
|
|
219
|
+
return;
|
|
220
|
+
const current = latestSnapshot ?? options.readSnapshot();
|
|
221
|
+
if (!current)
|
|
222
|
+
return;
|
|
223
|
+
const next = readInputs(current);
|
|
224
|
+
syncVisibleFields(next.projection);
|
|
225
|
+
applySnapshot(next);
|
|
226
|
+
syncInputsExceptActive(next);
|
|
227
|
+
}
|
|
228
|
+
function applySnapshot(snapshot, applyOptions = {}) {
|
|
229
|
+
options.applyRig(snapshot, createSnapshotTarget(snapshot));
|
|
230
|
+
latestSnapshot = cloneEditorSceneCameraDebugSnapshot(snapshot);
|
|
231
|
+
if (applyOptions.restoreTarget)
|
|
232
|
+
updateTargetMarker(snapshot.target);
|
|
233
|
+
}
|
|
234
|
+
function setInputs(snapshot) {
|
|
235
|
+
projectionSelect.value = snapshot.projection;
|
|
236
|
+
for (const config of CAMERA_NUMBER_FIELDS) {
|
|
237
|
+
setInputValue(config.field, readEditorSceneCameraDebugSnapshotField(snapshot, config.field));
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
function setInputValue(field, value) {
|
|
241
|
+
const input = fields.get(field);
|
|
242
|
+
if (!input)
|
|
243
|
+
return;
|
|
244
|
+
input.value = value == null ? '' : String(roundEditorSceneCameraDebugNumber(value));
|
|
245
|
+
}
|
|
246
|
+
function syncInputsExceptActive(snapshot) {
|
|
247
|
+
const active = ownerDocument.activeElement;
|
|
248
|
+
if (active !== projectionSelect)
|
|
249
|
+
projectionSelect.value = snapshot.projection;
|
|
250
|
+
for (const config of CAMERA_NUMBER_FIELDS) {
|
|
251
|
+
const input = fields.get(config.field);
|
|
252
|
+
if (!input || active === input)
|
|
253
|
+
continue;
|
|
254
|
+
setInputValue(config.field, readEditorSceneCameraDebugSnapshotField(snapshot, config.field));
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
function readInputs(fallback) {
|
|
258
|
+
const values = {
|
|
259
|
+
projection: projectionSelect.value,
|
|
260
|
+
};
|
|
261
|
+
for (const [field, input] of fields)
|
|
262
|
+
values[field] = input.value;
|
|
263
|
+
return readEditorSceneCameraDebugPanelInputSnapshot(fallback, values, {
|
|
264
|
+
activeField: readActiveNumberField(),
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
function readActiveNumberField() {
|
|
268
|
+
const active = ownerDocument.activeElement;
|
|
269
|
+
for (const [field, input] of fields) {
|
|
270
|
+
if (active === input)
|
|
271
|
+
return field;
|
|
272
|
+
}
|
|
273
|
+
return null;
|
|
274
|
+
}
|
|
275
|
+
function readProjectionSelectValue() {
|
|
276
|
+
return readEditorSceneCameraDebugProjectionSelectValue(projectionSelect.value);
|
|
277
|
+
}
|
|
278
|
+
function createCameraNumberInput(config, inputOptions = {}) {
|
|
279
|
+
const input = createEditorRuntimeDebugPanelNumberInput(ownerDocument, config);
|
|
280
|
+
input.style.cssText = inputOptions.compact
|
|
281
|
+
? createEditorRuntimeDebugPanelInputStyle().replace('width:108px', 'width:100%')
|
|
282
|
+
: createEditorRuntimeDebugPanelInputStyle();
|
|
283
|
+
input.addEventListener('input', () => applyInputSnapshot());
|
|
284
|
+
return input;
|
|
285
|
+
}
|
|
286
|
+
function syncVisibleFields(projection) {
|
|
287
|
+
for (const { label, input, config } of fieldRows.values()) {
|
|
288
|
+
const visible = isEditorSceneCameraDebugPanelFieldVisible(config, projection);
|
|
289
|
+
label.style.display = visible ? '' : 'none';
|
|
290
|
+
input.style.display = visible ? '' : 'none';
|
|
291
|
+
}
|
|
292
|
+
for (const { label, wrapper, lowerConfig, upperConfig } of rangeRows) {
|
|
293
|
+
const visible = [lowerConfig, upperConfig].every(config => isEditorSceneCameraDebugPanelFieldVisible(config, projection));
|
|
294
|
+
label.style.display = visible ? '' : 'none';
|
|
295
|
+
wrapper.style.display = visible ? 'grid' : 'none';
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
function renderOpenState() {
|
|
299
|
+
const snapshot = latestSnapshot ?? options.readSnapshot();
|
|
300
|
+
if (shell.open && snapshot)
|
|
301
|
+
startCameraPanMode(snapshot);
|
|
302
|
+
if (!shell.open) {
|
|
303
|
+
shell.hideTooltip();
|
|
304
|
+
stopCameraPanMode();
|
|
305
|
+
disposeCompositionOverlay();
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
function renderLanguage() {
|
|
309
|
+
const copy = text();
|
|
310
|
+
const hints = tooltips();
|
|
311
|
+
const currentProjection = readProjectionSelectValue();
|
|
312
|
+
shell.setLanguageChrome({
|
|
313
|
+
title: copy.title,
|
|
314
|
+
modeLabel: copy.runtime,
|
|
315
|
+
languageButtonLabel: copy.languageButton,
|
|
316
|
+
toggleTooltip: hints.toggleTitle,
|
|
317
|
+
languageTooltip: hints.languageButton,
|
|
318
|
+
language,
|
|
319
|
+
});
|
|
320
|
+
projectionLabel.textContent = copy.projection;
|
|
321
|
+
shell.setTooltip(projectionLabel, hints.projection);
|
|
322
|
+
shell.setTooltip(projectionSelect, hints.projection);
|
|
323
|
+
projectionSelect.innerHTML = '';
|
|
324
|
+
for (const option of [
|
|
325
|
+
{ label: copy.orthographic, value: 'orthographic' },
|
|
326
|
+
{ label: copy.perspective, value: 'perspective' },
|
|
327
|
+
]) {
|
|
328
|
+
const optionEl = ownerDocument.createElement('option');
|
|
329
|
+
optionEl.value = option.value;
|
|
330
|
+
optionEl.textContent = option.label;
|
|
331
|
+
projectionSelect.append(optionEl);
|
|
332
|
+
}
|
|
333
|
+
projectionSelect.value = latestSnapshot?.projection ?? currentProjection;
|
|
334
|
+
for (const { label, input, config } of fieldRows.values()) {
|
|
335
|
+
const hint = hints[config.textKey];
|
|
336
|
+
label.textContent = copy[config.textKey];
|
|
337
|
+
shell.setTooltip(label, hint ?? '');
|
|
338
|
+
shell.setTooltip(input, hint ?? '');
|
|
339
|
+
}
|
|
340
|
+
for (const row of rangeRows) {
|
|
341
|
+
const rangeHint = hints[row.tooltipKey];
|
|
342
|
+
const lowerHint = hints[row.lowerConfig.textKey];
|
|
343
|
+
const upperHint = hints[row.upperConfig.textKey];
|
|
344
|
+
row.label.textContent = copy[row.labelKey];
|
|
345
|
+
row.lowerInput.placeholder = copy[row.lowerConfig.textKey];
|
|
346
|
+
row.upperInput.placeholder = copy[row.upperConfig.textKey];
|
|
347
|
+
shell.setTooltip(row.label, rangeHint);
|
|
348
|
+
shell.setTooltip(row.wrapper, rangeHint);
|
|
349
|
+
shell.setTooltip(row.lowerInput, lowerHint ?? rangeHint);
|
|
350
|
+
shell.setTooltip(row.upperInput, upperHint ?? rangeHint);
|
|
351
|
+
}
|
|
352
|
+
panHint.textContent = copy.panHint;
|
|
353
|
+
shell.setTooltip(panHint, hints.panHint);
|
|
354
|
+
compositionButton.textContent = copy.compositionLines;
|
|
355
|
+
compositionButton.setAttribute('aria-label', hints.compositionLines);
|
|
356
|
+
shell.setTooltip(compositionButton, hints.compositionLines);
|
|
357
|
+
screenshotButton.textContent = copy.screenshot;
|
|
358
|
+
screenshotButton.setAttribute('aria-label', hints.screenshot);
|
|
359
|
+
shell.setTooltip(screenshotButton, hints.screenshot);
|
|
360
|
+
renderCompositionLinesState();
|
|
361
|
+
resetButton.textContent = copy.reset;
|
|
362
|
+
shell.setTooltip(resetButton, hints.reset);
|
|
363
|
+
saveButton.textContent = copy.save;
|
|
364
|
+
shell.setTooltip(saveButton, hints.save);
|
|
365
|
+
updateTargetCoordinateLabel();
|
|
366
|
+
}
|
|
367
|
+
function startCameraPanMode(snapshot) {
|
|
368
|
+
if (!cameraPanRestoreTarget)
|
|
369
|
+
cameraPanRestoreTarget = cloneEditorSceneCameraDebugTarget(snapshot.target);
|
|
370
|
+
updateTargetMarker(snapshot.target);
|
|
371
|
+
}
|
|
372
|
+
function stopCameraPanMode() {
|
|
373
|
+
clearPanKeys();
|
|
374
|
+
const restoreTarget = cameraPanRestoreTarget;
|
|
375
|
+
cameraPanRestoreTarget = null;
|
|
376
|
+
options.disposeTargetMarker?.();
|
|
377
|
+
targetCoordinate = null;
|
|
378
|
+
disposeTargetCoordinateLabel();
|
|
379
|
+
if (!restoreTarget)
|
|
380
|
+
return;
|
|
381
|
+
const current = latestSnapshot ?? options.readSnapshot();
|
|
382
|
+
if (!current)
|
|
383
|
+
return;
|
|
384
|
+
const restoreSnapshot = {
|
|
385
|
+
...current,
|
|
386
|
+
target: { ...restoreTarget },
|
|
387
|
+
targetOffset: { ...restoreTarget },
|
|
388
|
+
};
|
|
389
|
+
options.applyRig(restoreSnapshot, restoreTarget);
|
|
390
|
+
latestSnapshot = cloneEditorSceneCameraDebugSnapshot(restoreSnapshot);
|
|
391
|
+
}
|
|
392
|
+
function handlePanKeyDown(event) {
|
|
393
|
+
const key = event.key.toLowerCase();
|
|
394
|
+
if (!canHandlePanKey(event, key))
|
|
395
|
+
return;
|
|
396
|
+
pressedPanKeys.add(key);
|
|
397
|
+
event.preventDefault();
|
|
398
|
+
event.stopImmediatePropagation();
|
|
399
|
+
}
|
|
400
|
+
function handlePanKeyUp(event) {
|
|
401
|
+
const key = event.key.toLowerCase();
|
|
402
|
+
if (!isEditorSceneCameraDebugPanKey(key))
|
|
403
|
+
return;
|
|
404
|
+
pressedPanKeys.delete(key);
|
|
405
|
+
if (!isCameraPanModeActive() || isEditableElement(event.target))
|
|
406
|
+
return;
|
|
407
|
+
event.preventDefault();
|
|
408
|
+
event.stopImmediatePropagation();
|
|
409
|
+
}
|
|
410
|
+
function canHandlePanKey(event, key) {
|
|
411
|
+
return canHandleEditorSceneCameraDebugPanKey({
|
|
412
|
+
key,
|
|
413
|
+
active: isCameraPanModeActive(),
|
|
414
|
+
saving,
|
|
415
|
+
editable: isEditableElement(event.target),
|
|
416
|
+
metaKey: event.metaKey,
|
|
417
|
+
ctrlKey: event.ctrlKey,
|
|
418
|
+
altKey: event.altKey,
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
function isCameraPanModeActive() {
|
|
422
|
+
return shell.open && !!cameraPanRestoreTarget && !saving;
|
|
423
|
+
}
|
|
424
|
+
function clearPanKeys() {
|
|
425
|
+
pressedPanKeys.clear();
|
|
426
|
+
}
|
|
427
|
+
function applyCameraPan(deltaSeconds) {
|
|
428
|
+
if (!isCameraPanModeActive() || deltaSeconds <= 0 || pressedPanKeys.size === 0 || !latestSnapshot)
|
|
429
|
+
return;
|
|
430
|
+
const snapshot = options.translateCameraOnPlane({
|
|
431
|
+
pressedKeys: pressedPanKeys,
|
|
432
|
+
deltaSeconds,
|
|
433
|
+
snapshot: latestSnapshot,
|
|
434
|
+
});
|
|
435
|
+
if (!snapshot)
|
|
436
|
+
return;
|
|
437
|
+
latestSnapshot = cloneEditorSceneCameraDebugSnapshot(snapshot);
|
|
438
|
+
updateTargetMarker(snapshot.target);
|
|
439
|
+
}
|
|
440
|
+
function createSnapshotTarget(snapshot) {
|
|
441
|
+
return { ...(snapshot.targetOffset ?? snapshot.target) };
|
|
442
|
+
}
|
|
443
|
+
function updateTargetMarker(target) {
|
|
444
|
+
if (!shell.open)
|
|
445
|
+
return;
|
|
446
|
+
options.createTargetMarker?.(target);
|
|
447
|
+
targetCoordinate = cloneEditorSceneCameraDebugTarget(target);
|
|
448
|
+
updateTargetCoordinateLabel(target);
|
|
449
|
+
}
|
|
450
|
+
function ensureTargetCoordinateLabel() {
|
|
451
|
+
if (targetCoordinateLabel)
|
|
452
|
+
return targetCoordinateLabel;
|
|
453
|
+
const label = ownerDocument.createElement('div');
|
|
454
|
+
label.style.cssText = [
|
|
455
|
+
'position:fixed',
|
|
456
|
+
'z-index:2147482599',
|
|
457
|
+
'display:none',
|
|
458
|
+
'box-sizing:border-box',
|
|
459
|
+
'max-width:min(280px, calc(100vw - 24px))',
|
|
460
|
+
'padding:3px 6px',
|
|
461
|
+
'border:1px solid rgba(248, 113, 113, 0.55)',
|
|
462
|
+
'border-radius:5px',
|
|
463
|
+
'background:rgba(15, 23, 42, 0.86)',
|
|
464
|
+
'box-shadow:0 8px 22px rgba(0, 0, 0, 0.28)',
|
|
465
|
+
'color:#fecaca',
|
|
466
|
+
'font:700 10px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace',
|
|
467
|
+
'line-height:1.25',
|
|
468
|
+
'letter-spacing:0',
|
|
469
|
+
'white-space:nowrap',
|
|
470
|
+
'pointer-events:none',
|
|
471
|
+
'transform:translate(-50%, -100%)',
|
|
472
|
+
].join(';');
|
|
473
|
+
root.append(label);
|
|
474
|
+
targetCoordinateLabel = label;
|
|
475
|
+
return label;
|
|
476
|
+
}
|
|
477
|
+
function updateTargetCoordinateLabel(target = targetCoordinate) {
|
|
478
|
+
if (!shell.open || !target) {
|
|
479
|
+
hideTargetCoordinateLabel();
|
|
480
|
+
return;
|
|
481
|
+
}
|
|
482
|
+
const labelAnchor = projectTargetLabelAnchorToScreen(target);
|
|
483
|
+
if (!labelAnchor) {
|
|
484
|
+
hideTargetCoordinateLabel();
|
|
485
|
+
return;
|
|
486
|
+
}
|
|
487
|
+
const label = ensureTargetCoordinateLabel();
|
|
488
|
+
label.textContent = formatTargetCoordinateLabel(target);
|
|
489
|
+
label.style.left = `${labelAnchor.x}px`;
|
|
490
|
+
label.style.top = `${labelAnchor.y}px`;
|
|
491
|
+
label.style.display = '';
|
|
492
|
+
}
|
|
493
|
+
function hideTargetCoordinateLabel() {
|
|
494
|
+
if (targetCoordinateLabel)
|
|
495
|
+
targetCoordinateLabel.style.display = 'none';
|
|
496
|
+
}
|
|
497
|
+
function disposeTargetCoordinateLabel() {
|
|
498
|
+
targetCoordinateLabel?.remove();
|
|
499
|
+
targetCoordinateLabel = null;
|
|
500
|
+
}
|
|
501
|
+
function renderCompositionLinesState() {
|
|
502
|
+
compositionButton.setAttribute('aria-pressed', String(compositionLinesEnabled));
|
|
503
|
+
compositionButton.style.background = compositionLinesEnabled
|
|
504
|
+
? 'rgba(29, 78, 216, 0.92)'
|
|
505
|
+
: 'rgba(30, 41, 59, 0.86)';
|
|
506
|
+
}
|
|
507
|
+
function ensureCompositionOverlay() {
|
|
508
|
+
if (compositionOverlay)
|
|
509
|
+
return compositionOverlay;
|
|
510
|
+
const overlay = ownerDocument.createElement('div');
|
|
511
|
+
overlay.style.cssText = [
|
|
512
|
+
'position:fixed',
|
|
513
|
+
'z-index:2147482498',
|
|
514
|
+
'display:none',
|
|
515
|
+
'pointer-events:none',
|
|
516
|
+
'box-sizing:border-box',
|
|
517
|
+
'border:1px solid rgba(248, 250, 252, 0.42)',
|
|
518
|
+
'box-shadow:inset 0 0 0 1px rgba(15, 23, 42, 0.24)',
|
|
519
|
+
'background-repeat:no-repeat',
|
|
520
|
+
].join(';');
|
|
521
|
+
overlay.style.backgroundImage = [
|
|
522
|
+
'linear-gradient(to right, transparent calc(33.333% - 0.5px), rgba(248, 250, 252, 0.7) calc(33.333% - 0.5px), rgba(248, 250, 252, 0.7) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px))',
|
|
523
|
+
'linear-gradient(to right, transparent calc(66.666% - 0.5px), rgba(248, 250, 252, 0.7) calc(66.666% - 0.5px), rgba(248, 250, 252, 0.7) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px))',
|
|
524
|
+
'linear-gradient(to bottom, transparent calc(33.333% - 0.5px), rgba(248, 250, 252, 0.7) calc(33.333% - 0.5px), rgba(248, 250, 252, 0.7) calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px))',
|
|
525
|
+
'linear-gradient(to bottom, transparent calc(66.666% - 0.5px), rgba(248, 250, 252, 0.7) calc(66.666% - 0.5px), rgba(248, 250, 252, 0.7) calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px))',
|
|
526
|
+
'linear-gradient(to right, transparent calc(50% - 0.5px), rgba(56, 189, 248, 0.62) calc(50% - 0.5px), rgba(56, 189, 248, 0.62) calc(50% + 0.5px), transparent calc(50% + 0.5px))',
|
|
527
|
+
'linear-gradient(to bottom, transparent calc(50% - 0.5px), rgba(56, 189, 248, 0.62) calc(50% - 0.5px), rgba(56, 189, 248, 0.62) calc(50% + 0.5px), transparent calc(50% + 0.5px))',
|
|
528
|
+
].join(',');
|
|
529
|
+
root.append(overlay);
|
|
530
|
+
compositionOverlay = overlay;
|
|
531
|
+
return overlay;
|
|
532
|
+
}
|
|
533
|
+
function updateCompositionOverlay() {
|
|
534
|
+
if (!shell.open || !compositionLinesEnabled) {
|
|
535
|
+
disposeCompositionOverlay();
|
|
536
|
+
return;
|
|
537
|
+
}
|
|
538
|
+
const rect = options.getViewportRect?.() ?? readCanvasViewportRect(options.getCanvas());
|
|
539
|
+
if (!rect) {
|
|
540
|
+
disposeCompositionOverlay();
|
|
541
|
+
return;
|
|
542
|
+
}
|
|
543
|
+
if (rect.width <= 0 || rect.height <= 0) {
|
|
544
|
+
disposeCompositionOverlay();
|
|
545
|
+
return;
|
|
546
|
+
}
|
|
547
|
+
const overlay = ensureCompositionOverlay();
|
|
548
|
+
overlay.style.left = `${rect.left}px`;
|
|
549
|
+
overlay.style.top = `${rect.top}px`;
|
|
550
|
+
overlay.style.width = `${rect.width}px`;
|
|
551
|
+
overlay.style.height = `${rect.height}px`;
|
|
552
|
+
overlay.style.display = '';
|
|
553
|
+
}
|
|
554
|
+
function disposeCompositionOverlay() {
|
|
555
|
+
compositionOverlay?.remove();
|
|
556
|
+
compositionOverlay = null;
|
|
557
|
+
}
|
|
558
|
+
async function captureCameraViewportScreenshot() {
|
|
559
|
+
try {
|
|
560
|
+
const canvas = options.getCanvas();
|
|
561
|
+
if (!canvas)
|
|
562
|
+
throw new Error('Camera viewport canvas is not available.');
|
|
563
|
+
const url = await readCanvasPngDataUrl(canvas);
|
|
564
|
+
const link = ownerDocument.createElement('a');
|
|
565
|
+
link.href = url;
|
|
566
|
+
link.download = `camera-view-${formatScreenshotTimestamp(new Date())}.png`;
|
|
567
|
+
root.append(link);
|
|
568
|
+
link.click();
|
|
569
|
+
link.remove();
|
|
570
|
+
if (url.startsWith('blob:'))
|
|
571
|
+
ownerDocument.defaultView?.setTimeout(() => URL.revokeObjectURL(url), 1000);
|
|
572
|
+
shell.setStatus(text().screenshotSaved);
|
|
573
|
+
}
|
|
574
|
+
catch (error) {
|
|
575
|
+
console.error('[EditorRuntimeCameraDebugPanel] Screenshot failed', error);
|
|
576
|
+
shell.setStatus(formatEditorSceneCameraDebugErrorMessage(error, text().screenshotFailed), { tone: 'error' });
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
function projectTargetLabelAnchorToScreen(target) {
|
|
580
|
+
const targetScreen = options.projectTargetToScreen?.(target);
|
|
581
|
+
if (!targetScreen || targetScreen.depth < 0 || targetScreen.depth > 1)
|
|
582
|
+
return null;
|
|
583
|
+
const markerScreens = getTargetMarkerWorldPoints(target)
|
|
584
|
+
.map(point => options.projectTargetToScreen?.(point))
|
|
585
|
+
.filter((point) => !!point && point.depth >= 0 && point.depth <= 1);
|
|
586
|
+
if (markerScreens.length === 0)
|
|
587
|
+
return {
|
|
588
|
+
x: targetScreen.x,
|
|
589
|
+
y: targetScreen.y - CAMERA_DEBUG_TARGET_LABEL_MIN_GAP_PX,
|
|
590
|
+
};
|
|
591
|
+
const minX = Math.min(...markerScreens.map(point => point.x));
|
|
592
|
+
const maxX = Math.max(...markerScreens.map(point => point.x));
|
|
593
|
+
const minY = Math.min(...markerScreens.map(point => point.y));
|
|
594
|
+
const markerHeight = Math.max(0, Math.max(...markerScreens.map(point => point.y)) - minY);
|
|
595
|
+
const gap = Math.min(CAMERA_DEBUG_TARGET_LABEL_MAX_GAP_PX, Math.max(CAMERA_DEBUG_TARGET_LABEL_MIN_GAP_PX, markerHeight * 0.25));
|
|
596
|
+
return {
|
|
597
|
+
x: (minX + maxX) / 2,
|
|
598
|
+
y: minY - gap,
|
|
599
|
+
};
|
|
600
|
+
}
|
|
601
|
+
function getTargetMarkerWorldPoints(target) {
|
|
602
|
+
const armExtent = CAMERA_DEBUG_TARGET_MARKER_ARM_GAP + CAMERA_DEBUG_TARGET_MARKER_ARM_LENGTH;
|
|
603
|
+
const centerY = target.y + CAMERA_DEBUG_TARGET_MARKER_Y_OFFSET;
|
|
604
|
+
const halfHeight = CAMERA_DEBUG_TARGET_MARKER_ARM_HEIGHT / 2;
|
|
605
|
+
return [
|
|
606
|
+
{ x: target.x, y: target.y, z: target.z },
|
|
607
|
+
{ x: target.x - armExtent, y: centerY, z: target.z },
|
|
608
|
+
{ x: target.x + armExtent, y: centerY, z: target.z },
|
|
609
|
+
{ x: target.x, y: centerY, z: target.z - armExtent },
|
|
610
|
+
{ x: target.x, y: centerY, z: target.z + armExtent },
|
|
611
|
+
{ x: target.x, y: centerY - halfHeight, z: target.z },
|
|
612
|
+
{ x: target.x, y: centerY + halfHeight, z: target.z },
|
|
613
|
+
];
|
|
614
|
+
}
|
|
615
|
+
function formatTargetCoordinateLabel(target) {
|
|
616
|
+
return `position: (${formatEditorSceneCameraDebugCoordinate(target.x)}, ${formatEditorSceneCameraDebugCoordinate(target.y)}, ${formatEditorSceneCameraDebugCoordinate(target.z)})`;
|
|
617
|
+
}
|
|
618
|
+
function isPanelInputActive() {
|
|
619
|
+
return ownerDocument.activeElement === projectionSelect
|
|
620
|
+
|| ownerDocument.activeElement === shell.languageButton
|
|
621
|
+
|| [...fields.values()].includes(ownerDocument.activeElement);
|
|
622
|
+
}
|
|
623
|
+
function text() {
|
|
624
|
+
return getEditorSceneCameraDebugText(language);
|
|
625
|
+
}
|
|
626
|
+
function tooltips() {
|
|
627
|
+
return getEditorSceneCameraDebugTooltips(language);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
function isEditableElement(target) {
|
|
631
|
+
if (!(target instanceof HTMLElement))
|
|
632
|
+
return false;
|
|
633
|
+
return target instanceof HTMLInputElement
|
|
634
|
+
|| target instanceof HTMLTextAreaElement
|
|
635
|
+
|| target instanceof HTMLSelectElement
|
|
636
|
+
|| target.isContentEditable;
|
|
637
|
+
}
|
|
638
|
+
function readCanvasViewportRect(canvas) {
|
|
639
|
+
if (!canvas)
|
|
640
|
+
return null;
|
|
641
|
+
const rect = canvas.getBoundingClientRect();
|
|
642
|
+
return {
|
|
643
|
+
left: rect.left,
|
|
644
|
+
top: rect.top,
|
|
645
|
+
width: rect.width,
|
|
646
|
+
height: rect.height,
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
function readCanvasPngDataUrl(canvas) {
|
|
650
|
+
return new Promise((resolve, reject) => {
|
|
651
|
+
try {
|
|
652
|
+
if (typeof canvas.toBlob === 'function') {
|
|
653
|
+
canvas.toBlob((blob) => {
|
|
654
|
+
if (!blob) {
|
|
655
|
+
reject(new Error('Camera viewport canvas could not be encoded.'));
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
658
|
+
resolve(URL.createObjectURL(blob));
|
|
659
|
+
}, 'image/png');
|
|
660
|
+
return;
|
|
661
|
+
}
|
|
662
|
+
if (typeof canvas.toDataURL === 'function') {
|
|
663
|
+
resolve(canvas.toDataURL('image/png'));
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
666
|
+
reject(new Error('Camera viewport canvas cannot export images.'));
|
|
667
|
+
}
|
|
668
|
+
catch (error) {
|
|
669
|
+
reject(error);
|
|
670
|
+
}
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
function formatScreenshotTimestamp(date) {
|
|
674
|
+
const pad = (value) => String(value).padStart(2, '0');
|
|
675
|
+
return [
|
|
676
|
+
date.getFullYear(),
|
|
677
|
+
pad(date.getMonth() + 1),
|
|
678
|
+
pad(date.getDate()),
|
|
679
|
+
'-',
|
|
680
|
+
pad(date.getHours()),
|
|
681
|
+
pad(date.getMinutes()),
|
|
682
|
+
pad(date.getSeconds()),
|
|
683
|
+
].join('');
|
|
684
|
+
}
|
|
685
|
+
//# sourceMappingURL=runtime-camera-debug-panel.js.map
|