@fps-games/editor 0.1.8 → 0.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-bridge/capabilities/assets.d.ts +3 -3
- package/dist/agent-bridge/capabilities/assets.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/assets.js.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.d.ts +3 -3
- package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
- package/dist/agent-bridge/capabilities/host-lifecycle.d.ts +10 -3
- package/dist/agent-bridge/capabilities/host-lifecycle.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/host-lifecycle.js +72 -12
- package/dist/agent-bridge/capabilities/host-lifecycle.js.map +1 -1
- package/dist/agent-bridge/capabilities/prefabs.d.ts +3 -3
- package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/prefabs.js +9 -13
- package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -3
- package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
- package/dist/agent-bridge/capabilities/selection.d.ts +3 -3
- package/dist/agent-bridge/capabilities/selection.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/selection.js.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts +3 -3
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.js +29 -7
- package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
- package/dist/agent-bridge/capabilities/transform.d.ts +3 -3
- package/dist/agent-bridge/capabilities/transform.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/transform.js.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts +2 -2
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts +3 -3
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
- package/dist/agent-bridge/capability-sources.d.ts +6 -5
- package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
- package/dist/agent-bridge/capability-sources.js +4 -1
- package/dist/agent-bridge/capability-sources.js.map +1 -1
- package/dist/agent-bridge/index.d.ts +4 -4
- package/dist/agent-bridge/index.d.ts.map +1 -1
- package/dist/agent-bridge/index.js.map +1 -1
- package/dist/agent-bridge/register.d.ts +1 -1
- package/dist/agent-bridge/register.d.ts.map +1 -1
- package/dist/agent-bridge/register.js +98 -55
- package/dist/agent-bridge/register.js.map +1 -1
- package/dist/agent-bridge/shared.d.ts +12 -3
- package/dist/agent-bridge/shared.d.ts.map +1 -1
- package/dist/agent-bridge/shared.js.map +1 -1
- package/dist/agent-bridge/source-types.d.ts +6 -2
- package/dist/agent-bridge/source-types.d.ts.map +1 -1
- package/dist/build-info.json +93 -18
- package/dist/editor-plugin-agent-capabilities.d.ts +4 -0
- package/dist/editor-plugin-agent-capabilities.d.ts.map +1 -0
- package/dist/editor-plugin-agent-capabilities.js +64 -0
- package/dist/editor-plugin-agent-capabilities.js.map +1 -0
- package/dist/editor-plugin-hierarchy-command.d.ts +19 -0
- package/dist/editor-plugin-hierarchy-command.d.ts.map +1 -0
- package/dist/editor-plugin-hierarchy-command.js +119 -0
- package/dist/editor-plugin-hierarchy-command.js.map +1 -0
- package/dist/index.d.ts +27 -90
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -544
- package/dist/index.js.map +1 -1
- package/dist/internal/local-editor-lifecycle-operations.d.ts +8 -0
- package/dist/internal/local-editor-lifecycle-operations.d.ts.map +1 -0
- package/dist/internal/local-editor-lifecycle-operations.js +11 -0
- package/dist/internal/local-editor-lifecycle-operations.js.map +1 -0
- package/dist/local-editor-agent-actions.d.ts +1 -1
- package/dist/local-editor-agent-actions.d.ts.map +1 -1
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-bridge-transport.d.ts +25 -1
- package/dist/local-editor-agent-bridge-transport.d.ts.map +1 -1
- package/dist/local-editor-agent-bridge-transport.js +88 -32
- package/dist/local-editor-agent-bridge-transport.js.map +1 -1
- package/dist/local-editor-agent-bridge.d.ts +1 -1
- package/dist/local-editor-agent-bridge.d.ts.map +1 -1
- package/dist/local-editor-agent-bridge.js.map +1 -1
- package/dist/local-editor-harness.d.ts +7 -5
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +783 -196
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-marker-graph.d.ts +1 -1
- package/dist/local-editor-marker-graph.d.ts.map +1 -1
- package/dist/local-editor-performance-stats.d.ts.map +1 -1
- package/dist/local-editor-performance-stats.js +7 -0
- package/dist/local-editor-performance-stats.js.map +1 -1
- package/dist/local-editor-plugin-inspector.d.ts +4 -0
- package/dist/local-editor-plugin-inspector.d.ts.map +1 -0
- package/dist/local-editor-plugin-inspector.js +23 -0
- package/dist/local-editor-plugin-inspector.js.map +1 -0
- package/dist/local-editor-plugin-panel.d.ts +5 -0
- package/dist/local-editor-plugin-panel.d.ts.map +1 -0
- package/dist/local-editor-plugin-panel.js +56 -0
- package/dist/local-editor-plugin-panel.js.map +1 -0
- package/dist/local-editor-scene-view-interaction-runtime.d.ts +2 -2
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-viewport-render-coordinator.d.ts +1 -1
- package/dist/local-editor-viewport-render-coordinator.d.ts.map +1 -1
- package/dist/playable-babylon-facade.d.ts +8 -8
- package/dist/playable-babylon-facade.d.ts.map +1 -1
- package/dist/playable-babylon-facade.js +2 -2
- package/dist/playable-babylon-facade.js.map +1 -1
- package/dist/playable-babylon-rendering.d.ts +33 -2
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +61 -2
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-host.d.ts +32 -94
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +153 -222
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +55 -0
- package/dist/playable-product-local-editor.d.ts.map +1 -0
- package/dist/playable-product-local-editor.js +173 -0
- package/dist/playable-product-local-editor.js.map +1 -0
- package/dist/playable-product-projection-preview.d.ts +79 -0
- package/dist/playable-product-projection-preview.d.ts.map +1 -0
- package/dist/playable-product-projection-preview.js +245 -0
- package/dist/playable-product-projection-preview.js.map +1 -0
- package/dist/playable-product-rendering.d.ts +38 -0
- package/dist/playable-product-rendering.d.ts.map +1 -0
- package/dist/playable-product-rendering.js +15 -0
- package/dist/playable-product-rendering.js.map +1 -0
- package/dist/playable-product-scene-capabilities.d.ts +88 -0
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -0
- package/dist/playable-product-scene-capabilities.js +207 -0
- package/dist/playable-product-scene-capabilities.js.map +1 -0
- package/dist/playable-runtime-babylon.d.ts +7 -0
- package/dist/playable-runtime-babylon.d.ts.map +1 -0
- package/dist/playable-runtime-babylon.js +6 -0
- package/dist/playable-runtime-babylon.js.map +1 -0
- package/dist/playable-runtime.d.ts +8 -0
- package/dist/playable-runtime.d.ts.map +1 -0
- package/dist/playable-runtime.js +7 -0
- package/dist/playable-runtime.js.map +1 -0
- package/dist/playable-sdk-upgrade-doctor.d.ts +2 -0
- package/dist/playable-sdk-upgrade-doctor.d.ts.map +1 -0
- package/dist/playable-sdk-upgrade-doctor.js +2 -0
- package/dist/playable-sdk-upgrade-doctor.js.map +1 -0
- package/dist/playable-sdk.d.ts +18 -9
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +9 -4
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +37 -0
- package/dist/playable-standard-project.d.ts.map +1 -0
- package/dist/playable-standard-project.js +114 -0
- package/dist/playable-standard-project.js.map +1 -0
- package/dist/vite-client.d.ts +25 -0
- package/dist/vite.d.ts +3 -0
- package/dist/vite.d.ts.map +1 -0
- package/dist/vite.js +2 -0
- package/dist/vite.js.map +1 -0
- package/node_modules/@babel/helper-string-parser/LICENSE +22 -0
- package/node_modules/@babel/helper-string-parser/README.md +19 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js +295 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js.map +1 -0
- package/node_modules/@babel/helper-string-parser/package.json +31 -0
- package/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- package/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/node_modules/@babel/parser/LICENSE +19 -0
- package/node_modules/@babel/parser/README.md +19 -0
- package/node_modules/@babel/parser/bin/babel-parser.js +15 -0
- package/node_modules/@babel/parser/lib/index.js +14662 -0
- package/node_modules/@babel/parser/lib/index.js.map +1 -0
- package/node_modules/@babel/parser/package.json +50 -0
- package/node_modules/@babel/parser/typings/babel-parser.d.ts +262 -0
- package/node_modules/@babel/types/LICENSE +22 -0
- package/node_modules/@babel/types/README.md +19 -0
- package/node_modules/@babel/types/lib/asserts/assertNode.js +16 -0
- package/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -0
- package/node_modules/@babel/types/lib/asserts/generated/index.js +1251 -0
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +3 -0
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +18 -0
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +31 -0
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/generated/index.js +29 -0
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +2902 -0
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +272 -0
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/productions.js +12 -0
- package/node_modules/@babel/types/lib/builders/productions.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js +24 -0
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +22 -0
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/validateNode.js +21 -0
- package/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/clone.js +12 -0
- package/node_modules/@babel/types/lib/clone/clone.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/cloneDeep.js +12 -0
- package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +12 -0
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/cloneNode.js +107 -0
- package/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -0
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +12 -0
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/addComment.js +15 -0
- package/node_modules/@babel/types/lib/comments/addComment.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/addComments.js +22 -0
- package/node_modules/@babel/types/lib/comments/addComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +12 -0
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +12 -0
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +12 -0
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/inheritsComments.js +17 -0
- package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -0
- package/node_modules/@babel/types/lib/comments/removeComments.js +15 -0
- package/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -0
- package/node_modules/@babel/types/lib/constants/generated/index.js +60 -0
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/constants/index.js +31 -0
- package/node_modules/@babel/types/lib/constants/index.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/ensureBlock.js +14 -0
- package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +65 -0
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +14 -0
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toBlock.js +29 -0
- package/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toComputedKey.js +14 -0
- package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toExpression.js +28 -0
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toIdentifier.js +25 -0
- package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js +38 -0
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +19 -0
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/toStatement.js +39 -0
- package/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -0
- package/node_modules/@babel/types/lib/converters/valueToNode.js +89 -0
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/core.js +1725 -0
- package/node_modules/@babel/types/lib/definitions/core.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +11 -0
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/experimental.js +124 -0
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/flow.js +495 -0
- package/node_modules/@babel/types/lib/definitions/flow.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/index.js +106 -0
- package/node_modules/@babel/types/lib/definitions/index.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/jsx.js +157 -0
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/misc.js +31 -0
- package/node_modules/@babel/types/lib/definitions/misc.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/placeholders.js +27 -0
- package/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/typescript.js +528 -0
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -0
- package/node_modules/@babel/types/lib/definitions/utils.js +296 -0
- package/node_modules/@babel/types/lib/definitions/utils.js.map +1 -0
- package/node_modules/@babel/types/lib/index-legacy.d.ts +2797 -0
- package/node_modules/@babel/types/lib/index.d.ts +3617 -0
- package/node_modules/@babel/types/lib/index.js +582 -0
- package/node_modules/@babel/types/lib/index.js.flow +2650 -0
- package/node_modules/@babel/types/lib/index.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +15 -0
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +65 -0
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/inherits.js +28 -0
- package/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +17 -0
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/removeProperties.js +24 -0
- package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +14 -0
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -0
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +66 -0
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -0
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +48 -0
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +1 -0
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +102 -0
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -0
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +63 -0
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +1 -0
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +13 -0
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -0
- package/node_modules/@babel/types/lib/traverse/traverse.js +50 -0
- package/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -0
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +40 -0
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -0
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +44 -0
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -0
- package/node_modules/@babel/types/lib/utils/inherit.js +13 -0
- package/node_modules/@babel/types/lib/utils/inherit.js.map +1 -0
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +40 -0
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -0
- package/node_modules/@babel/types/lib/utils/shallowEqual.js +17 -0
- package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +13 -0
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/generated/index.js +2797 -0
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/is.js +27 -0
- package/node_modules/@babel/types/lib/validators/is.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isBinding.js +27 -0
- package/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js +13 -0
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isImmutable.js +21 -0
- package/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isLet.js +13 -0
- package/node_modules/@babel/types/lib/validators/isLet.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isNode.js +12 -0
- package/node_modules/@babel/types/lib/validators/isNode.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +57 -0
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +15 -0
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isReferenced.js +96 -0
- package/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isScope.js +18 -0
- package/node_modules/@babel/types/lib/validators/isScope.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +14 -0
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isType.js +17 -0
- package/node_modules/@babel/types/lib/validators/isType.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +13 -0
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +18 -0
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/isVar.js +15 -0
- package/node_modules/@babel/types/lib/validators/isVar.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +44 -0
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +11 -0
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +11 -0
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -0
- package/node_modules/@babel/types/lib/validators/validate.js +42 -0
- package/node_modules/@babel/types/lib/validators/validate.js.map +1 -0
- package/node_modules/@babel/types/package.json +39 -0
- package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +3 -3
- 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 +131 -20
- 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/index.d.ts +3 -3
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts.map +1 -1
- 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 +11 -0
- 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.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +17 -12
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +5 -0
- 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 +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts +2 -2
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts +2 -2
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/placement/index.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/placement/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/placement/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/placement/index.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/placement/runtime-drop-position.d.ts +24 -0
- package/node_modules/@fps-games/babylon-renderer/dist/placement/runtime-drop-position.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/placement/runtime-drop-position.js +63 -0
- package/node_modules/@fps-games/babylon-renderer/dist/placement/runtime-drop-position.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +54 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +274 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +3 -3
- 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.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts +4 -4
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js +3 -3
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/babylon-renderer/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/reference.js +17 -0
- package/node_modules/@fps-games/babylon-renderer/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/rendering/index.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/rendering/index.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/rendering/index.js +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/rendering/index.js.map +1 -0
- package/node_modules/@fps-games/{editor-babylon/dist/rendering.d.ts → babylon-renderer/dist/rendering/node-rendering.d.ts} +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/rendering/node-rendering.d.ts.map +1 -0
- package/node_modules/@fps-games/{editor-babylon/dist/rendering.js → babylon-renderer/dist/rendering/node-rendering.js} +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/rendering/node-rendering.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/blob-shadow-shaders.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/blob-shadow-system.d.ts +2 -2
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/blob-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/blob-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +83 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +561 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +41 -3
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.d.ts +3 -3
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +507 -90
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.d.ts +2 -2
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.js +11 -112
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-bake.d.ts +4 -4
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-bake.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-bake.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.d.ts +6 -6
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.js +8 -4
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-options.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-options.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-options.js +60 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-options.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-rendering.d.ts +6 -6
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-rendering.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-rendering.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.d.ts +18 -30
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.js +0 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/package.json +48 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/performance-monitor.d.ts +14 -0
- package/node_modules/@fps-games/editor-babylon/dist/performance-monitor.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/performance-monitor.js +121 -2
- package/node_modules/@fps-games/editor-babylon/dist/performance-monitor.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/primitive-projection-instancing.d.ts +21 -0
- package/node_modules/@fps-games/editor-babylon/dist/primitive-projection-instancing.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/primitive-projection-instancing.js +166 -0
- package/node_modules/@fps-games/editor-babylon/dist/primitive-projection-instancing.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +1 -6
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +1 -3
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +232 -51
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +182 -44
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +5 -9
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +2 -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 +1 -0
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-root-ownership.d.ts +6 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-root-ownership.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-root-ownership.js +28 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-root-ownership.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +8 -2
- 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-panel-registry.js +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panel-registry.js.map +1 -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 +24 -95
- 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-plugin-panel.d.ts +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-plugin-panel.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-plugin-panel.js +224 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-plugin-panel.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +79 -4
- 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 +6 -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 +1 -0
- 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.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +287 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +8 -0
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +232 -0
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +4 -3
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts +7 -3
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.js +6 -2
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/document-adapter.d.ts +20 -0
- package/node_modules/@fps-games/editor-core/dist/document-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/document-adapter.js +2 -0
- package/node_modules/@fps-games/editor-core/dist/document-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +77 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +759 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +12 -6
- 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 +27 -11
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/events.d.ts +79 -0
- package/node_modules/@fps-games/editor-core/dist/events.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/events.js +60 -0
- package/node_modules/@fps-games/editor-core/dist/events.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/index.js +4 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/index.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/resolver.d.ts +3 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/resolver.js +8 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/schema.d.ts +3 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/schema.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/schema.js +93 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/schema.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/types.d.ts +37 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/types.js +2 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/types.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/validators.d.ts +23 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/validators.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/validators.js +112 -0
- package/node_modules/@fps-games/editor-core/dist/field-schema/validators.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/index.d.ts +5 -99
- package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.js +5 -210
- package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/lifecycle.d.ts +101 -0
- package/node_modules/@fps-games/editor-core/dist/lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/lifecycle.js +456 -0
- package/node_modules/@fps-games/editor-core/dist/lifecycle.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/marker-graph.d.ts +110 -0
- package/node_modules/@fps-games/editor-core/dist/marker-graph.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/marker-graph.js +502 -0
- package/node_modules/@fps-games/editor-core/dist/marker-graph.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/transform-command.d.ts +6 -0
- package/node_modules/@fps-games/editor-core/dist/transform-command.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/transform-command.js +14 -0
- package/node_modules/@fps-games/editor-core/dist/transform-command.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/transform-gizmo.d.ts +2 -46
- package/node_modules/@fps-games/editor-core/dist/transform-gizmo.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operations.js +1 -1
- package/node_modules/@fps-games/editor-core/dist/transform-operations.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +22 -2
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +0 -25
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +1 -44
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +0 -13
- 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 -53
- 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/payload.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -1
- 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 +11 -1
- 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 +4 -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 +3 -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/asset-database/managed-facade.d.ts +29 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/managed-facade.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/managed-facade.js +50 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/managed-facade.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/manager-core.d.ts +173 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/manager-core.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/manager-core.js +268 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/manager-core.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +8 -35
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +98 -16
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/types.d.ts +3 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +108 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +3 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts +3 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js +3 -18
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/managed-runtime-instance.d.ts +62 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/managed-runtime-instance.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/managed-runtime-instance.js +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/managed-runtime-instance.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/runtime-scene.d.ts +44 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/runtime-scene.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/runtime-scene.js +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/runtime-scene.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/runtime-transform-patch.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/runtime-transform-patch.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/runtime-transform-patch.js +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/runtime-transform-patch.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +1 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +0 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/adapter-dispatcher.d.ts +25 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/adapter-dispatcher.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/adapter-dispatcher.js +100 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/adapter-dispatcher.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/project-asset-adapter.d.ts +84 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/project-asset-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/project-asset-adapter.js +145 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/project-asset-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js +26 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js +2 -11
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +4 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +13 -4
- 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 +54 -84
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +6 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +3 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +85 -173
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts +2 -27
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +1 -23
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +1 -119
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +9 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +11 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/camera-section.d.ts +74 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/camera-section.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/camera-section.js +198 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/camera-section.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +4 -15
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +55 -113
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +10 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +9 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/light-fields.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/light-fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/light-fields.js +35 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/light-fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/light-sections.d.ts +79 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/light-sections.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/light-sections.js +324 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/light-sections.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/marker-section.d.ts +53 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/marker-section.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/marker-section.js +184 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/marker-section.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/object-assembly.d.ts +83 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/object-assembly.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/object-assembly.js +205 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/object-assembly.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts +5 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js +35 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts +22 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +100 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/internal/local-harness.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/internal/local-harness.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/internal/local-harness.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/internal/local-harness.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js +12 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts +112 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js +159 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +10 -12
- 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.d.ts +1 -5
- 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 +139 -94
- 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 +12 -3
- 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 +113 -43
- 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 +6 -6
- 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 +2 -3
- 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 +5 -0
- 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 +659 -36
- 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/loading-overlay.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js +54 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +62 -5
- 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/marker-scene/facade.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/facade.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/facade.js +106 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/facade.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/game-objects.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/game-objects.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/game-objects.js +389 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/game-objects.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/geometry.d.ts +50 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/geometry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/geometry.js +316 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/geometry.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/marker-scene/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js +331 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +15 -0
- 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 +144 -37
- 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/default-assets.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/default-assets.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/default-assets.js +170 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/default-assets.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/document-assets.d.ts +45 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/document-assets.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/document-assets.js +176 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/document-assets.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js +27 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts +1 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js +22 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js +4 -44
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js +4 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js +163 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts +12 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js +157 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/text.d.ts +92 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/text.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/text.js +256 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/text.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts +8 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +15 -85
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js +16 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +4 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -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 +77 -17
- 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/action-patches.d.ts +45 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +340 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +212 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js +203 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +144 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +316 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/shadow-inspector.d.ts +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/shadow-inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/shadow-inspector.js +251 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/shadow-inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/source-structure-inspector.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/source-structure-inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/source-structure-inspector.js +107 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/source-structure-inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +225 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/structure.d.ts +24 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/structure.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/structure.js +356 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/structure.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/types.d.ts +40 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/types.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/asset-manager.d.ts +20 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/asset-manager.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/asset-manager.js +25 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/asset-manager.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal-scene-feature.d.ts +66 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal-scene-feature.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal-scene-feature.js +172 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal-scene-feature.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts +257 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js +1263 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +92 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +116 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +65 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.d.ts +43 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +32 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +147 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-asset-actions.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-asset-actions.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-asset-actions.js +39 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-asset-actions.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +217 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +566 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +5 -50
- 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/route.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js +17 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +3 -335
- 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 +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.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +2 -0
- 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/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +6 -44
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +3 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +166 -258
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +17 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +558 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js +20 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +0 -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 +21 -12
- 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/companion-configs.d.ts +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +32 -18
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +154 -54
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +6 -2
- 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/serialized-property/descriptors.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +5 -72
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +36 -31
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts +52 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +124 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +23 -114
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +14 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +8 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/object-command-facade.d.ts +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/object-command-facade.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/object-command-facade.js +67 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/object-command-facade.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +1 -19
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/property-patches.d.ts +78 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/property-patches.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/property-patches.js +201 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/property-patches.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +89 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +238 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/system-defaults.d.ts +58 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/system-defaults.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/system-defaults.js +327 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/system-defaults.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +100 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +116 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/index.d.ts +0 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/index.js +0 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/resolver.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/resolver.js +7 -35
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js +25 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.d.ts +4 -24
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.js +15 -53
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/host.d.ts +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/host.js +36 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/host.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts +1 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +303 -77
- 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 +3 -2
- 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/vite/authoring-http.d.ts +21 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/authoring-http.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/authoring-http.js +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/authoring-http.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +48 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +226 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +9 -0
- 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 +9 -0
- 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/module-invalidation.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/module-invalidation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/module-invalidation.js +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/module-invalidation.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/path-write-coordinator.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/path-write-coordinator.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/path-write-coordinator.js +22 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/path-write-coordinator.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts +1 -0
- 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 +30 -1
- 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 +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +50 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts +25 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +113 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-rendering-authoring.d.ts +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-rendering-authoring.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-rendering-authoring.js +63 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-rendering-authoring.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +37 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +99 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts +15 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +3 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +15 -3
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +67 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +129 -0
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +2 -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 +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/marker-graph.d.ts +2 -127
- package/node_modules/@fps-games/editor-protocol/dist/marker-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/marker-graph.js +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/marker-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +4 -1
- package/node_modules/@fps-games/editor-tooling/dist/contributions.d.ts +31 -0
- package/node_modules/@fps-games/editor-tooling/dist/contributions.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/contributions.js +173 -0
- package/node_modules/@fps-games/editor-tooling/dist/contributions.js.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/data-object.d.ts +3 -0
- package/node_modules/@fps-games/editor-tooling/dist/data-object.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/data-object.js +24 -0
- package/node_modules/@fps-games/editor-tooling/dist/data-object.js.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/index.d.ts +61 -0
- package/node_modules/@fps-games/editor-tooling/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/index.js +144 -0
- package/node_modules/@fps-games/editor-tooling/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/migration.d.ts +37 -0
- package/node_modules/@fps-games/editor-tooling/dist/migration.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/migration.js +77 -0
- package/node_modules/@fps-games/editor-tooling/dist/migration.js.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts +25 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +136 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts +19 -0
- package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-tooling/dist/vite.js +109 -0
- package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -0
- package/node_modules/@fps-games/editor-tooling/package.json +31 -0
- package/node_modules/@fps-games/{editor-playable-sdk/dist/asset-database → playable-assets/dist}/identity.d.ts +8 -4
- package/node_modules/@fps-games/playable-assets/dist/identity.d.ts.map +1 -0
- package/node_modules/@fps-games/{editor-playable-sdk/dist/asset-database → playable-assets/dist}/identity.js +10 -11
- package/node_modules/@fps-games/playable-assets/dist/identity.js.map +1 -0
- package/node_modules/@fps-games/playable-assets/dist/index.d.ts +2 -0
- package/node_modules/@fps-games/playable-assets/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-assets/dist/index.js +2 -0
- package/node_modules/@fps-games/playable-assets/dist/index.js.map +1 -0
- package/node_modules/@fps-games/playable-assets/package.json +16 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +112 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.js +4 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/marker-graph-validation.d.ts +3 -0
- package/node_modules/@fps-games/playable-contracts/dist/marker-graph-validation.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/marker-graph-validation.js +251 -0
- package/node_modules/@fps-games/playable-contracts/dist/marker-graph-validation.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/marker-graph.d.ts +128 -0
- package/node_modules/@fps-games/playable-contracts/dist/marker-graph.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/marker-graph.js +2 -0
- package/node_modules/@fps-games/playable-contracts/dist/marker-graph.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/package.json +16 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +10 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.js +10 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-authoring.d.ts +9 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-authoring.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-authoring.js +474 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-authoring.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-types.d.ts +322 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-types.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-types.js +2 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-types.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.d.ts +2 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +384 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-values.d.ts +19 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-values.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-values.js +79 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-values.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile.d.ts +15 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile.js +439 -0
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +9 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js +7 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/{editor-playable-sdk/dist/shadow-system/quality.d.ts → playable-rendering/dist/shadow-quality.d.ts} +2 -2
- package/node_modules/@fps-games/playable-rendering/dist/shadow-quality.d.ts.map +1 -0
- package/node_modules/@fps-games/{editor-playable-sdk/dist/shadow-system/quality.js → playable-rendering/dist/shadow-quality.js} +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/shadow-quality.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-runtime.d.ts +59 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-runtime.js +378 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-runtime.js.map +1 -0
- package/node_modules/@fps-games/{editor-playable-sdk/dist/shadow-system/legacy.d.ts → playable-rendering/dist/shadow-settings.d.ts} +3 -9
- package/node_modules/@fps-games/playable-rendering/dist/shadow-settings.d.ts.map +1 -0
- package/node_modules/@fps-games/{editor-playable-sdk/dist/shadow-system/legacy.js → playable-rendering/dist/shadow-settings.js} +6 -38
- package/node_modules/@fps-games/playable-rendering/dist/shadow-settings.js.map +1 -0
- package/node_modules/@fps-games/{editor-playable-sdk/dist/shadow-system/types.d.ts → playable-rendering/dist/shadow-types.d.ts} +4 -10
- package/node_modules/@fps-games/playable-rendering/dist/shadow-types.d.ts.map +1 -0
- package/node_modules/@fps-games/{editor-playable-sdk/dist/shadow-system/types.js → playable-rendering/dist/shadow-types.js} +1 -2
- package/node_modules/@fps-games/playable-rendering/dist/shadow-types.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-validation.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-validation.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-validation.js +166 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-validation.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/value.d.ts +2 -0
- package/node_modules/@fps-games/playable-rendering/dist/value.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/value.js +6 -0
- package/node_modules/@fps-games/playable-rendering/dist/value.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/package.json +23 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +16 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +85 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/index.d.ts +22 -0
- package/node_modules/@fps-games/playable-runtime/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/index.js +15 -0
- package/node_modules/@fps-games/playable-runtime/dist/index.js.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime-data.d.ts +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime-data.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime-data.js +34 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime-data.js.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime.d.ts +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime.js +229 -0
- package/node_modules/@fps-games/playable-runtime/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/standard-plugins.d.ts +3 -0
- package/node_modules/@fps-games/playable-runtime/dist/standard-plugins.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/standard-plugins.js +58 -0
- package/node_modules/@fps-games/playable-runtime/dist/standard-plugins.js.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/tokens.d.ts +11 -0
- package/node_modules/@fps-games/playable-runtime/dist/tokens.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/tokens.js +11 -0
- package/node_modules/@fps-games/playable-runtime/dist/tokens.js.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/types.d.ts +49 -0
- package/node_modules/@fps-games/playable-runtime/dist/types.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/types.js +10 -0
- package/node_modules/@fps-games/playable-runtime/dist/types.js.map +1 -0
- package/node_modules/@fps-games/playable-runtime/package.json +29 -0
- package/node_modules/@fps-games/playable-runtime-data/dist/index.d.ts +19 -0
- package/node_modules/@fps-games/playable-runtime-data/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-runtime-data/dist/index.js +296 -0
- package/node_modules/@fps-games/playable-runtime-data/dist/index.js.map +1 -0
- package/node_modules/@fps-games/playable-runtime-data/package.json +21 -0
- package/node_modules/@fps-games/playable-scene/dist/index.d.ts +4 -0
- package/node_modules/@fps-games/playable-scene/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-scene/dist/index.js +3 -0
- package/node_modules/@fps-games/playable-scene/dist/index.js.map +1 -0
- package/node_modules/@fps-games/{editor-core → playable-scene}/dist/transform-math.d.ts +1 -1
- package/node_modules/@fps-games/{editor-core → playable-scene}/dist/transform-math.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-scene/package.json +19 -0
- package/node_modules/@fps-games/plugin-api/dist/index.d.ts +138 -0
- package/node_modules/@fps-games/plugin-api/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-api/dist/index.js +326 -0
- package/node_modules/@fps-games/plugin-api/dist/index.js.map +1 -0
- package/node_modules/@fps-games/plugin-api/package.json +19 -0
- package/node_modules/@fps-games/plugin-assets/dist/reference.d.ts +5 -0
- package/node_modules/@fps-games/plugin-assets/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/reference.js +28 -0
- package/node_modules/@fps-games/plugin-assets/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/runtime.d.ts +12 -0
- package/node_modules/@fps-games/plugin-assets/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/runtime.js +38 -0
- package/node_modules/@fps-games/plugin-assets/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-assets/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-assets/package.json +53 -0
- package/node_modules/@fps-games/plugin-host/dist/index.d.ts +84 -0
- package/node_modules/@fps-games/plugin-host/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-host/dist/index.js +886 -0
- package/node_modules/@fps-games/plugin-host/dist/index.js.map +1 -0
- package/node_modules/@fps-games/plugin-host/package.json +20 -0
- package/node_modules/@fps-games/plugin-markers/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-markers/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-markers/dist/reference.js +37 -0
- package/node_modules/@fps-games/plugin-markers/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-markers/dist/runtime.d.ts +13 -0
- package/node_modules/@fps-games/plugin-markers/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-markers/dist/runtime.js +25 -0
- package/node_modules/@fps-games/plugin-markers/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-markers/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-markers/package.json +53 -0
- package/node_modules/@fps-games/plugin-materials/dist/reference.d.ts +5 -0
- package/node_modules/@fps-games/plugin-materials/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-materials/dist/reference.js +28 -0
- package/node_modules/@fps-games/plugin-materials/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-materials/dist/runtime.d.ts +12 -0
- package/node_modules/@fps-games/plugin-materials/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-materials/dist/runtime.js +33 -0
- package/node_modules/@fps-games/plugin-materials/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-materials/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-materials/package.json +53 -0
- package/node_modules/@fps-games/plugin-rendering/dist/reference.d.ts +5 -0
- package/node_modules/@fps-games/plugin-rendering/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-rendering/dist/reference.js +28 -0
- package/node_modules/@fps-games/plugin-rendering/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-rendering/dist/runtime.d.ts +12 -0
- package/node_modules/@fps-games/plugin-rendering/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-rendering/dist/runtime.js +26 -0
- package/node_modules/@fps-games/plugin-rendering/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-rendering/package.json +53 -0
- package/node_modules/@fps-games/plugin-scene/dist/reference.d.ts +5 -0
- package/node_modules/@fps-games/plugin-scene/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-scene/dist/reference.js +30 -0
- package/node_modules/@fps-games/plugin-scene/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-scene/dist/runtime.d.ts +13 -0
- package/node_modules/@fps-games/plugin-scene/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-scene/dist/runtime.js +56 -0
- package/node_modules/@fps-games/plugin-scene/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-scene/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-scene/package.json +53 -0
- package/node_modules/@fps-games/plugin-shadows/dist/reference.d.ts +5 -0
- package/node_modules/@fps-games/plugin-shadows/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadows/dist/reference.js +27 -0
- package/node_modules/@fps-games/plugin-shadows/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadows/dist/runtime.d.ts +12 -0
- package/node_modules/@fps-games/plugin-shadows/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadows/dist/runtime.js +72 -0
- package/node_modules/@fps-games/plugin-shadows/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadows/package.json +56 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +680 -0
- package/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +17 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/package.json +55 -10
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-system.d.ts +0 -38
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-system.d.ts.map +0 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-system.js +0 -173
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-system.js.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.d.ts +0 -5
- package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js +0 -5
- package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/rendering.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/rendering.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/identity.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/identity.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +0 -20
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +0 -1027
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/legacy.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/legacy.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/quality.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/quality.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/types.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/types.js.map +0 -1
- /package/node_modules/@fps-games/{editor-core → playable-scene}/dist/transform-math.js +0 -0
- /package/node_modules/@fps-games/{editor-core → playable-scene}/dist/transform-math.js.map +0 -0
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { createEditorSession, createEditorAgentBridge, createInspectorRegistry, DEFAULT_EDITOR_TRANSFORM_OPERATION_SETTINGS, DEFAULT_EDITOR_VIEWPORT_TOOL_STATE, createEmptyEditorViewportSpatialOverlayState, cloneEditorTransformSnapshot as cloneCoreEditorTransformSnapshot, composeEditorTransformMatrix, editorTransformMatricesAlmostEqual, cloneEditorViewportToolState, cloneEditorViewportSpatialOverlayState, aggregateInspectorObjectsToMultiObject, createInspectorEditPayload, compareInspectorSections, computeEditorTransformActionTargets, mergeInspectorSections, isEditorTransformTrsSnapshot, normalizeEditorTransformConstraint, readEditorTransformPosition, resolveEditorSelectionCommand,
|
|
1
|
+
import { createEditorSession, FPS_EDITOR_ACTIVE_TOOL_CHANGED, FPS_EDITOR_DOCUMENT_CHANGED, FPS_EDITOR_HISTORY_CHANGED, FPS_EDITOR_SELECTION_CHANGED, createEditorAgentBridge, createInspectorRegistry, DEFAULT_EDITOR_TRANSFORM_OPERATION_SETTINGS, DEFAULT_EDITOR_VIEWPORT_TOOL_STATE, createEmptyEditorViewportSpatialOverlayState, cloneEditorTransformSnapshot as cloneCoreEditorTransformSnapshot, composeEditorTransformMatrix, editorTransformMatricesAlmostEqual, cloneEditorViewportToolState, cloneEditorViewportSpatialOverlayState, aggregateInspectorObjectsToMultiObject, createInspectorEditPayload, compareInspectorSections, computeEditorTransformActionTargets, mergeInspectorSections, isEditorTransformTrsSnapshot, normalizeEditorTransformConstraint, readEditorTransformPosition, resolveEditorSelectionCommand, validateSceneGraphDelete, validateSceneGraphDrop, validateSceneGraphGroupSelection, validateSceneGraphMove, validateSceneGraphRename, } from '@fps-games/editor-core';
|
|
2
2
|
import {} from '@fps-games/editor-protocol';
|
|
3
3
|
import { createLocalEditorBrowserUi, toTransformOperationPolicyStatusLabel, } from '@fps-games/editor-browser';
|
|
4
|
+
import { createLocalEditorHarnessPluginInspectorOptions } from './local-editor-plugin-inspector.js';
|
|
5
|
+
import { registerLocalEditorHarnessLifecycleOperations, } from './internal/local-editor-lifecycle-operations.js';
|
|
6
|
+
import { createLocalEditorPluginPanelState } from './local-editor-plugin-panel.js';
|
|
4
7
|
import { createBabylonEnvironmentTextureController, createBabylonDefaultPostProcessPipelineController, } from '@fps-games/babylon-renderer';
|
|
5
8
|
import { createBabylonEditorProjection, createBabylonEditorMarkerOverlayController, createBabylonMarkerOverlayProjectionAdapter, createBabylonEditorWorld, createBabylonPrefabComparisonPreviewController, createBabylonProjectionSelectionController, createBabylonSceneCameraPreviewController, createBabylonSceneViewCameraController, createBabylonSceneViewInputController, createBabylonSceneViewMeasurementController, createBabylonSceneViewSpatialOverlayController, createBabylonEditorShadowPreviewController, createBabylonTransformGizmoController, createBabylonEditorPerformanceMonitor, focusEditorViewportSelection, } from '@fps-games/editor-babylon';
|
|
6
9
|
import { createLocalEditorSceneRenderScheduler, } from './local-editor-scene-render-scheduler.js';
|
|
@@ -9,8 +12,12 @@ import { createLocalEditorViewportRenderCoordinator, } from './local-editor-view
|
|
|
9
12
|
import { createLocalEditorSceneViewInteractionRuntime, } from './local-editor-scene-view-interaction-runtime.js';
|
|
10
13
|
import { cloneLocalEditorPerformanceStats, countLocalEditorAuthoredObjects, createLocalEditorPerformanceStats, LOCAL_EDITOR_PERFORMANCE_MONITOR_REASON, } from './local-editor-performance-stats.js';
|
|
11
14
|
import { registerLocalEditorAgentBridgeCapabilities } from './local-editor-agent-bridge.js';
|
|
15
|
+
import { registerEditorPluginAgentCapabilities } from './editor-plugin-agent-capabilities.js';
|
|
16
|
+
import { createLocalEditorHarnessPluginHierarchyContextActions } from './editor-plugin-hierarchy-command.js';
|
|
12
17
|
import { createLocalEditorAgentBridgeCapabilitySources, } from './agent-bridge/capability-sources.js';
|
|
13
18
|
import { createDisabledLocalEditorAgentBridgeTransportStatus, createLocalEditorAgentBridgeWebSocketTransportFromQuery, } from './local-editor-agent-bridge-transport.js';
|
|
19
|
+
import { PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID, PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID, PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID, PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID, PLAYABLE_LOCAL_EDITOR_PROJECT_SCOPE_ID, } from '@fps-games/editor-playable-sdk/internal/local-harness';
|
|
20
|
+
import { FPS_EDITOR_LIFECYCLE_TRANSITION_TYPES } from '@fps-games/editor-core/lifecycle';
|
|
14
21
|
import { createMarkerGraphHierarchyItems, createMarkerGraphInspectorObject, createMarkerGraphRootInspectorObject, createMarkerPanelState, createMarkerRelationCommand, createMarkerRelationCreateManyCommand, createMarkerRelationDeleteConnectedCommand, createMarkerRelationReverseCommand, createMarkerGraphPatchFromInspectorEdit, findSpatialMarkerById, getSpatialMarkerDirectRelations, isMarkerGraphHierarchyId, isMarkerGraphHierarchyRootRowId, isSpatialMarkerBackedByHierarchyRow, isSpatialMarkerHierarchyVisible, readMarkerGraphHierarchyMarkerIdForGraph, readSpatialMarkerIdFromHierarchySelection, } from './local-editor-marker-graph.js';
|
|
15
22
|
const BATCH_EDIT_REQUIRES_MULTI_PATCH_REASON = 'Batch edit requires multi-property patch support.';
|
|
16
23
|
const LARGE_SELECTION_THRESHOLD = 200;
|
|
@@ -60,6 +67,39 @@ function createEmptyMarkerCreateReservations() {
|
|
|
60
67
|
labels: new Set(),
|
|
61
68
|
};
|
|
62
69
|
}
|
|
70
|
+
const LOCAL_EDITOR_MATERIAL_PROFILE_DIAGNOSTIC_LIMIT = 100;
|
|
71
|
+
const LOCAL_EDITOR_PROJECTION_MATERIAL_PROFILE_WARNING = '[BabylonEditorProjection] Material profile diagnostic warning';
|
|
72
|
+
function createLocalEditorProjectionLogger() {
|
|
73
|
+
return {
|
|
74
|
+
warn(...args) {
|
|
75
|
+
if (args[0] === LOCAL_EDITOR_PROJECTION_MATERIAL_PROFILE_WARNING)
|
|
76
|
+
return;
|
|
77
|
+
console.warn(...args);
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function recordLocalEditorMaterialProfileDiagnostic(state, diagnostic) {
|
|
82
|
+
state.materialProfileDiagnostics.push(diagnostic);
|
|
83
|
+
if (state.materialProfileDiagnostics.length > LOCAL_EDITOR_MATERIAL_PROFILE_DIAGNOSTIC_LIMIT) {
|
|
84
|
+
state.materialProfileDiagnostics.splice(0, state.materialProfileDiagnostics.length - LOCAL_EDITOR_MATERIAL_PROFILE_DIAGNOSTIC_LIMIT);
|
|
85
|
+
}
|
|
86
|
+
if (!diagnostic.warningMessage || !isLocalEditorMaterialProfileDiagnosticConsoleEnabled())
|
|
87
|
+
return;
|
|
88
|
+
console.warn(LOCAL_EDITOR_PROJECTION_MATERIAL_PROFILE_WARNING, {
|
|
89
|
+
projectionNodeId: diagnostic.projectionNodeId,
|
|
90
|
+
source: diagnostic.source,
|
|
91
|
+
slotId: diagnostic.slotId,
|
|
92
|
+
ownerNodePath: diagnostic.ownerNodePath,
|
|
93
|
+
meshOwnerNodePath: diagnostic.meshOwnerNodePath,
|
|
94
|
+
matchKind: diagnostic.matchKind,
|
|
95
|
+
targetMaterialStatus: diagnostic.targetMaterialStatus,
|
|
96
|
+
warningMessage: diagnostic.warningMessage,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
function isLocalEditorMaterialProfileDiagnosticConsoleEnabled() {
|
|
100
|
+
return globalThis
|
|
101
|
+
.__FPS_EDITOR_DEBUG_MATERIAL_PROFILE_DIAGNOSTICS === true;
|
|
102
|
+
}
|
|
63
103
|
function createLocalEditorDataSafetyInteractionPolicy(ui) {
|
|
64
104
|
return {
|
|
65
105
|
confirmDiscardUnsavedChanges() {
|
|
@@ -97,9 +137,63 @@ function stringifyLocalEditorError(error) {
|
|
|
97
137
|
return String(error);
|
|
98
138
|
}
|
|
99
139
|
export function createLocalEditorHarness(options) {
|
|
140
|
+
let cleanupResources = null;
|
|
141
|
+
let releasePluginHostConsumer = options.pluginHost?.acquireConsumer('local-editor-harness') ?? null;
|
|
142
|
+
const releaseConsumer = () => {
|
|
143
|
+
if (!releasePluginHostConsumer)
|
|
144
|
+
return;
|
|
145
|
+
const release = releasePluginHostConsumer;
|
|
146
|
+
release();
|
|
147
|
+
releasePluginHostConsumer = null;
|
|
148
|
+
};
|
|
149
|
+
const cleanupAndRelease = () => {
|
|
150
|
+
cleanupResources?.();
|
|
151
|
+
releaseConsumer();
|
|
152
|
+
};
|
|
153
|
+
const construction = {
|
|
154
|
+
setCleanup(cleanup) {
|
|
155
|
+
cleanupResources = cleanup;
|
|
156
|
+
},
|
|
157
|
+
dispose: cleanupAndRelease,
|
|
158
|
+
};
|
|
159
|
+
try {
|
|
160
|
+
return createLocalEditorHarnessImplementation(options, construction);
|
|
161
|
+
}
|
|
162
|
+
catch (constructionError) {
|
|
163
|
+
const nestedRetryCleanup = readRetryCleanup(constructionError);
|
|
164
|
+
if (!cleanupResources && nestedRetryCleanup)
|
|
165
|
+
cleanupResources = nestedRetryCleanup;
|
|
166
|
+
try {
|
|
167
|
+
cleanupAndRelease();
|
|
168
|
+
}
|
|
169
|
+
catch (cleanupError) {
|
|
170
|
+
throw createLocalEditorHarnessConstructionError(constructionError, cleanupError, cleanupAndRelease);
|
|
171
|
+
}
|
|
172
|
+
throw constructionError;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
function createLocalEditorHarnessImplementation(options, construction) {
|
|
100
176
|
const root = options.root ?? document.body;
|
|
177
|
+
let lifecycleController = null;
|
|
178
|
+
let releaseApplicationAuthorityScopeResource = null;
|
|
179
|
+
let releaseLifecycleRenderScopeResource = null;
|
|
180
|
+
let unsubscribeLifecycleRender = null;
|
|
181
|
+
let unregisterAgentBridgeLifecycleParticipant = null;
|
|
182
|
+
const agentBridgeLifecycleTransports = new Map();
|
|
183
|
+
let releaseMainSessionScopeResource = null;
|
|
184
|
+
let releaseMainPreviewScopeResource = null;
|
|
101
185
|
const state = {
|
|
102
|
-
mode
|
|
186
|
+
get mode() {
|
|
187
|
+
const lifecycleMode = lifecycleController?.lifecycle.getSnapshot().mode;
|
|
188
|
+
if (lifecycleMode)
|
|
189
|
+
return lifecycleMode === 'edit' ? 'editor' : 'game';
|
|
190
|
+
return state.world ? 'editor' : 'game';
|
|
191
|
+
},
|
|
192
|
+
get lifecycle() {
|
|
193
|
+
return lifecycleController?.lifecycle ?? null;
|
|
194
|
+
},
|
|
195
|
+
scopeOperations: null,
|
|
196
|
+
nextPrefabScopeRevision: 0,
|
|
103
197
|
editorStateRevision: 0,
|
|
104
198
|
sceneArtifactRevision: 0,
|
|
105
199
|
busy: false,
|
|
@@ -114,6 +208,7 @@ export function createLocalEditorHarness(options) {
|
|
|
114
208
|
grid: null,
|
|
115
209
|
gridVisible: true,
|
|
116
210
|
projection: null,
|
|
211
|
+
materialProfileDiagnostics: [],
|
|
117
212
|
previewVisibility: {
|
|
118
213
|
overrides: {},
|
|
119
214
|
isolatedObjectIds: [],
|
|
@@ -172,7 +267,64 @@ export function createLocalEditorHarness(options) {
|
|
|
172
267
|
agentBridgeTransport: null,
|
|
173
268
|
agentBridgeStatus: createDisabledLocalEditorAgentBridgeTransportStatus(),
|
|
174
269
|
};
|
|
270
|
+
const handleEditorSessionChange = (change) => {
|
|
271
|
+
void lifecycleController?.synchronizeDocumentState(change.dirty).catch(error => {
|
|
272
|
+
console.error('[LocalEditorHarness] lifecycle document synchronization failed', error);
|
|
273
|
+
});
|
|
274
|
+
const eventPublisher = options.pluginHost?.eventPublisher;
|
|
275
|
+
const session = state.session;
|
|
276
|
+
if (!eventPublisher || !session)
|
|
277
|
+
return;
|
|
278
|
+
const sessionState = session.getState({ cloneDocuments: false });
|
|
279
|
+
if (change.documentChanged) {
|
|
280
|
+
void eventPublisher.publish(FPS_EDITOR_DOCUMENT_CHANGED, Object.freeze({
|
|
281
|
+
reason: change.reason,
|
|
282
|
+
dirty: change.dirty,
|
|
283
|
+
documentChanged: true,
|
|
284
|
+
}), {
|
|
285
|
+
scope: 'document',
|
|
286
|
+
scopeId: PLAYABLE_LOCAL_EDITOR_MAIN_DOCUMENT_SCOPE_ID,
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
if (change.selectionChanged) {
|
|
290
|
+
void eventPublisher.publish(FPS_EDITOR_SELECTION_CHANGED, Object.freeze({
|
|
291
|
+
selectedIds: Object.freeze([...sessionState.selection.selectedIds]),
|
|
292
|
+
activeId: sessionState.selection.activeId,
|
|
293
|
+
}), {
|
|
294
|
+
scope: 'session',
|
|
295
|
+
scopeId: PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID,
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
if (change.historyChanged) {
|
|
299
|
+
void eventPublisher.publish(FPS_EDITOR_HISTORY_CHANGED, Object.freeze({
|
|
300
|
+
reason: change.reason === 'reset' ? 'reset' : change.reason === 'history' ? 'history' : 'document',
|
|
301
|
+
canUndo: sessionState.canUndo,
|
|
302
|
+
canRedo: sessionState.canRedo,
|
|
303
|
+
entryCount: sessionState.history.entries.length,
|
|
304
|
+
}), {
|
|
305
|
+
scope: 'session',
|
|
306
|
+
scopeId: PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID,
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
const handleEditorSessionObserverError = (error) => {
|
|
311
|
+
const diagnostic = {
|
|
312
|
+
code: 'editor.session.observerFailed',
|
|
313
|
+
message: error instanceof Error ? error.message : String(error),
|
|
314
|
+
severity: 'error',
|
|
315
|
+
};
|
|
316
|
+
if (options.pluginHost) {
|
|
317
|
+
options.pluginHost.reportDiagnostic(diagnostic, {
|
|
318
|
+
scope: 'session',
|
|
319
|
+
scopeId: PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID,
|
|
320
|
+
});
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
323
|
+
console.error('[LocalEditorHarness] session observer failed', error);
|
|
324
|
+
};
|
|
175
325
|
let harness;
|
|
326
|
+
let agentLifecycleController;
|
|
327
|
+
const pluginInspector = createLocalEditorHarnessPluginInspectorOptions(options.pluginHost, options.inspector);
|
|
176
328
|
const ui = createLocalEditorBrowserUi({
|
|
177
329
|
root,
|
|
178
330
|
theme: options.theme,
|
|
@@ -180,22 +332,22 @@ export function createLocalEditorHarness(options) {
|
|
|
180
332
|
input: {
|
|
181
333
|
isShortcutReserved: (event) => state.sceneViewInput?.ownsKeyboardEvent(event) ?? false,
|
|
182
334
|
},
|
|
183
|
-
inspector:
|
|
335
|
+
inspector: pluginInspector,
|
|
184
336
|
hierarchy: {
|
|
185
337
|
contextActions: createBrowserHierarchyContextActions(state, options),
|
|
186
338
|
},
|
|
187
339
|
callbacks: {
|
|
188
340
|
onEnterEditor: () => {
|
|
189
|
-
void runExclusive(state, harness.render, () =>
|
|
341
|
+
void runExclusive(state, harness.render, () => agentLifecycleController.enterEditor());
|
|
190
342
|
},
|
|
191
343
|
onSaveScene: () => {
|
|
192
|
-
void runExclusive(state, harness.render, () =>
|
|
344
|
+
void runExclusive(state, harness.render, () => agentLifecycleController.saveScene());
|
|
193
345
|
},
|
|
194
346
|
onSaveAndRunGame: () => {
|
|
195
|
-
void runExclusive(state, harness.render, () =>
|
|
347
|
+
void runExclusive(state, harness.render, () => agentLifecycleController.saveAndRunGame());
|
|
196
348
|
},
|
|
197
349
|
onDiscardAndRunGame: () => {
|
|
198
|
-
void runExclusive(state, harness.render, () =>
|
|
350
|
+
void runExclusive(state, harness.render, () => agentLifecycleController.discardAndRunGame());
|
|
199
351
|
},
|
|
200
352
|
onUndo: () => {
|
|
201
353
|
void harness.undo({ origin: 'user', waitForProjection: 'none' });
|
|
@@ -212,12 +364,16 @@ export function createLocalEditorHarness(options) {
|
|
|
212
364
|
harness.render();
|
|
213
365
|
},
|
|
214
366
|
onAssetAction: (input) => {
|
|
215
|
-
|
|
216
|
-
|
|
367
|
+
void runExclusive(state, harness.render, async () => {
|
|
368
|
+
if (await handleBrowserAssetAction(state, options, input))
|
|
369
|
+
harness.render();
|
|
370
|
+
});
|
|
217
371
|
},
|
|
218
372
|
onExitPrefabStage: () => {
|
|
219
|
-
|
|
220
|
-
|
|
373
|
+
void runExclusive(state, harness.render, async () => {
|
|
374
|
+
if (await exitPrefabStage(state, options))
|
|
375
|
+
harness.render();
|
|
376
|
+
});
|
|
221
377
|
},
|
|
222
378
|
onSelectPrefabStageItem: (itemId) => {
|
|
223
379
|
if (selectPrefabStageItemWithPreviewSync(state, options, itemId))
|
|
@@ -289,6 +445,19 @@ export function createLocalEditorHarness(options) {
|
|
|
289
445
|
harness.render();
|
|
290
446
|
},
|
|
291
447
|
onContextAction: (action) => {
|
|
448
|
+
if (action.region === 'hierarchy' && action.action === 'custom') {
|
|
449
|
+
const result = runHierarchyCustomContextAction(state, options, action);
|
|
450
|
+
if (isLocalEditorPromiseLike(result)) {
|
|
451
|
+
void result.then(changed => {
|
|
452
|
+
if (changed)
|
|
453
|
+
harness.render();
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
else if (result) {
|
|
457
|
+
harness.render();
|
|
458
|
+
}
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
292
461
|
if (handleContextAction(state, options, action))
|
|
293
462
|
harness.render();
|
|
294
463
|
},
|
|
@@ -303,8 +472,10 @@ export function createLocalEditorHarness(options) {
|
|
|
303
472
|
harness.render();
|
|
304
473
|
},
|
|
305
474
|
onInspectorAction: (input) => {
|
|
306
|
-
|
|
307
|
-
|
|
475
|
+
void runExclusive(state, harness.render, async () => {
|
|
476
|
+
if (await handleInspectorAction(state, options, input))
|
|
477
|
+
harness.render();
|
|
478
|
+
});
|
|
308
479
|
},
|
|
309
480
|
onRenderingPropertyChange: options.documentAdapter.onRenderingPropertyChange
|
|
310
481
|
? (input) => {
|
|
@@ -326,12 +497,22 @@ export function createLocalEditorHarness(options) {
|
|
|
326
497
|
}
|
|
327
498
|
: undefined,
|
|
328
499
|
onTransformToolChange: (tool) => {
|
|
500
|
+
const previous = state.transformTool;
|
|
329
501
|
commitEditorStateChange(state, options, harness.render, 'transform-tool-change', () => {
|
|
330
502
|
state.transformTool = tool;
|
|
331
503
|
state.transformConstraint = normalizeTransformConstraint(tool, state.transformConstraint);
|
|
332
504
|
}, {
|
|
333
505
|
syncTransformArtifacts: true,
|
|
334
506
|
});
|
|
507
|
+
if (previous !== state.transformTool) {
|
|
508
|
+
void options.pluginHost?.eventPublisher.publish(FPS_EDITOR_ACTIVE_TOOL_CHANGED, Object.freeze({
|
|
509
|
+
previous,
|
|
510
|
+
current: state.transformTool,
|
|
511
|
+
}), {
|
|
512
|
+
scope: 'session',
|
|
513
|
+
scopeId: PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID,
|
|
514
|
+
});
|
|
515
|
+
}
|
|
335
516
|
},
|
|
336
517
|
onTransformSpaceChange: (space) => {
|
|
337
518
|
commitEditorStateChange(state, options, harness.render, 'transform-space-change', () => {
|
|
@@ -456,12 +637,27 @@ export function createLocalEditorHarness(options) {
|
|
|
456
637
|
},
|
|
457
638
|
},
|
|
458
639
|
});
|
|
640
|
+
construction.setCleanup(() => {
|
|
641
|
+
unregisterAgentBridgeLifecycleParticipant?.();
|
|
642
|
+
unregisterAgentBridgeLifecycleParticipant = null;
|
|
643
|
+
agentBridgeLifecycleTransports.clear();
|
|
644
|
+
releaseApplicationAuthorityScopeResource?.();
|
|
645
|
+
releaseApplicationAuthorityScopeResource = null;
|
|
646
|
+
releaseMainSessionScopeResource?.();
|
|
647
|
+
releaseMainSessionScopeResource = null;
|
|
648
|
+
releaseMainPreviewScopeResource?.();
|
|
649
|
+
releaseMainPreviewScopeResource = null;
|
|
650
|
+
disposeLocalEditorHarnessResources(state, ui);
|
|
651
|
+
});
|
|
459
652
|
const runGameFromEditor = async (reason) => {
|
|
460
653
|
cancelActiveOperation(state);
|
|
461
654
|
await waitForEditorProjectionIdleBeforeRunGame(state);
|
|
462
|
-
|
|
655
|
+
if (!lifecycleController)
|
|
656
|
+
disposeEditorWorld(state);
|
|
463
657
|
await waitForEditorWorldDisposeBoundary();
|
|
464
|
-
|
|
658
|
+
await options.persistenceAdapter.runGame({ reason });
|
|
659
|
+
// The lifecycle-owned Session Scope clears these before runGame. Keep the
|
|
660
|
+
// assignment idempotent for direct harness consumers without a coordinator.
|
|
465
661
|
state.session = null;
|
|
466
662
|
state.source = null;
|
|
467
663
|
state.status = reason === 'save' ? 'Saved scene; starting game' : 'Discarded editor changes; starting game';
|
|
@@ -469,9 +665,128 @@ export function createLocalEditorHarness(options) {
|
|
|
469
665
|
state.statusToneStatus = state.status;
|
|
470
666
|
state.statusDetails = '';
|
|
471
667
|
harness.render();
|
|
472
|
-
await options.persistenceAdapter.runGame({ reason });
|
|
473
668
|
harness.render();
|
|
474
669
|
};
|
|
670
|
+
const loadEditorDocument = async () => {
|
|
671
|
+
const loadedSource = options.persistenceAdapter.loadAuthoringSource
|
|
672
|
+
? await options.persistenceAdapter.loadAuthoringSource()
|
|
673
|
+
: null;
|
|
674
|
+
const [document, assets] = loadedSource
|
|
675
|
+
? [loadedSource.document, loadedSource.assets ?? await options.persistenceAdapter.loadAssets()]
|
|
676
|
+
: [await loadDocumentFallback(options), await options.persistenceAdapter.loadAssets()];
|
|
677
|
+
const source = loadedSource?.source ?? null;
|
|
678
|
+
const preparedDocument = options.documentAdapter.prepareDocument?.(document, assets) ?? document;
|
|
679
|
+
state.assets = assets;
|
|
680
|
+
state.source = source;
|
|
681
|
+
state.markerGraphVisibility = createDefaultMarkerGraphVisibilityState();
|
|
682
|
+
state.activeMarkerRelationId = null;
|
|
683
|
+
state.markerRelationHighlightContinuous = false;
|
|
684
|
+
state.markerCreateReservations = createEmptyMarkerCreateReservations();
|
|
685
|
+
state.session = createEditorSession({
|
|
686
|
+
source: source ?? undefined,
|
|
687
|
+
persistedDocument: preparedDocument,
|
|
688
|
+
cloneDocument: options.documentAdapter.cloneDocument,
|
|
689
|
+
compareDocuments: options.documentAdapter.compareDocuments,
|
|
690
|
+
reduceDocument: options.documentAdapter.reduceDocument,
|
|
691
|
+
onChange: handleEditorSessionChange,
|
|
692
|
+
onChangeError: handleEditorSessionObserverError,
|
|
693
|
+
});
|
|
694
|
+
try {
|
|
695
|
+
attachLifecycleOwnedSessionAuthority();
|
|
696
|
+
}
|
|
697
|
+
catch (error) {
|
|
698
|
+
state.session = null;
|
|
699
|
+
state.source = null;
|
|
700
|
+
throw error;
|
|
701
|
+
}
|
|
702
|
+
state.summary = loadedSource?.summary ?? summarizeDocument(options, preparedDocument, source);
|
|
703
|
+
};
|
|
704
|
+
const enterEditorWorld = async () => {
|
|
705
|
+
if (!state.session)
|
|
706
|
+
throw new Error('Editor document must be loaded before entering the editor world.');
|
|
707
|
+
attachLifecycleOwnedApplicationAuthority();
|
|
708
|
+
attachLifecycleOwnedSessionAuthority();
|
|
709
|
+
await options.worldAdapter.disposeGameWorld();
|
|
710
|
+
releaseMainPreviewScopeResource?.();
|
|
711
|
+
releaseMainPreviewScopeResource = null;
|
|
712
|
+
if (lifecycleController) {
|
|
713
|
+
releaseMainPreviewScopeResource = lifecycleController.addScopeResource(PLAYABLE_LOCAL_EDITOR_MAIN_PREVIEW_SCOPE_ID, async () => {
|
|
714
|
+
releaseMainPreviewScopeResource = null;
|
|
715
|
+
const prefabStage = state.prefabStage;
|
|
716
|
+
if (prefabStage) {
|
|
717
|
+
await closePrefabStageLifecycleScopes(state, prefabStage);
|
|
718
|
+
if (state.prefabStage === prefabStage)
|
|
719
|
+
clearPrefabStageForEditorTeardown(state);
|
|
720
|
+
}
|
|
721
|
+
disposeEditorWorld(state);
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
try {
|
|
725
|
+
await createEditorWorld(state, options, harness.render, previewState => {
|
|
726
|
+
if (ui.updatePreview)
|
|
727
|
+
ui.updatePreview(previewState);
|
|
728
|
+
else
|
|
729
|
+
ui.update(createUiState(state, options));
|
|
730
|
+
syncPrefabComparisonPreviewSurfaces(state, ui);
|
|
731
|
+
}, stats => ui.updateSceneFrameStats?.(stats), stats => ui.updatePerformanceStats?.(stats), () => ui.getPrefabComparisonPreviewSurfaces?.() ?? []);
|
|
732
|
+
}
|
|
733
|
+
catch (error) {
|
|
734
|
+
if (!lifecycleController)
|
|
735
|
+
disposeEditorWorld(state);
|
|
736
|
+
throw error;
|
|
737
|
+
}
|
|
738
|
+
state.status = `GameWorld disposed; EditorWorld active; assets=${state.assets.length}`;
|
|
739
|
+
harness.render();
|
|
740
|
+
harness.notifyViewportRevealed('editor-enter');
|
|
741
|
+
};
|
|
742
|
+
const restoreEditorDocument = async () => {
|
|
743
|
+
const sessionState = state.session?.getState({ cloneDocuments: false });
|
|
744
|
+
if (!state.session || !sessionState)
|
|
745
|
+
throw new Error('Cannot discard an unloaded editor document.');
|
|
746
|
+
state.session.reset(sessionState.persistedDocument, sessionState.source);
|
|
747
|
+
state.source = sessionState.source ?? null;
|
|
748
|
+
state.summary = summarizeDocument(options, sessionState.persistedDocument, state.source);
|
|
749
|
+
state.status = 'Editor changes discarded';
|
|
750
|
+
state.statusTone = 'default';
|
|
751
|
+
state.statusToneStatus = state.status;
|
|
752
|
+
state.statusDetails = '';
|
|
753
|
+
};
|
|
754
|
+
const markDocumentCommitted = async (expectedDocumentFingerprint) => {
|
|
755
|
+
const sessionState = state.session?.getState({ cloneDocuments: false });
|
|
756
|
+
if (!state.session || !sessionState)
|
|
757
|
+
throw new Error('Cannot commit an unloaded editor document.');
|
|
758
|
+
if (createLocalEditorDocumentFingerprint(sessionState.workingDocument) !== expectedDocumentFingerprint) {
|
|
759
|
+
throw new Error('Editor document changed after export; refusing to commit a stale snapshot.');
|
|
760
|
+
}
|
|
761
|
+
state.session.markSaved(sessionState.workingDocument, sessionState.source);
|
|
762
|
+
state.source = sessionState.source ?? null;
|
|
763
|
+
state.status = 'Platform save committed';
|
|
764
|
+
state.statusTone = 'success';
|
|
765
|
+
state.statusToneStatus = state.status;
|
|
766
|
+
state.statusDetails = '';
|
|
767
|
+
};
|
|
768
|
+
const scheduleEditorLifecycleExit = (exitEditor) => {
|
|
769
|
+
if (state.busy)
|
|
770
|
+
throw new Error('Local editor host is busy.');
|
|
771
|
+
state.busy = true;
|
|
772
|
+
harness.render();
|
|
773
|
+
globalThis.setTimeout(() => {
|
|
774
|
+
void exitEditor()
|
|
775
|
+
.then(() => new Promise(resolve => globalThis.setTimeout(resolve, 0)))
|
|
776
|
+
.catch(error => {
|
|
777
|
+
state.status = error instanceof Error ? error.message : String(error);
|
|
778
|
+
state.statusTone = 'error';
|
|
779
|
+
state.statusToneStatus = state.status;
|
|
780
|
+
state.statusDetails = state.status;
|
|
781
|
+
console.error('[LocalEditorHarness] scheduled run failed', error);
|
|
782
|
+
})
|
|
783
|
+
.finally(() => {
|
|
784
|
+
state.busy = false;
|
|
785
|
+
if (state.session)
|
|
786
|
+
harness.render();
|
|
787
|
+
});
|
|
788
|
+
}, 0);
|
|
789
|
+
};
|
|
475
790
|
harness = {
|
|
476
791
|
render() {
|
|
477
792
|
syncViewportCameraState(state);
|
|
@@ -515,6 +830,9 @@ export function createLocalEditorHarness(options) {
|
|
|
515
830
|
getDefaultInteractionPolicy() {
|
|
516
831
|
return createLocalEditorDataSafetyInteractionPolicy(ui);
|
|
517
832
|
},
|
|
833
|
+
getLifecycleService() {
|
|
834
|
+
return lifecycleController?.lifecycle ?? null;
|
|
835
|
+
},
|
|
518
836
|
async reloadAssets() {
|
|
519
837
|
try {
|
|
520
838
|
const assets = await options.persistenceAdapter.loadAssets();
|
|
@@ -563,40 +881,8 @@ export function createLocalEditorHarness(options) {
|
|
|
563
881
|
return waitForHistoryOperationProjection(state, result);
|
|
564
882
|
},
|
|
565
883
|
async enterEditor() {
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
: null;
|
|
569
|
-
const [document, assets] = loadedSource
|
|
570
|
-
? [loadedSource.document, loadedSource.assets ?? await options.persistenceAdapter.loadAssets()]
|
|
571
|
-
: [await loadDocumentFallback(options), await options.persistenceAdapter.loadAssets()];
|
|
572
|
-
const source = loadedSource?.source ?? null;
|
|
573
|
-
const preparedDocument = options.documentAdapter.prepareDocument?.(document, assets) ?? document;
|
|
574
|
-
state.assets = assets;
|
|
575
|
-
state.source = source;
|
|
576
|
-
state.markerGraphVisibility = createDefaultMarkerGraphVisibilityState();
|
|
577
|
-
state.activeMarkerRelationId = null;
|
|
578
|
-
state.markerRelationHighlightContinuous = false;
|
|
579
|
-
state.markerCreateReservations = createEmptyMarkerCreateReservations();
|
|
580
|
-
state.session = createEditorSession({
|
|
581
|
-
source: source ?? undefined,
|
|
582
|
-
persistedDocument: preparedDocument,
|
|
583
|
-
cloneDocument: options.documentAdapter.cloneDocument,
|
|
584
|
-
compareDocuments: options.documentAdapter.compareDocuments,
|
|
585
|
-
reduceDocument: options.documentAdapter.reduceDocument,
|
|
586
|
-
});
|
|
587
|
-
await options.worldAdapter.disposeGameWorld();
|
|
588
|
-
await createEditorWorld(state, options, harness.render, previewState => {
|
|
589
|
-
if (ui.updatePreview)
|
|
590
|
-
ui.updatePreview(previewState);
|
|
591
|
-
else
|
|
592
|
-
ui.update(createUiState(state, options));
|
|
593
|
-
syncPrefabComparisonPreviewSurfaces(state, ui);
|
|
594
|
-
}, stats => ui.updateSceneFrameStats?.(stats), stats => ui.updatePerformanceStats?.(stats), () => ui.getPrefabComparisonPreviewSurfaces?.() ?? []);
|
|
595
|
-
state.mode = 'editor';
|
|
596
|
-
state.summary = loadedSource?.summary ?? summarizeDocument(options, preparedDocument, source);
|
|
597
|
-
state.status = `GameWorld disposed; EditorWorld active; assets=${assets.length}`;
|
|
598
|
-
harness.render();
|
|
599
|
-
harness.notifyViewportRevealed('editor-enter');
|
|
884
|
+
await loadEditorDocument();
|
|
885
|
+
await enterEditorWorld();
|
|
600
886
|
},
|
|
601
887
|
async saveScene() {
|
|
602
888
|
cancelActiveOperation(state);
|
|
@@ -646,7 +932,17 @@ export function createLocalEditorHarness(options) {
|
|
|
646
932
|
cloneDocument: options.documentAdapter.cloneDocument,
|
|
647
933
|
compareDocuments: options.documentAdapter.compareDocuments,
|
|
648
934
|
reduceDocument: options.documentAdapter.reduceDocument,
|
|
935
|
+
onChange: handleEditorSessionChange,
|
|
936
|
+
onChangeError: handleEditorSessionObserverError,
|
|
649
937
|
});
|
|
938
|
+
try {
|
|
939
|
+
attachLifecycleOwnedSessionAuthority();
|
|
940
|
+
}
|
|
941
|
+
catch (error) {
|
|
942
|
+
state.session = null;
|
|
943
|
+
state.source = null;
|
|
944
|
+
throw error;
|
|
945
|
+
}
|
|
650
946
|
}
|
|
651
947
|
state.summary = result.summary ?? summarizeDocument(options, preparedDocument, savedSource ?? null);
|
|
652
948
|
state.status = 'Scene saved';
|
|
@@ -675,22 +971,34 @@ export function createLocalEditorHarness(options) {
|
|
|
675
971
|
await runGameFromEditor('discard');
|
|
676
972
|
},
|
|
677
973
|
dispose() {
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
974
|
+
construction.dispose();
|
|
975
|
+
},
|
|
976
|
+
};
|
|
977
|
+
agentLifecycleController = {
|
|
978
|
+
enterEditor: () => harness.enterEditor(),
|
|
979
|
+
saveScene: () => harness.saveScene(),
|
|
980
|
+
saveAndRunGame: () => harness.saveAndRunGame(),
|
|
981
|
+
async discardAndRunGame() {
|
|
982
|
+
await harness.discardAndRunGame();
|
|
983
|
+
return true;
|
|
984
|
+
},
|
|
985
|
+
async prepareSaveAndRunGame() {
|
|
986
|
+
const saved = await harness.saveScene();
|
|
987
|
+
return saved
|
|
988
|
+
? { accepted: true, run: () => runGameFromEditor('save') }
|
|
989
|
+
: { accepted: false };
|
|
990
|
+
},
|
|
991
|
+
async prepareDiscardAndRunGame() {
|
|
992
|
+
return { accepted: true, run: () => runGameFromEditor('discard') };
|
|
685
993
|
},
|
|
686
994
|
};
|
|
687
995
|
const agentBridgeCapabilitySourceOperations = {
|
|
688
996
|
createAssetFromAssetId: (assetId, createOptions) => harness.createAssetFromAssetId(assetId, createOptions),
|
|
689
997
|
getPrefabStage: () => summarizeAgentBridgePrefabStage(state, options),
|
|
690
998
|
getPrefabStageDetails: () => summarizeAgentBridgePrefabStageDetails(state, options),
|
|
691
|
-
openPrefabStage: (
|
|
999
|
+
openPrefabStage: input => runExclusiveResult(state, harness.render, async () => {
|
|
692
1000
|
const previousStage = summarizeAgentBridgePrefabStage(state, options);
|
|
693
|
-
const opened = enterPrefabStage(state, options, {
|
|
1001
|
+
const opened = await enterPrefabStage(state, options, {
|
|
694
1002
|
actionId: 'asset.edit-prefab',
|
|
695
1003
|
assetId: input.assetId,
|
|
696
1004
|
browserAssetId: input.browserAssetId,
|
|
@@ -707,17 +1015,17 @@ export function createLocalEditorHarness(options) {
|
|
|
707
1015
|
stage,
|
|
708
1016
|
status: state.status,
|
|
709
1017
|
};
|
|
710
|
-
},
|
|
711
|
-
exitPrefabStage: () => {
|
|
1018
|
+
}),
|
|
1019
|
+
exitPrefabStage: () => runExclusiveResult(state, harness.render, async () => {
|
|
712
1020
|
const previousStage = summarizeAgentBridgePrefabStage(state, options);
|
|
713
|
-
const exited = exitPrefabStage(state, options);
|
|
1021
|
+
const exited = await exitPrefabStage(state, options);
|
|
714
1022
|
return {
|
|
715
1023
|
exited,
|
|
716
1024
|
wasOpen: !!previousStage,
|
|
717
1025
|
...(previousStage ? { previousStage } : {}),
|
|
718
1026
|
status: exited ? state.status : 'No Prefab stage is open.',
|
|
719
1027
|
};
|
|
720
|
-
},
|
|
1028
|
+
}),
|
|
721
1029
|
selectPrefabStageItem: itemId => selectPrefabStageItemWithPreviewSync(state, options, itemId),
|
|
722
1030
|
runPrefabStageAssetAction: input => patchBrowserAssetAction(state, options, input),
|
|
723
1031
|
getHierarchy: () => createUiState(state, options).hierarchy,
|
|
@@ -764,17 +1072,230 @@ export function createLocalEditorHarness(options) {
|
|
|
764
1072
|
},
|
|
765
1073
|
runRenderingAction: actionId => applyRenderingAction(state, options, { actionId }, () => harness.render()),
|
|
766
1074
|
};
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
state.
|
|
772
|
-
|
|
1075
|
+
const registerAgentBridgeCapabilities = () => {
|
|
1076
|
+
if (state.unregisterAgentBridgeCapabilities)
|
|
1077
|
+
return;
|
|
1078
|
+
const unregisterStandardAgentCapabilities = registerLocalEditorAgentBridgeCapabilities(state.agentBridge, createLocalEditorAgentBridgeCapabilitySources(state, options, () => harness.render(), context => runExclusive(state, harness.render, () => agentLifecycleController.enterEditor(context)), async (context) => {
|
|
1079
|
+
const prepared = await runExclusiveResult(state, harness.render, () => agentLifecycleController.prepareSaveAndRunGame(context));
|
|
1080
|
+
if (prepared.accepted)
|
|
1081
|
+
scheduleEditorLifecycleExit(prepared.run);
|
|
1082
|
+
return prepared.accepted;
|
|
1083
|
+
}, async (context) => {
|
|
1084
|
+
const prepared = await runExclusiveResult(state, harness.render, () => agentLifecycleController.prepareDiscardAndRunGame(context));
|
|
1085
|
+
if (prepared.accepted)
|
|
1086
|
+
scheduleEditorLifecycleExit(prepared.run);
|
|
1087
|
+
return prepared.accepted;
|
|
1088
|
+
}, agentBridgeCapabilitySourceOperations));
|
|
1089
|
+
try {
|
|
1090
|
+
const unregisterPluginAgentCapabilities = registerEditorPluginAgentCapabilities(state.agentBridge, options.pluginHost);
|
|
1091
|
+
state.unregisterAgentBridgeCapabilities = () => {
|
|
1092
|
+
const errors = [];
|
|
1093
|
+
try {
|
|
1094
|
+
unregisterPluginAgentCapabilities();
|
|
1095
|
+
}
|
|
1096
|
+
catch (error) {
|
|
1097
|
+
errors.push(error);
|
|
1098
|
+
}
|
|
1099
|
+
try {
|
|
1100
|
+
unregisterStandardAgentCapabilities();
|
|
1101
|
+
}
|
|
1102
|
+
catch (error) {
|
|
1103
|
+
errors.push(error);
|
|
1104
|
+
}
|
|
1105
|
+
if (errors.length > 0) {
|
|
1106
|
+
const error = new Error('Local Editor Agent capability cleanup failed.');
|
|
1107
|
+
error.errors = errors;
|
|
1108
|
+
throw error;
|
|
1109
|
+
}
|
|
1110
|
+
};
|
|
1111
|
+
}
|
|
1112
|
+
catch (error) {
|
|
1113
|
+
try {
|
|
1114
|
+
unregisterStandardAgentCapabilities();
|
|
1115
|
+
}
|
|
1116
|
+
catch (cleanupError) {
|
|
1117
|
+
const combined = new Error('Plugin Agent capability registration failed and standard capability rollback reported errors.');
|
|
1118
|
+
combined.errors = [error, cleanupError];
|
|
1119
|
+
throw combined;
|
|
1120
|
+
}
|
|
1121
|
+
throw error;
|
|
1122
|
+
}
|
|
1123
|
+
};
|
|
1124
|
+
const activateAgentBridgeAuthority = () => {
|
|
1125
|
+
registerAgentBridgeCapabilities();
|
|
1126
|
+
if (state.agentBridgeTransport)
|
|
1127
|
+
return;
|
|
1128
|
+
state.agentBridgeTransport = createLocalEditorAgentBridgeWebSocketTransportFromQuery(state.agentBridge, {
|
|
1129
|
+
metadata: options.agentBridge?.sessionMetadata,
|
|
1130
|
+
onStatusChange: agentBridgeStatus => {
|
|
1131
|
+
state.agentBridgeStatus = agentBridgeStatus;
|
|
1132
|
+
harness.render();
|
|
1133
|
+
},
|
|
1134
|
+
});
|
|
1135
|
+
};
|
|
1136
|
+
const disposeAgentBridgeAuthority = () => {
|
|
1137
|
+
if (state.agentBridgeTransport) {
|
|
1138
|
+
state.agentBridgeTransport.dispose();
|
|
1139
|
+
state.agentBridgeTransport = null;
|
|
1140
|
+
}
|
|
1141
|
+
if (state.unregisterAgentBridgeCapabilities) {
|
|
1142
|
+
state.unregisterAgentBridgeCapabilities();
|
|
1143
|
+
state.unregisterAgentBridgeCapabilities = null;
|
|
1144
|
+
}
|
|
1145
|
+
};
|
|
1146
|
+
const attachLifecycleOwnedApplicationAuthority = () => {
|
|
1147
|
+
if (!lifecycleController)
|
|
1148
|
+
return;
|
|
1149
|
+
if (!unsubscribeLifecycleRender)
|
|
1150
|
+
attachLifecycleRenderSubscription();
|
|
1151
|
+
activateAgentBridgeAuthority();
|
|
1152
|
+
attachAgentBridgeLifecycleParticipant();
|
|
1153
|
+
if (!releaseApplicationAuthorityScopeResource) {
|
|
1154
|
+
releaseApplicationAuthorityScopeResource = lifecycleController.addScopeResource(PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID, () => {
|
|
1155
|
+
disposeAgentBridgeAuthority();
|
|
1156
|
+
releaseApplicationAuthorityScopeResource = null;
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
};
|
|
1160
|
+
const reportAgentBridgeLifecycleTransition = (event) => {
|
|
1161
|
+
const transitionId = event.transition.id;
|
|
1162
|
+
const transport = agentBridgeLifecycleTransports.get(transitionId)
|
|
1163
|
+
?? state.agentBridgeTransport;
|
|
1164
|
+
transport?.reportLifecycleTransition(event);
|
|
1165
|
+
if (event.status !== 'started')
|
|
1166
|
+
agentBridgeLifecycleTransports.delete(transitionId);
|
|
1167
|
+
};
|
|
1168
|
+
const attachAgentBridgeLifecycleParticipant = () => {
|
|
1169
|
+
unregisterAgentBridgeLifecycleParticipant?.();
|
|
1170
|
+
unregisterAgentBridgeLifecycleParticipant = null;
|
|
1171
|
+
if (!lifecycleController)
|
|
1172
|
+
return;
|
|
1173
|
+
unregisterAgentBridgeLifecycleParticipant = lifecycleController.registerParticipant({
|
|
1174
|
+
id: 'fps.editor.agent-bridge.lifecycle-trace',
|
|
1175
|
+
transitions: FPS_EDITOR_LIFECYCLE_TRANSITION_TYPES,
|
|
1176
|
+
prepare(context) {
|
|
1177
|
+
const transport = state.agentBridgeTransport;
|
|
1178
|
+
if (transport)
|
|
1179
|
+
agentBridgeLifecycleTransports.set(context.transition.id, transport);
|
|
1180
|
+
reportAgentBridgeLifecycleTransition({
|
|
1181
|
+
status: 'started',
|
|
1182
|
+
transition: context.transition,
|
|
1183
|
+
previous: context.before,
|
|
1184
|
+
current: context.getSnapshot(),
|
|
1185
|
+
});
|
|
1186
|
+
},
|
|
1187
|
+
settled: reportAgentBridgeLifecycleTransition,
|
|
1188
|
+
failed: reportAgentBridgeLifecycleTransition,
|
|
1189
|
+
});
|
|
1190
|
+
};
|
|
1191
|
+
const attachLifecycleRenderSubscription = () => {
|
|
1192
|
+
releaseLifecycleRenderScopeResource?.();
|
|
1193
|
+
releaseLifecycleRenderScopeResource = null;
|
|
1194
|
+
unsubscribeLifecycleRender?.();
|
|
1195
|
+
unsubscribeLifecycleRender = null;
|
|
1196
|
+
if (!lifecycleController)
|
|
1197
|
+
return;
|
|
1198
|
+
const lifecycle = lifecycleController.lifecycle;
|
|
1199
|
+
const unsubscribe = lifecycle.subscribe(() => harness.render());
|
|
1200
|
+
unsubscribeLifecycleRender = unsubscribe;
|
|
1201
|
+
releaseLifecycleRenderScopeResource = lifecycleController.addScopeResource(PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID, () => {
|
|
1202
|
+
unsubscribe();
|
|
1203
|
+
if (unsubscribeLifecycleRender === unsubscribe)
|
|
1204
|
+
unsubscribeLifecycleRender = null;
|
|
1205
|
+
releaseLifecycleRenderScopeResource = null;
|
|
1206
|
+
});
|
|
1207
|
+
};
|
|
1208
|
+
const attachLifecycleOwnedSessionAuthority = () => {
|
|
1209
|
+
if (!lifecycleController || !state.session)
|
|
1210
|
+
return;
|
|
1211
|
+
if (!releaseMainSessionScopeResource) {
|
|
1212
|
+
releaseMainSessionScopeResource = lifecycleController.addScopeResource(PLAYABLE_LOCAL_EDITOR_MAIN_SESSION_SCOPE_ID, () => {
|
|
1213
|
+
state.session = null;
|
|
1214
|
+
state.source = null;
|
|
1215
|
+
releaseMainSessionScopeResource = null;
|
|
1216
|
+
});
|
|
1217
|
+
}
|
|
1218
|
+
};
|
|
1219
|
+
activateAgentBridgeAuthority();
|
|
1220
|
+
registerLocalEditorHarnessLifecycleOperations(harness, {
|
|
1221
|
+
runGame: runGameFromEditor,
|
|
1222
|
+
attachApplicationAuthority: attachLifecycleOwnedApplicationAuthority,
|
|
1223
|
+
attachSessionAuthority: attachLifecycleOwnedSessionAuthority,
|
|
1224
|
+
loadDocument: loadEditorDocument,
|
|
1225
|
+
enterWorld: enterEditorWorld,
|
|
1226
|
+
restoreDocument: restoreEditorDocument,
|
|
1227
|
+
markDocumentCommitted,
|
|
1228
|
+
setLifecycleController(controller) {
|
|
1229
|
+
agentLifecycleController = controller;
|
|
1230
|
+
lifecycleController = controller.lifecycle
|
|
1231
|
+
&& controller.synchronizeDocumentState
|
|
1232
|
+
&& controller.registerParticipant
|
|
1233
|
+
&& controller.openScope
|
|
1234
|
+
&& controller.addScopeResource
|
|
1235
|
+
&& controller.closeScope
|
|
1236
|
+
? controller
|
|
1237
|
+
: null;
|
|
1238
|
+
state.scopeOperations = lifecycleController;
|
|
1239
|
+
attachLifecycleRenderSubscription();
|
|
1240
|
+
attachLifecycleOwnedApplicationAuthority();
|
|
1241
|
+
if (lifecycleController && state.session) {
|
|
1242
|
+
attachLifecycleOwnedSessionAuthority();
|
|
1243
|
+
void lifecycleController.synchronizeDocumentState(state.session.isDirty()).catch(error => {
|
|
1244
|
+
console.error('[LocalEditorHarness] lifecycle document synchronization failed', error);
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
773
1247
|
},
|
|
774
1248
|
});
|
|
775
1249
|
harness.render();
|
|
776
1250
|
return harness;
|
|
777
1251
|
}
|
|
1252
|
+
function createLocalEditorDocumentFingerprint(document) {
|
|
1253
|
+
if (document == null)
|
|
1254
|
+
return null;
|
|
1255
|
+
try {
|
|
1256
|
+
return JSON.stringify(document);
|
|
1257
|
+
}
|
|
1258
|
+
catch {
|
|
1259
|
+
return null;
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
function disposeLocalEditorHarnessResources(state, ui) {
|
|
1263
|
+
const errors = [];
|
|
1264
|
+
const dispose = (operation, onSuccess) => {
|
|
1265
|
+
try {
|
|
1266
|
+
operation();
|
|
1267
|
+
onSuccess?.();
|
|
1268
|
+
}
|
|
1269
|
+
catch (error) {
|
|
1270
|
+
errors.push(error);
|
|
1271
|
+
}
|
|
1272
|
+
};
|
|
1273
|
+
dispose(() => state.agentBridgeTransport?.dispose(), () => { state.agentBridgeTransport = null; });
|
|
1274
|
+
dispose(() => state.unregisterAgentBridgeCapabilities?.(), () => {
|
|
1275
|
+
state.unregisterAgentBridgeCapabilities = null;
|
|
1276
|
+
});
|
|
1277
|
+
dispose(() => disposeEditorWorld(state), () => { state.session = null; });
|
|
1278
|
+
dispose(() => ui.dispose());
|
|
1279
|
+
if (errors.length > 0) {
|
|
1280
|
+
const error = new Error('Local Editor Harness cleanup failed.');
|
|
1281
|
+
error.errors = errors;
|
|
1282
|
+
throw error;
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
function createLocalEditorHarnessConstructionError(constructionError, cleanupError, retryCleanup) {
|
|
1286
|
+
const error = new Error('Local Editor Harness construction and rollback failed.');
|
|
1287
|
+
Object.defineProperties(error, {
|
|
1288
|
+
errors: { value: [constructionError, cleanupError], enumerable: true },
|
|
1289
|
+
retryCleanup: { value: retryCleanup, enumerable: false },
|
|
1290
|
+
});
|
|
1291
|
+
return error;
|
|
1292
|
+
}
|
|
1293
|
+
function readRetryCleanup(error) {
|
|
1294
|
+
if (!error || typeof error !== 'object')
|
|
1295
|
+
return null;
|
|
1296
|
+
const retryCleanup = error.retryCleanup;
|
|
1297
|
+
return typeof retryCleanup === 'function' ? retryCleanup : null;
|
|
1298
|
+
}
|
|
778
1299
|
export function mergeLocalEditorHarnessInspectorComponentSections(input) {
|
|
779
1300
|
const components = input.components;
|
|
780
1301
|
if (!components)
|
|
@@ -1117,7 +1638,9 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1117
1638
|
if (!canvas)
|
|
1118
1639
|
throw new Error('Editor canvas not found');
|
|
1119
1640
|
const babylon = await options.worldAdapter.loadBabylon();
|
|
1641
|
+
state.babylon = babylon;
|
|
1120
1642
|
const engine = options.worldAdapter.createEngine(babylon, canvas);
|
|
1643
|
+
state.engine = engine;
|
|
1121
1644
|
const document = state.session?.getState().workingDocument;
|
|
1122
1645
|
const initialAppearance = resolveEffectiveLocalEditorWorldAppearance(state, options, document);
|
|
1123
1646
|
const initialAppearanceKey = serializeLocalEditorWorldAppearance(initialAppearance);
|
|
@@ -1134,7 +1657,9 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1134
1657
|
useRightHandedSystem: options.world?.useRightHandedSystem,
|
|
1135
1658
|
enableDefaultCameraControls: false,
|
|
1136
1659
|
});
|
|
1660
|
+
state.world = world;
|
|
1137
1661
|
const performanceMonitor = createBabylonEditorPerformanceMonitor(world.scene);
|
|
1662
|
+
state.performanceMonitor = performanceMonitor;
|
|
1138
1663
|
const sceneRenderScheduler = createLocalEditorSceneRenderScheduler((frame) => {
|
|
1139
1664
|
state.sceneViewInteraction?.updateFrame(frame);
|
|
1140
1665
|
syncPrefabComparisonPreviewSurfaces(state, { getPrefabComparisonPreviewSurfaces });
|
|
@@ -1147,11 +1672,13 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1147
1672
|
updateLocalEditorPerformanceStats(state, updatePerformanceStats);
|
|
1148
1673
|
},
|
|
1149
1674
|
});
|
|
1675
|
+
state.sceneRenderScheduler = sceneRenderScheduler;
|
|
1150
1676
|
const viewportRenderCoordinator = createLocalEditorViewportRenderCoordinator({
|
|
1151
1677
|
scheduler: sceneRenderScheduler,
|
|
1152
1678
|
getEngine: () => engine,
|
|
1153
1679
|
getScene: () => world.scene,
|
|
1154
1680
|
});
|
|
1681
|
+
state.viewportRenderCoordinator = viewportRenderCoordinator;
|
|
1155
1682
|
const sceneViewInteraction = createLocalEditorSceneViewInteractionRuntime({
|
|
1156
1683
|
coordinator: viewportRenderCoordinator,
|
|
1157
1684
|
getCamera: () => state.sceneViewCamera,
|
|
@@ -1161,6 +1688,7 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1161
1688
|
getCamera: () => world.scene?.activeCamera ?? world.camera ?? null,
|
|
1162
1689
|
getEditorCamera: () => world.camera ?? null,
|
|
1163
1690
|
}) ?? null;
|
|
1691
|
+
state.grid = grid;
|
|
1164
1692
|
if (initialAppearance.grid)
|
|
1165
1693
|
grid?.setColors(initialAppearance.grid);
|
|
1166
1694
|
grid?.setVisible(state.gridVisible);
|
|
@@ -1170,7 +1698,10 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1170
1698
|
importModel: options.worldAdapter.importProjectionModel,
|
|
1171
1699
|
resolveTextureUrl: options.worldAdapter.resolveMaterialTextureUrl,
|
|
1172
1700
|
selectionEdgesPrewarm: options.world?.selectionEdgesPrewarm,
|
|
1173
|
-
logger:
|
|
1701
|
+
logger: createLocalEditorProjectionLogger(),
|
|
1702
|
+
onMaterialProfileDiagnostic(diagnostic) {
|
|
1703
|
+
recordLocalEditorMaterialProfileDiagnostic(state, diagnostic);
|
|
1704
|
+
},
|
|
1174
1705
|
onProjectionReady(event) {
|
|
1175
1706
|
if (state.prefabStage) {
|
|
1176
1707
|
syncPrefabStageSelectionToProjection(state, options, `prefab-stage-projection-${event.nodeId}-ready-selection`);
|
|
@@ -1196,6 +1727,7 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1196
1727
|
scheduleProjectionShadowPreviewRebuild(state, `projection-batch-${event.batchId}-settled`);
|
|
1197
1728
|
},
|
|
1198
1729
|
});
|
|
1730
|
+
state.projection = projection;
|
|
1199
1731
|
const prefabComparisonPreview = createBabylonPrefabComparisonPreviewController({
|
|
1200
1732
|
babylon,
|
|
1201
1733
|
scene: world.scene,
|
|
@@ -1203,11 +1735,14 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1203
1735
|
projection,
|
|
1204
1736
|
getSkyBackdrop: () => world.skyBackdrop,
|
|
1205
1737
|
});
|
|
1738
|
+
state.prefabComparisonPreview = prefabComparisonPreview;
|
|
1206
1739
|
const markerOverlay = createBabylonEditorMarkerOverlayController({
|
|
1207
1740
|
babylon,
|
|
1208
1741
|
scene: world.scene,
|
|
1209
1742
|
});
|
|
1743
|
+
state.markerOverlay = markerOverlay;
|
|
1210
1744
|
const markerAwareProjection = createBabylonMarkerOverlayProjectionAdapter(projection, markerOverlay);
|
|
1745
|
+
state.projection = markerAwareProjection;
|
|
1211
1746
|
const gizmo = createBabylonTransformGizmoController({
|
|
1212
1747
|
babylon,
|
|
1213
1748
|
scene: world.scene,
|
|
@@ -1276,6 +1811,7 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1276
1811
|
return beginDuplicateDrag(state, options, input);
|
|
1277
1812
|
},
|
|
1278
1813
|
});
|
|
1814
|
+
state.gizmo = gizmo;
|
|
1279
1815
|
gizmo.setOperationSettings(getScopedTransformOperationSettings(state));
|
|
1280
1816
|
gizmo.setConstraint(state.transformConstraint);
|
|
1281
1817
|
const selectionController = createBabylonProjectionSelectionController({
|
|
@@ -1315,10 +1851,12 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1315
1851
|
preview('viewport-box-selection-preview');
|
|
1316
1852
|
},
|
|
1317
1853
|
});
|
|
1854
|
+
state.selectionController = selectionController;
|
|
1318
1855
|
const sceneViewMeasurement = createBabylonSceneViewMeasurementController({
|
|
1319
1856
|
babylon,
|
|
1320
1857
|
scene: world.scene,
|
|
1321
1858
|
});
|
|
1859
|
+
state.sceneViewMeasurement = sceneViewMeasurement;
|
|
1322
1860
|
const sceneViewInput = createBabylonSceneViewInputController({
|
|
1323
1861
|
canvas,
|
|
1324
1862
|
isEnabled: () => state.mode === 'editor',
|
|
@@ -1434,21 +1972,25 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1434
1972
|
renderUi();
|
|
1435
1973
|
},
|
|
1436
1974
|
});
|
|
1975
|
+
state.sceneViewInput = sceneViewInput;
|
|
1437
1976
|
const sceneViewCamera = createBabylonSceneViewCameraController({
|
|
1438
1977
|
babylon,
|
|
1439
1978
|
scene: world.scene,
|
|
1440
1979
|
camera: world.camera,
|
|
1441
1980
|
input: sceneViewInput,
|
|
1442
1981
|
});
|
|
1982
|
+
state.sceneViewCamera = sceneViewCamera;
|
|
1443
1983
|
const sceneCameraPreview = createBabylonSceneCameraPreviewController({
|
|
1444
1984
|
babylon,
|
|
1445
1985
|
scene: world.scene,
|
|
1446
1986
|
editorCamera: world.camera,
|
|
1447
1987
|
});
|
|
1988
|
+
state.sceneCameraPreview = sceneCameraPreview;
|
|
1448
1989
|
const sceneViewSpatialOverlay = createBabylonSceneViewSpatialOverlayController({
|
|
1449
1990
|
babylon,
|
|
1450
1991
|
scene: world.scene,
|
|
1451
1992
|
});
|
|
1993
|
+
state.sceneViewSpatialOverlay = sceneViewSpatialOverlay;
|
|
1452
1994
|
const shadowPreview = createBabylonEditorShadowPreviewController({
|
|
1453
1995
|
scene: world.scene,
|
|
1454
1996
|
projection,
|
|
@@ -1457,39 +1999,22 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1457
1999
|
viewportRenderCoordinator.invalidateScene(`static-shadow-texture-ready-${event.chunkId}`);
|
|
1458
2000
|
},
|
|
1459
2001
|
});
|
|
2002
|
+
state.shadowPreview = shadowPreview;
|
|
1460
2003
|
const environmentTexture = createBabylonEnvironmentTextureController(world.scene, initialRendering.environment ?? null);
|
|
2004
|
+
state.environmentTexture = environmentTexture;
|
|
1461
2005
|
world.refreshSkyBackdrop();
|
|
1462
2006
|
const postProcess = createBabylonDefaultPostProcessPipelineController(world.scene, [world.camera], initialRendering.postProcess ?? null, { name: 'editorDefaultPostProcessPipeline' });
|
|
2007
|
+
state.postProcess = postProcess;
|
|
1463
2008
|
const resize = () => {
|
|
1464
2009
|
engine.resize?.();
|
|
1465
2010
|
viewportRenderCoordinator.requestFrame('resize');
|
|
1466
2011
|
};
|
|
1467
2012
|
window.addEventListener('resize', resize);
|
|
1468
|
-
state.
|
|
1469
|
-
state.engine = engine;
|
|
1470
|
-
state.world = world;
|
|
1471
|
-
state.grid = grid;
|
|
1472
|
-
state.projection = markerAwareProjection;
|
|
1473
|
-
state.prefabComparisonPreview = prefabComparisonPreview;
|
|
1474
|
-
state.markerOverlay = markerOverlay;
|
|
1475
|
-
state.shadowPreview = shadowPreview;
|
|
1476
|
-
state.environmentTexture = environmentTexture;
|
|
1477
|
-
state.postProcess = postProcess;
|
|
1478
|
-
state.gizmo = gizmo;
|
|
1479
|
-
state.sceneCameraPreview = sceneCameraPreview;
|
|
1480
|
-
state.sceneViewInput = sceneViewInput;
|
|
1481
|
-
state.sceneViewCamera = sceneViewCamera;
|
|
1482
|
-
state.sceneViewMeasurement = sceneViewMeasurement;
|
|
1483
|
-
state.sceneViewSpatialOverlay = sceneViewSpatialOverlay;
|
|
1484
|
-
state.selectionController = selectionController;
|
|
1485
|
-
state.sceneRenderScheduler = sceneRenderScheduler;
|
|
1486
|
-
state.viewportRenderCoordinator = viewportRenderCoordinator;
|
|
2013
|
+
state.resizeHandler = resize;
|
|
1487
2014
|
state.sceneFrameStats = sceneRenderScheduler.getStats();
|
|
1488
|
-
state.performanceMonitor = performanceMonitor;
|
|
1489
2015
|
updateLocalEditorPerformanceStats(state, updatePerformanceStats);
|
|
1490
2016
|
state.worldAppearanceKey = initialAppearanceKey;
|
|
1491
2017
|
state.worldRenderingKey = initialRenderingKey;
|
|
1492
|
-
state.resizeHandler = resize;
|
|
1493
2018
|
if (document) {
|
|
1494
2019
|
projection.projectNodes(resolveCurrentEditorProjectionNodes(state, options, document));
|
|
1495
2020
|
applyPreviewVisibilityStateToProjection(state);
|
|
@@ -1499,45 +2024,52 @@ async function createEditorWorld(state, options, renderUi, renderPreviewUi, upda
|
|
|
1499
2024
|
viewportRenderCoordinator.requestFrame('editor-world-created');
|
|
1500
2025
|
}
|
|
1501
2026
|
function disposeEditorWorld(state) {
|
|
1502
|
-
|
|
2027
|
+
const run = (operation) => {
|
|
2028
|
+
try {
|
|
2029
|
+
operation();
|
|
2030
|
+
}
|
|
2031
|
+
catch (cause) {
|
|
2032
|
+
const error = new Error('Local Editor world cleanup failed.');
|
|
2033
|
+
error.cause = cause;
|
|
2034
|
+
throw error;
|
|
2035
|
+
}
|
|
2036
|
+
};
|
|
2037
|
+
const disposeField = (read, clear) => run(() => {
|
|
2038
|
+
read()?.dispose();
|
|
2039
|
+
clear();
|
|
2040
|
+
});
|
|
2041
|
+
run(() => clearPrefabStageForEditorTeardown(state));
|
|
1503
2042
|
state.activeTransformPreview = null;
|
|
1504
|
-
state.sceneViewInteraction
|
|
1505
|
-
state.sceneViewInteraction = null;
|
|
2043
|
+
disposeField(() => state.sceneViewInteraction, () => { state.sceneViewInteraction = null; });
|
|
1506
2044
|
if (state.resizeHandler) {
|
|
1507
|
-
|
|
1508
|
-
|
|
2045
|
+
run(() => {
|
|
2046
|
+
window.removeEventListener('resize', state.resizeHandler);
|
|
2047
|
+
state.resizeHandler = null;
|
|
2048
|
+
});
|
|
1509
2049
|
}
|
|
1510
|
-
state.sceneCameraPreview
|
|
1511
|
-
state.sceneCameraPreview = null;
|
|
2050
|
+
disposeField(() => state.sceneCameraPreview, () => { state.sceneCameraPreview = null; });
|
|
1512
2051
|
state.sceneCameraPreviewEnabled = false;
|
|
1513
|
-
state.sceneViewCamera
|
|
1514
|
-
state.
|
|
1515
|
-
state.
|
|
1516
|
-
state.
|
|
1517
|
-
state.
|
|
1518
|
-
state.
|
|
1519
|
-
state.sceneViewInput?.dispose();
|
|
1520
|
-
state.sceneViewInput = null;
|
|
1521
|
-
state.selectionController?.dispose();
|
|
1522
|
-
state.selectionController = null;
|
|
1523
|
-
state.prefabComparisonPreview?.dispose();
|
|
1524
|
-
state.prefabComparisonPreview = null;
|
|
2052
|
+
disposeField(() => state.sceneViewCamera, () => { state.sceneViewCamera = null; });
|
|
2053
|
+
disposeField(() => state.sceneViewMeasurement, () => { state.sceneViewMeasurement = null; });
|
|
2054
|
+
disposeField(() => state.sceneViewSpatialOverlay, () => { state.sceneViewSpatialOverlay = null; });
|
|
2055
|
+
disposeField(() => state.sceneViewInput, () => { state.sceneViewInput = null; });
|
|
2056
|
+
disposeField(() => state.selectionController, () => { state.selectionController = null; });
|
|
2057
|
+
disposeField(() => state.prefabComparisonPreview, () => { state.prefabComparisonPreview = null; });
|
|
1525
2058
|
if (state.markerRelationHighlightContinuous) {
|
|
1526
|
-
|
|
1527
|
-
|
|
2059
|
+
run(() => {
|
|
2060
|
+
state.viewportRenderCoordinator?.endContinuous(MARKER_RELATION_HIGHLIGHT_RENDER_REASON);
|
|
2061
|
+
state.markerRelationHighlightContinuous = false;
|
|
2062
|
+
});
|
|
1528
2063
|
}
|
|
1529
2064
|
if (state.performanceMonitorOpen) {
|
|
1530
|
-
state.viewportRenderCoordinator?.endContinuous(LOCAL_EDITOR_PERFORMANCE_MONITOR_REASON);
|
|
2065
|
+
run(() => state.viewportRenderCoordinator?.endContinuous(LOCAL_EDITOR_PERFORMANCE_MONITOR_REASON));
|
|
1531
2066
|
}
|
|
1532
2067
|
state.performanceMonitorOpen = false;
|
|
1533
|
-
state.performanceMonitor
|
|
1534
|
-
state.performanceMonitor = null;
|
|
2068
|
+
disposeField(() => state.performanceMonitor, () => { state.performanceMonitor = null; });
|
|
1535
2069
|
state.performanceStats = null;
|
|
1536
2070
|
state.performanceObjectCount = null;
|
|
1537
|
-
state.viewportRenderCoordinator
|
|
1538
|
-
state.
|
|
1539
|
-
state.sceneRenderScheduler?.dispose();
|
|
1540
|
-
state.sceneRenderScheduler = null;
|
|
2071
|
+
disposeField(() => state.viewportRenderCoordinator, () => { state.viewportRenderCoordinator = null; });
|
|
2072
|
+
disposeField(() => state.sceneRenderScheduler, () => { state.sceneRenderScheduler = null; });
|
|
1541
2073
|
state.sceneFrameStats = null;
|
|
1542
2074
|
state.boxSelection = null;
|
|
1543
2075
|
state.viewportSpatialOverlay = createEmptyEditorViewportSpatialOverlayState();
|
|
@@ -1546,34 +2078,32 @@ function disposeEditorWorld(state) {
|
|
|
1546
2078
|
...state.viewportTools,
|
|
1547
2079
|
activeUtilityTool: 'none',
|
|
1548
2080
|
};
|
|
1549
|
-
state.gizmo
|
|
1550
|
-
state.
|
|
1551
|
-
state.markerOverlay?.dispose();
|
|
1552
|
-
state.markerOverlay = null;
|
|
2081
|
+
disposeField(() => state.gizmo, () => { state.gizmo = null; });
|
|
2082
|
+
disposeField(() => state.markerOverlay, () => { state.markerOverlay = null; });
|
|
1553
2083
|
if (state.projectionShadowPreviewRebuildFrame !== null) {
|
|
1554
|
-
|
|
1555
|
-
|
|
2084
|
+
run(() => {
|
|
2085
|
+
window.cancelAnimationFrame(state.projectionShadowPreviewRebuildFrame);
|
|
2086
|
+
state.projectionShadowPreviewRebuildFrame = null;
|
|
2087
|
+
});
|
|
1556
2088
|
}
|
|
1557
2089
|
if (state.projectionShadowPreviewRefreshFrame !== null) {
|
|
1558
|
-
|
|
1559
|
-
|
|
2090
|
+
run(() => {
|
|
2091
|
+
window.cancelAnimationFrame(state.projectionShadowPreviewRefreshFrame);
|
|
2092
|
+
state.projectionShadowPreviewRefreshFrame = null;
|
|
2093
|
+
});
|
|
1560
2094
|
}
|
|
1561
|
-
state.shadowPreview
|
|
1562
|
-
state.
|
|
1563
|
-
state.
|
|
1564
|
-
state.
|
|
1565
|
-
state.
|
|
1566
|
-
state.
|
|
1567
|
-
state.
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
state.world?.dispose();
|
|
1573
|
-
state.engine?.dispose?.();
|
|
2095
|
+
disposeField(() => state.shadowPreview, () => { state.shadowPreview = null; });
|
|
2096
|
+
disposeField(() => state.environmentTexture, () => { state.environmentTexture = null; });
|
|
2097
|
+
disposeField(() => state.postProcess, () => { state.postProcess = null; });
|
|
2098
|
+
disposeField(() => state.projection, () => { state.projection = null; });
|
|
2099
|
+
disposeField(() => state.grid, () => { state.grid = null; });
|
|
2100
|
+
run(() => state.engine?.stopRenderLoop?.());
|
|
2101
|
+
disposeField(() => state.world, () => { state.world = null; });
|
|
2102
|
+
run(() => {
|
|
2103
|
+
state.engine?.dispose?.();
|
|
2104
|
+
state.engine = null;
|
|
2105
|
+
});
|
|
1574
2106
|
state.babylon = null;
|
|
1575
|
-
state.world = null;
|
|
1576
|
-
state.engine = null;
|
|
1577
2107
|
}
|
|
1578
2108
|
function clearPrefabStageForEditorTeardown(state) {
|
|
1579
2109
|
const stage = state.prefabStage;
|
|
@@ -1718,10 +2248,8 @@ function scheduleProjectionShadowPreviewRefresh(state, reason) {
|
|
|
1718
2248
|
async function runExclusive(state, render, action) {
|
|
1719
2249
|
if (state.busy)
|
|
1720
2250
|
return;
|
|
1721
|
-
state.busy = true;
|
|
1722
|
-
render();
|
|
1723
2251
|
try {
|
|
1724
|
-
await action
|
|
2252
|
+
await runExclusiveResult(state, render, action);
|
|
1725
2253
|
}
|
|
1726
2254
|
catch (error) {
|
|
1727
2255
|
state.status = error instanceof Error ? error.message : String(error);
|
|
@@ -1729,6 +2257,16 @@ async function runExclusive(state, render, action) {
|
|
|
1729
2257
|
state.statusToneStatus = state.status;
|
|
1730
2258
|
state.statusDetails = state.status;
|
|
1731
2259
|
console.error('[LocalEditorHarness] action failed', error);
|
|
2260
|
+
render();
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
async function runExclusiveResult(state, render, action) {
|
|
2264
|
+
if (state.busy)
|
|
2265
|
+
throw new Error('Local editor host is busy.');
|
|
2266
|
+
state.busy = true;
|
|
2267
|
+
render();
|
|
2268
|
+
try {
|
|
2269
|
+
return await action();
|
|
1732
2270
|
}
|
|
1733
2271
|
finally {
|
|
1734
2272
|
state.busy = false;
|
|
@@ -1791,10 +2329,16 @@ function createBrowserHierarchyContextActions(state, options) {
|
|
|
1791
2329
|
}));
|
|
1792
2330
|
}
|
|
1793
2331
|
function createHierarchyContextActionRegistrations(state, options) {
|
|
1794
|
-
|
|
2332
|
+
const local = [
|
|
1795
2333
|
createPrefabFromGameObjectHierarchyContextAction(state, options),
|
|
1796
2334
|
...(options.hierarchy?.contextActions ?? []),
|
|
1797
2335
|
];
|
|
2336
|
+
const plugins = createLocalEditorHarnessPluginHierarchyContextActions(options.pluginHost);
|
|
2337
|
+
const localIds = new Set(local.map(action => action.id));
|
|
2338
|
+
const conflict = plugins.find(action => localIds.has(action.id));
|
|
2339
|
+
if (conflict)
|
|
2340
|
+
throw new Error(`Project and Plugin Hierarchy actions share id: ${conflict.id}`);
|
|
2341
|
+
return [...local, ...plugins];
|
|
1798
2342
|
}
|
|
1799
2343
|
function createPrefabFromGameObjectHierarchyContextAction(state, options) {
|
|
1800
2344
|
return {
|
|
@@ -1873,20 +2417,34 @@ function runHierarchyCustomContextAction(state, options, action) {
|
|
|
1873
2417
|
return false;
|
|
1874
2418
|
try {
|
|
1875
2419
|
const result = registration.run(context);
|
|
1876
|
-
if (
|
|
1877
|
-
return
|
|
2420
|
+
if (isLocalEditorPromiseLike(result)) {
|
|
2421
|
+
return Promise.resolve(result)
|
|
2422
|
+
.then(value => applyHierarchyContextActionResult(state, options, value, registration.label))
|
|
2423
|
+
.catch(error => reportHierarchyContextActionError(state, registration.label, error));
|
|
1878
2424
|
}
|
|
1879
|
-
return result
|
|
2425
|
+
return applyHierarchyContextActionResult(state, options, result, registration.label);
|
|
1880
2426
|
}
|
|
1881
2427
|
catch (error) {
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
2428
|
+
return reportHierarchyContextActionError(state, registration.label, error);
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
function isLocalEditorPromiseLike(value) {
|
|
2432
|
+
return !!value && typeof value.then === 'function';
|
|
2433
|
+
}
|
|
2434
|
+
function applyHierarchyContextActionResult(state, options, result, label) {
|
|
2435
|
+
if (isLocalEditorHarnessPatchResult(result)) {
|
|
2436
|
+
return applyHierarchyContextActionPatch(state, options, result, label);
|
|
1889
2437
|
}
|
|
2438
|
+
return result === true;
|
|
2439
|
+
}
|
|
2440
|
+
function reportHierarchyContextActionError(state, label, error) {
|
|
2441
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
2442
|
+
state.status = `${label} failed`;
|
|
2443
|
+
state.statusTone = 'error';
|
|
2444
|
+
state.statusToneStatus = state.status;
|
|
2445
|
+
state.statusDetails = message;
|
|
2446
|
+
console.error('[LocalEditorHarness] hierarchy context action failed', error);
|
|
2447
|
+
return true;
|
|
1890
2448
|
}
|
|
1891
2449
|
function isLocalEditorHarnessPatchResult(value) {
|
|
1892
2450
|
return !!value
|
|
@@ -1941,7 +2499,7 @@ function handleContextAction(state, options, action) {
|
|
|
1941
2499
|
if (action.region !== 'hierarchy')
|
|
1942
2500
|
return false;
|
|
1943
2501
|
if (action.action === 'custom')
|
|
1944
|
-
return
|
|
2502
|
+
return false;
|
|
1945
2503
|
if (action.action === 'focus') {
|
|
1946
2504
|
const activeId = action.activeId ?? action.targetIds[action.targetIds.length - 1] ?? null;
|
|
1947
2505
|
const selectionChanged = activeId && !state.session?.getState({ cloneDocuments: false }).selection.selectedIds.includes(activeId)
|
|
@@ -2713,7 +3271,7 @@ function syncMarkerOverlayToSceneArtifacts(state, options, selection) {
|
|
|
2713
3271
|
const overlay = state.markerOverlay;
|
|
2714
3272
|
if (!overlay)
|
|
2715
3273
|
return;
|
|
2716
|
-
const document = state.session?.getState().workingDocument ?? null;
|
|
3274
|
+
const document = state.session?.getState({ cloneDocuments: false }).workingDocument ?? null;
|
|
2717
3275
|
const input = document
|
|
2718
3276
|
? createMarkerOverlayInput(state, options, document, selection, createMarkerGraphHierarchyVisibility(state))
|
|
2719
3277
|
: { markers: [] };
|
|
@@ -3216,7 +3774,7 @@ function selectBrowserAsset(state, assetId) {
|
|
|
3216
3774
|
state.status = `Selected asset ${assetId}`;
|
|
3217
3775
|
return true;
|
|
3218
3776
|
}
|
|
3219
|
-
function handleBrowserAssetAction(state, options, input) {
|
|
3777
|
+
async function handleBrowserAssetAction(state, options, input) {
|
|
3220
3778
|
if (input.browserAssetId)
|
|
3221
3779
|
state.selectedAssetId = input.browserAssetId;
|
|
3222
3780
|
if (input.actionId === 'asset.edit-prefab') {
|
|
@@ -3244,7 +3802,7 @@ function handleBrowserAssetAction(state, options, input) {
|
|
|
3244
3802
|
state.statusToneStatus = state.status;
|
|
3245
3803
|
return true;
|
|
3246
3804
|
}
|
|
3247
|
-
function handleInspectorAction(state, options, input) {
|
|
3805
|
+
async function handleInspectorAction(state, options, input) {
|
|
3248
3806
|
if (!input.actionId.startsWith('prefab.')) {
|
|
3249
3807
|
const activeId = input.targetId ?? state.session?.getState().selection.activeId ?? null;
|
|
3250
3808
|
const selectedIds = input.targetIds ?? (activeId ? [activeId] : []);
|
|
@@ -3303,7 +3861,7 @@ function readInspectorActionParamString(input, key) {
|
|
|
3303
3861
|
const value = input.params?.[key];
|
|
3304
3862
|
return typeof value === 'string' && value.trim().length > 0 ? value.trim() : undefined;
|
|
3305
3863
|
}
|
|
3306
|
-
function enterPrefabStage(state, options, input) {
|
|
3864
|
+
async function enterPrefabStage(state, options, input) {
|
|
3307
3865
|
if (state.mode !== 'editor')
|
|
3308
3866
|
return false;
|
|
3309
3867
|
const sessionState = state.session?.getState({ cloneDocuments: false });
|
|
@@ -3328,10 +3886,52 @@ function enterPrefabStage(state, options, input) {
|
|
|
3328
3886
|
return true;
|
|
3329
3887
|
}
|
|
3330
3888
|
if (previousPrefabStage)
|
|
3331
|
-
state
|
|
3889
|
+
await exitPrefabStage(state, options);
|
|
3890
|
+
const prefabScopeRevision = ++state.nextPrefabScopeRevision;
|
|
3891
|
+
const documentScopeId = state.scopeOperations
|
|
3892
|
+
? `editor:document:prefab:${prefabScopeRevision}`
|
|
3893
|
+
: null;
|
|
3894
|
+
const previewScopeId = documentScopeId
|
|
3895
|
+
? `editor:preview:prefab:${prefabScopeRevision}`
|
|
3896
|
+
: null;
|
|
3897
|
+
if (state.scopeOperations && documentScopeId && previewScopeId) {
|
|
3898
|
+
try {
|
|
3899
|
+
await state.scopeOperations.openScope({
|
|
3900
|
+
id: documentScopeId,
|
|
3901
|
+
scope: 'document',
|
|
3902
|
+
parentId: PLAYABLE_LOCAL_EDITOR_PROJECT_SCOPE_ID,
|
|
3903
|
+
});
|
|
3904
|
+
await state.scopeOperations.openScope({
|
|
3905
|
+
id: previewScopeId,
|
|
3906
|
+
scope: 'preview',
|
|
3907
|
+
parentId: documentScopeId,
|
|
3908
|
+
});
|
|
3909
|
+
state.scopeOperations.addScopeResource(previewScopeId, () => {
|
|
3910
|
+
state.prefabComparisonPreview?.clear();
|
|
3911
|
+
state.activeTransformPreview = null;
|
|
3912
|
+
});
|
|
3913
|
+
}
|
|
3914
|
+
catch (error) {
|
|
3915
|
+
try {
|
|
3916
|
+
await state.scopeOperations.closeScope(documentScopeId);
|
|
3917
|
+
}
|
|
3918
|
+
catch (cleanupError) {
|
|
3919
|
+
const combined = new Error('Prefab lifecycle scope open and rollback failed.');
|
|
3920
|
+
combined.errors = [error, cleanupError];
|
|
3921
|
+
throw combined;
|
|
3922
|
+
}
|
|
3923
|
+
state.status = `Prefab stage lifecycle unavailable: ${descriptor.label}`;
|
|
3924
|
+
state.statusTone = 'error';
|
|
3925
|
+
state.statusToneStatus = state.status;
|
|
3926
|
+
state.statusDetails = stringifyLocalEditorError(error) ?? 'Unknown lifecycle scope error';
|
|
3927
|
+
return true;
|
|
3928
|
+
}
|
|
3929
|
+
}
|
|
3332
3930
|
state.prefabStage = {
|
|
3333
3931
|
descriptor,
|
|
3334
3932
|
asset,
|
|
3933
|
+
documentScopeId,
|
|
3934
|
+
previewScopeId,
|
|
3335
3935
|
selectedItemId: 'prefab-root',
|
|
3336
3936
|
restoreGridVisible: previousPrefabStage?.restoreGridVisible ?? state.gridVisible,
|
|
3337
3937
|
restoreSceneCameraPreviewEnabled: previousPrefabStage?.restoreSceneCameraPreviewEnabled ?? state.sceneCameraPreviewEnabled,
|
|
@@ -3347,15 +3947,17 @@ function enterPrefabStage(state, options, input) {
|
|
|
3347
3947
|
syncTransformOperationSettingsToSceneArtifacts(state, 'prefab-stage-enter-operation-settings');
|
|
3348
3948
|
return true;
|
|
3349
3949
|
}
|
|
3350
|
-
function exitPrefabStage(state, options) {
|
|
3950
|
+
async function exitPrefabStage(state, options) {
|
|
3351
3951
|
if (!state.prefabStage)
|
|
3352
3952
|
return false;
|
|
3353
3953
|
const sessionState = state.session?.getState({ cloneDocuments: false });
|
|
3354
3954
|
const label = sessionState?.workingDocument
|
|
3355
3955
|
? resolvePrefabStageDescriptorForDocument(state, options, sessionState.workingDocument)?.label ?? state.prefabStage.descriptor.label
|
|
3356
3956
|
: state.prefabStage.descriptor.label;
|
|
3357
|
-
const
|
|
3358
|
-
const
|
|
3957
|
+
const prefabStage = state.prefabStage;
|
|
3958
|
+
const restoreGridVisible = prefabStage.restoreGridVisible;
|
|
3959
|
+
const restoreSceneCameraPreviewEnabled = prefabStage.restoreSceneCameraPreviewEnabled;
|
|
3960
|
+
await closePrefabStageLifecycleScopes(state, prefabStage);
|
|
3359
3961
|
state.prefabStage = null;
|
|
3360
3962
|
setGridVisibleForEditorContext(state, restoreGridVisible, 'prefab-stage-exit-grid');
|
|
3361
3963
|
if (sessionState?.workingDocument) {
|
|
@@ -3373,6 +3975,11 @@ function exitPrefabStage(state, options) {
|
|
|
3373
3975
|
state.statusDetails = '';
|
|
3374
3976
|
return true;
|
|
3375
3977
|
}
|
|
3978
|
+
async function closePrefabStageLifecycleScopes(state, stage) {
|
|
3979
|
+
if (!stage.documentScopeId)
|
|
3980
|
+
return;
|
|
3981
|
+
await state.scopeOperations?.closeScope(stage.documentScopeId);
|
|
3982
|
+
}
|
|
3376
3983
|
function selectPrefabStageItem(state, itemId) {
|
|
3377
3984
|
if (!state.prefabStage || state.prefabStage.selectedItemId === itemId)
|
|
3378
3985
|
return false;
|
|
@@ -3635,7 +4242,7 @@ function isPrefabStageShadowAssetAction(input) {
|
|
|
3635
4242
|
if (input.actionId !== 'asset.edit-prefab-field')
|
|
3636
4243
|
return false;
|
|
3637
4244
|
const fieldPath = typeof input.fieldPath === 'string' ? input.fieldPath.trim() : '';
|
|
3638
|
-
return fieldPath
|
|
4245
|
+
return fieldPath.startsWith('prefab.defaults.shadow.');
|
|
3639
4246
|
}
|
|
3640
4247
|
function syncPrefabStageSelectionFromAssetAction(state, options, input, nodeId) {
|
|
3641
4248
|
if (!state.prefabStage)
|
|
@@ -4628,10 +5235,7 @@ function createInspectorObjectForEdit(state, options, document, input, targetIds
|
|
|
4628
5235
|
const inspector = options.documentAdapter.getInspectorObject?.(document, input.targetId) ?? null;
|
|
4629
5236
|
if (inspector)
|
|
4630
5237
|
return withDefaultEditorInspectorSections(state, options, document, inspector);
|
|
4631
|
-
|
|
4632
|
-
return serializedObject
|
|
4633
|
-
? withDefaultEditorInspectorSections(state, options, document, serializedObjectToInspectorObject(serializedObject, document))
|
|
4634
|
-
: null;
|
|
5238
|
+
return null;
|
|
4635
5239
|
}
|
|
4636
5240
|
function createPrefabStageInspectorObjectForEdit(state, options, document) {
|
|
4637
5241
|
const stage = state.prefabStage;
|
|
@@ -4686,11 +5290,10 @@ function isSerializedProjectionMetadataPath(path) {
|
|
|
4686
5290
|
return isSerializedShadowMetadataPath(path);
|
|
4687
5291
|
}
|
|
4688
5292
|
function isSerializedShadowMetadataPath(path) {
|
|
4689
|
-
return path
|
|
5293
|
+
return path.startsWith('shadow.');
|
|
4690
5294
|
}
|
|
4691
5295
|
function isSerializedShadowTopologyMetadataPath(path) {
|
|
4692
|
-
return path === '
|
|
4693
|
-
|| path === 'shadow.cast'
|
|
5296
|
+
return path === 'shadow.cast'
|
|
4694
5297
|
|| path === 'shadow.receive'
|
|
4695
5298
|
|| path === 'shadow.mode'
|
|
4696
5299
|
|| path === 'shadow.quality'
|
|
@@ -5875,19 +6478,13 @@ function createUiState(state, options) {
|
|
|
5875
6478
|
const markerInspectorObject = document && activeId
|
|
5876
6479
|
? createMarkerInspectorObjectBase(options, document, activeId, markerGraph, documentHierarchy, markerTypes, state.activeMarkerRelationId, state.markerRelationPick, markerRelationVisibility)
|
|
5877
6480
|
: null;
|
|
5878
|
-
const serializedObject = document && activeId && selectedIds.length === 1
|
|
5879
|
-
? markerInspectorObject ? null : options.documentAdapter.getSerializedObject(document, activeId)
|
|
5880
|
-
: null;
|
|
5881
|
-
const serializedMultiObject = document && documentSelectedIds.length > 1 && !largeSelection
|
|
5882
|
-
? options.documentAdapter.getSerializedMultiObject?.(document, documentSelectedIds, documentActiveId) ?? null
|
|
5883
|
-
: null;
|
|
5884
6481
|
const inspectorObjectBase = document && activeId && (selectedIds.length === 1 || markerInspectorObject)
|
|
5885
6482
|
? markerInspectorObject
|
|
5886
6483
|
?? options.documentAdapter.getInspectorObject?.(document, activeId)
|
|
5887
|
-
??
|
|
6484
|
+
?? null
|
|
5888
6485
|
: null;
|
|
5889
6486
|
const inspectorMultiObjectBase = document && documentSelectedIds.length > 1
|
|
5890
|
-
? createInspectorMultiObjectBase(state, options, document, documentSelectedIds, documentActiveId,
|
|
6487
|
+
? createInspectorMultiObjectBase(state, options, document, documentSelectedIds, documentActiveId, {
|
|
5891
6488
|
largeSelection,
|
|
5892
6489
|
})
|
|
5893
6490
|
: null;
|
|
@@ -5937,8 +6534,6 @@ function createUiState(state, options) {
|
|
|
5937
6534
|
count: selectedIds.length,
|
|
5938
6535
|
activeId,
|
|
5939
6536
|
},
|
|
5940
|
-
serializedObject,
|
|
5941
|
-
serializedMultiObject,
|
|
5942
6537
|
inspectorObject: previewInspectorObject,
|
|
5943
6538
|
inspectorMultiObject: previewInspectorMultiObject,
|
|
5944
6539
|
renderingPanel: document
|
|
@@ -5951,6 +6546,7 @@ function createUiState(state, options) {
|
|
|
5951
6546
|
markerPanel: document
|
|
5952
6547
|
? createMarkerPanelState(markerGraph, markerTypes, relationTypes, documentHierarchy, activeMarkerId, state.activeMarkerRelationId, state.markerRelationPick, markerRelationVisibility)
|
|
5953
6548
|
: null,
|
|
6549
|
+
pluginPanel: createLocalEditorPluginPanelState(options.pluginHost, state.lifecycle),
|
|
5954
6550
|
boxSelection: state.boxSelection,
|
|
5955
6551
|
coordinateAxes: options.world?.coordinateAxes === false
|
|
5956
6552
|
? null
|
|
@@ -6183,11 +6779,7 @@ function createUiPreviewState(state, options) {
|
|
|
6183
6779
|
const transformSelectionIsLarge = isLargeSelection(selectedIds);
|
|
6184
6780
|
const shouldPreviewInspector = !!state.activeTransformPreview && document && documentActiveId && documentSelectedIds.length === 1;
|
|
6185
6781
|
const inspectorObjectBase = shouldPreviewInspector
|
|
6186
|
-
? options.documentAdapter.getInspectorObject?.(document, documentActiveId)
|
|
6187
|
-
?? (() => {
|
|
6188
|
-
const serializedObject = options.documentAdapter.getSerializedObject(document, documentActiveId);
|
|
6189
|
-
return serializedObject ? serializedObjectToInspectorObject(serializedObject, document) : null;
|
|
6190
|
-
})()
|
|
6782
|
+
? options.documentAdapter.getInspectorObject?.(document, documentActiveId) ?? null
|
|
6191
6783
|
: null;
|
|
6192
6784
|
const inspectorObject = shouldPreviewInspector && document && inspectorObjectBase
|
|
6193
6785
|
? applyActiveTransformPreviewToInspectorObject(state, options, document, withRuntimeInspectorSections(state, options, document, inspectorObjectBase))
|
|
@@ -6339,7 +6931,7 @@ function clampNumber(value, min, max) {
|
|
|
6339
6931
|
function isLargeSelection(selectedIds) {
|
|
6340
6932
|
return selectedIds.length > LARGE_SELECTION_THRESHOLD;
|
|
6341
6933
|
}
|
|
6342
|
-
function createInspectorMultiObjectBase(state, options, document, selectedIds, activeId,
|
|
6934
|
+
function createInspectorMultiObjectBase(state, options, document, selectedIds, activeId, multiOptions = {}) {
|
|
6343
6935
|
const targetIds = [...selectedIds];
|
|
6344
6936
|
if (targetIds.length <= 1)
|
|
6345
6937
|
return null;
|
|
@@ -6347,11 +6939,7 @@ function createInspectorMultiObjectBase(state, options, document, selectedIds, a
|
|
|
6347
6939
|
if (multiOptions.largeSelection) {
|
|
6348
6940
|
return applyMultiInspectorBatchCapabilityGate(options, document, adapterMultiObject ?? createLargeSelectionInspectorObject(document, targetIds, activeId));
|
|
6349
6941
|
}
|
|
6350
|
-
const
|
|
6351
|
-
? serializedMultiObject
|
|
6352
|
-
: options.documentAdapter.getSerializedMultiObject?.(document, targetIds, activeId) ?? null;
|
|
6353
|
-
const serializedInspector = serializedMulti ? serializedMultiObjectToInspectorObject(serializedMulti, document) : null;
|
|
6354
|
-
const baseInspector = adapterMultiObject ?? serializedInspector;
|
|
6942
|
+
const baseInspector = adapterMultiObject;
|
|
6355
6943
|
const aggregatedInspector = createAggregatedInspectorMultiObjectBase(state, options, document, targetIds, activeId);
|
|
6356
6944
|
let inspectorObject = baseInspector ?? aggregatedInspector;
|
|
6357
6945
|
if (baseInspector && aggregatedInspector) {
|
|
@@ -6436,8 +7024,7 @@ function createSingleInspectorObjectBase(options, document, targetId) {
|
|
|
6436
7024
|
const inspectorObject = options.documentAdapter.getInspectorObject?.(document, targetId) ?? null;
|
|
6437
7025
|
if (inspectorObject)
|
|
6438
7026
|
return withMarkerGraphRelationInspectorSection(options, document, inspectorObject);
|
|
6439
|
-
|
|
6440
|
-
return serializedObject ? serializedObjectToInspectorObject(serializedObject, document) : null;
|
|
7027
|
+
return null;
|
|
6441
7028
|
}
|
|
6442
7029
|
function withMarkerGraphRelationInspectorSection(options, document, inspectorObject, graph = options.documentAdapter.getMarkerGraph?.(document) ?? null, hierarchy = options.documentAdapter.getHierarchyItems(document), markerTypes = options.documentAdapter.getMarkerTypeCatalog?.(document) ?? [], relationTypes = options.documentAdapter.getRelationTypeCatalog?.(document) ?? [], activeRelationId = null, relationPick = null, relationVisibility = {}) {
|
|
6443
7030
|
if (inspectorObject.targetIds.length !== 1)
|