@fps-games/editor 0.2.1-beta.2 → 0.2.1-beta.4
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/build-info.json +46 -46
- package/dist/editor-commands/capabilities/assets.d.ts +8 -0
- package/dist/editor-commands/capabilities/assets.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/assets.js +41 -41
- package/dist/editor-commands/capabilities/assets.js.map +1 -0
- package/dist/editor-commands/capabilities/editor-state.d.ts +5 -0
- package/dist/editor-commands/capabilities/editor-state.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/editor-state.js +22 -22
- package/dist/editor-commands/capabilities/editor-state.js.map +1 -0
- package/dist/editor-commands/capabilities/hierarchy.d.ts +4 -0
- package/dist/editor-commands/capabilities/hierarchy.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/hierarchy.js +5 -5
- package/dist/editor-commands/capabilities/hierarchy.js.map +1 -0
- package/dist/editor-commands/capabilities/host-lifecycle.d.ts +11 -0
- package/dist/editor-commands/capabilities/host-lifecycle.d.ts.map +1 -0
- package/dist/editor-commands/capabilities/host-lifecycle.js +149 -0
- package/dist/editor-commands/capabilities/host-lifecycle.js.map +1 -0
- package/dist/editor-commands/capabilities/prefabs.d.ts +5 -0
- package/dist/editor-commands/capabilities/prefabs.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/prefabs.js +93 -93
- package/dist/editor-commands/capabilities/prefabs.js.map +1 -0
- package/dist/editor-commands/capabilities/scene-objects.d.ts +8 -0
- package/dist/editor-commands/capabilities/scene-objects.d.ts.map +1 -0
- package/dist/editor-commands/capabilities/scene-objects.js +480 -0
- package/dist/editor-commands/capabilities/scene-objects.js.map +1 -0
- package/dist/editor-commands/capabilities/selection.d.ts +5 -0
- package/dist/editor-commands/capabilities/selection.d.ts.map +1 -0
- package/dist/editor-commands/capabilities/selection.js +60 -0
- package/dist/editor-commands/capabilities/selection.js.map +1 -0
- package/dist/editor-commands/capabilities/shadows.d.ts +5 -0
- package/dist/editor-commands/capabilities/shadows.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/shadows.js +74 -74
- package/dist/editor-commands/capabilities/shadows.js.map +1 -0
- package/dist/editor-commands/capabilities/transform.d.ts +5 -0
- package/dist/editor-commands/capabilities/transform.d.ts.map +1 -0
- package/dist/editor-commands/capabilities/transform.js +164 -0
- package/dist/editor-commands/capabilities/transform.js.map +1 -0
- package/dist/editor-commands/capabilities/ui-regions.d.ts +4 -0
- package/dist/editor-commands/capabilities/ui-regions.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/ui-regions.js +55 -57
- package/dist/editor-commands/capabilities/ui-regions.js.map +1 -0
- package/dist/editor-commands/capabilities/viewport.d.ts +5 -0
- package/dist/editor-commands/capabilities/viewport.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/viewport.js +100 -100
- package/dist/editor-commands/capabilities/viewport.js.map +1 -0
- package/dist/editor-commands/command-sources.d.ts +7 -0
- package/dist/editor-commands/command-sources.d.ts.map +1 -0
- package/dist/editor-commands/command-sources.js +34 -0
- package/dist/editor-commands/command-sources.js.map +1 -0
- package/dist/editor-commands/diagnostics.d.ts +12 -0
- package/dist/editor-commands/diagnostics.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/diagnostics.js +4 -4
- package/dist/editor-commands/diagnostics.js.map +1 -0
- package/dist/{agent-bridge → editor-commands}/index.d.ts +1 -1
- package/dist/editor-commands/index.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/index.js +1 -1
- package/dist/editor-commands/index.js.map +1 -0
- package/dist/editor-commands/register.d.ts +4 -0
- package/dist/editor-commands/register.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/register.js +323 -286
- package/dist/editor-commands/register.js.map +1 -0
- package/dist/{agent-bridge → editor-commands}/shared.d.ts +80 -80
- package/dist/editor-commands/shared.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/shared.js +29 -29
- package/dist/editor-commands/shared.js.map +1 -0
- package/dist/editor-commands/source-types.d.ts +110 -0
- package/dist/editor-commands/source-types.d.ts.map +1 -0
- package/dist/editor-commands/source-types.js.map +1 -0
- package/dist/editor-plugin-commands.d.ts +4 -0
- package/dist/editor-plugin-commands.d.ts.map +1 -0
- package/dist/editor-plugin-commands.js +18 -0
- package/dist/editor-plugin-commands.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/local-editor-commands.d.ts +2 -0
- package/dist/local-editor-commands.d.ts.map +1 -0
- package/dist/local-editor-commands.js +2 -0
- package/dist/local-editor-commands.js.map +1 -0
- package/dist/local-editor-harness.d.ts +35 -21
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +1737 -374
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts +2 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.js +6 -5
- package/dist/local-editor-prefab-stage-transaction.js.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.js +2 -5
- package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
- package/dist/playable-babylon-rendering.d.ts +8 -7
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +77 -32
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-entry.d.ts +10 -0
- package/dist/playable-local-editor-entry.d.ts.map +1 -1
- package/dist/playable-local-editor-entry.js +10 -2
- package/dist/playable-local-editor-entry.js.map +1 -1
- package/dist/playable-local-editor-host.d.ts +3 -32
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +6 -70
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +1 -2
- package/dist/playable-product-local-editor.d.ts.map +1 -1
- package/dist/playable-product-local-editor.js +0 -1
- package/dist/playable-product-local-editor.js.map +1 -1
- package/dist/playable-product-projection-preview.d.ts +2 -0
- package/dist/playable-product-projection-preview.d.ts.map +1 -1
- package/dist/playable-product-projection-preview.js +8 -5
- package/dist/playable-product-projection-preview.js.map +1 -1
- package/dist/playable-product-scene-capabilities.d.ts +0 -2
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
- package/dist/playable-product-scene-capabilities.js +33 -6
- package/dist/playable-product-scene-capabilities.js.map +1 -1
- package/dist/playable-runtime-babylon.d.ts +4 -0
- package/dist/playable-runtime-babylon.d.ts.map +1 -1
- package/dist/playable-runtime-babylon.js +4 -0
- package/dist/playable-runtime-babylon.js.map +1 -1
- package/dist/playable-sdk.d.ts +2 -2
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +1 -1
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +0 -3
- package/dist/playable-standard-project.d.ts.map +1 -1
- package/dist/playable-standard-project.js +14 -6
- package/dist/playable-standard-project.js.map +1 -1
- package/dist/project-service-projection.d.ts +16 -0
- package/dist/project-service-projection.d.ts.map +1 -0
- package/dist/project-service-projection.js +67 -0
- package/dist/project-service-projection.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -2
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +301 -121
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +5 -4
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +4 -4
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +12 -1
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +6 -3
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +100 -39
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +18 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +54 -18
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/reference.d.ts +1 -3
- package/node_modules/@fps-games/babylon-renderer/dist/reference.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/reference.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/package.json +11 -8
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +127 -13
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -1
- 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 +66 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +6 -6
- package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.d.ts +32 -0
- package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.js +254 -0
- package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +3 -1
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +2 -0
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.d.ts +68 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.js +650 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +22 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +8 -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 +117 -6
- 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-view.d.ts +14 -1
- 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 +100 -1
- 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-panels.d.ts +8 -1
- 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 +75 -2
- 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-types.d.ts +37 -12
- 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-types.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +25 -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 +332 -107
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/package.json +7 -7
- package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.d.ts +107 -0
- package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.js +1211 -0
- package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.d.ts +34 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.js +260 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.d.ts +9 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.js +14 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-observability.d.ts +18 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-observability.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-observability.js +113 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-observability.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-system.d.ts +82 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-system.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-system.js +1098 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-system.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -7
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +62 -103
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.d.ts +30 -0
- package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.js +540 -0
- package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session-authority.d.ts +9 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session-authority.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session-authority.js +61 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session-authority.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +55 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.js +247 -6
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.d.ts +6 -2
- package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.js +6 -2
- package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +6 -6
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +0 -1
- 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 +0 -1
- 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-database/generated-module.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.js +10 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +41 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +27 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +214 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +11 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +2 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +77 -31
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +8 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts +21 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js +90 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +27 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +161 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +5 -92
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js +26 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js +19 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js +16 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +12 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js +10 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +17 -82
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +53 -57
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js +3 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.js +256 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +7 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +4 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +1 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +187 -12
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.js +592 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +3 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +61 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +0 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +21 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.js +863 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.d.ts +1626 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/{agent-bridge.js → editor-command-capabilities.js} +766 -620
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.d.ts +69 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.js +22 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command.d.ts +136 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-service.d.ts +225 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-service.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-service.js +4 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-service.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +6 -3
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +6 -3
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +2 -2
- package/node_modules/@fps-games/editor-tooling/package.json +3 -3
- package/node_modules/@fps-games/editor-ui/package.json +1 -1
- package/node_modules/@fps-games/playable-assets/dist/identity.d.ts +1 -0
- package/node_modules/@fps-games/playable-assets/dist/identity.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-assets/dist/identity.js +1 -1
- package/node_modules/@fps-games/playable-assets/dist/identity.js.map +1 -1
- package/node_modules/@fps-games/playable-assets/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/playable-assets/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-assets/dist/index.js +1 -0
- package/node_modules/@fps-games/playable-assets/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-assets/dist/resource-resolver.d.ts +46 -0
- package/node_modules/@fps-games/playable-assets/dist/resource-resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-assets/dist/resource-resolver.js +109 -0
- package/node_modules/@fps-games/playable-assets/dist/resource-resolver.js.map +1 -0
- package/node_modules/@fps-games/playable-assets/package.json +1 -1
- package/node_modules/@fps-games/playable-contracts/package.json +1 -1
- package/node_modules/@fps-games/playable-rendering/package.json +2 -2
- package/node_modules/@fps-games/playable-runtime/dist/runtime.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/runtime.js +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime.js.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/types.d.ts +2 -0
- package/node_modules/@fps-games/playable-runtime/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/types.js.map +1 -1
- package/node_modules/@fps-games/playable-runtime/package.json +12 -12
- package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
- package/node_modules/@fps-games/playable-scene/package.json +2 -2
- package/node_modules/@fps-games/plugin-api/package.json +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/reference.d.ts.map +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/reference.js +11 -4
- package/node_modules/@fps-games/plugin-assets/dist/reference.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/renderer.d.ts +8 -0
- package/node_modules/@fps-games/plugin-assets/dist/renderer.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/renderer.js +13 -0
- package/node_modules/@fps-games/plugin-assets/dist/renderer.js.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/resources.d.ts +12 -0
- package/node_modules/@fps-games/plugin-assets/dist/resources.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/resources.js +8 -0
- package/node_modules/@fps-games/plugin-assets/dist/resources.js.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/runtime.d.ts +2 -1
- package/node_modules/@fps-games/plugin-assets/dist/runtime.d.ts.map +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/runtime.js +3 -0
- package/node_modules/@fps-games/plugin-assets/dist/runtime.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/package.json +32 -8
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +78 -4
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/package.json +5 -5
- package/node_modules/@fps-games/plugin-host/package.json +2 -2
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-markers/package.json +5 -5
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-materials/package.json +5 -5
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-scene/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
- package/package.json +24 -22
- package/dist/agent-bridge/capabilities/assets.d.ts +0 -8
- package/dist/agent-bridge/capabilities/assets.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/assets.js.map +0 -1
- package/dist/agent-bridge/capabilities/editor-state.d.ts +0 -5
- package/dist/agent-bridge/capabilities/editor-state.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/editor-state.js.map +0 -1
- package/dist/agent-bridge/capabilities/hierarchy.d.ts +0 -4
- package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/hierarchy.js.map +0 -1
- package/dist/agent-bridge/capabilities/host-lifecycle.d.ts +0 -11
- package/dist/agent-bridge/capabilities/host-lifecycle.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/host-lifecycle.js +0 -149
- package/dist/agent-bridge/capabilities/host-lifecycle.js.map +0 -1
- package/dist/agent-bridge/capabilities/prefabs.d.ts +0 -5
- package/dist/agent-bridge/capabilities/prefabs.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/prefabs.js.map +0 -1
- package/dist/agent-bridge/capabilities/scene-objects.d.ts +0 -8
- package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/scene-objects.js +0 -480
- package/dist/agent-bridge/capabilities/scene-objects.js.map +0 -1
- package/dist/agent-bridge/capabilities/selection.d.ts +0 -5
- package/dist/agent-bridge/capabilities/selection.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/selection.js +0 -60
- package/dist/agent-bridge/capabilities/selection.js.map +0 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts +0 -5
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/shadows.js.map +0 -1
- package/dist/agent-bridge/capabilities/transform.d.ts +0 -5
- package/dist/agent-bridge/capabilities/transform.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/transform.js +0 -164
- package/dist/agent-bridge/capabilities/transform.js.map +0 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts +0 -4
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/ui-regions.js.map +0 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts +0 -5
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/viewport.js.map +0 -1
- package/dist/agent-bridge/capability-sources.d.ts +0 -7
- package/dist/agent-bridge/capability-sources.d.ts.map +0 -1
- package/dist/agent-bridge/capability-sources.js +0 -34
- package/dist/agent-bridge/capability-sources.js.map +0 -1
- package/dist/agent-bridge/diagnostics.d.ts +0 -12
- package/dist/agent-bridge/diagnostics.d.ts.map +0 -1
- package/dist/agent-bridge/diagnostics.js.map +0 -1
- package/dist/agent-bridge/index.d.ts.map +0 -1
- package/dist/agent-bridge/index.js.map +0 -1
- package/dist/agent-bridge/register.d.ts +0 -4
- package/dist/agent-bridge/register.d.ts.map +0 -1
- package/dist/agent-bridge/register.js.map +0 -1
- package/dist/agent-bridge/shared.d.ts.map +0 -1
- package/dist/agent-bridge/shared.js.map +0 -1
- package/dist/agent-bridge/source-types.d.ts +0 -110
- package/dist/agent-bridge/source-types.d.ts.map +0 -1
- package/dist/agent-bridge/source-types.js.map +0 -1
- package/dist/editor-plugin-agent-capabilities.d.ts +0 -4
- package/dist/editor-plugin-agent-capabilities.d.ts.map +0 -1
- package/dist/editor-plugin-agent-capabilities.js +0 -64
- package/dist/editor-plugin-agent-capabilities.js.map +0 -1
- package/dist/local-editor-agent-actions.d.ts +0 -43
- package/dist/local-editor-agent-actions.d.ts.map +0 -1
- package/dist/local-editor-agent-actions.js +0 -321
- package/dist/local-editor-agent-actions.js.map +0 -1
- package/dist/local-editor-agent-bridge-transport.d.ts +0 -129
- package/dist/local-editor-agent-bridge-transport.d.ts.map +0 -1
- package/dist/local-editor-agent-bridge-transport.js +0 -403
- package/dist/local-editor-agent-bridge-transport.js.map +0 -1
- package/dist/local-editor-agent-bridge.d.ts +0 -2
- package/dist/local-editor-agent-bridge.d.ts.map +0 -1
- package/dist/local-editor-agent-bridge.js +0 -2
- package/dist/local-editor-agent-bridge.js.map +0 -1
- package/dist/local-editor-agent-context.d.ts +0 -68
- package/dist/local-editor-agent-context.d.ts.map +0 -1
- package/dist/local-editor-agent-context.js +0 -716
- package/dist/local-editor-agent-context.js.map +0 -1
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts +0 -22
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.js +0 -106
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.js.map +0 -1
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +0 -17
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +0 -14
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +0 -1
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +0 -23
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +0 -47
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts +0 -112
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js +0 -159
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts +0 -15
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js +0 -76
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +0 -1622
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts +0 -68
- package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js +0 -23
- package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +0 -187
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.js +0 -5
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +0 -1
- /package/dist/{agent-bridge → editor-commands}/source-types.js +0 -0
|
@@ -13,7 +13,8 @@ export declare class LocalEditorPrefabStageTransactionController<TDocument, TPat
|
|
|
13
13
|
static open<TDocument, TPatch>(parentSession: EditorSession<TDocument, TPatch>, options?: EditorSessionForkOptions): LocalEditorPrefabStageTransactionController<TDocument, TPatch>;
|
|
14
14
|
snapshot(): LocalEditorPrefabStageTransactionSnapshot;
|
|
15
15
|
assertParentUnchanged(): void;
|
|
16
|
-
|
|
16
|
+
stageParentSavedDocument(parentDraftSession: EditorSession<TDocument, TPatch>, document: TDocument, source: AuthoringSourceDescriptor | undefined, label: string): void;
|
|
17
|
+
acceptParentRevision(): void;
|
|
17
18
|
discard(): void;
|
|
18
19
|
}
|
|
19
20
|
//# sourceMappingURL=local-editor-prefab-stage-transaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-prefab-stage-transaction.d.ts","sourceRoot":"","sources":["../src/local-editor-prefab-stage-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,wBAAwB,EAC9B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;CACxC;AAED,qBAAa,2CAA2C,CAAC,SAAS,EAAE,MAAM;IAItE,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;IACxD,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;IAJzD,OAAO,CAAC,cAAc,CAAS;IAE/B,OAAO;IAOP,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,EAC3B,aAAa,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,EAC/C,OAAO,GAAE,wBAA6B,GACrC,2CAA2C,CAAC,SAAS,EAAE,MAAM,CAAC;IAOjE,QAAQ,IAAI,yCAAyC;IAWrD,qBAAqB,IAAI,IAAI;IAS7B,
|
|
1
|
+
{"version":3,"file":"local-editor-prefab-stage-transaction.d.ts","sourceRoot":"","sources":["../src/local-editor-prefab-stage-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,wBAAwB,EAC9B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;CACxC;AAED,qBAAa,2CAA2C,CAAC,SAAS,EAAE,MAAM;IAItE,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;IACxD,QAAQ,CAAC,YAAY,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;IAJzD,OAAO,CAAC,cAAc,CAAS;IAE/B,OAAO;IAOP,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,EAC3B,aAAa,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,EAC/C,OAAO,GAAE,wBAA6B,GACrC,2CAA2C,CAAC,SAAS,EAAE,MAAM,CAAC;IAOjE,QAAQ,IAAI,yCAAyC;IAWrD,qBAAqB,IAAI,IAAI;IAS7B,wBAAwB,CACtB,kBAAkB,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC,EACpD,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,yBAAyB,GAAG,SAAS,EAC7C,KAAK,EAAE,MAAM,GACZ,IAAI;IAWP,oBAAoB,IAAI,IAAI;IAI5B,OAAO,IAAI,IAAI;CAKhB"}
|
|
@@ -6,7 +6,7 @@ export class LocalEditorPrefabStageTransactionController {
|
|
|
6
6
|
this.parentRevision = parentSession.getState({ cloneDocuments: false }).documentRevision;
|
|
7
7
|
}
|
|
8
8
|
static open(parentSession, options = {}) {
|
|
9
|
-
return new LocalEditorPrefabStageTransactionController(parentSession, parentSession.fork(options));
|
|
9
|
+
return new LocalEditorPrefabStageTransactionController(parentSession, parentSession.fork({ ...options, preserveDocumentRevision: true }));
|
|
10
10
|
}
|
|
11
11
|
snapshot() {
|
|
12
12
|
const parentState = this.parentSession.getState({ cloneDocuments: false });
|
|
@@ -24,16 +24,17 @@ export class LocalEditorPrefabStageTransactionController {
|
|
|
24
24
|
throw new Error(`Prefab Stage parent Session changed from revision ${this.parentRevision} to ${revision}.`);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
stageParentSavedDocument(parentDraftSession, document, source, label) {
|
|
28
28
|
this.assertParentUnchanged();
|
|
29
|
-
|
|
29
|
+
parentDraftSession.dispatch({
|
|
30
30
|
type: 'document.replace',
|
|
31
31
|
document,
|
|
32
32
|
label,
|
|
33
33
|
projectionImpact: { type: 'rebuild', reason: 'prefab-stage-save' },
|
|
34
34
|
});
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
parentDraftSession.markSaved(document, source);
|
|
36
|
+
}
|
|
37
|
+
acceptParentRevision() {
|
|
37
38
|
this.parentRevision = this.parentSession.getState({ cloneDocuments: false }).documentRevision;
|
|
38
39
|
}
|
|
39
40
|
discard() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-prefab-stage-transaction.js","sourceRoot":"","sources":["../src/local-editor-prefab-stage-transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAIN,MAAM,wBAAwB,CAAC;AAShC,MAAM,OAAO,2CAA2C;IAGtD,YACW,aAA+C,EAC/C,YAA8C;QAD9C,kBAAa,GAAb,aAAa,CAAkC;QAC/C,iBAAY,GAAZ,YAAY,CAAkC;QAEvD,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC,gBAAgB,CAAC;IAC3F,CAAC;IAED,MAAM,CAAC,IAAI,CACT,aAA+C,EAC/C,UAAoC,EAAE;QAEtC,OAAO,IAAI,2CAA2C,CACpD,aAAa,EACb,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"local-editor-prefab-stage-transaction.js","sourceRoot":"","sources":["../src/local-editor-prefab-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AAO,QAAQ,GAAG,CAC3F,CAAC;QACJ,CAAC;IACH,CAAC;IAED,wBAAwB,CACtB,kBAAoD,EACpD,QAAmB,EACnB,MAA6C,EAC7C,KAAa;QAEb,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,kBAAkB,CAAC,QAAQ,CAAC;YAC1B,IAAI,EAAE,kBAAkB;YACxB,QAAQ;YACR,KAAK;YACL,gBAAgB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,mBAAmB,EAAE;SACnE,CAAC,CAAC;QACH,kBAAkB,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IAED,oBAAoB;QAClB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC,gBAAgB,CAAC;IAChG,CAAC;IAED,OAAO;QACL,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;QACzE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC3E,CAAC;CACF","sourcesContent":["import {\n type AuthoringSourceDescriptor,\n type EditorSession,\n type EditorSessionForkOptions,\n} from '@fps-games/editor-core';\n\nexport interface LocalEditorPrefabStageTransactionSnapshot {\n readonly stageDirty: boolean;\n readonly documentDirty: boolean;\n readonly parentDocumentRevision: number;\n readonly draftDocumentRevision: number;\n}\n\nexport class LocalEditorPrefabStageTransactionController<TDocument, TPatch> {\n private parentRevision: number;\n\n private constructor(\n readonly parentSession: EditorSession<TDocument, TPatch>,\n readonly draftSession: EditorSession<TDocument, TPatch>,\n ) {\n this.parentRevision = parentSession.getState({ cloneDocuments: false }).documentRevision;\n }\n\n static open<TDocument, TPatch>(\n parentSession: EditorSession<TDocument, TPatch>,\n options: EditorSessionForkOptions = {},\n ): LocalEditorPrefabStageTransactionController<TDocument, TPatch> {\n return new LocalEditorPrefabStageTransactionController(\n parentSession,\n parentSession.fork({ ...options, preserveDocumentRevision: true }),\n );\n }\n\n snapshot(): LocalEditorPrefabStageTransactionSnapshot {\n const parentState = this.parentSession.getState({ cloneDocuments: false });\n const draftState = this.draftSession.getState({ cloneDocuments: false });\n return Object.freeze({\n stageDirty: draftState.dirty,\n documentDirty: parentState.dirty || draftState.dirty,\n parentDocumentRevision: parentState.documentRevision,\n draftDocumentRevision: draftState.documentRevision,\n });\n }\n\n assertParentUnchanged(): void {\n const revision = this.parentSession.getState({ cloneDocuments: false }).documentRevision;\n if (revision !== this.parentRevision) {\n throw new Error(\n `Prefab Stage parent Session changed from revision ${this.parentRevision} to ${revision}.`,\n );\n }\n }\n\n stageParentSavedDocument(\n parentDraftSession: EditorSession<TDocument, TPatch>,\n document: TDocument,\n source: AuthoringSourceDescriptor | undefined,\n label: string,\n ): void {\n this.assertParentUnchanged();\n parentDraftSession.dispatch({\n type: 'document.replace',\n document,\n label,\n projectionImpact: { type: 'rebuild', reason: 'prefab-stage-save' },\n });\n parentDraftSession.markSaved(document, source);\n }\n\n acceptParentRevision(): void {\n this.parentRevision = this.parentSession.getState({ cloneDocuments: false }).documentRevision;\n }\n\n discard(): void {\n this.assertParentUnchanged();\n const checkpoint = this.draftSession.getState({ cloneDocuments: false });\n this.draftSession.reset(checkpoint.persistedDocument, checkpoint.source);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-scene-view-interaction-runtime.d.ts","sourceRoot":"","sources":["../src/local-editor-scene-view-interaction-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AAE1G,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;CAC1D;AAED,MAAM,WAAW,sCAAsC;IACrD,kBAAkB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACzD,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvD,mBAAmB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC1D,cAAc,IAAI,IAAI,CAAC;IACvB,YAAY,IAAI,IAAI,CAAC;IACrB,kBAAkB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IAClD,mBAAmB,IAAI,IAAI,CAAC;IAC5B,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;IACzD,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,6CAA6C;IAC5D,WAAW,EAAE,IAAI,CACf,oCAAoC,EACpC,iBAAiB,GAAG,eAAe,GAAG,cAAc,CACrD,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,iCAAiC,GAAG,IAAI,CAAC;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAOD,wBAAgB,4CAA4C,CAC1D,OAAO,EAAE,6CAA6C,GACrD,sCAAsC,
|
|
1
|
+
{"version":3,"file":"local-editor-scene-view-interaction-runtime.d.ts","sourceRoot":"","sources":["../src/local-editor-scene-view-interaction-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AAE1G,MAAM,WAAW,iCAAiC;IAChD,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;CAC1D;AAED,MAAM,WAAW,sCAAsC;IACrD,kBAAkB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACzD,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvD,mBAAmB,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC1D,cAAc,IAAI,IAAI,CAAC;IACvB,YAAY,IAAI,IAAI,CAAC;IACrB,kBAAkB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IAClD,mBAAmB,IAAI,IAAI,CAAC;IAC5B,WAAW,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC;IACzD,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,6CAA6C;IAC5D,WAAW,EAAE,IAAI,CACf,oCAAoC,EACpC,iBAAiB,GAAG,eAAe,GAAG,cAAc,CACrD,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,iCAAiC,GAAG,IAAI,CAAC;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAOD,wBAAgB,4CAA4C,CAC1D,OAAO,EAAE,6CAA6C,GACrD,sCAAsC,CA0ExC"}
|
|
@@ -23,8 +23,6 @@ export function createLocalEditorSceneViewInteractionRuntime(options) {
|
|
|
23
23
|
const reason = continuousRenderReasonForPointerIntent(intent);
|
|
24
24
|
if (reason)
|
|
25
25
|
endReason(reason);
|
|
26
|
-
if (intent === 'gizmo-drag')
|
|
27
|
-
endReason(GIZMO_DRAG_RENDER_REASON);
|
|
28
26
|
if (intent === 'flythrough')
|
|
29
27
|
endReason(FLYTHROUGH_KEY_RENDER_REASON);
|
|
30
28
|
};
|
|
@@ -47,10 +45,10 @@ export function createLocalEditorSceneViewInteractionRuntime(options) {
|
|
|
47
45
|
endPointerIntentReasons(intent);
|
|
48
46
|
},
|
|
49
47
|
beginGizmoDrag() {
|
|
50
|
-
|
|
48
|
+
options.coordinator.requestFrame(`${GIZMO_DRAG_RENDER_REASON}-start`);
|
|
51
49
|
},
|
|
52
50
|
endGizmoDrag() {
|
|
53
|
-
|
|
51
|
+
options.coordinator.requestFrame(`${GIZMO_DRAG_RENDER_REASON}-end`);
|
|
54
52
|
},
|
|
55
53
|
updateMovementKeys(keys) {
|
|
56
54
|
if (keys.length > 0)
|
|
@@ -88,7 +86,6 @@ export function createLocalEditorSceneViewInteractionRuntime(options) {
|
|
|
88
86
|
}
|
|
89
87
|
function continuousRenderReasonForPointerIntent(intent) {
|
|
90
88
|
switch (intent) {
|
|
91
|
-
case 'gizmo-drag':
|
|
92
89
|
case 'view-plane-move':
|
|
93
90
|
case 'placement':
|
|
94
91
|
case 'measurement':
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-editor-scene-view-interaction-runtime.js","sourceRoot":"","sources":["../src/local-editor-scene-view-interaction-runtime.ts"],"names":[],"mappings":"AA6BA,MAAM,4BAA4B,GAAG,wBAAwB,CAAC;AAC9D,MAAM,wBAAwB,GAAG,YAAY,CAAC;AAC9C,MAAM,mBAAmB,GAAG,cAAc,CAAC;AAC3C,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAExC,MAAM,UAAU,4CAA4C,CAC1D,OAAsD;IAEtD,MAAM,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;IACxC,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,2BAA2B,CAAC;IACjF,IAAI,cAAc,GAAyC,IAAI,CAAC;IAChE,IAAI,QAAQ,GAAG,KAAK,CAAC;IAErB,MAAM,WAAW,GAAG,CAAC,MAAc,EAAQ,EAAE;QAC3C,IAAI,QAAQ,IAAI,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC;YAAE,OAAO;QAClD,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC1B,OAAO,CAAC,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC,CAAC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M,EAAE,CAAC;QAC7B;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC","sourcesContent":["import type { SceneViewPointerIntent } from '@fps-games/editor-core';\nimport type { LocalEditorSceneRenderFrame } from './local-editor-scene-render-scheduler.js';\nimport type { LocalEditorViewportRenderCoordinator } from './local-editor-viewport-render-coordinator.js';\n\nexport interface LocalEditorSceneViewFrameConsumer {\n updateFrame(frame: LocalEditorSceneRenderFrame): boolean;\n}\n\nexport interface LocalEditorSceneViewInteractionRuntime {\n beginPointerIntent(intent: SceneViewPointerIntent): void;\n endPointerIntent(intent: SceneViewPointerIntent): void;\n cancelPointerIntent(intent: SceneViewPointerIntent): void;\n beginGizmoDrag(): void;\n endGizmoDrag(): void;\n updateMovementKeys(keys: readonly string[]): void;\n notifyWheelActivity(): void;\n updateFrame(frame: LocalEditorSceneRenderFrame): boolean;\n dispose(): void;\n}\n\nexport interface LocalEditorSceneViewInteractionRuntimeOptions {\n coordinator: Pick<\n LocalEditorViewportRenderCoordinator,\n 'beginContinuous' | 'endContinuous' | 'requestFrame'\n >;\n getCamera?: () => LocalEditorSceneViewFrameConsumer | null;\n wheelIdleDelayMs?: number;\n}\n\nconst FLYTHROUGH_KEY_RENDER_REASON = 'camera-flythrough-keys';\nconst GIZMO_DRAG_RENDER_REASON = 'gizmo-drag';\nconst WHEEL_RENDER_REASON = 'camera-wheel';\nconst DEFAULT_WHEEL_IDLE_DELAY_MS = 120;\n\nexport function createLocalEditorSceneViewInteractionRuntime(\n options: LocalEditorSceneViewInteractionRuntimeOptions,\n): LocalEditorSceneViewInteractionRuntime {\n const activeReasons = new Set<string>();\n const wheelIdleDelayMs = options.wheelIdleDelayMs ?? DEFAULT_WHEEL_IDLE_DELAY_MS;\n let wheelIdleTimer: ReturnType<typeof setTimeout> | null = null;\n let disposed = false;\n\n const beginReason = (reason: string): void => {\n if (disposed || activeReasons.has(reason)) return;\n activeReasons.add(reason);\n options.coordinator.beginContinuous(reason);\n };\n\n const endReason = (reason: string): void => {\n if (disposed || !activeReasons.has(reason)) return;\n activeReasons.delete(reason);\n options.coordinator.endContinuous(reason);\n };\n\n const endPointerIntentReasons = (intent: SceneViewPointerIntent): void => {\n const reason = continuousRenderReasonForPointerIntent(intent);\n if (reason) endReason(reason);\n if (intent === 'flythrough') endReason(FLYTHROUGH_KEY_RENDER_REASON);\n };\n\n const clearWheelIdleTimer = (): void => {\n if (wheelIdleTimer == null) return;\n clearTimeout(wheelIdleTimer);\n wheelIdleTimer = null;\n };\n\n return {\n beginPointerIntent(intent) {\n const reason = continuousRenderReasonForPointerIntent(intent);\n if (reason) beginReason(reason);\n },\n endPointerIntent(intent) {\n endPointerIntentReasons(intent);\n },\n cancelPointerIntent(intent) {\n endPointerIntentReasons(intent);\n },\n beginGizmoDrag() {\n options.coordinator.requestFrame(`${GIZMO_DRAG_RENDER_REASON}-start`);\n },\n endGizmoDrag() {\n options.coordinator.requestFrame(`${GIZMO_DRAG_RENDER_REASON}-end`);\n },\n updateMovementKeys(keys) {\n if (keys.length > 0) beginReason(FLYTHROUGH_KEY_RENDER_REASON);\n else endReason(FLYTHROUGH_KEY_RENDER_REASON);\n },\n notifyWheelActivity() {\n if (disposed) return;\n beginReason(WHEEL_RENDER_REASON);\n clearWheelIdleTimer();\n wheelIdleTimer = setTimeout(() => {\n wheelIdleTimer = null;\n if (disposed) return;\n endReason(WHEEL_RENDER_REASON);\n options.coordinator.requestFrame(`${WHEEL_RENDER_REASON}-settled`);\n }, Math.max(0, wheelIdleDelayMs));\n },\n updateFrame(frame) {\n return options.getCamera?.()?.updateFrame(frame) ?? false;\n },\n dispose() {\n if (disposed) return;\n clearWheelIdleTimer();\n const reasons = [...activeReasons];\n activeReasons.clear();\n for (const reason of reasons) options.coordinator.endContinuous(reason);\n disposed = true;\n },\n };\n}\n\nfunction continuousRenderReasonForPointerIntent(intent: SceneViewPointerIntent): string | null {\n switch (intent) {\n case 'view-plane-move':\n case 'placement':\n case 'measurement':\n case 'orbit':\n case 'pan':\n case 'dolly':\n case 'flythrough':\n return `pointer-${intent}`;\n default:\n return null;\n }\n}\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type EditorSceneBlobShadowPreviewSettingsInput, type EditorScenePlanarShadowPreviewSettingsInput, type EditorSceneRenderingPanelLanguage, type EditorSceneRenderingGroupId, type EditorSceneRenderingPanelState, type EditorSceneRenderingPanelStateInput, type EditorSceneRenderingProfile, type EditorSceneRenderingProfileActionInput, type EditorSceneRenderingStatusTone, type EditorSceneRenderingTextureAsset, type EditorSceneStaticShadowArtifactDiagnostic, type EditorSceneStaticProjectedShadowPreviewSettingsInput } from '@fps-games/editor-playable-sdk';
|
|
2
|
+
import { type PlayableAssetResourceResolutionDiagnostic, type PlayableResolvedAssetResource } from '@fps-games/playable-assets';
|
|
2
3
|
import { type ShadowMapExperimentPlan } from '@fps-games/playable-rendering/runtime';
|
|
3
4
|
import { type BabylonDefaultPostProcessPipelineController, type BabylonDefaultPostProcessProfile, type BabylonDefaultPostProcessResolveResult, type BabylonDefaultPostProcessResolveInput, type BabylonEnvironmentTextureController, type BabylonEnvironmentTextureProfile, type BlobShadowOptions, type BlobShadowSystem, type PlanarShadowOptions, type PlanarShadowSystem, type StaticProjectedShadowOptions, type StaticProjectedShadowArtifact, type StaticProjectedShadowArtifactHashInput, type StaticProjectedShadowArtifactSystem, type StaticProjectedShadowBakerAtlasEncoder, type StaticProjectedShadowBakerMaskPixelReader, type StaticProjectedShadowBakerSdfTileProcessor } from '@fps-games/babylon-renderer';
|
|
4
5
|
import type { BabylonEditorShadowPreviewOptions } from '@fps-games/editor-babylon';
|
|
@@ -119,12 +120,12 @@ export interface PlayableBabylonWorldRendering {
|
|
|
119
120
|
shadowPreview: BabylonEditorShadowPreviewOptions | null;
|
|
120
121
|
postProcess: BabylonDefaultPostProcessProfile;
|
|
121
122
|
}
|
|
122
|
-
export type PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus = 'none' | 'resolved-asset' | 'resolved-
|
|
123
|
+
export type PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus = 'none' | 'resolved-asset' | 'resolved-external' | 'missing-asset' | 'unsupported-asset' | 'format-missing' | 'format-unsupported';
|
|
123
124
|
export interface PlayableBabylonRenderingEnvironmentTextureDiagnostic {
|
|
124
125
|
status: PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus;
|
|
125
126
|
textureAssetId: string | null;
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
resource: PlayableResolvedAssetResource | null;
|
|
128
|
+
resolutionDiagnostic: PlayableAssetResourceResolutionDiagnostic | null;
|
|
128
129
|
asset: EditorSceneRenderingTextureAsset | null;
|
|
129
130
|
reason: string | null;
|
|
130
131
|
}
|
|
@@ -141,7 +142,7 @@ export interface PlayableBabylonRuntimeRenderingControllers {
|
|
|
141
142
|
environment: BabylonEnvironmentTextureController;
|
|
142
143
|
postProcess: BabylonDefaultPostProcessPipelineController;
|
|
143
144
|
getWorldRendering(): PlayableBabylonWorldRendering | null;
|
|
144
|
-
setWorldRendering(rendering: PlayableBabylonWorldRendering | null | undefined): void
|
|
145
|
+
setWorldRendering(rendering: PlayableBabylonWorldRendering | null | undefined): Promise<void>;
|
|
145
146
|
dispose(): void;
|
|
146
147
|
}
|
|
147
148
|
export interface PlayableBabylonRuntimeRenderingControllerOptions {
|
|
@@ -180,7 +181,7 @@ export declare function createPlayableBabylonRenderingCapabilityFacade<TDocument
|
|
|
180
181
|
export declare function createPlayableBabylonRenderingAlphaIndexMigrationPatch<TDocument, TPatch>(input: PlayableBabylonRenderingSetConfigInput<TDocument>, previousProfile: EditorSceneRenderingProfile, options: Pick<PlayableBabylonRenderingCapabilityFacadeOptions<TDocument, TPatch>, 'createAlphaIndexMigrationPatch' | 'getAlphaIndexMigrationGameObjects'>): PlayableLocalEditorPatchResult<TPatch> | null;
|
|
181
182
|
export declare function createPlayableBabylonWorldRendering<TDocument>(document: TDocument, options: PlayableBabylonRenderingCapabilityOptions<TDocument>, sceneContext?: PlayableBabylonRenderingSceneContext): PlayableBabylonWorldRendering;
|
|
182
183
|
export declare function createPlayableBabylonRenderingDiagnostics<TDocument>(document: TDocument, options: PlayableBabylonRenderingCapabilityOptions<TDocument>, sceneContext?: PlayableBabylonRenderingSceneContext): PlayableBabylonRenderingDiagnostics;
|
|
183
|
-
export declare function createPlayableBabylonRuntimeRenderingControllers(options: PlayableBabylonRuntimeRenderingControllerOptions): PlayableBabylonRuntimeRenderingControllers
|
|
184
|
+
export declare function createPlayableBabylonRuntimeRenderingControllers(options: PlayableBabylonRuntimeRenderingControllerOptions): Promise<PlayableBabylonRuntimeRenderingControllers>;
|
|
184
185
|
export declare function createPlayableBabylonPlanarShadowPolicy(baseInput?: PlayableBabylonPlanarShadowPolicyInput): PlayableBabylonPlanarShadowPolicy;
|
|
185
186
|
export declare function resolvePlayableBabylonPlanarShadowPolicy(profile: EditorSceneRenderingProfile, input?: PlayableBabylonPlanarShadowPolicyInput): PlayableBabylonResolvedPlanarShadowPolicy;
|
|
186
187
|
export declare function createPlayableBabylonPlanarShadowPolicyInput(profile: EditorSceneRenderingProfile, input?: PlayableBabylonPlanarShadowPolicyInput): EditorScenePlanarShadowPreviewSettingsInput;
|
|
@@ -196,9 +197,9 @@ export declare function createPlayableBabylonStaticProjectedShadowArtifactSystem
|
|
|
196
197
|
export declare function createPlayableBabylonBlobShadowSystem(scene: unknown, profile: EditorSceneRenderingProfile, input?: PlayableBabylonBlobShadowPolicyInput): BlobShadowSystem;
|
|
197
198
|
export declare function createPlayableBabylonRenderingPanelState<TDocument>(document: TDocument, options: PlayableBabylonRenderingCapabilityOptions<TDocument>, sceneContext?: PlayableBabylonRenderingSceneContext): EditorSceneRenderingPanelState;
|
|
198
199
|
export declare function createPlayableBabylonEnvironmentTextureProfile(profile: EditorSceneRenderingProfile, textureAssets?: readonly EditorSceneRenderingTextureAsset[]): BabylonEnvironmentTextureProfile;
|
|
199
|
-
export declare function
|
|
200
|
+
export declare function resolvePlayableBabylonRenderingEnvironmentTextureResource(textureRef: EditorSceneRenderingProfile['environment']['texture'], textureAssets?: readonly EditorSceneRenderingTextureAsset[]): PlayableResolvedAssetResource | null;
|
|
200
201
|
export declare function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(textureRef: EditorSceneRenderingProfile['environment']['texture'], textureAssets?: readonly EditorSceneRenderingTextureAsset[]): PlayableBabylonRenderingEnvironmentTextureDiagnostic;
|
|
201
202
|
export declare function isPlayableBabylonRenderingEnvironmentTextureAsset(texture: EditorSceneRenderingTextureAsset): boolean;
|
|
202
|
-
export declare function
|
|
203
|
+
export declare function isPlayableBabylonRenderingEnvironmentTextureResource(resource: PlayableResolvedAssetResource): boolean;
|
|
203
204
|
export {};
|
|
204
205
|
//# sourceMappingURL=playable-babylon-rendering.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playable-babylon-rendering.d.ts","sourceRoot":"","sources":["../src/playable-babylon-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,EAYL,KAAK,yCAAyC,EAC9C,KAAK,2CAA2C,EAEhD,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,yCAAyC,EAG9C,KAAK,oDAAoD,EAC1D,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAUL,KAAK,2CAA2C,EAChD,KAAK,gCAAgC,EACrC,KAAK,sCAAsC,EAC3C,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACxC,KAAK,gCAAgC,EACrC,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,sCAAs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BAA6B,GACtC,OAAO,CAET"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { applyEditorSceneRenderingProfileAction, applyEditorSceneRenderingProfilePatch, collectEditorSceneRenderingAlphaIndexMigrationTargetIds, createEditorSceneBlobShadowPreviewSettings, createEditorScenePlanarShadowPreviewSettings, createEditorSceneRenderingPanelState, createEditorSceneStaticShadowArtifactDraftStore, createEditorSceneStaticShadowArtifactDiagnostic, createEditorSceneStaticProjectedShadowPreviewSettings, normalizeEditorSceneRenderingProfile, resolveEditorSceneRenderingAlphaIndexPresetValueMigration, } from '@fps-games/editor-playable-sdk';
|
|
2
|
+
import { createPlayableAssetResourceResolver, } from '@fps-games/playable-assets';
|
|
2
3
|
import { createShadowMapExperimentConfigSnapshot, createShadowMapExperimentPlanSnapshot, } from '@fps-games/playable-rendering/runtime';
|
|
3
4
|
import { createBabylonDefaultPostProcessPipelineController, createBabylonEnvironmentTextureController, createBlobShadowSystem, createPlanarShadowSystem, createStaticProjectedShadowBaker, createStaticProjectedShadowArtifactSystem, createStaticProjectedShadowBakeHashes, createStaticProjectedShadowProfileHash, resolveBabylonDefaultPostProcessVolumeStack, } from '@fps-games/babylon-renderer';
|
|
4
5
|
import { createStaticProjectedShadowCpuWorkerProcessor } from './static-shadow-cpu-worker.js';
|
|
@@ -115,13 +116,13 @@ export function createPlayableBabylonRenderingDiagnostics(document, options, sce
|
|
|
115
116
|
shadowPreview,
|
|
116
117
|
};
|
|
117
118
|
}
|
|
118
|
-
export function createPlayableBabylonRuntimeRenderingControllers(options) {
|
|
119
|
+
export async function createPlayableBabylonRuntimeRenderingControllers(options) {
|
|
119
120
|
let currentRendering = options.initialRendering ?? null;
|
|
120
121
|
const postProcess = createBabylonDefaultPostProcessPipelineController(options.scene, options.cameras, currentRendering?.postProcess ?? null, options.postProcess);
|
|
121
122
|
let environment = null;
|
|
122
123
|
try {
|
|
123
|
-
environment = createBabylonEnvironmentTextureController(options.scene
|
|
124
|
-
environment.
|
|
124
|
+
environment = createBabylonEnvironmentTextureController(options.scene);
|
|
125
|
+
await environment.applyProfile(currentRendering?.environment ?? null);
|
|
125
126
|
}
|
|
126
127
|
catch (error) {
|
|
127
128
|
const allocatedEnvironment = environment;
|
|
@@ -142,10 +143,11 @@ export function createPlayableBabylonRuntimeRenderingControllers(options) {
|
|
|
142
143
|
getWorldRendering() {
|
|
143
144
|
return currentRendering;
|
|
144
145
|
},
|
|
145
|
-
setWorldRendering(rendering) {
|
|
146
|
-
|
|
147
|
-
activeEnvironment.
|
|
148
|
-
postProcess.setProfile(
|
|
146
|
+
async setWorldRendering(rendering) {
|
|
147
|
+
const nextRendering = rendering ?? null;
|
|
148
|
+
await activeEnvironment.applyProfile(nextRendering?.environment ?? null);
|
|
149
|
+
postProcess.setProfile(nextRendering?.postProcess ?? null);
|
|
150
|
+
currentRendering = nextRendering;
|
|
149
151
|
},
|
|
150
152
|
dispose() {
|
|
151
153
|
const cleanupErrors = [];
|
|
@@ -460,12 +462,12 @@ function createPlayableBabylonStaticShadowExpectedHashes(context, options, stati
|
|
|
460
462
|
}
|
|
461
463
|
export function createPlayableBabylonEnvironmentTextureProfile(profile, textureAssets = []) {
|
|
462
464
|
return {
|
|
463
|
-
|
|
465
|
+
texture: resolvePlayableBabylonRenderingEnvironmentTextureResource(profile.environment.texture, textureAssets),
|
|
464
466
|
intensity: profile.environment.iblIntensity,
|
|
465
467
|
rotationY: profile.environment.rotationY,
|
|
466
468
|
};
|
|
467
469
|
}
|
|
468
|
-
export function
|
|
470
|
+
export function resolvePlayableBabylonRenderingEnvironmentTextureResource(textureRef, textureAssets = []) {
|
|
469
471
|
if (!textureRef)
|
|
470
472
|
return null;
|
|
471
473
|
const textureAssetId = typeof textureRef.textureAssetId === 'string'
|
|
@@ -474,19 +476,22 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureUrl(textureRef,
|
|
|
474
476
|
if (textureAssetId) {
|
|
475
477
|
const textureAsset = textureAssets.find(texture => texture.id === textureAssetId);
|
|
476
478
|
return textureAsset && isPlayableBabylonRenderingEnvironmentTextureAsset(textureAsset)
|
|
477
|
-
? textureAsset.
|
|
479
|
+
? textureAsset.resource
|
|
478
480
|
: null;
|
|
479
481
|
}
|
|
480
482
|
const textureUrl = typeof textureRef.url === 'string' ? textureRef.url.trim() : '';
|
|
481
|
-
|
|
483
|
+
const resolution = createPlayableAssetResourceResolver({}).resolve({ url: textureUrl });
|
|
484
|
+
return resolution.ok && isPlayableBabylonRenderingEnvironmentTextureResource(resolution.resource)
|
|
485
|
+
? resolution.resource
|
|
486
|
+
: null;
|
|
482
487
|
}
|
|
483
488
|
export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(textureRef, textureAssets = []) {
|
|
484
489
|
if (!textureRef) {
|
|
485
490
|
return {
|
|
486
491
|
status: 'none',
|
|
487
492
|
textureAssetId: null,
|
|
488
|
-
|
|
489
|
-
|
|
493
|
+
resource: null,
|
|
494
|
+
resolutionDiagnostic: null,
|
|
490
495
|
asset: null,
|
|
491
496
|
reason: 'No environment texture is configured.',
|
|
492
497
|
};
|
|
@@ -500,8 +505,14 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(text
|
|
|
500
505
|
return {
|
|
501
506
|
status: 'missing-asset',
|
|
502
507
|
textureAssetId,
|
|
503
|
-
|
|
504
|
-
|
|
508
|
+
resource: null,
|
|
509
|
+
resolutionDiagnostic: {
|
|
510
|
+
code: 'asset.resource.not-found',
|
|
511
|
+
assetId: textureAssetId,
|
|
512
|
+
format: null,
|
|
513
|
+
transport: null,
|
|
514
|
+
urlSummary: null,
|
|
515
|
+
},
|
|
505
516
|
asset: null,
|
|
506
517
|
reason: `Environment texture asset not found: ${textureAssetId}.`,
|
|
507
518
|
};
|
|
@@ -510,8 +521,14 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(text
|
|
|
510
521
|
return {
|
|
511
522
|
status: 'unsupported-asset',
|
|
512
523
|
textureAssetId,
|
|
513
|
-
|
|
514
|
-
|
|
524
|
+
resource: null,
|
|
525
|
+
resolutionDiagnostic: {
|
|
526
|
+
code: 'asset.resource.format-unsupported',
|
|
527
|
+
assetId: textureAssetId,
|
|
528
|
+
format: textureAsset.resource.format,
|
|
529
|
+
transport: textureAsset.resource.transport,
|
|
530
|
+
urlSummary: summarizePlayableBabylonResourceUrl(textureAsset.resource),
|
|
531
|
+
},
|
|
515
532
|
asset: textureAsset,
|
|
516
533
|
reason: `Texture asset is not marked as an environment texture: ${textureAssetId}.`,
|
|
517
534
|
};
|
|
@@ -519,8 +536,8 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(text
|
|
|
519
536
|
return {
|
|
520
537
|
status: 'resolved-asset',
|
|
521
538
|
textureAssetId,
|
|
522
|
-
|
|
523
|
-
|
|
539
|
+
resource: textureAsset.resource,
|
|
540
|
+
resolutionDiagnostic: null,
|
|
524
541
|
asset: textureAsset,
|
|
525
542
|
reason: null,
|
|
526
543
|
};
|
|
@@ -530,27 +547,48 @@ export function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(text
|
|
|
530
547
|
return {
|
|
531
548
|
status: 'none',
|
|
532
549
|
textureAssetId: null,
|
|
533
|
-
|
|
534
|
-
|
|
550
|
+
resource: null,
|
|
551
|
+
resolutionDiagnostic: null,
|
|
535
552
|
asset: null,
|
|
536
553
|
reason: 'No environment texture URL is configured.',
|
|
537
554
|
};
|
|
538
555
|
}
|
|
539
|
-
|
|
556
|
+
const resolution = createPlayableAssetResourceResolver({}).resolve({ url: textureUrl });
|
|
557
|
+
if (!resolution.ok) {
|
|
558
|
+
return {
|
|
559
|
+
status: resolution.diagnostic.code === 'asset.resource.format-missing'
|
|
560
|
+
? 'format-missing'
|
|
561
|
+
: 'format-unsupported',
|
|
562
|
+
textureAssetId: null,
|
|
563
|
+
resource: null,
|
|
564
|
+
resolutionDiagnostic: resolution.diagnostic,
|
|
565
|
+
asset: null,
|
|
566
|
+
reason: resolution.diagnostic.code === 'asset.resource.format-missing'
|
|
567
|
+
? 'Environment texture resource format is missing.'
|
|
568
|
+
: 'Environment texture resource format is unsupported.',
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
if (!isPlayableBabylonRenderingEnvironmentTextureResource(resolution.resource)) {
|
|
540
572
|
return {
|
|
541
|
-
status: 'unsupported
|
|
573
|
+
status: 'format-unsupported',
|
|
542
574
|
textureAssetId: null,
|
|
543
|
-
|
|
544
|
-
|
|
575
|
+
resource: null,
|
|
576
|
+
resolutionDiagnostic: {
|
|
577
|
+
code: 'asset.resource.format-unsupported',
|
|
578
|
+
assetId: null,
|
|
579
|
+
format: resolution.resource.format,
|
|
580
|
+
transport: resolution.resource.transport,
|
|
581
|
+
urlSummary: summarizePlayableBabylonResourceUrl(resolution.resource),
|
|
582
|
+
},
|
|
545
583
|
asset: null,
|
|
546
|
-
reason: 'Environment texture
|
|
584
|
+
reason: 'Environment texture resource must use .env, .hdr, .dds, .ktx, or .ktx2.',
|
|
547
585
|
};
|
|
548
586
|
}
|
|
549
587
|
return {
|
|
550
|
-
status: 'resolved-
|
|
588
|
+
status: 'resolved-external',
|
|
551
589
|
textureAssetId: null,
|
|
552
|
-
|
|
553
|
-
|
|
590
|
+
resource: resolution.resource,
|
|
591
|
+
resolutionDiagnostic: null,
|
|
554
592
|
asset: null,
|
|
555
593
|
reason: null,
|
|
556
594
|
};
|
|
@@ -562,10 +600,17 @@ export function isPlayableBabylonRenderingEnvironmentTextureAsset(texture) {
|
|
|
562
600
|
return false;
|
|
563
601
|
if (texture.usage === 'environment')
|
|
564
602
|
return true;
|
|
565
|
-
return
|
|
603
|
+
return isPlayableBabylonRenderingEnvironmentTextureResource(texture.resource);
|
|
604
|
+
}
|
|
605
|
+
export function isPlayableBabylonRenderingEnvironmentTextureResource(resource) {
|
|
606
|
+
return PLAYABLE_BABYLON_ENVIRONMENT_TEXTURE_URL_PATTERN.test(resource.format);
|
|
566
607
|
}
|
|
567
|
-
|
|
568
|
-
|
|
608
|
+
function summarizePlayableBabylonResourceUrl(resource) {
|
|
609
|
+
if (resource.transport === 'data-url')
|
|
610
|
+
return 'data:<redacted>';
|
|
611
|
+
if (resource.transport === 'blob-url')
|
|
612
|
+
return 'blob:<redacted>';
|
|
613
|
+
return resource.url.length <= 160 ? resource.url : `${resource.url.slice(0, 157)}...`;
|
|
569
614
|
}
|
|
570
615
|
function createPlayableBabylonRenderingContext(document, options) {
|
|
571
616
|
const config = options.getConfig({ document });
|