@fps-games/editor 0.1.3-beta.4 → 0.1.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/local-editor-agent-actions.d.ts +38 -0
- package/dist/local-editor-agent-actions.d.ts.map +1 -0
- package/dist/local-editor-agent-actions.js +134 -0
- package/dist/local-editor-agent-actions.js.map +1 -0
- package/dist/local-editor-agent-context.d.ts +29 -0
- package/dist/local-editor-agent-context.d.ts.map +1 -0
- package/dist/local-editor-agent-context.js +266 -0
- package/dist/local-editor-agent-context.js.map +1 -0
- package/dist/local-editor-harness.d.ts +19 -1
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +641 -118
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.d.ts.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.js +34 -14
- package/dist/local-editor-viewport-render-coordinator.js.map +1 -1
- package/dist/playable-babylon-facade.d.ts +15 -0
- package/dist/playable-babylon-facade.d.ts.map +1 -0
- package/dist/playable-babylon-facade.js +12 -0
- package/dist/playable-babylon-facade.js.map +1 -0
- package/dist/playable-babylon-outline-inspector.d.ts +32 -0
- package/dist/playable-babylon-outline-inspector.d.ts.map +1 -0
- package/dist/playable-babylon-outline-inspector.js +182 -0
- package/dist/playable-babylon-outline-inspector.js.map +1 -0
- package/dist/playable-babylon-outline-runtime.d.ts +19 -0
- package/dist/playable-babylon-outline-runtime.d.ts.map +1 -0
- package/dist/playable-babylon-outline-runtime.js +67 -0
- package/dist/playable-babylon-outline-runtime.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +501 -0
- package/dist/playable-local-editor-host.d.ts.map +1 -0
- package/dist/playable-local-editor-host.js +526 -0
- package/dist/playable-local-editor-host.js.map +1 -0
- package/dist/playable-sdk.d.ts +8 -0
- package/dist/playable-sdk.d.ts.map +1 -0
- package/dist/playable-sdk.js +5 -0
- package/dist/playable-sdk.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +79 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +26 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +13 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +6 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +7 -4
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js +45 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts +7 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts +7 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +83 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts +5 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js +155 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +77 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js +24 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js +105 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +14 -14
- package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +15 -5
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/edit-session.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/editor-world.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +24 -24
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js +396 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js +2 -567
- package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/inspector-host.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts +3 -2
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js +401 -96
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/monitor.js +2 -2
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js +7 -23
- package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +10 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +234 -150
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-camera-preview.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +4 -4
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js +10 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/tool-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +12 -2
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +69 -17
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +5 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +9 -2
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +8 -2
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js +88 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +12 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +34 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +2 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts +55 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +144 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +40 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +312 -126
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +43 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +28 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +48 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +3 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +182 -20
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +24 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +373 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +17 -12
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +9 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +42 -19
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js +40 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts +59 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +182 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts +16 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts +11 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js +18 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +34 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +88 -37
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +16 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +630 -140
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts +40 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js +685 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts +73 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js +370 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts +15 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js +350 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +3 -2
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +17 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +14 -0
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.js +14 -12
- package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +9 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +108 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +5 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts +27 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js +35 -0
- package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js.map +1 -0
- package/node_modules/@fps-games/editor-core/package.json +2 -2
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +23 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +43 -0
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js +169 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts +46 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +64 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +120 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +35 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js +42 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js +36 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js +66 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js +89 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts +79 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js +42 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts +74 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js +46 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts +38 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js +98 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js +149 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js +214 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js +84 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts +32 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js +85 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js +88 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +50 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +112 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +201 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +81 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +545 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js +99 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js +557 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts +30 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js +56 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js +33 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts +61 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +61 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js +48 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js +95 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js +162 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js +71 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js +108 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts +72 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js +70 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +80 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +371 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +125 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +87 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js +82 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +140 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +40 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +299 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js +251 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +188 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts +26 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js +222 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js +97 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js +128 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js +259 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js +49 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts +433 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +224 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +242 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +30 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +62 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +131 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js +45 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +759 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +512 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js +73 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +290 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js +65 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +211 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +80 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js +78 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +73 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +49 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +81 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +164 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +206 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +91 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +579 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +90 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +268 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js +38 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +87 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/package.json +20 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +113 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.js +5 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +45 -4
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +115 -2
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +1 -1
- package/package.json +13 -7
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EDITOR_SCENE_CAMERA_DEBUG_NUMBER_FIELDS, EDITOR_SCENE_CAMERA_DEBUG_RANGE_FIELD_PAIRS, } from './fields.js';
|
|
2
|
+
import { clampEditorSceneCameraDebugNumber, degreesToEditorSceneCameraDebugRadians, radiansToEditorSceneCameraDebugDegrees, } from './math.js';
|
|
3
|
+
import { normalizeEditorSceneCameraDebugSnapshotRanges, } from './rig.js';
|
|
4
|
+
export const EDITOR_SCENE_CAMERA_DEBUG_NUMBER_FIELD_TEXT_KEYS = {
|
|
5
|
+
alpha: 'alpha',
|
|
6
|
+
beta: 'beta',
|
|
7
|
+
radius: 'radius',
|
|
8
|
+
orthoSize: 'orthoSize',
|
|
9
|
+
fovDeg: 'fov',
|
|
10
|
+
targetOffsetX: 'targetOffsetX',
|
|
11
|
+
targetOffsetY: 'targetOffsetY',
|
|
12
|
+
targetOffsetZ: 'targetOffsetZ',
|
|
13
|
+
minZ: 'nearClip',
|
|
14
|
+
maxZ: 'farClip',
|
|
15
|
+
lowerBetaLimit: 'minBeta',
|
|
16
|
+
upperBetaLimit: 'maxBeta',
|
|
17
|
+
lowerRadiusLimit: 'minRadius',
|
|
18
|
+
upperRadiusLimit: 'maxRadius',
|
|
19
|
+
inertia: 'inertia',
|
|
20
|
+
targetScreenOffsetX: 'screenOffsetX',
|
|
21
|
+
targetScreenOffsetY: 'screenOffsetY',
|
|
22
|
+
};
|
|
23
|
+
export const EDITOR_SCENE_CAMERA_DEBUG_PAN_KEYS = ['w', 'a', 's', 'd'];
|
|
24
|
+
export function createEditorSceneCameraDebugPanelNumberFields() {
|
|
25
|
+
return EDITOR_SCENE_CAMERA_DEBUG_NUMBER_FIELDS.map((config) => ({
|
|
26
|
+
...config,
|
|
27
|
+
textKey: EDITOR_SCENE_CAMERA_DEBUG_NUMBER_FIELD_TEXT_KEYS[config.field],
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
export function createEditorSceneCameraDebugPanelRangeFieldPairs() {
|
|
31
|
+
return EDITOR_SCENE_CAMERA_DEBUG_RANGE_FIELD_PAIRS.map((pair) => ({
|
|
32
|
+
...pair,
|
|
33
|
+
labelKey: pair.value === 'beta' ? 'betaRange' : 'radiusRange',
|
|
34
|
+
tooltipKey: pair.value === 'beta' ? 'betaRange' : 'radiusRange',
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
export function createEditorSceneCameraDebugPanelRangeFieldEnds() {
|
|
38
|
+
return new Set(createEditorSceneCameraDebugPanelRangeFieldPairs().map(pair => pair.upper));
|
|
39
|
+
}
|
|
40
|
+
export function isEditorSceneCameraDebugPanelFieldVisible(config, projection) {
|
|
41
|
+
return !config.projection || config.projection === projection;
|
|
42
|
+
}
|
|
43
|
+
export function readEditorSceneCameraDebugPanelInputSnapshot(fallback, values, options = {}) {
|
|
44
|
+
const projection = readEditorSceneCameraDebugProjectionSelectValue(values.projection);
|
|
45
|
+
const fallbackTarget = fallback.targetOffset ?? fallback.target;
|
|
46
|
+
const targetOffset = {
|
|
47
|
+
x: readPanelNumber(values.targetOffsetX, fallbackTarget.x),
|
|
48
|
+
y: readPanelNumber(values.targetOffsetY, fallbackTarget.y),
|
|
49
|
+
z: readPanelNumber(values.targetOffsetZ, fallbackTarget.z),
|
|
50
|
+
};
|
|
51
|
+
const next = {
|
|
52
|
+
...fallback,
|
|
53
|
+
projection,
|
|
54
|
+
alpha: degreesToEditorSceneCameraDebugRadians(readPanelNumber(values.alpha, radiansToEditorSceneCameraDebugDegrees(fallback.alpha))),
|
|
55
|
+
beta: degreesToEditorSceneCameraDebugRadians(readPanelNumber(values.beta, radiansToEditorSceneCameraDebugDegrees(fallback.beta))),
|
|
56
|
+
radius: Math.max(0.001, readPanelNumber(values.radius, fallback.radius)),
|
|
57
|
+
orthoSize: Math.max(0.001, readPanelNumber(values.orthoSize, fallback.orthoSize)),
|
|
58
|
+
fov: degreesToEditorSceneCameraDebugRadians(clampEditorSceneCameraDebugNumber(readPanelNumber(values.fovDeg, radiansToEditorSceneCameraDebugDegrees(fallback.fov)), 1, 179)),
|
|
59
|
+
target: { ...targetOffset },
|
|
60
|
+
targetOffset,
|
|
61
|
+
minZ: Math.max(0.001, readPanelNumber(values.minZ, fallback.minZ ?? 1)),
|
|
62
|
+
maxZ: Math.max(0.001, readPanelNumber(values.maxZ, fallback.maxZ ?? 10000)),
|
|
63
|
+
lowerBetaLimit: degreesToEditorSceneCameraDebugRadians(readPanelNumber(values.lowerBetaLimit, radiansToEditorSceneCameraDebugDegrees(fallback.lowerBetaLimit ?? fallback.beta))),
|
|
64
|
+
upperBetaLimit: degreesToEditorSceneCameraDebugRadians(readPanelNumber(values.upperBetaLimit, radiansToEditorSceneCameraDebugDegrees(fallback.upperBetaLimit ?? fallback.beta))),
|
|
65
|
+
lowerRadiusLimit: Math.max(0.001, readPanelNumber(values.lowerRadiusLimit, fallback.lowerRadiusLimit ?? fallback.radius)),
|
|
66
|
+
upperRadiusLimit: Math.max(0.001, readPanelNumber(values.upperRadiusLimit, fallback.upperRadiusLimit ?? fallback.radius)),
|
|
67
|
+
inertia: clampEditorSceneCameraDebugNumber(readPanelNumber(values.inertia, fallback.inertia ?? 0.9), 0, 1),
|
|
68
|
+
targetScreenOffset: {
|
|
69
|
+
x: readPanelNumber(values.targetScreenOffsetX, fallback.targetScreenOffset?.x ?? 0),
|
|
70
|
+
y: readPanelNumber(values.targetScreenOffsetY, fallback.targetScreenOffset?.y ?? 0),
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
const minZ = next.minZ ?? 0.001;
|
|
74
|
+
if ((next.maxZ ?? minZ + 0.001) <= minZ)
|
|
75
|
+
next.maxZ = minZ + 0.001;
|
|
76
|
+
normalizeEditorSceneCameraDebugSnapshotRanges(next, options.activeField ?? null);
|
|
77
|
+
return next;
|
|
78
|
+
}
|
|
79
|
+
export function readEditorSceneCameraDebugProjectionSelectValue(value) {
|
|
80
|
+
return value === 'perspective' ? 'perspective' : 'orthographic';
|
|
81
|
+
}
|
|
82
|
+
export function isEditorSceneCameraDebugPanKey(key) {
|
|
83
|
+
return EDITOR_SCENE_CAMERA_DEBUG_PAN_KEYS.includes(key.toLowerCase());
|
|
84
|
+
}
|
|
85
|
+
export function canHandleEditorSceneCameraDebugPanKey(input) {
|
|
86
|
+
return input.active
|
|
87
|
+
&& isEditorSceneCameraDebugPanKey(input.key)
|
|
88
|
+
&& !input.saving
|
|
89
|
+
&& !input.metaKey
|
|
90
|
+
&& !input.ctrlKey
|
|
91
|
+
&& !input.altKey
|
|
92
|
+
&& !input.editable;
|
|
93
|
+
}
|
|
94
|
+
function readPanelNumber(value, fallback) {
|
|
95
|
+
const numberValue = Number(value);
|
|
96
|
+
return Number.isFinite(numberValue) ? numberValue : fallback;
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=panel-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panel-state.js","sourceRoot":"","sources":["../../src/camera-debug/panel-state.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uCAAuC,EACvC,2CAA2C,GAC5C,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,iCAAiC,EACjC,sCAAsC,EACtC,sCAAsC,GACvC,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,6CAA6C,GAC9C,MAAM,OAAO,CAAC;AA6Cf,MAAM,CAAC,MAAM,gDAAgD,GAA6E;IACxI,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,KAAK;IACb,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,SAAS;IACf,cAAc,EAAE,SAAS;IACzB,cAAc,EAAE,SAAS;IACzB,gBAAgB,EAAE,WAAW;IAC7B,gBAAgB,EAAE,WAAW;IAC7B,OAAO,EAAE,SAAS;IAClB,mBAAmB,EAAE,eAAe;IACpC,mBAAmB,EAAE,eAAe;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAU,CAAC;AAEhF,MAAM,UAAU,6CAA6C;IAC3D,OAAO,uCAAuC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC9D,GAAG,MAAM;QACT,OAAO,EAAE,gDAAgD,CAAC,MAAM,CAAC,KAAK,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QAAQ,CAAC,GAAG,CAAC,WAAW,EAAuD,CAAC,CAAC;AAC7H,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,KAAwC;IAC5F,OAAO,KAAK,CAAC,MAAM;WACd,8BAA8B,CAAC,KAAK,CAAC,GAAG,CAAC;WACzC,CAAC,KAAK,CAAC,MAAM;WACb,CAAC,KAAK,CAAC,OAAO;WACd,CAAC,KAAK,CAAC,OAAO;WACd,CAAC,KAAK,CAAC,MAAM;WACb,CAAC,KAAK,CAAC,QAAQ,CAAC;AACvB,CAAC;AAED,SAAS,eAAe,CAAC,KAA4C,EAAE,QAAgB;IACrF,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAClC,OAAO,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;AAC/D,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { EditorSceneCameraDebugLanguage } from './panel-text';
|
|
2
|
+
export interface EditorSceneCameraDebugStorageLike {
|
|
3
|
+
getItem(key: string): string | null;
|
|
4
|
+
setItem(key: string, value: string): void;
|
|
5
|
+
}
|
|
6
|
+
export interface EditorSceneCameraDebugWindowLike {
|
|
7
|
+
localStorage?: EditorSceneCameraDebugStorageLike | null;
|
|
8
|
+
}
|
|
9
|
+
export declare function readEditorSceneCameraDebugStoredOpen(win: EditorSceneCameraDebugWindowLike | null | undefined, key: string): boolean;
|
|
10
|
+
export declare function writeEditorSceneCameraDebugStoredOpen(win: EditorSceneCameraDebugWindowLike | null | undefined, key: string, value: boolean): void;
|
|
11
|
+
export declare function readEditorSceneCameraDebugStoredLanguage(win: EditorSceneCameraDebugWindowLike | null | undefined, key: string): EditorSceneCameraDebugLanguage;
|
|
12
|
+
export declare function writeEditorSceneCameraDebugStoredLanguage(win: EditorSceneCameraDebugWindowLike | null | undefined, key: string, value: EditorSceneCameraDebugLanguage): void;
|
|
13
|
+
//# sourceMappingURL=panel-storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panel-storage.d.ts","sourceRoot":"","sources":["../../src/camera-debug/panel-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,8BAA8B,EAC/B,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,iCAAiC;IAChD,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,gCAAgC;IAC/C,YAAY,CAAC,EAAE,iCAAiC,GAAG,IAAI,CAAC;CACzD;AAED,wBAAgB,oCAAoC,CAClD,GAAG,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,EACxD,GAAG,EAAE,MAAM,GACV,OAAO,CAMT;AAED,wBAAgB,qCAAqC,CACnD,GAAG,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,EACxD,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,GACb,IAAI,CAMN;AAED,wBAAgB,wCAAwC,CACtD,GAAG,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,EACxD,GAAG,EAAE,MAAM,GACV,8BAA8B,CAMhC;AAED,wBAAgB,yCAAyC,CACvD,GAAG,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,EACxD,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,8BAA8B,GACpC,IAAI,CAMN"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function readEditorSceneCameraDebugStoredOpen(win, key) {
|
|
2
|
+
try {
|
|
3
|
+
return win?.localStorage?.getItem(key) === 'true';
|
|
4
|
+
}
|
|
5
|
+
catch {
|
|
6
|
+
return false;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export function writeEditorSceneCameraDebugStoredOpen(win, key, value) {
|
|
10
|
+
try {
|
|
11
|
+
win?.localStorage?.setItem(key, String(value));
|
|
12
|
+
}
|
|
13
|
+
catch {
|
|
14
|
+
// Storage can be unavailable in embedded previews.
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export function readEditorSceneCameraDebugStoredLanguage(win, key) {
|
|
18
|
+
try {
|
|
19
|
+
return win?.localStorage?.getItem(key) === 'en' ? 'en' : 'zh';
|
|
20
|
+
}
|
|
21
|
+
catch {
|
|
22
|
+
return 'zh';
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export function writeEditorSceneCameraDebugStoredLanguage(win, key, value) {
|
|
26
|
+
try {
|
|
27
|
+
win?.localStorage?.setItem(key, value);
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
// Storage can be unavailable in embedded previews.
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=panel-storage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panel-storage.js","sourceRoot":"","sources":["../../src/camera-debug/panel-storage.ts"],"names":[],"mappings":"AAaA,MAAM,UAAU,oCAAoC,CAClD,GAAwD,EACxD,GAAW;IAEX,IAAI,CAAC;QACH,OAAO,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,MAAM,CAAC;IACpD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED,MAAM,UAAU,qCAAqC,CACnD,GAAwD,EACxD,GAAW,EACX,KAAc;IAEd,IAAI,CAAC;QACH,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACjD,CAAC;IAAC,MAAM,CAAC;QACP,mDAAmD;IACrD,CAAC;AACH,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,GAAwD,EACxD,GAAW;IAEX,IAAI,CAAC;QACH,OAAO,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAChE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,MAAM,UAAU,yCAAyC,CACvD,GAAwD,EACxD,GAAW,EACX,KAAqC;IAErC,IAAI,CAAC;QACH,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAAC,MAAM,CAAC;QACP,mDAAmD;IACrD,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type EditorSceneCameraDebugLanguage = 'zh' | 'en';
|
|
2
|
+
export type EditorSceneCameraDebugTextKey = 'title' | 'runtime' | 'languageButton' | 'toggleTitle' | 'projection' | 'orthographic' | 'perspective' | 'alpha' | 'beta' | 'radius' | 'orthoSize' | 'fov' | 'targetOffsetX' | 'targetOffsetY' | 'targetOffsetZ' | 'nearClip' | 'farClip' | 'minBeta' | 'maxBeta' | 'betaRange' | 'minRadius' | 'maxRadius' | 'radiusRange' | 'inertia' | 'screenOffsetX' | 'screenOffsetY' | 'panHint' | 'compositionLines' | 'screenshot' | 'screenshotSaved' | 'screenshotFailed' | 'reset' | 'save' | 'worldPosition' | 'resetStatus' | 'savingStatus' | 'savedStatus' | 'saveFailed';
|
|
3
|
+
export type EditorSceneCameraDebugTooltipTextKey = Exclude<EditorSceneCameraDebugTextKey, 'title' | 'runtime' | 'orthographic' | 'perspective' | 'worldPosition' | 'screenshotSaved' | 'screenshotFailed' | 'resetStatus' | 'savingStatus' | 'savedStatus' | 'saveFailed'>;
|
|
4
|
+
export type EditorSceneCameraDebugText = Record<EditorSceneCameraDebugTextKey, string>;
|
|
5
|
+
export type EditorSceneCameraDebugTooltipText = Record<EditorSceneCameraDebugTooltipTextKey, string>;
|
|
6
|
+
export declare const EDITOR_SCENE_CAMERA_DEBUG_TEXT: Record<EditorSceneCameraDebugLanguage, EditorSceneCameraDebugText>;
|
|
7
|
+
export declare const EDITOR_SCENE_CAMERA_DEBUG_TOOLTIPS: Record<EditorSceneCameraDebugLanguage, EditorSceneCameraDebugTooltipText>;
|
|
8
|
+
export declare function getEditorSceneCameraDebugText(language: EditorSceneCameraDebugLanguage): EditorSceneCameraDebugText;
|
|
9
|
+
export declare function getEditorSceneCameraDebugTooltips(language: EditorSceneCameraDebugLanguage): EditorSceneCameraDebugTooltipText;
|
|
10
|
+
//# sourceMappingURL=panel-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panel-text.d.ts","sourceRoot":"","sources":["../../src/camera-debug/panel-text.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,8BAA8B,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzD,MAAM,MAAM,6BAA6B,GACrC,OAAO,GACP,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,YAAY,GACZ,cAAc,GACd,aAAa,GACb,OAAO,GACP,MAAM,GACN,QAAQ,GACR,WAAW,GACX,KAAK,GACL,eAAe,GACf,eAAe,GACf,eAAe,GACf,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,WAAW,GACX,WAAW,GACX,WAAW,GACX,aAAa,GACb,SAAS,GACT,eAAe,GACf,eAAe,GACf,SAAS,GACT,kBAAkB,GAClB,YAAY,GACZ,iBAAiB,GACjB,kBAAkB,GAClB,OAAO,GACP,MAAM,GACN,eAAe,GACf,aAAa,GACb,cAAc,GACd,aAAa,GACb,YAAY,CAAC;AAEjB,MAAM,MAAM,oCAAoC,GAAG,OAAO,CACxD,6BAA6B,EAC3B,OAAO,GACP,SAAS,GACT,cAAc,GACd,aAAa,GACb,eAAe,GACf,iBAAiB,GACjB,kBAAkB,GAClB,aAAa,GACb,cAAc,GACd,aAAa,GACb,YAAY,CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAAC;AACvF,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC,oCAAoC,EAAE,MAAM,CAAC,CAAC;AAErG,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,8BAA8B,EAAE,0BAA0B,CAiF7G,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,8BAA8B,EAAE,iCAAiC,CA2DxH,CAAC;AAEF,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,8BAA8B,GAAG,0BAA0B,CAElH;AAED,wBAAgB,iCAAiC,CAAC,QAAQ,EAAE,8BAA8B,GAAG,iCAAiC,CAE7H"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
export const EDITOR_SCENE_CAMERA_DEBUG_TEXT = {
|
|
2
|
+
zh: {
|
|
3
|
+
title: '摄像机调试',
|
|
4
|
+
runtime: '运行时',
|
|
5
|
+
languageButton: 'EN',
|
|
6
|
+
toggleTitle: '打开摄像机调试面板',
|
|
7
|
+
projection: '投影模式',
|
|
8
|
+
orthographic: '正交',
|
|
9
|
+
perspective: '透视',
|
|
10
|
+
alpha: '水平环绕角',
|
|
11
|
+
beta: '俯仰角',
|
|
12
|
+
radius: '跟随距离',
|
|
13
|
+
orthoSize: '正交视野高度',
|
|
14
|
+
fov: '透视视野角',
|
|
15
|
+
targetOffsetX: '中心点 X',
|
|
16
|
+
targetOffsetY: '中心点 Y',
|
|
17
|
+
targetOffsetZ: '中心点 Z',
|
|
18
|
+
nearClip: '近裁面距离',
|
|
19
|
+
farClip: '远裁面距离',
|
|
20
|
+
minBeta: '最小俯仰角',
|
|
21
|
+
maxBeta: '最大俯仰角',
|
|
22
|
+
betaRange: '俯仰角范围',
|
|
23
|
+
minRadius: '最小跟随距离',
|
|
24
|
+
maxRadius: '最大跟随距离',
|
|
25
|
+
radiusRange: '跟随距离范围',
|
|
26
|
+
inertia: '平滑惯性',
|
|
27
|
+
screenOffsetX: '画面偏移 X',
|
|
28
|
+
screenOffsetY: '画面偏移 Y',
|
|
29
|
+
panHint: 'W/S 前进 / 后退 · A/D 左 / 右 · 十字准星 = 预览目标',
|
|
30
|
+
compositionLines: '构图线',
|
|
31
|
+
screenshot: '截图',
|
|
32
|
+
screenshotSaved: '截图已保存。',
|
|
33
|
+
screenshotFailed: '截图失败',
|
|
34
|
+
reset: '重置参数',
|
|
35
|
+
save: '保存参数',
|
|
36
|
+
worldPosition: '世界坐标',
|
|
37
|
+
resetStatus: '已重置为初始运行时摄像机。',
|
|
38
|
+
savingStatus: '正在保存摄像机参数...',
|
|
39
|
+
savedStatus: '已保存摄像机参数,正在重新加载...',
|
|
40
|
+
saveFailed: '保存失败',
|
|
41
|
+
},
|
|
42
|
+
en: {
|
|
43
|
+
title: 'Camera Debug',
|
|
44
|
+
runtime: 'Runtime',
|
|
45
|
+
languageButton: '中文',
|
|
46
|
+
toggleTitle: 'Toggle camera debug panel',
|
|
47
|
+
projection: 'Projection',
|
|
48
|
+
orthographic: 'Orthographic',
|
|
49
|
+
perspective: 'Perspective',
|
|
50
|
+
alpha: 'Alpha',
|
|
51
|
+
beta: 'Beta',
|
|
52
|
+
radius: 'Radius',
|
|
53
|
+
orthoSize: 'Ortho Size',
|
|
54
|
+
fov: 'FOV',
|
|
55
|
+
targetOffsetX: 'Target X',
|
|
56
|
+
targetOffsetY: 'Target Y',
|
|
57
|
+
targetOffsetZ: 'Target Z',
|
|
58
|
+
nearClip: 'Near Clip',
|
|
59
|
+
farClip: 'Far Clip',
|
|
60
|
+
minBeta: 'Min Beta',
|
|
61
|
+
maxBeta: 'Max Beta',
|
|
62
|
+
betaRange: 'Pitch Range',
|
|
63
|
+
minRadius: 'Min Radius',
|
|
64
|
+
maxRadius: 'Max Radius',
|
|
65
|
+
radiusRange: 'Follow Distance Range',
|
|
66
|
+
inertia: 'Inertia',
|
|
67
|
+
screenOffsetX: 'Screen Offset X',
|
|
68
|
+
screenOffsetY: 'Screen Offset Y',
|
|
69
|
+
panHint: 'W/S Forward / Back · A/D Left / Right · crosshair = preview target',
|
|
70
|
+
compositionLines: 'Guides',
|
|
71
|
+
screenshot: 'Screenshot',
|
|
72
|
+
screenshotSaved: 'Screenshot saved.',
|
|
73
|
+
screenshotFailed: 'Screenshot failed',
|
|
74
|
+
reset: 'Reset',
|
|
75
|
+
save: 'Save Rig',
|
|
76
|
+
worldPosition: 'World',
|
|
77
|
+
resetStatus: 'Reset to initial runtime camera.',
|
|
78
|
+
savingStatus: 'Saving rig...',
|
|
79
|
+
savedStatus: 'Saved rig. Reloading...',
|
|
80
|
+
saveFailed: 'Save failed',
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
export const EDITOR_SCENE_CAMERA_DEBUG_TOOLTIPS = {
|
|
84
|
+
zh: {
|
|
85
|
+
languageButton: '切换摄像机调试面板的显示语言。',
|
|
86
|
+
toggleTitle: '打开或关闭运行时摄像机调试面板。',
|
|
87
|
+
projection: '切换主摄像机的正交或透视投影模式。',
|
|
88
|
+
alpha: 'ArcRotate 水平环绕角;界面用角度显示,保存为弧度。',
|
|
89
|
+
beta: 'ArcRotate 垂直俯仰角;界面用角度显示,保存为弧度。',
|
|
90
|
+
radius: '摄像机到观察目标的距离。',
|
|
91
|
+
orthoSize: '正交模式下的视野高度,数值越大看到的范围越大。',
|
|
92
|
+
fov: '透视模式下的垂直视野角;界面用角度显示,保存为弧度。',
|
|
93
|
+
targetOffsetX: '摄像机观察中心点的世界 X 坐标;保存为 camera.targetOffset.x。',
|
|
94
|
+
targetOffsetY: '摄像机观察中心点的世界 Y 坐标;保存为 camera.targetOffset.y。',
|
|
95
|
+
targetOffsetZ: '摄像机观察中心点的世界 Z 坐标;保存为 camera.targetOffset.z。',
|
|
96
|
+
nearClip: '小于该距离的内容不会被摄像机渲染。',
|
|
97
|
+
farClip: '大于该距离的内容不会被摄像机渲染。',
|
|
98
|
+
minBeta: '限制运行时可用的最小俯仰角;界面用角度显示,保存为弧度。',
|
|
99
|
+
maxBeta: '限制运行时可用的最大俯仰角;界面用角度显示,保存为弧度。',
|
|
100
|
+
betaRange: '运行时允许的俯仰角范围,左侧为最小值,右侧为最大值;界面用角度显示。',
|
|
101
|
+
minRadius: '限制摄像机可接近目标的最小距离。',
|
|
102
|
+
maxRadius: '限制摄像机可远离目标的最大距离。',
|
|
103
|
+
radiusRange: '运行时允许的跟随距离范围,左侧为最小值,右侧为最大值。',
|
|
104
|
+
inertia: '摄像机输入或跟随的平滑惯性,0 最灵敏,1 最平滑。',
|
|
105
|
+
screenOffsetX: '将观察目标在画面中水平偏移。',
|
|
106
|
+
screenOffsetY: '将观察目标在画面中垂直偏移。',
|
|
107
|
+
panHint: '面板打开时可用 W/A/S/D 移动预览目标;关闭面板会恢复目标位置。',
|
|
108
|
+
compositionLines: '显示或隐藏相机视口构图辅助线。',
|
|
109
|
+
screenshot: '截取当前相机视口内容并保存为 PNG。',
|
|
110
|
+
reset: '恢复为打开运行时时读取到的初始摄像机参数。',
|
|
111
|
+
save: '通过编辑器保存链路写回 Main Camera,并在保存成功后重新加载运行时。',
|
|
112
|
+
},
|
|
113
|
+
en: {
|
|
114
|
+
languageButton: 'Switch the camera debug panel language.',
|
|
115
|
+
toggleTitle: 'Open or close the runtime camera debug panel.',
|
|
116
|
+
projection: 'Switch the Main Camera between orthographic and perspective projection.',
|
|
117
|
+
alpha: 'ArcRotate horizontal orbit angle. The UI uses degrees; saved data uses radians.',
|
|
118
|
+
beta: 'ArcRotate vertical pitch angle. The UI uses degrees; saved data uses radians.',
|
|
119
|
+
radius: 'Distance from the camera to the look target.',
|
|
120
|
+
orthoSize: 'Orthographic view height. Larger values show a wider area.',
|
|
121
|
+
fov: 'Perspective vertical field of view. The UI uses degrees; saved data uses radians.',
|
|
122
|
+
targetOffsetX: 'World X coordinate of the camera look target. Saved as camera.targetOffset.x.',
|
|
123
|
+
targetOffsetY: 'World Y coordinate of the camera look target. Saved as camera.targetOffset.y.',
|
|
124
|
+
targetOffsetZ: 'World Z coordinate of the camera look target. Saved as camera.targetOffset.z.',
|
|
125
|
+
nearClip: 'Content closer than this distance is not rendered.',
|
|
126
|
+
farClip: 'Content farther than this distance is not rendered.',
|
|
127
|
+
minBeta: 'Minimum allowed runtime pitch angle. The UI uses degrees; saved data uses radians.',
|
|
128
|
+
maxBeta: 'Maximum allowed runtime pitch angle. The UI uses degrees; saved data uses radians.',
|
|
129
|
+
betaRange: 'Allowed runtime pitch range. Left is minimum; right is maximum. The UI uses degrees.',
|
|
130
|
+
minRadius: 'Minimum allowed camera distance from the target.',
|
|
131
|
+
maxRadius: 'Maximum allowed camera distance from the target.',
|
|
132
|
+
radiusRange: 'Allowed runtime follow distance range. Left is minimum; right is maximum.',
|
|
133
|
+
inertia: 'Camera input/follow smoothing. 0 is most responsive; 1 is smoothest.',
|
|
134
|
+
screenOffsetX: 'Moves the look target horizontally in screen space.',
|
|
135
|
+
screenOffsetY: 'Moves the look target vertically in screen space.',
|
|
136
|
+
panHint: 'When the panel is open, use W/A/S/D to move the preview target; closing the panel restores it.',
|
|
137
|
+
compositionLines: 'Show or hide camera viewport composition guides.',
|
|
138
|
+
screenshot: 'Capture the current camera viewport as a PNG.',
|
|
139
|
+
reset: 'Restore the camera parameters captured when runtime opened.',
|
|
140
|
+
save: 'Save back to the Main Camera through the editor authoring pipeline, then reload runtime.',
|
|
141
|
+
},
|
|
142
|
+
};
|
|
143
|
+
export function getEditorSceneCameraDebugText(language) {
|
|
144
|
+
return EDITOR_SCENE_CAMERA_DEBUG_TEXT[language] ?? EDITOR_SCENE_CAMERA_DEBUG_TEXT.zh;
|
|
145
|
+
}
|
|
146
|
+
export function getEditorSceneCameraDebugTooltips(language) {
|
|
147
|
+
return EDITOR_SCENE_CAMERA_DEBUG_TOOLTIPS[language] ?? EDITOR_SCENE_CAMERA_DEBUG_TOOLTIPS.zh;
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=panel-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panel-text.js","sourceRoot":"","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AAC;AAED,MAAM,UAAU,iCAAiC,CAAC,QAAwC;IACxF,OAAO,kCAAkC,CAAC,QAAQ,CAAC,IAAI,kCAAkC,CAAC,EAAE,CAAC;AAC/F,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EditorSceneCameraRig } from '../document/index';
|
|
2
|
+
import type { EditorSceneCameraDebugNumberField, EditorSceneCameraDebugSnapshot } from './types';
|
|
3
|
+
export declare function cloneEditorSceneCameraDebugSnapshot(snapshot: EditorSceneCameraDebugSnapshot): EditorSceneCameraDebugSnapshot;
|
|
4
|
+
export declare function readEditorSceneCameraDebugSnapshotField(snapshot: EditorSceneCameraDebugSnapshot, field: EditorSceneCameraDebugNumberField): number | undefined;
|
|
5
|
+
export declare function toEditorSceneCameraRig(snapshot: EditorSceneCameraDebugSnapshot): EditorSceneCameraRig;
|
|
6
|
+
export declare function sanitizeEditorSceneCameraRig(cameraRig: EditorSceneCameraRig): EditorSceneCameraRig;
|
|
7
|
+
export declare function normalizeEditorSceneCameraDebugSnapshotRanges(snapshot: EditorSceneCameraDebugSnapshot, activeField?: EditorSceneCameraDebugNumberField | null): EditorSceneCameraDebugSnapshot;
|
|
8
|
+
//# sourceMappingURL=rig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rig.d.ts","sourceRoot":"","sources":["../../src/camera-debug/rig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,mBAAmB,CAAC;AAK3B,OAAO,KAAK,EACV,iCAAiC,EACjC,8BAA8B,EAE/B,MAAM,SAAS,CAAC;AAEjB,wBAAgB,mCAAmC,CACjD,QAAQ,EAAE,8BAA8B,GACvC,8BAA8B,CAQhC;AAED,wBAAgB,uCAAuC,CACrD,QAAQ,EAAE,8BAA8B,EACxC,KAAK,EAAE,iCAAiC,GACvC,MAAM,GAAG,SAAS,CAoBpB;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,8BAA8B,GAAG,oBAAoB,CAkBrG;AAED,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,oBAAoB,GAAG,oBAAoB,CAoClG;AAED,wBAAgB,6CAA6C,CAC3D,QAAQ,EAAE,8BAA8B,EACxC,WAAW,GAAE,iCAAiC,GAAG,IAAW,GAC3D,8BAA8B,CAgBhC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { degreesToEditorSceneCameraDebugRadians, radiansToEditorSceneCameraDebugDegrees, } from './math.js';
|
|
2
|
+
export function cloneEditorSceneCameraDebugSnapshot(snapshot) {
|
|
3
|
+
return {
|
|
4
|
+
...snapshot,
|
|
5
|
+
...(snapshot.targetOffset ? { targetOffset: { ...snapshot.targetOffset } } : {}),
|
|
6
|
+
...(snapshot.targetScreenOffset ? { targetScreenOffset: { ...snapshot.targetScreenOffset } } : {}),
|
|
7
|
+
target: { ...snapshot.target },
|
|
8
|
+
...(snapshot.binding && typeof snapshot.binding === 'object' ? { binding: { ...snapshot.binding } } : {}),
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function readEditorSceneCameraDebugSnapshotField(snapshot, field) {
|
|
12
|
+
switch (field) {
|
|
13
|
+
case 'alpha': return radiansToEditorSceneCameraDebugDegrees(snapshot.alpha);
|
|
14
|
+
case 'beta': return radiansToEditorSceneCameraDebugDegrees(snapshot.beta);
|
|
15
|
+
case 'radius': return snapshot.radius;
|
|
16
|
+
case 'orthoSize': return snapshot.orthoSize;
|
|
17
|
+
case 'fovDeg': return radiansToEditorSceneCameraDebugDegrees(snapshot.fov);
|
|
18
|
+
case 'targetOffsetX': return (snapshot.targetOffset ?? snapshot.target).x;
|
|
19
|
+
case 'targetOffsetY': return (snapshot.targetOffset ?? snapshot.target).y;
|
|
20
|
+
case 'targetOffsetZ': return (snapshot.targetOffset ?? snapshot.target).z;
|
|
21
|
+
case 'minZ': return snapshot.minZ;
|
|
22
|
+
case 'maxZ': return snapshot.maxZ;
|
|
23
|
+
case 'lowerBetaLimit': return snapshot.lowerBetaLimit == null ? undefined : radiansToEditorSceneCameraDebugDegrees(snapshot.lowerBetaLimit);
|
|
24
|
+
case 'upperBetaLimit': return snapshot.upperBetaLimit == null ? undefined : radiansToEditorSceneCameraDebugDegrees(snapshot.upperBetaLimit);
|
|
25
|
+
case 'lowerRadiusLimit': return snapshot.lowerRadiusLimit;
|
|
26
|
+
case 'upperRadiusLimit': return snapshot.upperRadiusLimit;
|
|
27
|
+
case 'inertia': return snapshot.inertia;
|
|
28
|
+
case 'targetScreenOffsetX': return snapshot.targetScreenOffset?.x;
|
|
29
|
+
case 'targetScreenOffsetY': return snapshot.targetScreenOffset?.y;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export function toEditorSceneCameraRig(snapshot) {
|
|
33
|
+
return {
|
|
34
|
+
projection: snapshot.projection,
|
|
35
|
+
alpha: snapshot.alpha,
|
|
36
|
+
beta: snapshot.beta,
|
|
37
|
+
radius: snapshot.radius,
|
|
38
|
+
orthoSize: snapshot.orthoSize,
|
|
39
|
+
fov: snapshot.fov,
|
|
40
|
+
targetOffset: { ...(snapshot.targetOffset ?? snapshot.target) },
|
|
41
|
+
minZ: snapshot.minZ,
|
|
42
|
+
maxZ: snapshot.maxZ,
|
|
43
|
+
lowerBetaLimit: snapshot.lowerBetaLimit,
|
|
44
|
+
upperBetaLimit: snapshot.upperBetaLimit,
|
|
45
|
+
lowerRadiusLimit: snapshot.lowerRadiusLimit,
|
|
46
|
+
upperRadiusLimit: snapshot.upperRadiusLimit,
|
|
47
|
+
inertia: snapshot.inertia,
|
|
48
|
+
...(snapshot.targetScreenOffset ? { targetScreenOffset: { ...snapshot.targetScreenOffset } } : {}),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function sanitizeEditorSceneCameraRig(cameraRig) {
|
|
52
|
+
const sanitized = {
|
|
53
|
+
projection: readEditorSceneCameraProjection(cameraRig.projection),
|
|
54
|
+
alpha: readFiniteCameraRigNumber(cameraRig.alpha, 'alpha'),
|
|
55
|
+
beta: readFiniteCameraRigNumber(cameraRig.beta, 'beta'),
|
|
56
|
+
radius: readPositiveFiniteCameraRigNumber(cameraRig.radius, 'radius'),
|
|
57
|
+
orthoSize: readPositiveFiniteCameraRigNumber(cameraRig.orthoSize, 'orthoSize'),
|
|
58
|
+
fov: readPositiveFiniteCameraRigNumber(cameraRig.fov ?? 0.85, 'fov'),
|
|
59
|
+
};
|
|
60
|
+
const targetOffset = readCameraRigVec3(cameraRig.targetOffset, 'targetOffset');
|
|
61
|
+
if (targetOffset)
|
|
62
|
+
sanitized.targetOffset = targetOffset;
|
|
63
|
+
const minZ = readOptionalPositiveFiniteCameraRigNumber(cameraRig.minZ, 'minZ');
|
|
64
|
+
if (minZ != null)
|
|
65
|
+
sanitized.minZ = minZ;
|
|
66
|
+
const maxZ = readOptionalPositiveFiniteCameraRigNumber(cameraRig.maxZ, 'maxZ');
|
|
67
|
+
if (maxZ != null)
|
|
68
|
+
sanitized.maxZ = maxZ;
|
|
69
|
+
const lowerBetaLimit = readOptionalFiniteCameraRigNumber(cameraRig.lowerBetaLimit, 'lowerBetaLimit');
|
|
70
|
+
if (lowerBetaLimit != null)
|
|
71
|
+
sanitized.lowerBetaLimit = lowerBetaLimit;
|
|
72
|
+
const upperBetaLimit = readOptionalFiniteCameraRigNumber(cameraRig.upperBetaLimit, 'upperBetaLimit');
|
|
73
|
+
if (upperBetaLimit != null)
|
|
74
|
+
sanitized.upperBetaLimit = upperBetaLimit;
|
|
75
|
+
const lowerRadiusLimit = readOptionalPositiveFiniteCameraRigNumber(cameraRig.lowerRadiusLimit, 'lowerRadiusLimit');
|
|
76
|
+
if (lowerRadiusLimit != null)
|
|
77
|
+
sanitized.lowerRadiusLimit = lowerRadiusLimit;
|
|
78
|
+
const upperRadiusLimit = readOptionalPositiveFiniteCameraRigNumber(cameraRig.upperRadiusLimit, 'upperRadiusLimit');
|
|
79
|
+
if (upperRadiusLimit != null)
|
|
80
|
+
sanitized.upperRadiusLimit = upperRadiusLimit;
|
|
81
|
+
const inertia = readOptionalUnitCameraRigNumber(cameraRig.inertia, 'inertia');
|
|
82
|
+
if (inertia != null)
|
|
83
|
+
sanitized.inertia = inertia;
|
|
84
|
+
const targetScreenOffset = readCameraRigVec2(cameraRig.targetScreenOffset, 'targetScreenOffset');
|
|
85
|
+
if (targetScreenOffset)
|
|
86
|
+
sanitized.targetScreenOffset = targetScreenOffset;
|
|
87
|
+
assertEditorSceneCameraRigRelationships(sanitized);
|
|
88
|
+
return sanitized;
|
|
89
|
+
}
|
|
90
|
+
export function normalizeEditorSceneCameraDebugSnapshotRanges(snapshot, activeField = null) {
|
|
91
|
+
normalizeEditorSceneCameraDebugNumberRange(snapshot, {
|
|
92
|
+
valueField: 'beta',
|
|
93
|
+
lowerField: 'lowerBetaLimit',
|
|
94
|
+
upperField: 'upperBetaLimit',
|
|
95
|
+
activeField,
|
|
96
|
+
minValue: Number.NEGATIVE_INFINITY,
|
|
97
|
+
});
|
|
98
|
+
normalizeEditorSceneCameraDebugNumberRange(snapshot, {
|
|
99
|
+
valueField: 'radius',
|
|
100
|
+
lowerField: 'lowerRadiusLimit',
|
|
101
|
+
upperField: 'upperRadiusLimit',
|
|
102
|
+
activeField,
|
|
103
|
+
minValue: 0.001,
|
|
104
|
+
});
|
|
105
|
+
return snapshot;
|
|
106
|
+
}
|
|
107
|
+
function normalizeEditorSceneCameraDebugNumberRange(snapshot, options) {
|
|
108
|
+
let value = snapshot[options.valueField];
|
|
109
|
+
let lower = snapshot[options.lowerField] ?? value;
|
|
110
|
+
let upper = snapshot[options.upperField] ?? value;
|
|
111
|
+
if (upper < lower) {
|
|
112
|
+
if (options.activeField === options.upperField)
|
|
113
|
+
lower = upper;
|
|
114
|
+
else
|
|
115
|
+
upper = lower;
|
|
116
|
+
}
|
|
117
|
+
if (options.activeField === options.lowerField || options.activeField === options.upperField) {
|
|
118
|
+
value = Math.min(upper, Math.max(lower, value));
|
|
119
|
+
if (Number.isFinite(options.minValue))
|
|
120
|
+
value = Math.max(options.minValue, value);
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
if (value < lower)
|
|
124
|
+
lower = value;
|
|
125
|
+
if (value > upper)
|
|
126
|
+
upper = value;
|
|
127
|
+
}
|
|
128
|
+
snapshot[options.valueField] = value;
|
|
129
|
+
snapshot[options.lowerField] = Number.isFinite(options.minValue) ? Math.max(options.minValue, lower) : lower;
|
|
130
|
+
snapshot[options.upperField] = Number.isFinite(options.minValue) ? Math.max(options.minValue, upper) : upper;
|
|
131
|
+
}
|
|
132
|
+
function readEditorSceneCameraProjection(value) {
|
|
133
|
+
if (value == null)
|
|
134
|
+
return 'orthographic';
|
|
135
|
+
if (value === 'orthographic' || value === 'perspective')
|
|
136
|
+
return value;
|
|
137
|
+
throw new Error('Runtime camera rig projection must be orthographic or perspective.');
|
|
138
|
+
}
|
|
139
|
+
function assertEditorSceneCameraRigRelationships(cameraRig) {
|
|
140
|
+
if (typeof cameraRig.minZ === 'number' && typeof cameraRig.maxZ === 'number' && cameraRig.maxZ <= cameraRig.minZ) {
|
|
141
|
+
throw new Error('Runtime camera rig maxZ must be greater than minZ.');
|
|
142
|
+
}
|
|
143
|
+
if (typeof cameraRig.lowerBetaLimit === 'number'
|
|
144
|
+
&& typeof cameraRig.upperBetaLimit === 'number'
|
|
145
|
+
&& cameraRig.upperBetaLimit < cameraRig.lowerBetaLimit) {
|
|
146
|
+
throw new Error('Runtime camera rig upperBetaLimit must be greater than or equal to lowerBetaLimit.');
|
|
147
|
+
}
|
|
148
|
+
if (typeof cameraRig.lowerRadiusLimit === 'number'
|
|
149
|
+
&& typeof cameraRig.upperRadiusLimit === 'number'
|
|
150
|
+
&& cameraRig.upperRadiusLimit < cameraRig.lowerRadiusLimit) {
|
|
151
|
+
throw new Error('Runtime camera rig upperRadiusLimit must be greater than or equal to lowerRadiusLimit.');
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
function readFiniteCameraRigNumber(value, label) {
|
|
155
|
+
if (typeof value !== 'number' || !Number.isFinite(value)) {
|
|
156
|
+
throw new Error(`Runtime camera rig ${label} must be a finite number.`);
|
|
157
|
+
}
|
|
158
|
+
return value;
|
|
159
|
+
}
|
|
160
|
+
function readOptionalFiniteCameraRigNumber(value, label) {
|
|
161
|
+
if (value == null)
|
|
162
|
+
return undefined;
|
|
163
|
+
return readFiniteCameraRigNumber(value, label);
|
|
164
|
+
}
|
|
165
|
+
function readPositiveFiniteCameraRigNumber(value, label) {
|
|
166
|
+
const numberValue = readFiniteCameraRigNumber(value, label);
|
|
167
|
+
if (numberValue <= 0)
|
|
168
|
+
throw new Error(`Runtime camera rig ${label} must be greater than 0.`);
|
|
169
|
+
return numberValue;
|
|
170
|
+
}
|
|
171
|
+
function readOptionalPositiveFiniteCameraRigNumber(value, label) {
|
|
172
|
+
if (value == null)
|
|
173
|
+
return undefined;
|
|
174
|
+
return readPositiveFiniteCameraRigNumber(value, label);
|
|
175
|
+
}
|
|
176
|
+
function readOptionalUnitCameraRigNumber(value, label) {
|
|
177
|
+
if (value == null)
|
|
178
|
+
return undefined;
|
|
179
|
+
const numberValue = readFiniteCameraRigNumber(value, label);
|
|
180
|
+
if (numberValue < 0 || numberValue > 1)
|
|
181
|
+
throw new Error(`Runtime camera rig ${label} must be between 0 and 1.`);
|
|
182
|
+
return numberValue;
|
|
183
|
+
}
|
|
184
|
+
function readCameraRigVec3(value, label) {
|
|
185
|
+
const record = readRecord(value);
|
|
186
|
+
if (!record) {
|
|
187
|
+
if (value == null)
|
|
188
|
+
return undefined;
|
|
189
|
+
throw new Error(`Runtime camera rig ${label} must be a vector object.`);
|
|
190
|
+
}
|
|
191
|
+
return {
|
|
192
|
+
x: readFiniteCameraRigNumber(record.x, `${label}.x`),
|
|
193
|
+
y: readFiniteCameraRigNumber(record.y, `${label}.y`),
|
|
194
|
+
z: readFiniteCameraRigNumber(record.z, `${label}.z`),
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
function readCameraRigVec2(value, label) {
|
|
198
|
+
const record = readRecord(value);
|
|
199
|
+
if (!record) {
|
|
200
|
+
if (value == null)
|
|
201
|
+
return undefined;
|
|
202
|
+
throw new Error(`Runtime camera rig ${label} must be a vector object.`);
|
|
203
|
+
}
|
|
204
|
+
return {
|
|
205
|
+
x: readFiniteCameraRigNumber(record.x, `${label}.x`),
|
|
206
|
+
y: readFiniteCameraRigNumber(record.y, `${label}.y`),
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
function readRecord(value) {
|
|
210
|
+
return value && typeof value === 'object' && !Array.isArray(value)
|
|
211
|
+
? value
|
|
212
|
+
: null;
|
|
213
|
+
}
|
|
214
|
+
//# sourceMappingURL=rig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rig.js","sourceRoot":"","sources":["../../src/camera-debug/rig.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sCAAsC,EACtC,sCAAsC,GACvC,MAAM,QAAQ,CAAC;AAOhB,MAAM,UAAU,mCAAmC,CACjD,QAAwC;IAExC,OAAO;QACL,GAAG,QAAQ;QACX,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE,GAAG,QAAQ,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAChF,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,EAAE,GAAG,QAAQ,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAClG,MAAM,EAAE,EAAE,GAAG,QAAQ,CAAC,MAAM,EAAE;QAC9B,GAAG,CAAC,QAAQ,CAAC,OAAO,IAAI,OAAO,QAAQ,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC1G,CA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,CAAC,sBAAsB,KAAK,2BAA2B,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO;QACL,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;QACpD,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;QACpD,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;KACrD,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAc,EAAE,KAAa;IACtD,MAAM,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,IAAI,KAAK,IAAI,IAAI;YAAE,OAAO,SAAS,CAAC;QACpC,MAAM,IAAI,KAAK,CAAC,sBAAsB,KAAK,2BAA2B,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO;QACL,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;QACpD,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;KACrD,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChE,CAAC,CAAC,KAAgC;QAClC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { EditorSceneCameraRig, EditorSceneDocument, EditorSceneGameObject } from '../document/index';
|
|
2
|
+
import { type EditorSceneFieldMutationOptions } from '../mutation/index';
|
|
3
|
+
import { type EditorSceneRuntimeCameraBinding } from './binding';
|
|
4
|
+
export declare const EDITOR_SCENE_CAMERA_RIG_SAVE_FIELDS: readonly ["projection", "alpha", "beta", "radius", "orthoSize", "fov", "targetOffset", "minZ", "maxZ", "lowerBetaLimit", "upperBetaLimit", "lowerRadiusLimit", "upperRadiusLimit", "inertia", "targetScreenOffset"];
|
|
5
|
+
export interface EditorSceneRuntimeCameraRigPatchOptions<TDocument extends EditorSceneDocument = EditorSceneDocument, TGameObject extends EditorSceneGameObject = EditorSceneGameObject> {
|
|
6
|
+
expectedSourceId?: string;
|
|
7
|
+
fieldMutation?: EditorSceneFieldMutationOptions<TDocument, TGameObject>;
|
|
8
|
+
patchCameraField?: (document: TDocument, targetId: string, path: string, value: unknown) => TDocument;
|
|
9
|
+
}
|
|
10
|
+
export interface EditorSceneRuntimeCameraRigPatchResult<TDocument extends EditorSceneDocument = EditorSceneDocument> {
|
|
11
|
+
document: TDocument;
|
|
12
|
+
targetId: string;
|
|
13
|
+
objectGuid?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function patchEditorSceneRuntimeCameraRig<TDocument extends EditorSceneDocument = EditorSceneDocument, TGameObject extends EditorSceneGameObject = EditorSceneGameObject>(document: TDocument, binding: EditorSceneRuntimeCameraBinding, cameraRig: EditorSceneCameraRig, options?: EditorSceneRuntimeCameraRigPatchOptions<TDocument, TGameObject>): EditorSceneRuntimeCameraRigPatchResult<TDocument>;
|
|
16
|
+
export declare function findEditorSceneRuntimeCameraTarget<TGameObject extends EditorSceneGameObject = EditorSceneGameObject>(document: EditorSceneDocument<TGameObject>, binding: Pick<EditorSceneRuntimeCameraBinding, 'objectGuid' | 'objectId'>, originalGuidById?: Map<string, string>): TGameObject | null;
|
|
17
|
+
//# sourceMappingURL=save-patch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"save-patch.d.ts","sourceRoot":"","sources":["../../src/camera-debug/save-patch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,K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