@fps-games/editor 0.2.0-beta.4 → 0.2.1-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/editor-state.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.js +12 -6
- package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
- package/dist/agent-bridge/capabilities/hierarchy.d.ts +4 -0
- package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +1 -0
- package/dist/agent-bridge/capabilities/hierarchy.js +209 -0
- package/dist/agent-bridge/capabilities/hierarchy.js.map +1 -0
- package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/prefabs.js +208 -73
- package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -4
- package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/scene-objects.js +24 -23
- package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.js +829 -66
- package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.js +19 -1
- package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/viewport.js +22 -9
- package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
- package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
- package/dist/agent-bridge/capability-sources.js +2 -0
- package/dist/agent-bridge/capability-sources.js.map +1 -1
- package/dist/agent-bridge/register.d.ts.map +1 -1
- package/dist/agent-bridge/register.js +194 -0
- package/dist/agent-bridge/register.js.map +1 -1
- package/dist/agent-bridge/shared.d.ts +231 -11
- package/dist/agent-bridge/shared.d.ts.map +1 -1
- package/dist/agent-bridge/shared.js +162 -20
- package/dist/agent-bridge/shared.js.map +1 -1
- package/dist/agent-bridge/source-types.d.ts +17 -1
- package/dist/agent-bridge/source-types.d.ts.map +1 -1
- package/dist/agent-bridge/source-types.js.map +1 -1
- package/dist/build-info.json +57 -42
- package/dist/index.d.ts +7 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/babylon-preview-engine.d.ts +3 -0
- package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
- package/dist/internal/babylon-preview-engine.js +11 -0
- package/dist/internal/babylon-preview-engine.js.map +1 -0
- package/dist/internal/material-preview.d.ts +22 -0
- package/dist/internal/material-preview.d.ts.map +1 -0
- package/dist/internal/material-preview.js +186 -0
- package/dist/internal/material-preview.js.map +1 -0
- package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
- package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
- package/dist/internal/product-local-editor-cleanup.js +20 -0
- package/dist/internal/product-local-editor-cleanup.js.map +1 -0
- package/dist/internal/project-model-preview.d.ts +4 -0
- package/dist/internal/project-model-preview.d.ts.map +1 -0
- package/dist/internal/project-model-preview.js +359 -0
- package/dist/internal/project-model-preview.js.map +1 -0
- package/dist/local-editor-agent-actions.d.ts +2 -4
- package/dist/local-editor-agent-actions.d.ts.map +1 -1
- package/dist/local-editor-agent-actions.js +56 -32
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-context.d.ts +17 -6
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js +47 -0
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +353 -35
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +4115 -1313
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-marker-graph.d.ts +15 -15
- package/dist/local-editor-marker-graph.d.ts.map +1 -1
- package/dist/local-editor-marker-graph.js +3 -0
- package/dist/local-editor-marker-graph.js.map +1 -1
- package/dist/local-editor-performance-stats.d.ts +3 -2
- package/dist/local-editor-performance-stats.d.ts.map +1 -1
- package/dist/local-editor-performance-stats.js.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
- package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
- package/dist/local-editor-prefab-stage-transaction.js +45 -0
- package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
- package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
- package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
- package/dist/local-editor-tools.d.ts +19 -0
- package/dist/local-editor-tools.d.ts.map +1 -0
- package/dist/local-editor-tools.js +56 -0
- package/dist/local-editor-tools.js.map +1 -0
- package/dist/playable-babylon-rendering.d.ts +9 -0
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +162 -6
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-entry.d.ts +68 -0
- package/dist/playable-local-editor-entry.d.ts.map +1 -0
- package/dist/playable-local-editor-entry.js +424 -0
- package/dist/playable-local-editor-entry.js.map +1 -0
- package/dist/playable-local-editor-host.d.ts +55 -29
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +50 -11
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +10 -12
- package/dist/playable-product-local-editor.d.ts.map +1 -1
- package/dist/playable-product-local-editor.js +178 -85
- package/dist/playable-product-local-editor.js.map +1 -1
- package/dist/playable-product-projection-preview.d.ts +4 -1
- package/dist/playable-product-projection-preview.d.ts.map +1 -1
- package/dist/playable-product-projection-preview.js +122 -5
- package/dist/playable-product-projection-preview.js.map +1 -1
- package/dist/playable-product-rendering.d.ts +12 -0
- package/dist/playable-product-rendering.d.ts.map +1 -1
- package/dist/playable-product-rendering.js +128 -6
- package/dist/playable-product-rendering.js.map +1 -1
- package/dist/playable-product-scene-capabilities.d.ts +24 -7
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
- package/dist/playable-product-scene-capabilities.js +180 -17
- package/dist/playable-product-scene-capabilities.js.map +1 -1
- package/dist/playable-project-mode.d.ts +17 -0
- package/dist/playable-project-mode.d.ts.map +1 -0
- package/dist/playable-project-mode.js +2 -0
- package/dist/playable-project-mode.js.map +1 -0
- package/dist/playable-runtime-babylon.d.ts +3 -6
- package/dist/playable-runtime-babylon.d.ts.map +1 -1
- package/dist/playable-runtime-babylon.js +1 -5
- package/dist/playable-runtime-babylon.js.map +1 -1
- package/dist/playable-sdk.d.ts +16 -9
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +6 -4
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +23 -14
- package/dist/playable-standard-project.d.ts.map +1 -1
- package/dist/playable-standard-project.js +57 -20
- package/dist/playable-standard-project.js.map +1 -1
- package/dist/vite-client.d.ts +4 -0
- package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
- package/node_modules/@babel/parser/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/constants/index.js +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
- package/node_modules/@babel/types/lib/index.js +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
- package/node_modules/@babel/types/lib/validators/is.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js +0 -1
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
- package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
- package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
- package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
- package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
- package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
- package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
- package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
- package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
- package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
- package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
- package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
- package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
- package/node_modules/@babylonjs/loaders/index.js +7 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
- package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
- package/node_modules/@babylonjs/loaders/license.md +71 -0
- package/node_modules/@babylonjs/loaders/package.json +49 -0
- package/node_modules/@babylonjs/loaders/readme.md +23 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
- package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
- package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
- package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
- 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/types.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -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/main-camera-preview.d.ts +2 -0
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
- package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js +24 -0
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
- 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 +26 -5
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +396 -363
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js +85 -22
- package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +87 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1746 -0
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
- 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 +105 -15
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +249 -15
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/types.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
- package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/package.json +6 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +13 -11
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +9 -9
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts +35 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js +136 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts +46 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js +283 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts +12 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js +67 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts +6 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts +9 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js +219 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js +42 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +8 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts +27 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js +288 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +829 -866
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +34 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +3 -17
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +30 -8
- 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 +911 -698
- 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-prefab-stage.d.ts +10 -37
- 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 +29 -105
- 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-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +16 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +44 -39
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +114 -343
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +13 -14
- 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 +120 -134
- 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 +6 -10
- 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 +2019 -861
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts +13 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js +15 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
- package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/package.json +15 -4
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
- package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +24 -2
- 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 +70 -10
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +113 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js +615 -0
- package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts +11 -2
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js +12 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +14 -6
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
- 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 +14 -0
- 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 +49 -1
- 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-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 +63 -2
- 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.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
- 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 +1 -1
- 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 +1 -1
- 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/authoring-server/handler.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +15 -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 +3 -0
- 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 +6 -1
- 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/authoring-server/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
- 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 +314 -6
- 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/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
- 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/document/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +4 -0
- 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 +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
- 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 +23 -81
- 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/local-harness/editor-entry-manifest.d.ts +41 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
- 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 +16 -8
- 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 +10 -6
- 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 +5 -3
- 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 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
- 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/project-asset-commands.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
- 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/reducer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
- 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 +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +16 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js +86 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js +76 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts +34 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js.map +1 -0
- 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 +144 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
- 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 -1
- 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/runtime-preview/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
- 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 +241 -13
- 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/shadow-map-experiment-migration.d.ts +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
- 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/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +4 -0
- 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 +54 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
- 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/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
- 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 +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
- 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/hierarchy-facade.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -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 +144 -8
- 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/reducer-core.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
- 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/session/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
- 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/vite/editor-scene-workflow.d.ts +5 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +1 -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 +1 -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/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
- 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 +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +101 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts +14 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js +101 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts +23 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js +180 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
- 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 +692 -2
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +23 -3
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
- 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 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +2 -2
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
- package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
- package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
- package/node_modules/@fps-games/editor-tooling/package.json +3 -3
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +746 -0
- package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
- package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
- package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
- package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
- package/node_modules/@fps-games/editor-ui/package.json +23 -0
- package/node_modules/@fps-games/playable-assets/package.json +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
- package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
- package/node_modules/@fps-games/playable-contracts/package.json +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
- package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
- package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
- package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
- package/node_modules/@fps-games/playable-rendering/package.json +2 -2
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
- package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
- package/node_modules/@fps-games/playable-runtime/package.json +12 -12
- package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
- package/node_modules/@fps-games/playable-scene/package.json +2 -2
- package/node_modules/@fps-games/plugin-api/package.json +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/package.json +5 -5
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
- package/node_modules/@fps-games/plugin-host/package.json +2 -2
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-markers/package.json +5 -5
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-materials/package.json +5 -5
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-scene/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
- package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
- package/node_modules/@playcanvas/observer/LICENSE +19 -0
- package/node_modules/@playcanvas/observer/README.md +72 -0
- package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
- package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
- package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
- package/node_modules/@playcanvas/observer/package.json +78 -0
- package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
- package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
- package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
- package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
- package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
- package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
- package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
- package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/LICENSE +19 -0
- package/node_modules/@playcanvas/pcui/README.md +164 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
- package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
- package/node_modules/@playcanvas/pcui/package.json +150 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
- package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
- package/node_modules/@playcanvas/pcui/react/package.json +18 -0
- package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
- package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
- package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
- package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
- package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
- package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
- package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
- package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
- package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
- package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
- package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
- package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
- package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
- package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
- package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
- package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
- package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
- package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
- package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
- package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
- package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
- package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
- package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
- package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
- package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
- package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
- package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
- package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
- package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
- package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
- package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
- package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
- package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
- package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
- package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
- package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
- package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
- package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
- package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
- package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
- package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
- package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
- package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
- package/node_modules/babylonjs-gltf2interface/license.md +71 -0
- package/node_modules/babylonjs-gltf2interface/package.json +26 -0
- package/package.json +31 -19
- package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
- package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
- package/dist/editor-plugin-hierarchy-command.js +0 -119
- package/dist/editor-plugin-hierarchy-command.js.map +0 -1
- package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/node_modules/@babel/parser/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
- package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
- package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
- package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
- package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
- package/node_modules/@babel/types/lib/index.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
- package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
- package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
- package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts +0 -7
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js +0 -186
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -98
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -301
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playable-babylon-rendering.js","sourceRoot":"","sources":["../src/playable-babylon-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sCAAsC,EACtC,qCAAqC,EACrC,uDAAuD,EACvD,0CAA0C,EAC1C,4CAA4C,EAC5C,oCAAoC,EACpC,+CAA+C,EAC/C,+CAA+C,EAC/C,qDAAqD,EACrD,oCAAoC,EACpC,yDAAyD,GAgB1D,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,iDAAiD,EACjD,yCAAyC,EACzC,sBAAsB,EACtB,wBAAwB,EACxB,gCAAgC,EAChC,yCAAyC,EACzC,qCAAqC,EACrC,sCAAsC,EACtC,2CAA2C,GAmB5C,MAAM,6BAA6B,CAAC;AAYrC,OAAO,EAAE,6CAA6C,EAAE,MAAM,+BAA+B,CAAC;AAgO9F,MAAM,2CAA2C,GAAG,IAAI,GAAG,CAAC;IAC1D,kBAAkB;IAClB,aAAa;IACb,cAAc;IACd,SAAS;CACV,CAAC,CAAC;AAEH,MAAM,gDAAgD,GAAG,uCAAuC,CAAC;AAEjG,MAAM,UAAU,wCAAwC,CACtD,OAAqE;IAErE,OAAO;QACL,iBAAiB,CAAC,QAAQ;YACxB,OAAO,mCAAmC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAChE,CAAC;QACD,sBAAsB,CAAC,QAAQ,EAAE,YAAY;YAC3C,OAAO,wCAAwC,CAAC,QAAQ,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC;QACnF,CAAC;QACD,KAAK,CAAC,iBAAiB,CAAC,KAAK;YAC3B,OAAO,oCAAoC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAC9D,CAAC;QACD,KAAK,CAAC,yBAAyB,CAAC,KAAK;YACnC,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,C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EAAE,oBAAoB,IAAI,IAAI,CAAC,oBAAoB,CAAC;IACtF,IAAI,oBAAoB,KAAK,SAAS;QAAE,MAAM,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;IAC3F,MAAM,0BAA0B,GAAG,KAAK,EAAE,0BAA0B,IAAI,IAAI,CAAC,0BAA0B,CAAC;IACxG,IAAI,0BAA0B,KAAK,SAAS;QAAE,MAAM,CAAC,0BAA0B,GAAG,0BAA0B,CAAC;IAC7G,MAAM,sBAAsB,GAAG,KAAK,IAAI,wBAAwB,IAAI,KAAK;QACvE,CAAC,CAAC,KAAK,CAAC,sBAAsB;QAC9B,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC;IAChC,IAAI,sBAAsB,KAAK,SAAS;QAAE,MAAM,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;IACjG,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,wCAAwC,CAAC,GAAG,QAA2B;IAC9E,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,MAAM,UAAU,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACrE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC;YAAE,SAAS;QAClD,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACrB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import {\n applyEditorSceneRenderingProfileAction,\n applyEditorSceneRenderingProfilePatch,\n collectEditorSceneRenderingAlphaIndexMigrationTargetIds,\n createEditorSceneBlobShadowPreviewSettings,\n createEditorScenePlanarShadowPreviewSettings,\n createEditorSceneRenderingPanelState,\n createEditorSceneStaticShadowArtifactDraftStore,\n createEditorSceneStaticShadowArtifactDiagnostic,\n createEditorSceneStaticProjectedShadowPreviewSettings,\n normalizeEditorSceneRenderingProfile,\n resolveEditorSceneRenderingAlphaIndexPresetValueMigration,\n type EditorSceneBlobShadowPreviewSettingsInput,\n type EditorScenePlanarShadowPreviewSettingsInput,\n type EditorSceneResolvedShadowMode,\n type EditorSceneRenderingPanelLanguage,\n type EditorSceneRenderingGroupId,\n type EditorSceneRenderingPanelState,\n type EditorSceneRenderingPanelStateInput,\n type EditorSceneRenderingProfile,\n type EditorSceneRenderingProfileActionInput,\n type EditorSceneRenderingStatusTone,\n type EditorSceneRenderingTextureAsset,\n type EditorSceneStaticShadowArtifactDiagnostic,\n type EditorSceneStaticShadowBakeLifecycleState,\n type EditorSceneStaticShadowBakeStats,\n type EditorSceneStaticProjectedShadowPreviewSettingsInput,\n} from '@fps-games/editor-playable-sdk';\nimport {\n createBabylonDefaultPostProcessPipelineController,\n createBabylonEnvironmentTextureController,\n createBlobShadowSystem,\n createPlanarShadowSystem,\n createStaticProjectedShadowBaker,\n createStaticProjectedShadowArtifactSystem,\n createStaticProjectedShadowBakeHashes,\n createStaticProjectedShadowProfileHash,\n resolveBabylonDefaultPostProcessVolumeStack,\n type BabylonDefaultPostProcessPipelineController,\n type BabylonDefaultPostProcessProfile,\n type BabylonDefaultPostProcessResolveResult,\n type BabylonDefaultPostProcessResolveInput,\n type BabylonEnvironmentTextureController,\n type BabylonEnvironmentTextureProfile,\n type BlobShadowOptions,\n type BlobShadowSystem,\n type PlanarShadowOptions,\n type PlanarShadowSystem,\n type StaticProjectedShadowOptions,\n type StaticProjectedShadowArtifact,\n type StaticProjectedShadowArtifactHashInput,\n type StaticProjectedShadowBakeProgress,\n type StaticProjectedShadowArtifactSystem,\n type StaticProjectedShadowBakerAtlasEncoder,\n type StaticProjectedShadowBakerMaskPixelReader,\n type StaticProjectedShadowBakerSdfTileProcessor,\n} from '@fps-games/babylon-renderer';\nimport type { DirectionalLight } from '@babylonjs/core/Lights/directionalLight';\nimport type { Scene } from '@babylonjs/core/scene';\nimport type {\n BabylonEditorProjection,\n BabylonEditorShadowPreviewOptions,\n} from '@fps-games/editor-babylon';\nimport type {\n PlayableLocalEditorRenderingCapability,\n PlayableLocalEditorPatchResult,\n PlayableLocalEditorRenderingPropertyChangeResult,\n} from './playable-local-editor-host.js';\nimport { createStaticProjectedShadowCpuWorkerProcessor } from './static-shadow-cpu-worker.js';\n\ntype MaybePromise<T> = T | Promise<T>;\n\nexport type PlayableBabylonRenderingStatusTone = EditorSceneRenderingStatusTone;\n\nexport interface PlayableBabylonRenderingDocumentInput<TDocument> {\n document: TDocument;\n}\n\nexport interface PlayableBabylonRenderingContext<TDocument> {\n document: TDocument;\n config: unknown;\n profile: EditorSceneRenderingProfile;\n}\n\nexport interface PlayableBabylonRenderingSceneContext {\n scene?: unknown;\n projection?: unknown;\n renderingAction?: PlayableBabylonRenderingActionProgress | null;\n}\n\nexport interface PlayableBabylonRenderingActionProgress {\n actionId?: string;\n label?: string;\n status?: string;\n statusTone?: EditorSceneRenderingStatusTone;\n statusDetails?: string;\n value?: number;\n indeterminate?: boolean;\n details?: Record<string, unknown>;\n}\n\nexport interface PlayableBabylonRenderingSetConfigInput<TDocument> {\n document: TDocument;\n config: Record<string, unknown>;\n profile: EditorSceneRenderingProfile;\n changedPaths: readonly string[];\n change?: {\n path: string;\n value: unknown;\n };\n action?: EditorSceneRenderingProfileActionInput;\n}\n\nexport interface PlayableBabylonRenderingSetConfigResult<TPatch = unknown> {\n documentPatch?: PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableBabylonRenderingStaticShadowArtifactInput<TDocument> {\n document: TDocument;\n}\n\nexport interface PlayableBabylonRenderingSetStaticShadowArtifactInput<TDocument>\n extends PlayableBabylonRenderingStaticShadowArtifactInput<TDocument> {\n artifact: StaticProjectedShadowArtifact;\n profile: EditorSceneRenderingProfile;\n}\n\nexport type PlayableBabylonRenderingValueResolver<TDocument, TValue> =\n | TValue\n | ((context: PlayableBabylonRenderingContext<TDocument>) => TValue);\n\nexport type PlayableBabylonStaticProjectedShadowPreviewInput =\n EditorSceneStaticProjectedShadowPreviewSettingsInput & {\n artifact?: StaticProjectedShadowArtifact | null;\n expectedHashes?: StaticProjectedShadowArtifactHashInput | null;\n };\n\nexport interface PlayableBabylonRenderingShadowPreviewOptions<TDocument> {\n enabled?: PlayableBabylonRenderingValueResolver<TDocument, boolean | undefined>;\n directionalLightNodeId?: PlayableBabylonRenderingValueResolver<TDocument, string | null | undefined>;\n blob?: PlayableBabylonRenderingValueResolver<TDocument, EditorSceneBlobShadowPreviewSettingsInput | undefined>;\n staticProjected?: PlayableBabylonRenderingValueResolver<TDocument, PlayableBabylonStaticProjectedShadowPreviewInput | undefined>;\n planar?: PlayableBabylonRenderingValueResolver<TDocument, EditorScenePlanarShadowPreviewSettingsInput | undefined>;\n}\n\nexport interface PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch = unknown> {\n getConfig(input: PlayableBabylonRenderingDocumentInput<TDocument>): unknown;\n setConfig(input: PlayableBabylonRenderingSetConfigInput<TDocument>): MaybePromise<void | PlayableBabylonRenderingSetConfigResult<TPatch>>;\n resetConfig?(input: PlayableBabylonRenderingDocumentInput<TDocument>): MaybePromise<void>;\n isDirty?(input: PlayableBabylonRenderingDocumentInput<TDocument>): boolean;\n getPanelState?(input: PlayableBabylonRenderingDocumentInput<TDocument>): EditorSceneRenderingPanelStateInput;\n getTextureAssets?(input: PlayableBabylonRenderingDocumentInput<TDocument>): readonly EditorSceneRenderingTextureAsset[];\n getLanguage?(input: PlayableBabylonRenderingDocumentInput<TDocument>): EditorSceneRenderingPanelLanguage;\n getStaticShadowArtifact?(\n input: PlayableBabylonRenderingStaticShadowArtifactInput<TDocument>,\n ): StaticProjectedShadowArtifact | null | undefined;\n setStaticShadowArtifact?(\n input: PlayableBabylonRenderingSetStaticShadowArtifactInput<TDocument>,\n ): MaybePromise<void>;\n readStaticShadowMaskTexturePixels?: StaticProjectedShadowBakerMaskPixelReader;\n processStaticShadowSdfTile?: StaticProjectedShadowBakerSdfTileProcessor;\n encodeStaticShadowAtlasTexture?: StaticProjectedShadowBakerAtlasEncoder;\n getPostProcessResolveInput?(\n context: PlayableBabylonRenderingContext<TDocument>,\n ): BabylonDefaultPostProcessResolveInput | undefined;\n shadowPreview?: false | PlayableBabylonRenderingShadowPreviewOptions<TDocument>;\n}\n\nexport interface PlayableBabylonRenderingAlphaIndexMigrationPatchInput {\n targetIds: string[];\n renderingGroupId: EditorSceneRenderingGroupId;\n fromAlphaIndex: number;\n toAlphaIndex: number;\n}\n\nexport interface PlayableBabylonRenderingCapabilityFacadeOptions<TDocument, TPatch = unknown> {\n getConfig(): unknown;\n setConfig(config: Record<string, unknown>): void;\n resetConfig(): void;\n isConfigDirty(): boolean;\n getPanelState(): EditorSceneRenderingPanelStateInput;\n getTextureAssets?(input: PlayableBabylonRenderingDocumentInput<TDocument>): readonly EditorSceneRenderingTextureAsset[];\n getLanguage(input: PlayableBabylonRenderingDocumentInput<TDocument>): EditorSceneRenderingPanelLanguage;\n initialStaticShadowArtifact?: unknown;\n directionalLightNodeId: string;\n isDirectionalLightActive(input: PlayableBabylonRenderingDocumentInput<TDocument>): boolean;\n getAlphaIndexMigrationGameObjects(document: TDocument): readonly unknown[];\n createAlphaIndexMigrationPatch(input: PlayableBabylonRenderingAlphaIndexMigrationPatchInput): TPatch;\n}\n\nexport interface PlayableBabylonRenderingCapabilityFacade<TDocument, TPatch = unknown> {\n capability: PlayableLocalEditorRenderingCapability<TDocument, TPatch>;\n resetDraft(): void;\n hasDraftChanges(): boolean;\n getActiveStaticShadowArtifact(): StaticProjectedShadowArtifact | null;\n setActiveStaticShadowArtifact(value: unknown): void;\n markActiveStaticShadowArtifactSaved(value?: unknown): void;\n isStaticShadowArtifactDirty(): boolean;\n}\n\nexport interface PlayableBabylonWorldRendering {\n environment: BabylonEnvironmentTextureProfile;\n shadowPreview: BabylonEditorShadowPreviewOptions | null;\n postProcess: BabylonDefaultPostProcessProfile;\n}\n\nexport type PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus =\n | 'none'\n | 'resolved-asset'\n | 'resolved-url'\n | 'missing-asset'\n | 'unsupported-asset'\n | 'unsupported-url';\n\nexport interface PlayableBabylonRenderingEnvironmentTextureDiagnostic {\n status: PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus;\n textureAssetId: string | null;\n textureUrl: string | null;\n resolvedUrl: string | null;\n asset: EditorSceneRenderingTextureAsset | null;\n reason: string | null;\n}\n\nexport interface PlayableBabylonRenderingDiagnostics {\n config: unknown;\n profile: EditorSceneRenderingProfile;\n worldRendering: PlayableBabylonWorldRendering;\n environmentTexture: PlayableBabylonRenderingEnvironmentTextureDiagnostic;\n staticShadowArtifact: EditorSceneStaticShadowArtifactDiagnostic;\n postProcess: BabylonDefaultPostProcessResolveResult;\n shadowPreview: BabylonEditorShadowPreviewOptions | null;\n}\n\nexport interface PlayableBabylonRuntimeRenderingControllers {\n environment: BabylonEnvironmentTextureController;\n postProcess: BabylonDefaultPostProcessPipelineController;\n getWorldRendering(): PlayableBabylonWorldRendering | null;\n setWorldRendering(rendering: PlayableBabylonWorldRendering | null | undefined): void;\n dispose(): void;\n}\n\nexport interface PlayableBabylonRuntimeRenderingControllerOptions {\n scene: unknown;\n cameras: unknown[];\n initialRendering?: PlayableBabylonWorldRendering | null;\n postProcess?: {\n name?: string;\n };\n}\n\nexport interface PlayableBabylonPlanarShadowPolicyInput extends EditorScenePlanarShadowPreviewSettingsInput {\n directionalLightNodeId?: string | null;\n includeProfileShadowMeshes?: boolean;\n}\n\nexport interface PlayableBabylonResolvedPlanarShadowPolicy {\n planarInput: EditorScenePlanarShadowPreviewSettingsInput;\n planarOptions: PlanarShadowOptions;\n editorShadowPreview: BabylonEditorShadowPreviewOptions;\n}\n\nexport interface PlayableBabylonBlobShadowPolicyInput extends EditorSceneBlobShadowPreviewSettingsInput {\n includeProfileShadowMeshes?: boolean;\n}\n\nexport interface PlayableBabylonStaticProjectedShadowPolicyInput extends EditorSceneStaticProjectedShadowPreviewSettingsInput {\n includeProfileShadowMeshes?: boolean;\n artifact?: StaticProjectedShadowArtifact | null;\n expectedHashes?: StaticProjectedShadowArtifactHashInput | null;\n}\n\nexport interface PlayableBabylonPlanarShadowPolicy {\n resolve(\n profile: EditorSceneRenderingProfile,\n input?: PlayableBabylonPlanarShadowPolicyInput,\n ): PlayableBabylonResolvedPlanarShadowPolicy;\n createEditorShadowPreview(\n profile: EditorSceneRenderingProfile,\n input?: PlayableBabylonPlanarShadowPolicyInput,\n ): BabylonEditorShadowPreviewOptions;\n createRuntimePlanarOptions(\n profile: EditorSceneRenderingProfile,\n input?: PlayableBabylonPlanarShadowPolicyInput,\n ): PlanarShadowOptions;\n createRuntimePlanarShadowSystem(\n scene: unknown,\n directionalLight: unknown,\n profile: EditorSceneRenderingProfile,\n input?: PlayableBabylonPlanarShadowPolicyInput,\n ): PlanarShadowSystem;\n}\n\nconst PLAYABLE_BABYLON_RENDERING_ALLOWED_SECTIONS = new Set([\n 'rendering-groups',\n 'environment',\n 'post-process',\n 'shadows',\n]);\n\nconst PLAYABLE_BABYLON_ENVIRONMENT_TEXTURE_URL_PATTERN = /\\.(env|hdr|dds|ktx|ktx2)(?:[?#].*)?$/i;\n\nexport function createPlayableBabylonRenderingCapability<TDocument, TPatch = unknown>(\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): PlayableLocalEditorRenderingCapability<TDocument, TPatch> {\n return {\n getWorldRendering(document) {\n return createPlayableBabylonWorldRendering(document, options);\n },\n getRenderingPanelState(document, sceneContext) {\n return createPlayableBabylonRenderingPanelState(document, options, sceneContext);\n },\n async onRenderingAction(input) {\n return handlePlayableBabylonRenderingAction(input, options);\n },\n async onRenderingPropertyChange(input) {\n return handlePlayableBabylonRenderingPropertyChange(input, options);\n },\n };\n}\n\nexport function createPlayableBabylonRenderingCapabilityFacade<TDocument, TPatch = unknown>(\n options: PlayableBabylonRenderingCapabilityFacadeOptions<TDocument, TPatch>,\n): PlayableBabylonRenderingCapabilityFacade<TDocument, TPatch> {\n const staticShadowArtifactDraft = createEditorSceneStaticShadowArtifactDraftStore(options.initialStaticShadowArtifact);\n return {\n capability: createPlayableBabylonRenderingCapability<TDocument, TPatch>({\n getConfig: () => options.getConfig(),\n setConfig: input => {\n const previousProfile = normalizeEditorSceneRenderingProfile(options.getConfig());\n options.setConfig(input.config);\n const documentPatch = createPlayableBabylonRenderingAlphaIndexMigrationPatch(input, previousProfile, options);\n return documentPatch ? { documentPatch } : undefined;\n },\n resetConfig: () => options.resetConfig(),\n isDirty: () => options.isConfigDirty() || staticShadowArtifactDraft.isDirty(),\n getPanelState: () => options.getPanelState(),\n getTextureAssets: options.getTextureAssets,\n getLanguage: options.getLanguage,\n getStaticShadowArtifact: () => staticShadowArtifactDraft.get() as StaticProjectedShadowArtifact | null,\n setStaticShadowArtifact: ({ artifact }) => { staticShadowArtifactDraft.set(artifact); },\n shadowPreview: {\n directionalLightNodeId: options.directionalLightNodeId,\n enabled: options.isDirectionalLightActive,\n },\n }),\n resetDraft() {\n options.resetConfig();\n staticShadowArtifactDraft.reset();\n },\n hasDraftChanges: () => options.isConfigDirty() || staticShadowArtifactDraft.isDirty(),\n getActiveStaticShadowArtifact: () => staticShadowArtifactDraft.get() as StaticProjectedShadowArtifact | null,\n setActiveStaticShadowArtifact: value => { staticShadowArtifactDraft.set(value); },\n markActiveStaticShadowArtifactSaved: (value = staticShadowArtifactDraft.get()) => {\n staticShadowArtifactDraft.markSaved(value);\n },\n isStaticShadowArtifactDirty: () => staticShadowArtifactDraft.isDirty(),\n };\n}\n\nexport function createPlayableBabylonRenderingAlphaIndexMigrationPatch<TDocument, TPatch>(\n input: PlayableBabylonRenderingSetConfigInput<TDocument>,\n previousProfile: EditorSceneRenderingProfile,\n options: Pick<\n PlayableBabylonRenderingCapabilityFacadeOptions<TDocument, TPatch>,\n 'createAlphaIndexMigrationPatch' | 'getAlphaIndexMigrationGameObjects'\n >,\n): PlayableLocalEditorPatchResult<TPatch> | null {\n if (input.action) return null;\n const migration = resolveEditorSceneRenderingAlphaIndexPresetValueMigration({\n changedPaths: input.changedPaths,\n previousProfile,\n change: input.change,\n });\n if (!migration) return null;\n const targetIds = collectEditorSceneRenderingAlphaIndexMigrationTargetIds(\n options.getAlphaIndexMigrationGameObjects(input.document) as Parameters<\n typeof collectEditorSceneRenderingAlphaIndexMigrationTargetIds\n >[0],\n {\n renderingGroupId: migration.renderingGroupId,\n fromAlphaIndex: migration.fromAlphaIndex,\n },\n );\n if (targetIds.length === 0) return null;\n return {\n label: `Migrate rendering alphaIndex ${migration.fromAlphaIndex} to ${migration.toAlphaIndex}`,\n patch: options.createAlphaIndexMigrationPatch({ targetIds, ...migration }),\n changedIds: targetIds,\n reprojectIds: targetIds,\n };\n}\n\nexport function createPlayableBabylonWorldRendering<TDocument>(\n document: TDocument,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext = {},\n): PlayableBabylonWorldRendering {\n const context = createPlayableBabylonRenderingContext(document, options);\n const postProcess = resolvePlayableBabylonRenderingPostProcess(context, options);\n return {\n environment: createPlayableBabylonEnvironmentTextureProfile(\n context.profile,\n options.getTextureAssets?.({ document }) ?? [],\n ),\n postProcess: postProcess.profile,\n shadowPreview: createPlayableBabylonShadowPreviewOptions(context, options, sceneContext),\n };\n}\n\nexport function createPlayableBabylonRenderingDiagnostics<TDocument>(\n document: TDocument,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext = {},\n): PlayableBabylonRenderingDiagnostics {\n const context = createPlayableBabylonRenderingContext(document, options);\n const textureAssets = options.getTextureAssets?.({ document }) ?? [];\n const postProcess = resolvePlayableBabylonRenderingPostProcess(context, options);\n const shadowPreview = createPlayableBabylonShadowPreviewOptions(context, options, sceneContext);\n return {\n config: context.config,\n profile: context.profile,\n worldRendering: {\n environment: createPlayableBabylonEnvironmentTextureProfile(context.profile, textureAssets),\n postProcess: postProcess.profile,\n shadowPreview,\n },\n environmentTexture: resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(\n context.profile.environment.texture,\n textureAssets,\n ),\n staticShadowArtifact: createPlayableBabylonStaticShadowArtifactDiagnostic(context, options, sceneContext),\n postProcess,\n shadowPreview,\n };\n}\n\nexport function createPlayableBabylonRuntimeRenderingControllers(\n options: PlayableBabylonRuntimeRenderingControllerOptions,\n): PlayableBabylonRuntimeRenderingControllers {\n let currentRendering = options.initialRendering ?? null;\n const environment = createBabylonEnvironmentTextureController(\n options.scene as never,\n currentRendering?.environment ?? null,\n );\n const postProcess = createBabylonDefaultPostProcessPipelineController(\n options.scene as never,\n options.cameras as never[],\n currentRendering?.postProcess ?? null,\n options.postProcess,\n );\n return {\n environment,\n postProcess,\n getWorldRendering() {\n return currentRendering;\n },\n setWorldRendering(rendering) {\n currentRendering = rendering ?? null;\n environment.setProfile(currentRendering?.environment ?? null);\n postProcess.setProfile(currentRendering?.postProcess ?? null);\n },\n dispose() {\n environment.dispose();\n postProcess.dispose();\n currentRendering = null;\n },\n };\n}\n\nexport function createPlayableBabylonPlanarShadowPolicy(\n baseInput: PlayableBabylonPlanarShadowPolicyInput = {},\n): PlayableBabylonPlanarShadowPolicy {\n return {\n resolve(profile, input) {\n return resolvePlayableBabylonPlanarShadowPolicy(\n profile,\n mergePlayableBabylonPlanarShadowPolicyInput(baseInput, input),\n );\n },\n createEditorShadowPreview(profile, input) {\n return createPlayableBabylonPlanarShadowPreviewOptions(\n profile,\n mergePlayableBabylonPlanarShadowPolicyInput(baseInput, input),\n );\n },\n createRuntimePlanarOptions(profile, input) {\n return createPlayableBabylonPlanarShadowOptions(\n profile,\n mergePlayableBabylonPlanarShadowPolicyInput(baseInput, input),\n );\n },\n createRuntimePlanarShadowSystem(scene, directionalLight, profile, input) {\n return createPlayableBabylonPlanarShadowSystem(\n scene,\n directionalLight,\n profile,\n mergePlayableBabylonPlanarShadowPolicyInput(baseInput, input),\n );\n },\n };\n}\n\nexport function resolvePlayableBabylonPlanarShadowPolicy(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): PlayableBabylonResolvedPlanarShadowPolicy {\n const planarInput = createPlayableBabylonPlanarShadowPolicyInput(profile, input);\n const planarOptions = createEditorScenePlanarShadowPreviewSettings(\n profile,\n planarInput,\n ) as PlanarShadowOptions;\n return {\n planarInput,\n planarOptions,\n editorShadowPreview: {\n planar: {\n ...planarOptions,\n ...(input.directionalLightNodeId === undefined\n ? {}\n : { directionalLightNodeId: input.directionalLightNodeId }),\n },\n },\n };\n}\n\nexport function createPlayableBabylonPlanarShadowPolicyInput(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): EditorScenePlanarShadowPreviewSettingsInput {\n const includeProfileShadowMeshes = input.includeProfileShadowMeshes !== false;\n const shadowMeshes = profile.shadowMeshes;\n return {\n ...(input.enabled === undefined ? {} : { enabled: input.enabled }),\n ...(input.autoDetectAllCasters === undefined ? {} : { autoDetectAllCasters: input.autoDetectAllCasters }),\n additionalCasterIncludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.shadowCasters : []),\n ...(input.additionalCasterIncludePatterns ?? []),\n ),\n additionalExcludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.excludeFromShadow : []),\n ...(input.additionalExcludePatterns ?? []),\n ),\n additionalReceiverPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.shadowReceivers : []),\n ...(input.additionalReceiverPatterns ?? []),\n ),\n additionalRootBoundaryPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(input.additionalRootBoundaryPatterns ?? []),\n ),\n };\n}\n\nexport function createPlayableBabylonPlanarShadowPreviewOptions(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): BabylonEditorShadowPreviewOptions {\n return resolvePlayableBabylonPlanarShadowPolicy(profile, input).editorShadowPreview;\n}\n\nexport function createPlayableBabylonPlanarShadowOptions(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): PlanarShadowOptions {\n return resolvePlayableBabylonPlanarShadowPolicy(profile, input).planarOptions;\n}\n\nexport function createPlayableBabylonPlanarShadowSystem(\n scene: unknown,\n directionalLight: unknown,\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): PlanarShadowSystem {\n return createPlanarShadowSystem(\n scene as Parameters<typeof createPlanarShadowSystem>[0],\n directionalLight as Parameters<typeof createPlanarShadowSystem>[1],\n createPlayableBabylonPlanarShadowOptions(profile, input),\n );\n}\n\nexport function createPlayableBabylonBlobShadowOptions(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonBlobShadowPolicyInput = {},\n): BlobShadowOptions {\n const includeProfileShadowMeshes = input.includeProfileShadowMeshes !== false;\n const shadowMeshes = profile.shadowMeshes;\n return createEditorSceneBlobShadowPreviewSettings(profile, {\n ...input,\n additionalCasterIncludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.shadowCasters : []),\n ...(input.additionalCasterIncludePatterns ?? []),\n ),\n additionalExcludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.excludeFromShadow : []),\n ...(input.additionalExcludePatterns ?? []),\n ),\n additionalRootBoundaryPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(input.additionalRootBoundaryPatterns ?? []),\n ),\n }) as BlobShadowOptions;\n}\n\nexport function createPlayableBabylonStaticProjectedShadowOptions(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonStaticProjectedShadowPolicyInput = {},\n): StaticProjectedShadowOptions & {\n artifact?: StaticProjectedShadowArtifact | null;\n expectedHashes?: StaticProjectedShadowArtifactHashInput | null;\n} {\n const includeProfileShadowMeshes = input.includeProfileShadowMeshes !== false;\n const shadowMeshes = profile.shadowMeshes;\n return {\n ...createEditorSceneStaticProjectedShadowPreviewSettings(profile, {\n ...input,\n additionalCasterIncludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.shadowCasters : []),\n ...(input.additionalCasterIncludePatterns ?? []),\n ),\n additionalExcludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.excludeFromShadow : []),\n ...(input.additionalExcludePatterns ?? []),\n ),\n additionalRootBoundaryPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(input.additionalRootBoundaryPatterns ?? []),\n ),\n }) as StaticProjectedShadowOptions,\n ...(input.artifact === undefined ? {} : { artifact: input.artifact }),\n ...(input.expectedHashes === undefined ? {} : { expectedHashes: input.expectedHashes }),\n };\n}\n\nexport function createPlayableBabylonStaticProjectedShadowArtifactSystem(\n scene: unknown,\n directionalLight: unknown,\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonStaticProjectedShadowPolicyInput = {},\n): StaticProjectedShadowArtifactSystem {\n const staticProjected = createPlayableBabylonStaticProjectedShadowOptions(profile, input);\n const expectedHashes = staticProjected.expectedHashes ?? createStaticProjectedShadowBakeHashes({\n scene: scene as Parameters<typeof createStaticProjectedShadowBakeHashes>[0]['scene'],\n directionalLight: directionalLight as Parameters<typeof createStaticProjectedShadowBakeHashes>[0]['directionalLight'],\n options: staticProjected,\n });\n return createStaticProjectedShadowArtifactSystem(\n scene as Parameters<typeof createStaticProjectedShadowArtifactSystem>[0],\n staticProjected.artifact ?? null,\n {\n enabled: staticProjected.enabled,\n appearance: staticProjected.appearance,\n bake: {\n blur: staticProjected.bake?.blur,\n },\n expectedHashes,\n debug: staticProjected.debug,\n },\n );\n}\n\nexport function createPlayableBabylonBlobShadowSystem(\n scene: unknown,\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonBlobShadowPolicyInput = {},\n): BlobShadowSystem {\n return createBlobShadowSystem(\n scene as Parameters<typeof createBlobShadowSystem>[0],\n createPlayableBabylonBlobShadowOptions(profile, input),\n );\n}\n\nexport function createPlayableBabylonRenderingPanelState<TDocument>(\n document: TDocument,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext = {},\n): EditorSceneRenderingPanelState {\n const context = createPlayableBabylonRenderingContext(document, options);\n const baseState = options.getPanelState?.({ document }) ?? {};\n const dirty = baseState.dirty ?? options.isDirty?.({ document });\n const language = options.getLanguage?.({ document }) ?? 'en';\n const renderingAction = readPlayableBabylonRenderingActionProgress(sceneContext.renderingAction);\n const staticShadowBake = renderingAction?.actionId === 'bake-static-shadows'\n ? createPlayableBabylonBakingStaticShadowLifecycleState(renderingAction, language)\n : baseState.staticShadowBake\n ?? createPlayableBabylonStaticShadowBakeLifecycleState(context, options, dirty === true, sceneContext);\n return createEditorSceneRenderingPanelState(context.profile, {\n ...baseState,\n ...(dirty === undefined ? {} : { dirty }),\n staticShadowBake,\n }, {\n language,\n textureAssets: options.getTextureAssets?.({ document }) ?? [],\n });\n}\n\nfunction createPlayableBabylonBakingStaticShadowLifecycleState(\n progress: PlayableBabylonRenderingActionProgress,\n language: EditorSceneRenderingPanelLanguage,\n): EditorSceneStaticShadowBakeLifecycleState {\n const stats = readStaticShadowBakeStats(progress.details);\n const label = progress.label\n ?? (language === 'zh' ? '正在烘焙静态阴影' : 'Baking static shadows');\n return {\n status: 'baking',\n chunkCount: stats?.chunkCount ?? 0,\n reason: progress.status ?? label,\n stats,\n progress: {\n label,\n ...(typeof progress.value === 'number' && Number.isFinite(progress.value)\n ? { value: Math.max(0, Math.min(1, progress.value)) }\n : {}),\n indeterminate: progress.indeterminate !== false && typeof progress.value !== 'number',\n },\n };\n}\n\nfunction createPlayableBabylonStaticShadowBakeLifecycleState<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n dirty: boolean,\n sceneContext: PlayableBabylonRenderingSceneContext,\n): EditorSceneStaticShadowBakeLifecycleState {\n const staticOptions = createPlayableBabylonStaticProjectedShadowOptions(context.profile, (\n resolvePlayableBabylonRenderingValue(\n options.shadowPreview === false ? undefined : options.shadowPreview?.staticProjected,\n context,\n ) ?? {}\n ));\n if (!staticOptions.enabled) {\n return {\n status: 'disabled',\n chunkCount: 0,\n reason: 'Static Baked Shadow is disabled.',\n };\n }\n const artifact = options.getStaticShadowArtifact?.({ document: context.document }) ?? null;\n if (!artifact) {\n return {\n status: 'missing',\n chunkCount: 0,\n reason: 'No static shadow bake artifact is available.',\n };\n }\n const diagnostic = createEditorSceneStaticShadowArtifactDiagnostic(\n artifact,\n createPlayableBabylonStaticShadowExpectedHashes(context, options, staticOptions, sceneContext),\n );\n if (diagnostic.status === 'invalid') {\n return {\n status: 'invalid',\n chunkCount: 0,\n reason: diagnostic.reason,\n };\n }\n if (diagnostic.status === 'out-of-date') {\n return {\n status: 'out-of-date',\n chunkCount: diagnostic.chunkCount,\n reason: diagnostic.reason,\n generatedAt: artifact.generatedAt ?? null,\n stats: createEditorSceneStaticShadowBakeStatsFromArtifact(artifact),\n };\n }\n if (dirty) {\n return {\n status: 'preview-unsaved',\n chunkCount: diagnostic.chunkCount,\n reason: 'Static shadow preview has not been saved yet.',\n generatedAt: artifact.generatedAt ?? null,\n stats: createEditorSceneStaticShadowBakeStatsFromArtifact(artifact),\n };\n }\n return {\n status: 'up-to-date',\n chunkCount: diagnostic.chunkCount,\n reason: null,\n generatedAt: artifact.generatedAt ?? null,\n stats: createEditorSceneStaticShadowBakeStatsFromArtifact(artifact),\n };\n}\n\nfunction createEditorSceneStaticShadowBakeStatsFromArtifact(\n artifact: StaticProjectedShadowArtifact,\n): EditorSceneStaticShadowBakeStats {\n const isV2 = artifact.version === 2;\n const pageCount = isV2 ? artifact.pages.length : undefined;\n return {\n sourceRootCount: artifact.stats?.sourceRootCount ?? uniqueStaticShadowSourceNodeIds(artifact).length,\n sourceMeshCount: artifact.stats?.sourceMeshCount,\n attemptedChunkCount: artifact.stats?.attemptedChunkCount ?? artifact.chunks.length,\n chunkCount: artifact.stats?.chunkCount ?? artifact.chunks.length,\n textureCount: artifact.stats?.textureCount ?? pageCount ?? artifact.chunks.length,\n skippedChunkCount: artifact.stats?.skippedChunkCount,\n pageCount: artifact.stats?.pageCount ?? pageCount,\n resolution: artifact.stats?.resolution,\n chunkSize: artifact.stats?.chunkSize,\n atlasSize: artifact.stats?.atlasSize,\n atlasUsedPixels: artifact.stats?.atlasUsedPixels,\n atlasAllocatedPixels: artifact.stats?.atlasAllocatedPixels,\n atlasOccupancy: artifact.stats?.atlasOccupancy,\n texelsPerMeter: artifact.stats?.texelsPerMeter,\n effectiveTexelsPerMeter: artifact.stats?.effectiveTexelsPerMeter,\n maxAtlasPages: artifact.stats?.maxAtlasPages,\n sdfRadiusPx: artifact.stats?.sdfRadiusPx,\n spatialChunkSize: artifact.stats?.spatialChunkSize,\n effectiveSpatialChunkSize: artifact.stats?.effectiveSpatialChunkSize,\n targetChunkCount: artifact.stats?.targetChunkCount,\n bakedChunkCount: artifact.stats?.bakedChunkCount,\n reusedChunkCount: artifact.stats?.reusedChunkCount,\n durationMs: artifact.stats?.durationMs,\n };\n}\n\nfunction uniqueStaticShadowSourceNodeIds(artifact: StaticProjectedShadowArtifact): string[] {\n return [...new Set(artifact.chunks.flatMap(chunk => chunk.sourceNodeIds))];\n}\n\nfunction createPlayableBabylonStaticShadowArtifactDiagnostic<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext,\n): EditorSceneStaticShadowArtifactDiagnostic {\n const artifact = options.getStaticShadowArtifact?.({ document: context.document }) ?? null;\n const staticOptions = createPlayableBabylonStaticProjectedShadowOptions(context.profile, (\n resolvePlayableBabylonRenderingValue(\n options.shadowPreview === false ? undefined : options.shadowPreview?.staticProjected,\n context,\n ) ?? {}\n ));\n return createEditorSceneStaticShadowArtifactDiagnostic(\n artifact,\n createPlayableBabylonStaticShadowExpectedHashes(context, options, staticOptions, sceneContext),\n );\n}\n\nfunction createPlayableBabylonStaticShadowExpectedHashes<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n staticOptions: StaticProjectedShadowOptions & { expectedHashes?: StaticProjectedShadowArtifactHashInput | null },\n sceneContext: PlayableBabylonRenderingSceneContext,\n): StaticProjectedShadowArtifactHashInput {\n if (staticOptions.expectedHashes) return staticOptions.expectedHashes;\n const scene = readBabylonScene(sceneContext.scene);\n const shadowPreview = options.shadowPreview === false ? {} : options.shadowPreview ?? {};\n const directionalLightNodeId = resolvePlayableBabylonRenderingValue(\n shadowPreview.directionalLightNodeId,\n context,\n );\n if (scene) {\n return createStaticProjectedShadowBakeHashes({\n scene,\n directionalLight: resolveBabylonDirectionalLight(sceneContext.projection, directionalLightNodeId ?? null),\n options: staticOptions,\n });\n }\n return {\n profileHash: createStaticProjectedShadowProfileHash(staticOptions),\n };\n}\n\nexport function createPlayableBabylonEnvironmentTextureProfile(\n profile: EditorSceneRenderingProfile,\n textureAssets: readonly EditorSceneRenderingTextureAsset[] = [],\n): BabylonEnvironmentTextureProfile {\n return {\n textureUrl: resolvePlayableBabylonRenderingEnvironmentTextureUrl(\n profile.environment.texture,\n textureAssets,\n ),\n intensity: profile.environment.iblIntensity,\n rotationY: profile.environment.rotationY,\n };\n}\n\nexport function resolvePlayableBabylonRenderingEnvironmentTextureUrl(\n textureRef: EditorSceneRenderingProfile['environment']['texture'],\n textureAssets: readonly EditorSceneRenderingTextureAsset[] = [],\n): string | null {\n if (!textureRef) return null;\n const textureAssetId = typeof textureRef.textureAssetId === 'string'\n ? textureRef.textureAssetId.trim()\n : '';\n if (textureAssetId) {\n const textureAsset = textureAssets.find(texture => texture.id === textureAssetId);\n return textureAsset && isPlayableBabylonRenderingEnvironmentTextureAsset(textureAsset)\n ? textureAsset.url\n : null;\n }\n const textureUrl = typeof textureRef.url === 'string' ? textureRef.url.trim() : '';\n return isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl) ? textureUrl : null;\n}\n\nexport function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(\n textureRef: EditorSceneRenderingProfile['environment']['texture'],\n textureAssets: readonly EditorSceneRenderingTextureAsset[] = [],\n): PlayableBabylonRenderingEnvironmentTextureDiagnostic {\n if (!textureRef) {\n return {\n status: 'none',\n textureAssetId: null,\n textureUrl: null,\n resolvedUrl: null,\n asset: null,\n reason: 'No environment texture is configured.',\n };\n }\n const textureAssetId = typeof textureRef.textureAssetId === 'string'\n ? textureRef.textureAssetId.trim()\n : '';\n if (textureAssetId) {\n const textureAsset = textureAssets.find(texture => texture.id === textureAssetId) ?? null;\n if (!textureAsset) {\n return {\n status: 'missing-asset',\n textureAssetId,\n textureUrl: null,\n resolvedUrl: null,\n asset: null,\n reason: `Environment texture asset not found: ${textureAssetId}.`,\n };\n }\n if (!isPlayableBabylonRenderingEnvironmentTextureAsset(textureAsset)) {\n return {\n status: 'unsupported-asset',\n textureAssetId,\n textureUrl: textureAsset.url,\n resolvedUrl: null,\n asset: textureAsset,\n reason: `Texture asset is not marked as an environment texture: ${textureAssetId}.`,\n };\n }\n return {\n status: 'resolved-asset',\n textureAssetId,\n textureUrl: textureAsset.url,\n resolvedUrl: textureAsset.url,\n asset: textureAsset,\n reason: null,\n };\n }\n const textureUrl = typeof textureRef.url === 'string' ? textureRef.url.trim() : '';\n if (!textureUrl) {\n return {\n status: 'none',\n textureAssetId: null,\n textureUrl: null,\n resolvedUrl: null,\n asset: null,\n reason: 'No environment texture URL is configured.',\n };\n }\n if (!isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl)) {\n return {\n status: 'unsupported-url',\n textureAssetId: null,\n textureUrl,\n resolvedUrl: null,\n asset: null,\n reason: 'Environment texture URL must use .env, .hdr, .dds, .ktx, or .ktx2.',\n };\n }\n return {\n status: 'resolved-url',\n textureAssetId: null,\n textureUrl,\n resolvedUrl: textureUrl,\n asset: null,\n reason: null,\n };\n}\n\nexport function isPlayableBabylonRenderingEnvironmentTextureAsset(\n texture: EditorSceneRenderingTextureAsset,\n): boolean {\n if (texture.capabilities?.environmentTexture === true) return true;\n if (texture.capabilities?.environmentTexture === false) return false;\n if (texture.usage === 'environment') return true;\n return isPlayableBabylonRenderingEnvironmentTextureUrl(texture.url);\n}\n\nexport function isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl: string): boolean {\n return PLAYABLE_BABYLON_ENVIRONMENT_TEXTURE_URL_PATTERN.test(textureUrl);\n}\n\nfunction createPlayableBabylonRenderingContext<TDocument>(\n document: TDocument,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n): PlayableBabylonRenderingContext<TDocument> {\n const config = options.getConfig({ document });\n return {\n document,\n config,\n profile: normalizeEditorSceneRenderingProfile(config),\n };\n}\n\nfunction resolvePlayableBabylonRenderingPostProcess<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n): BabylonDefaultPostProcessResolveResult {\n return resolveBabylonDefaultPostProcessVolumeStack(\n context.config,\n options.getPostProcessResolveInput?.(context),\n );\n}\n\nfunction createPlayableBabylonShadowPreviewOptions<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext = {},\n): BabylonEditorShadowPreviewOptions | null {\n if (options.shadowPreview === false) return null;\n const shadowPreview = options.shadowPreview ?? {};\n const blobInput = resolvePlayableBabylonRenderingValue(shadowPreview.blob, context) ?? {};\n const staticInput = resolvePlayableBabylonRenderingValue(shadowPreview.staticProjected, context) ?? {};\n const planarInput = resolvePlayableBabylonRenderingValue(shadowPreview.planar, context) ?? {};\n const staticArtifact = staticInput.artifact === undefined\n ? options.getStaticShadowArtifact?.({ document: context.document }) ?? null\n : staticInput.artifact;\n const enabled = resolvePlayableBabylonRenderingValue(shadowPreview.enabled, context);\n const directionalLightNodeId = resolvePlayableBabylonRenderingValue(\n shadowPreview.directionalLightNodeId,\n context,\n );\n const planarPreview = createPlayableBabylonPlanarShadowPreviewOptions(context.profile, {\n ...planarInput,\n ...(enabled === undefined ? {} : { enabled }),\n ...(directionalLightNodeId === undefined ? {} : { directionalLightNodeId }),\n });\n const blobPreview = createPlayableBabylonBlobShadowOptions(context.profile, {\n ...blobInput,\n ...(enabled === undefined ? {} : { enabled }),\n });\n const staticPreview = createPlayableBabylonStaticProjectedShadowOptions(context.profile, {\n ...staticInput,\n artifact: staticArtifact,\n ...(enabled === undefined ? {} : { enabled }),\n });\n const expectedHashes = createPlayableBabylonStaticShadowExpectedHashes(context, options, staticPreview, sceneContext);\n const filteredStaticArtifact = resolvePlayableBabylonStaticShadowArtifactForExpectedHashes(\n staticPreview.artifact ?? null,\n expectedHashes,\n );\n return {\n defaultMode: context.profile.shadows.defaultMode as EditorSceneResolvedShadowMode,\n blob: blobPreview,\n staticProjected: {\n ...staticPreview,\n artifact: filteredStaticArtifact,\n ...(readBabylonScene(sceneContext.scene) ? { expectedHashes } : {}),\n ...(directionalLightNodeId === undefined ? {} : { directionalLightNodeId }),\n },\n planar: planarPreview.planar ?? null,\n };\n}\n\nfunction resolvePlayableBabylonStaticShadowArtifactForExpectedHashes(\n artifact: StaticProjectedShadowArtifact | null,\n expectedHashes: StaticProjectedShadowArtifactHashInput,\n): StaticProjectedShadowArtifact | null {\n if (!artifact) return null;\n const diagnostic = createEditorSceneStaticShadowArtifactDiagnostic(artifact, expectedHashes);\n return diagnostic.status === 'up-to-date' ? artifact : null;\n}\n\nasync function handlePlayableBabylonRenderingPropertyChange<TDocument, TPatch>(\n input: Record<string, unknown> & { document: TDocument },\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): Promise<PlayableLocalEditorRenderingPropertyChangeResult<TPatch>> {\n const sectionId = typeof input.sectionId === 'string' ? input.sectionId : '';\n if (!PLAYABLE_BABYLON_RENDERING_ALLOWED_SECTIONS.has(sectionId)) {\n return createPlayableBabylonRenderingResult(false, {\n status: `Unsupported rendering section: ${sectionId || '(unknown)'}`,\n statusTone: 'warning',\n });\n }\n const path = typeof input.path === 'string' ? input.path : '';\n const currentConfig = options.getConfig({ document: input.document });\n const patch = applyEditorSceneRenderingProfilePatch(currentConfig, {\n [path]: input.value,\n });\n if (patch.changedPaths.length === 0) {\n return createPlayableBabylonRenderingResult(false, {\n status: `Unsupported rendering field: ${path || '(unknown)'}`,\n statusTone: 'warning',\n });\n }\n const setConfigResult = await options.setConfig({\n document: input.document,\n config: patch.config,\n changedPaths: patch.changedPaths,\n profile: patch.normalized,\n change: {\n path,\n value: input.value,\n },\n });\n const dirty = options.isDirty?.({ document: input.document });\n return createPlayableBabylonRenderingResult(true, {\n dirty,\n status: `Rendering draft updated: ${patch.changedPaths.join(', ')}`,\n statusTone: dirty === false ? 'success' : 'warning',\n documentPatch: readPlayableBabylonRenderingDocumentPatch(setConfigResult),\n });\n}\n\nasync function handlePlayableBabylonRenderingAction<TDocument, TPatch>(\n input: Record<string, unknown> & { document: TDocument },\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): Promise<PlayableLocalEditorRenderingPropertyChangeResult<TPatch>> {\n const actionId = typeof input.actionId === 'string' ? input.actionId : '';\n if (actionId === 'bake-static-shadows') {\n return bakePlayableBabylonStaticShadows(input, options);\n }\n if (actionId === 'rendering-alpha-preset.add' || actionId === 'rendering-alpha-preset.delete') {\n const actionInput = createPlayableBabylonRenderingProfileActionInput(actionId, input);\n const currentConfig = options.getConfig({ document: input.document });\n const patch = applyEditorSceneRenderingProfileAction(currentConfig, actionInput);\n if (patch.changedPaths.length === 0) {\n return createPlayableBabylonRenderingResult(false, {\n status: `Unsupported rendering action: ${actionId}`,\n statusTone: 'warning',\n });\n }\n const setConfigResult = await options.setConfig({\n document: input.document,\n config: patch.config,\n changedPaths: patch.changedPaths,\n profile: patch.normalized,\n action: actionInput,\n });\n const dirty = options.isDirty?.({ document: input.document });\n return createPlayableBabylonRenderingResult(true, {\n dirty,\n status: `Rendering draft updated: ${patch.changedPaths.join(', ')}`,\n statusTone: dirty === false ? 'success' : 'warning',\n documentPatch: readPlayableBabylonRenderingDocumentPatch(setConfigResult),\n });\n }\n if (actionId !== 'revert-rendering') {\n return createPlayableBabylonRenderingResult(false, {\n status: `Unsupported rendering action: ${actionId || '(unknown)'}`,\n statusTone: 'warning',\n });\n }\n if (!options.resetConfig) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Rendering reset is not available for this project.',\n statusTone: 'warning',\n });\n }\n if (options.isDirty?.({ document: input.document }) === false) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Rendering already matches saved settings.',\n statusTone: 'default',\n });\n }\n await options.resetConfig({ document: input.document });\n return createPlayableBabylonRenderingResult(true, {\n dirty: options.isDirty?.({ document: input.document }) ?? false,\n status: 'Rendering draft reverted to saved settings.',\n statusTone: 'success',\n });\n}\n\nasync function bakePlayableBabylonStaticShadows<TDocument, TPatch>(\n input: Record<string, unknown> & { document: TDocument },\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): Promise<PlayableLocalEditorRenderingPropertyChangeResult<TPatch>> {\n if (!options.setStaticShadowArtifact) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Static shadow artifact storage is not available for this project.',\n statusTone: 'warning',\n });\n }\n const scene = readBabylonScene(input.scene);\n if (!scene) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Static shadow bake requires the active Babylon scene.',\n statusTone: 'warning',\n });\n }\n const context = createPlayableBabylonRenderingContext(input.document, options);\n const shadowPreview = options.shadowPreview === false ? {} : options.shadowPreview ?? {};\n const staticInput = resolvePlayableBabylonRenderingValue(shadowPreview.staticProjected, context) ?? {};\n const directionalLightNodeId = resolvePlayableBabylonRenderingValue(shadowPreview.directionalLightNodeId, context);\n const staticOptions = createPlayableBabylonStaticProjectedShadowOptions(context.profile, {\n ...staticInput,\n ...(staticInput.enabled === undefined ? {} : { enabled: staticInput.enabled }),\n });\n if (!staticOptions.enabled) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Static Baked Shadow is disabled.',\n statusTone: 'warning',\n });\n }\n const reportProgress = readPlayableBabylonRenderingProgressReporter(input.reportProgress);\n const previousArtifact = options.getStaticShadowArtifact?.({ document: input.document }) ?? null;\n const workerProcessor = options.processStaticShadowSdfTile ? null : createStaticProjectedShadowCpuWorkerProcessor();\n let artifact: StaticProjectedShadowArtifact;\n try {\n artifact = await createStaticProjectedShadowBaker({\n scene,\n directionalLight: resolveBabylonDirectionalLight(input.projection, directionalLightNodeId ?? null),\n options: staticOptions,\n previousArtifact,\n readMaskTexturePixels: options.readStaticShadowMaskTexturePixels,\n processSdfTile: options.processStaticShadowSdfTile ?? workerProcessor?.processSdfTile,\n encodeAtlasTexture: options.encodeStaticShadowAtlasTexture,\n yieldToMainThread: async (progress) => {\n await reportProgress?.(createPlayableBabylonStaticShadowBakeProgress(progress, staticOptions));\n },\n onProgress: async (progress) => {\n await reportProgress?.(createPlayableBabylonStaticShadowBakeProgress(progress, staticOptions));\n },\n }).bake();\n } finally {\n workerProcessor?.dispose();\n }\n await reportProgress?.({\n actionId: 'bake-static-shadows',\n label: 'Writing static shadow artifact',\n status: 'Writing static shadow artifact...',\n value: 0.98,\n indeterminate: false,\n details: createStaticShadowArtifactStatsDetails(artifact),\n });\n await options.setStaticShadowArtifact({\n document: input.document,\n artifact,\n profile: context.profile,\n });\n const statusDetails = formatStaticShadowBakeResultDetails(artifact);\n return createPlayableBabylonRenderingResult(true, {\n dirty: options.isDirty?.({ document: input.document }),\n status: `Baked ${artifact.chunks.length} static shadow chunk${artifact.chunks.length === 1 ? '' : 's'} from ${artifact.stats?.sourceRootCount ?? 0} static caster${artifact.stats?.sourceRootCount === 1 ? '' : 's'}.`,\n statusTone: 'success',\n statusDetails,\n details: createStaticShadowArtifactActionDetails(artifact),\n });\n}\n\nfunction readPlayableBabylonRenderingProgressReporter(\n value: unknown,\n): ((progress: PlayableBabylonRenderingActionProgress) => MaybePromise<void>) | null {\n return typeof value === 'function'\n ? value as (progress: PlayableBabylonRenderingActionProgress) => MaybePromise<void>\n : null;\n}\n\nfunction createPlayableBabylonStaticShadowBakeProgress(\n progress: StaticProjectedShadowBakeProgress,\n options: ReturnType<typeof createPlayableBabylonStaticProjectedShadowOptions>,\n): PlayableBabylonRenderingActionProgress {\n const total = Math.max(0, progress.totalChunkCount);\n const completed = Math.max(0, progress.completedChunkCount);\n const chunkProgress = total > 0 ? completed / total : 1;\n const atlasPageCount = Math.max(0, progress.atlasPageCount ?? 0);\n const encodedPageCount = Math.max(0, progress.encodedTextureCount);\n const value = progress.phase === 'collect'\n ? 0.08\n : progress.phase === 'pack'\n ? 0.92\n : progress.phase === 'encode'\n ? 0.92 + (atlasPageCount > 0 ? Math.min(encodedPageCount / atlasPageCount, 1) * 0.05 : 0.03)\n : progress.phase === 'complete'\n ? 0.96\n : 0.12 + chunkProgress * 0.78;\n const status = progress.phase === 'collect'\n ? `Collecting ${progress.sourceRootCount} static shadow casters...`\n : progress.phase === 'reuse'\n ? `Reusing ${progress.reusedChunkCount ?? 0} unchanged static shadow chunks...`\n : progress.phase === 'sdf'\n ? `Generating static shadow SDF ${Math.min(completed + 1, total)} of ${total}...`\n : progress.phase === 'pack'\n ? `Packing ${progress.encodedTextureCount} static shadow chunks into ${atlasPageCount} atlas page${atlasPageCount === 1 ? '' : 's'}...`\n : progress.phase === 'encode'\n ? `Encoding static shadow atlas page ${Math.min(encodedPageCount + 1, atlasPageCount || encodedPageCount + 1)} of ${atlasPageCount || encodedPageCount + 1}...`\n : progress.phase === 'complete'\n ? `Finishing ${encodedPageCount} static shadow atlas page${encodedPageCount === 1 ? '' : 's'}...`\n : `Baking static shadow chunk ${Math.min(completed + 1, total)} of ${total}...`;\n return {\n actionId: 'bake-static-shadows',\n label: total > 0\n ? `Static shadow bake ${Math.min(completed, total)} / ${total}`\n : 'Static shadow bake',\n status,\n value,\n indeterminate: total === 0 && progress.phase !== 'complete',\n details: {\n phase: progress.phase,\n sourceRootCount: progress.sourceRootCount,\n sourceMeshCount: progress.sourceMeshCount,\n attemptedChunkCount: progress.totalChunkCount,\n chunkCount: progress.completedChunkCount,\n textureCount: progress.encodedTextureCount,\n pageCount: progress.atlasPageCount,\n resolution: options.bake?.resolution,\n chunkSize: options.bake?.spatialChunkSize,\n atlasSize: options.bake?.atlasSize,\n texelsPerMeter: options.bake?.texelsPerMeter,\n effectiveTexelsPerMeter: progress.effectiveTexelsPerMeter,\n maxAtlasPages: options.bake?.maxAtlasPages,\n sdfRadiusPx: options.bake?.sdfRadiusPx,\n spatialChunkSize: options.bake?.spatialChunkSize,\n effectiveSpatialChunkSize: progress.effectiveSpatialChunkSize,\n targetChunkCount: options.bake?.targetChunkCount,\n bakedChunkCount: progress.bakedChunkCount,\n reusedChunkCount: progress.reusedChunkCount,\n ...(progress.currentChunkId ? { currentChunkId: progress.currentChunkId } : {}),\n },\n };\n}\n\nfunction createStaticShadowArtifactStatsDetails(\n artifact: StaticProjectedShadowArtifact,\n): Record<string, unknown> {\n const isV2 = artifact.version === 2;\n const pageCount = isV2 ? artifact.pages.length : undefined;\n return {\n phase: 'complete',\n sourceRootCount: artifact.stats?.sourceRootCount ?? 0,\n sourceMeshCount: artifact.stats?.sourceMeshCount ?? 0,\n attemptedChunkCount: artifact.stats?.attemptedChunkCount ?? artifact.chunks.length,\n chunkCount: artifact.stats?.chunkCount ?? artifact.chunks.length,\n textureCount: artifact.stats?.textureCount ?? pageCount ?? artifact.chunks.length,\n skippedChunkCount: artifact.stats?.skippedChunkCount ?? 0,\n pageCount: artifact.stats?.pageCount ?? pageCount,\n resolution: artifact.stats?.resolution,\n chunkSize: artifact.stats?.chunkSize,\n atlasSize: artifact.stats?.atlasSize,\n atlasUsedPixels: artifact.stats?.atlasUsedPixels,\n atlasAllocatedPixels: artifact.stats?.atlasAllocatedPixels,\n atlasOccupancy: artifact.stats?.atlasOccupancy,\n texelsPerMeter: artifact.stats?.texelsPerMeter,\n effectiveTexelsPerMeter: artifact.stats?.effectiveTexelsPerMeter,\n maxAtlasPages: artifact.stats?.maxAtlasPages,\n sdfRadiusPx: artifact.stats?.sdfRadiusPx,\n spatialChunkSize: artifact.stats?.spatialChunkSize,\n effectiveSpatialChunkSize: artifact.stats?.effectiveSpatialChunkSize,\n targetChunkCount: artifact.stats?.targetChunkCount,\n bakedChunkCount: artifact.stats?.bakedChunkCount,\n reusedChunkCount: artifact.stats?.reusedChunkCount,\n durationMs: artifact.stats?.durationMs,\n };\n}\n\nfunction createStaticShadowArtifactActionDetails(\n artifact: StaticProjectedShadowArtifact,\n): Record<string, unknown> {\n const sourceNodeIds = createUniqueStringList(\n artifact.chunks.flatMap(chunk => Array.isArray(chunk.sourceNodeIds) ? chunk.sourceNodeIds : []),\n );\n return {\n ...createStaticShadowArtifactStatsDetails(artifact),\n sourceNodeIds,\n };\n}\n\nfunction formatStaticShadowBakeResultDetails(artifact: StaticProjectedShadowArtifact): string {\n const stats = artifact.stats;\n const sourceRootCount = stats?.sourceRootCount ?? 0;\n const sourceMeshCount = stats?.sourceMeshCount ?? 0;\n const chunkCount = stats?.chunkCount ?? artifact.chunks.length;\n const atlasPageCount = stats?.pageCount ?? (artifact.version === 2 ? artifact.pages.length : stats?.textureCount ?? artifact.chunks.length);\n const effectiveTexelsPerMeter = stats?.effectiveTexelsPerMeter;\n const atlasSize = stats?.atlasSize;\n const atlasOccupancy = stats?.atlasOccupancy;\n const sdfRadiusPx = stats?.sdfRadiusPx;\n const duration = typeof stats?.durationMs === 'number' ? `, ${Math.round(stats.durationMs)}ms` : '';\n const parts = [\n `Static casters: ${sourceRootCount}`,\n `Bake meshes: ${sourceMeshCount}`,\n `Chunks: ${chunkCount}`,\n `Atlas pages: ${atlasPageCount}${duration}`,\n ];\n if (typeof effectiveTexelsPerMeter === 'number') parts.push(`Effective texels/m: ${formatNumberForStatus(effectiveTexelsPerMeter)}`);\n if (typeof atlasSize === 'number') parts.push(`Atlas: ${atlasSize}px`);\n if (typeof atlasOccupancy === 'number') parts.push(`Atlas occupancy: ${formatNumberForStatus(Math.max(0, Math.min(1, atlasOccupancy)) * 100)}%`);\n if (typeof sdfRadiusPx === 'number') parts.push(`SDF radius: ${formatNumberForStatus(sdfRadiusPx)}px`);\n if (typeof stats?.bakedChunkCount === 'number' || typeof stats?.reusedChunkCount === 'number') {\n parts.push(`Baked/reused: ${stats?.bakedChunkCount ?? 0}/${stats?.reusedChunkCount ?? 0}`);\n }\n return parts.join(' · ');\n}\n\nfunction createUniqueStringList(values: readonly unknown[]): string[] {\n const seen = new Set<string>();\n const result: string[] = [];\n for (const value of values) {\n if (typeof value !== 'string' || value.length === 0 || seen.has(value)) continue;\n seen.add(value);\n result.push(value);\n }\n return result;\n}\n\nfunction formatNumberForStatus(value: number): string {\n return Number.isInteger(value) ? String(value) : value.toFixed(2).replace(/\\.?0+$/, '');\n}\n\nfunction createPlayableBabylonRenderingResult<TPatch = unknown>(\n changed: boolean,\n input: {\n dirty?: boolean;\n status: string;\n statusTone: EditorSceneRenderingStatusTone;\n statusDetails?: string;\n details?: Record<string, unknown>;\n documentPatch?: PlayableLocalEditorPatchResult<TPatch> | null;\n },\n): PlayableLocalEditorRenderingPropertyChangeResult<TPatch> {\n return {\n changed,\n refreshWorldRendering: changed,\n ...(input.dirty === undefined ? {} : { dirty: input.dirty }),\n status: input.status,\n statusTone: input.statusTone,\n ...(input.statusDetails ? { statusDetails: input.statusDetails } : {}),\n ...(input.details ? { details: input.details } : {}),\n ...(input.documentPatch === undefined ? {} : { documentPatch: input.documentPatch }),\n };\n}\n\nfunction createPlayableBabylonRenderingProfileActionInput(\n actionId: string,\n input: Record<string, unknown>,\n): EditorSceneRenderingProfileActionInput {\n const params = readRecord(input.params);\n return {\n actionId,\n renderingGroupId: params.renderingGroupId ?? input.renderingGroupId,\n presetIndex: params.presetIndex ?? input.presetIndex,\n };\n}\n\nfunction readPlayableBabylonRenderingDocumentPatch<TPatch>(\n value: void | PlayableBabylonRenderingSetConfigResult<TPatch>,\n): PlayableLocalEditorPatchResult<TPatch> | null | undefined {\n return value && typeof value === 'object' ? value.documentPatch : undefined;\n}\n\nfunction readRecord(value: unknown): Record<string, unknown> {\n return value && typeof value === 'object' && !Array.isArray(value)\n ? value as Record<string, unknown>\n : {};\n}\n\nfunction resolvePlayableBabylonRenderingValue<TDocument, TValue>(\n value: PlayableBabylonRenderingValueResolver<TDocument, TValue> | undefined,\n context: PlayableBabylonRenderingContext<TDocument>,\n): TValue | undefined {\n return typeof value === 'function'\n ? (value as (context: PlayableBabylonRenderingContext<TDocument>) => TValue)(context)\n : value;\n}\n\nfunction readPlayableBabylonRenderingActionProgress(value: unknown): PlayableBabylonRenderingActionProgress | null {\n if (!value || typeof value !== 'object' || Array.isArray(value)) return null;\n const record = value as Record<string, unknown>;\n return {\n ...(typeof record.actionId === 'string' ? { actionId: record.actionId } : {}),\n ...(typeof record.label === 'string' ? { label: record.label } : {}),\n ...(typeof record.status === 'string' ? { status: record.status } : {}),\n ...(isEditorSceneRenderingStatusTone(record.statusTone) ? { statusTone: record.statusTone } : {}),\n ...(typeof record.statusDetails === 'string' ? { statusDetails: record.statusDetails } : {}),\n ...(typeof record.value === 'number' && Number.isFinite(record.value) ? { value: record.value } : {}),\n ...(typeof record.indeterminate === 'boolean' ? { indeterminate: record.indeterminate } : {}),\n ...(record.details && typeof record.details === 'object' && !Array.isArray(record.details)\n ? { details: record.details as Record<string, unknown> }\n : {}),\n };\n}\n\nfunction isEditorSceneRenderingStatusTone(value: unknown): value is EditorSceneRenderingStatusTone {\n return value === 'default' || value === 'success' || value === 'warning' || value === 'error';\n}\n\nfunction readStaticShadowBakeStats(value: unknown): EditorSceneStaticShadowBakeStats | null {\n if (!value || typeof value !== 'object' || Array.isArray(value)) return null;\n const record = value as Record<string, unknown>;\n const stats: EditorSceneStaticShadowBakeStats = {};\n if (typeof record.phase === 'string' && record.phase.trim()) {\n stats.phase = record.phase.trim();\n }\n setOptionalNonNegativeNumber(stats, 'sourceRootCount', record.sourceRootCount);\n setOptionalNonNegativeNumber(stats, 'sourceMeshCount', record.sourceMeshCount);\n setOptionalNonNegativeNumber(stats, 'attemptedChunkCount', record.attemptedChunkCount);\n setOptionalNonNegativeNumber(stats, 'chunkCount', record.chunkCount);\n setOptionalNonNegativeNumber(stats, 'textureCount', record.textureCount);\n setOptionalNonNegativeNumber(stats, 'skippedChunkCount', record.skippedChunkCount);\n setOptionalNonNegativeNumber(stats, 'pageCount', record.pageCount);\n setOptionalPositiveNumber(stats, 'resolution', record.resolution);\n setOptionalPositiveNumber(stats, 'chunkSize', record.chunkSize);\n setOptionalPositiveNumber(stats, 'atlasSize', record.atlasSize);\n setOptionalNonNegativeNumber(stats, 'atlasUsedPixels', record.atlasUsedPixels);\n setOptionalNonNegativeNumber(stats, 'atlasAllocatedPixels', record.atlasAllocatedPixels);\n setOptionalRatio(stats, 'atlasOccupancy', record.atlasOccupancy);\n setOptionalPositiveNumber(stats, 'texelsPerMeter', record.texelsPerMeter);\n setOptionalPositiveNumber(stats, 'effectiveTexelsPerMeter', record.effectiveTexelsPerMeter);\n setOptionalPositiveNumber(stats, 'maxAtlasPages', record.maxAtlasPages);\n setOptionalNonNegativeNumber(stats, 'sdfRadiusPx', record.sdfRadiusPx);\n setOptionalPositiveNumber(stats, 'spatialChunkSize', record.spatialChunkSize);\n setOptionalPositiveNumber(stats, 'effectiveSpatialChunkSize', record.effectiveSpatialChunkSize);\n setOptionalPositiveNumber(stats, 'targetChunkCount', record.targetChunkCount);\n setOptionalNonNegativeNumber(stats, 'bakedChunkCount', record.bakedChunkCount);\n setOptionalNonNegativeNumber(stats, 'reusedChunkCount', record.reusedChunkCount);\n setOptionalNonNegativeNumber(stats, 'durationMs', record.durationMs);\n if (typeof record.currentChunkId === 'string' && record.currentChunkId.trim()) {\n stats.currentChunkId = record.currentChunkId.trim();\n }\n return Object.keys(stats).length > 0 ? stats : null;\n}\n\nfunction setOptionalNonNegativeNumber(\n target: EditorSceneStaticShadowBakeStats,\n key: keyof EditorSceneStaticShadowBakeStats,\n value: unknown,\n): void {\n if (typeof value === 'number' && Number.isFinite(value) && value >= 0) {\n (target as Record<string, unknown>)[key] = value;\n }\n}\n\nfunction setOptionalPositiveNumber(\n target: EditorSceneStaticShadowBakeStats,\n key: keyof EditorSceneStaticShadowBakeStats,\n value: unknown,\n): void {\n if (typeof value === 'number' && Number.isFinite(value) && value > 0) {\n (target as Record<string, unknown>)[key] = value;\n }\n}\n\nfunction setOptionalRatio(\n target: EditorSceneStaticShadowBakeStats,\n key: keyof EditorSceneStaticShadowBakeStats,\n value: unknown,\n): void {\n if (typeof value === 'number' && Number.isFinite(value) && value >= 0 && value <= 1) {\n (target as Record<string, unknown>)[key] = value;\n }\n}\n\nfunction readBabylonScene(value: unknown): Scene | null {\n return value && typeof value === 'object' && Array.isArray((value as { meshes?: unknown }).meshes)\n ? value as Scene\n : null;\n}\n\nfunction resolveBabylonDirectionalLight(\n projectionValue: unknown,\n directionalLightNodeId: string | null,\n): DirectionalLight | null {\n if (!directionalLightNodeId) return null;\n const projection = projectionValue as BabylonEditorProjection | null | undefined;\n const projected = projection?.getProjectedNode?.(directionalLightNodeId);\n const candidates = [\n projected?.root,\n ...(Array.isArray(projected?.runtimeObjects) ? projected.runtimeObjects : []),\n ];\n for (const candidate of candidates) {\n if (candidate && typeof candidate === 'object' && (candidate as DirectionalLight).getClassName?.() === 'DirectionalLight') {\n return candidate as DirectionalLight;\n }\n }\n return null;\n}\n\nfunction mergePlayableBabylonPlanarShadowPolicyInput(\n base: PlayableBabylonPlanarShadowPolicyInput,\n input: PlayableBabylonPlanarShadowPolicyInput | undefined,\n): PlayableBabylonPlanarShadowPolicyInput {\n const merged: PlayableBabylonPlanarShadowPolicyInput = {\n additionalCasterIncludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(base.additionalCasterIncludePatterns ?? []),\n ...(input?.additionalCasterIncludePatterns ?? []),\n ),\n additionalExcludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(base.additionalExcludePatterns ?? []),\n ...(input?.additionalExcludePatterns ?? []),\n ),\n additionalReceiverPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(base.additionalReceiverPatterns ?? []),\n ...(input?.additionalReceiverPatterns ?? []),\n ),\n additionalRootBoundaryPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(base.additionalRootBoundaryPatterns ?? []),\n ...(input?.additionalRootBoundaryPatterns ?? []),\n ),\n };\n const enabled = input?.enabled ?? base.enabled;\n if (enabled !== undefined) merged.enabled = enabled;\n const autoDetectAllCasters = input?.autoDetectAllCasters ?? base.autoDetectAllCasters;\n if (autoDetectAllCasters !== undefined) merged.autoDetectAllCasters = autoDetectAllCasters;\n const includeProfileShadowMeshes = input?.includeProfileShadowMeshes ?? base.includeProfileShadowMeshes;\n if (includeProfileShadowMeshes !== undefined) merged.includeProfileShadowMeshes = includeProfileShadowMeshes;\n const directionalLightNodeId = input && 'directionalLightNodeId' in input\n ? input.directionalLightNodeId\n : base.directionalLightNodeId;\n if (directionalLightNodeId !== undefined) merged.directionalLightNodeId = directionalLightNodeId;\n return merged;\n}\n\nfunction mergePlayableBabylonPlanarShadowPatterns(...patterns: readonly string[]): string[] {\n const seen = new Set<string>();\n const merged: string[] = [];\n for (const pattern of patterns) {\n const normalized = typeof pattern === 'string' ? pattern.trim() : '';\n if (!normalized || seen.has(normalized)) continue;\n seen.add(normalized);\n merged.push(normalized);\n }\n return merged;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"playable-babylon-rendering.js","sourceRoot":"","sources":["../src/playable-babylon-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sCAAsC,EACtC,qCAAqC,EACrC,uDAAuD,EACvD,0CA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AC,0BAA0B,CAAC;IACxG,IAAI,0BAA0B,KAAK,SAAS;QAAE,MAAM,CAAC,0BAA0B,GAAG,0BAA0B,CAAC;IAC7G,MAAM,sBAAsB,GAAG,KAAK,IAAI,wBAAwB,IAAI,KAAK;QACvE,CAAC,CAAC,KAAK,CAAC,sBAAsB;QAC9B,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC;IAChC,IAAI,sBAAsB,KAAK,SAAS;QAAE,MAAM,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;IACjG,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,wCAAwC,CAAC,GAAG,QAA2B;IAC9E,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,MAAM,UAAU,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACrE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC;YAAE,SAAS;QAClD,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACrB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import {\n applyEditorSceneRenderingProfileAction,\n applyEditorSceneRenderingProfilePatch,\n collectEditorSceneRenderingAlphaIndexMigrationTargetIds,\n createEditorSceneBlobShadowPreviewSettings,\n createEditorScenePlanarShadowPreviewSettings,\n createEditorSceneRenderingPanelState,\n createEditorSceneStaticShadowArtifactDraftStore,\n createEditorSceneStaticShadowArtifactDiagnostic,\n createEditorSceneStaticProjectedShadowPreviewSettings,\n normalizeEditorSceneRenderingProfile,\n resolveEditorSceneRenderingAlphaIndexPresetValueMigration,\n type EditorSceneBlobShadowPreviewSettingsInput,\n type EditorScenePlanarShadowPreviewSettingsInput,\n type EditorSceneResolvedShadowMode,\n type EditorSceneRenderingPanelLanguage,\n type EditorSceneRenderingGroupId,\n type EditorSceneRenderingPanelState,\n type EditorSceneRenderingPanelStateInput,\n type EditorSceneRenderingProfile,\n type EditorSceneRenderingProfileActionInput,\n type EditorSceneRenderingStatusTone,\n type EditorSceneRenderingTextureAsset,\n type EditorSceneStaticShadowArtifactDiagnostic,\n type EditorSceneStaticShadowBakeLifecycleState,\n type EditorSceneStaticShadowBakeStats,\n type EditorSceneStaticProjectedShadowPreviewSettingsInput,\n} from '@fps-games/editor-playable-sdk';\nimport {\n createShadowMapExperimentConfigSnapshot,\n createShadowMapExperimentPlanSnapshot,\n type ShadowMapExperimentConfig,\n type ShadowMapExperimentPlan,\n} from '@fps-games/playable-rendering/runtime';\nimport {\n createBabylonDefaultPostProcessPipelineController,\n createBabylonEnvironmentTextureController,\n createBlobShadowSystem,\n createPlanarShadowSystem,\n createStaticProjectedShadowBaker,\n createStaticProjectedShadowArtifactSystem,\n createStaticProjectedShadowBakeHashes,\n createStaticProjectedShadowProfileHash,\n resolveBabylonDefaultPostProcessVolumeStack,\n type BabylonDefaultPostProcessPipelineController,\n type BabylonDefaultPostProcessProfile,\n type BabylonDefaultPostProcessResolveResult,\n type BabylonDefaultPostProcessResolveInput,\n type BabylonEnvironmentTextureController,\n type BabylonEnvironmentTextureProfile,\n type BlobShadowOptions,\n type BlobShadowSystem,\n type PlanarShadowOptions,\n type PlanarShadowSystem,\n type StaticProjectedShadowOptions,\n type StaticProjectedShadowArtifact,\n type StaticProjectedShadowArtifactHashInput,\n type StaticProjectedShadowBakeProgress,\n type StaticProjectedShadowArtifactSystem,\n type StaticProjectedShadowBakerAtlasEncoder,\n type StaticProjectedShadowBakerMaskPixelReader,\n type StaticProjectedShadowBakerSdfTileProcessor,\n} from '@fps-games/babylon-renderer';\nimport type { DirectionalLight } from '@babylonjs/core/Lights/directionalLight';\nimport type { Scene } from '@babylonjs/core/scene';\nimport type {\n BabylonEditorProjection,\n BabylonEditorShadowPreviewOptions,\n} from '@fps-games/editor-babylon';\nimport type {\n PlayableLocalEditorRenderingCapability,\n PlayableLocalEditorPatchResult,\n PlayableLocalEditorRenderingPropertyChangeResult,\n} from './playable-local-editor-host.js';\nimport { createStaticProjectedShadowCpuWorkerProcessor } from './static-shadow-cpu-worker.js';\n\ntype MaybePromise<T> = T | Promise<T>;\n\nexport type PlayableBabylonRenderingStatusTone = EditorSceneRenderingStatusTone;\n\nexport interface PlayableBabylonRenderingDocumentInput<TDocument> {\n document: TDocument;\n}\n\nexport interface PlayableBabylonRenderingContext<TDocument> {\n document: TDocument;\n config: unknown;\n profile: EditorSceneRenderingProfile;\n}\n\nexport interface PlayableBabylonRenderingSceneContext {\n scene?: unknown;\n projection?: unknown;\n renderingAction?: PlayableBabylonRenderingActionProgress | null;\n}\n\nexport interface PlayableBabylonRenderingActionProgress {\n actionId?: string;\n label?: string;\n status?: string;\n statusTone?: EditorSceneRenderingStatusTone;\n statusDetails?: string;\n value?: number;\n indeterminate?: boolean;\n details?: Record<string, unknown>;\n}\n\nexport interface PlayableBabylonRenderingSetConfigInput<TDocument> {\n document: TDocument;\n config: Record<string, unknown>;\n profile: EditorSceneRenderingProfile;\n changedPaths: readonly string[];\n change?: {\n path: string;\n value: unknown;\n };\n action?: EditorSceneRenderingProfileActionInput;\n}\n\nexport interface PlayableBabylonRenderingSetConfigResult<TPatch = unknown> {\n documentPatch?: PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableBabylonRenderingStaticShadowArtifactInput<TDocument> {\n document: TDocument;\n}\n\nexport interface PlayableBabylonRenderingSetStaticShadowArtifactInput<TDocument>\n extends PlayableBabylonRenderingStaticShadowArtifactInput<TDocument> {\n artifact: StaticProjectedShadowArtifact;\n profile: EditorSceneRenderingProfile;\n}\n\nexport type PlayableBabylonRenderingValueResolver<TDocument, TValue> =\n | TValue\n | ((context: PlayableBabylonRenderingContext<TDocument>) => TValue);\n\nexport type PlayableBabylonStaticProjectedShadowPreviewInput =\n EditorSceneStaticProjectedShadowPreviewSettingsInput & {\n artifact?: StaticProjectedShadowArtifact | null;\n expectedHashes?: StaticProjectedShadowArtifactHashInput | null;\n };\n\nexport interface PlayableBabylonRenderingShadowPreviewOptions<TDocument> {\n enabled?: PlayableBabylonRenderingValueResolver<TDocument, boolean | undefined>;\n directionalLightNodeId?: PlayableBabylonRenderingValueResolver<TDocument, string | null | undefined>;\n blob?: PlayableBabylonRenderingValueResolver<TDocument, EditorSceneBlobShadowPreviewSettingsInput | undefined>;\n staticProjected?: PlayableBabylonRenderingValueResolver<TDocument, PlayableBabylonStaticProjectedShadowPreviewInput | undefined>;\n planar?: PlayableBabylonRenderingValueResolver<TDocument, EditorScenePlanarShadowPreviewSettingsInput | undefined>;\n shadowMapExperiment?: PlayableBabylonRenderingValueResolver<TDocument, ShadowMapExperimentPlan | null | undefined>;\n}\n\nexport interface PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch = unknown> {\n getConfig(input: PlayableBabylonRenderingDocumentInput<TDocument>): unknown;\n setConfig(input: PlayableBabylonRenderingSetConfigInput<TDocument>): MaybePromise<void | PlayableBabylonRenderingSetConfigResult<TPatch>>;\n resetConfig?(input: PlayableBabylonRenderingDocumentInput<TDocument>): MaybePromise<void>;\n isDirty?(input: PlayableBabylonRenderingDocumentInput<TDocument>): boolean;\n getPanelState?(input: PlayableBabylonRenderingDocumentInput<TDocument>): EditorSceneRenderingPanelStateInput;\n getTextureAssets?(input: PlayableBabylonRenderingDocumentInput<TDocument>): readonly EditorSceneRenderingTextureAsset[];\n getLanguage?(input: PlayableBabylonRenderingDocumentInput<TDocument>): EditorSceneRenderingPanelLanguage;\n getStaticShadowArtifact?(\n input: PlayableBabylonRenderingStaticShadowArtifactInput<TDocument>,\n ): StaticProjectedShadowArtifact | null | undefined;\n setStaticShadowArtifact?(\n input: PlayableBabylonRenderingSetStaticShadowArtifactInput<TDocument>,\n ): MaybePromise<void>;\n readStaticShadowMaskTexturePixels?: StaticProjectedShadowBakerMaskPixelReader;\n processStaticShadowSdfTile?: StaticProjectedShadowBakerSdfTileProcessor;\n encodeStaticShadowAtlasTexture?: StaticProjectedShadowBakerAtlasEncoder;\n getPostProcessResolveInput?(\n context: PlayableBabylonRenderingContext<TDocument>,\n ): BabylonDefaultPostProcessResolveInput | undefined;\n getShadowMapExperimentConfig?(): unknown | null;\n getShadowMapExperimentPlan?(document: TDocument): unknown | null;\n createShadowMapExperimentProfilesPatch?(input: {\n document: TDocument;\n qualityProfile?: string | null;\n behaviorProfile?: string | null;\n }): PlayableLocalEditorPatchResult<TPatch> | null;\n shadowPreview?: false | PlayableBabylonRenderingShadowPreviewOptions<TDocument>;\n}\n\nexport interface PlayableBabylonRenderingAlphaIndexMigrationPatchInput {\n targetIds: string[];\n renderingGroupId: EditorSceneRenderingGroupId;\n fromAlphaIndex: number;\n toAlphaIndex: number;\n}\n\nexport interface PlayableBabylonRenderingCapabilityFacadeOptions<TDocument, TPatch = unknown> {\n getConfig(): unknown;\n setConfig(config: Record<string, unknown>): void;\n resetConfig(): void;\n isConfigDirty(): boolean;\n getPanelState(): EditorSceneRenderingPanelStateInput;\n getTextureAssets?(input: PlayableBabylonRenderingDocumentInput<TDocument>): readonly EditorSceneRenderingTextureAsset[];\n getLanguage(input: PlayableBabylonRenderingDocumentInput<TDocument>): EditorSceneRenderingPanelLanguage;\n initialStaticShadowArtifact?: unknown;\n directionalLightNodeId: string;\n isDirectionalLightActive(input: PlayableBabylonRenderingDocumentInput<TDocument>): boolean;\n getAlphaIndexMigrationGameObjects(document: TDocument): readonly unknown[];\n createAlphaIndexMigrationPatch(input: PlayableBabylonRenderingAlphaIndexMigrationPatchInput): TPatch;\n}\n\nexport interface PlayableBabylonRenderingCapabilityFacade<TDocument, TPatch = unknown> {\n capability: PlayableLocalEditorRenderingCapability<TDocument, TPatch>;\n resetDraft(): void;\n hasDraftChanges(): boolean;\n getActiveStaticShadowArtifact(): StaticProjectedShadowArtifact | null;\n setActiveStaticShadowArtifact(value: unknown): void;\n markActiveStaticShadowArtifactSaved(value?: unknown): void;\n isStaticShadowArtifactDirty(): boolean;\n}\n\nexport interface PlayableBabylonWorldRendering {\n environment: BabylonEnvironmentTextureProfile;\n shadowPreview: BabylonEditorShadowPreviewOptions | null;\n postProcess: BabylonDefaultPostProcessProfile;\n}\n\nexport type PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus =\n | 'none'\n | 'resolved-asset'\n | 'resolved-url'\n | 'missing-asset'\n | 'unsupported-asset'\n | 'unsupported-url';\n\nexport interface PlayableBabylonRenderingEnvironmentTextureDiagnostic {\n status: PlayableBabylonRenderingEnvironmentTextureDiagnosticStatus;\n textureAssetId: string | null;\n textureUrl: string | null;\n resolvedUrl: string | null;\n asset: EditorSceneRenderingTextureAsset | null;\n reason: string | null;\n}\n\nexport interface PlayableBabylonRenderingDiagnostics {\n config: unknown;\n profile: EditorSceneRenderingProfile;\n worldRendering: PlayableBabylonWorldRendering;\n environmentTexture: PlayableBabylonRenderingEnvironmentTextureDiagnostic;\n staticShadowArtifact: EditorSceneStaticShadowArtifactDiagnostic;\n postProcess: BabylonDefaultPostProcessResolveResult;\n shadowPreview: BabylonEditorShadowPreviewOptions | null;\n}\n\nexport interface PlayableBabylonRuntimeRenderingControllers {\n environment: BabylonEnvironmentTextureController;\n postProcess: BabylonDefaultPostProcessPipelineController;\n getWorldRendering(): PlayableBabylonWorldRendering | null;\n setWorldRendering(rendering: PlayableBabylonWorldRendering | null | undefined): void;\n dispose(): void;\n}\n\nexport interface PlayableBabylonRuntimeRenderingControllerOptions {\n scene: unknown;\n cameras: unknown[];\n initialRendering?: PlayableBabylonWorldRendering | null;\n postProcess?: {\n name?: string;\n };\n}\n\nexport interface PlayableBabylonPlanarShadowPolicyInput extends EditorScenePlanarShadowPreviewSettingsInput {\n directionalLightNodeId?: string | null;\n includeProfileShadowMeshes?: boolean;\n}\n\nexport interface PlayableBabylonResolvedPlanarShadowPolicy {\n planarInput: EditorScenePlanarShadowPreviewSettingsInput;\n planarOptions: PlanarShadowOptions;\n editorShadowPreview: BabylonEditorShadowPreviewOptions;\n}\n\nexport interface PlayableBabylonBlobShadowPolicyInput extends EditorSceneBlobShadowPreviewSettingsInput {\n includeProfileShadowMeshes?: boolean;\n}\n\nexport interface PlayableBabylonStaticProjectedShadowPolicyInput extends EditorSceneStaticProjectedShadowPreviewSettingsInput {\n includeProfileShadowMeshes?: boolean;\n artifact?: StaticProjectedShadowArtifact | null;\n expectedHashes?: StaticProjectedShadowArtifactHashInput | null;\n}\n\nexport interface PlayableBabylonPlanarShadowPolicy {\n resolve(\n profile: EditorSceneRenderingProfile,\n input?: PlayableBabylonPlanarShadowPolicyInput,\n ): PlayableBabylonResolvedPlanarShadowPolicy;\n createEditorShadowPreview(\n profile: EditorSceneRenderingProfile,\n input?: PlayableBabylonPlanarShadowPolicyInput,\n ): BabylonEditorShadowPreviewOptions;\n createRuntimePlanarOptions(\n profile: EditorSceneRenderingProfile,\n input?: PlayableBabylonPlanarShadowPolicyInput,\n ): PlanarShadowOptions;\n createRuntimePlanarShadowSystem(\n scene: unknown,\n directionalLight: unknown,\n profile: EditorSceneRenderingProfile,\n input?: PlayableBabylonPlanarShadowPolicyInput,\n ): PlanarShadowSystem;\n}\n\nconst PLAYABLE_BABYLON_RENDERING_ALLOWED_SECTIONS = new Set([\n 'rendering-groups',\n 'environment',\n 'post-process',\n 'shadows',\n]);\n\nconst PLAYABLE_BABYLON_ENVIRONMENT_TEXTURE_URL_PATTERN = /\\.(env|hdr|dds|ktx|ktx2)(?:[?#].*)?$/i;\n\nexport function createPlayableBabylonRenderingCapability<TDocument, TPatch = unknown>(\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): PlayableLocalEditorRenderingCapability<TDocument, TPatch> {\n return {\n getWorldRendering(document) {\n return createPlayableBabylonWorldRendering(document, options);\n },\n getRenderingPanelState(document, sceneContext) {\n return createPlayableBabylonRenderingPanelState(document, options, sceneContext);\n },\n async onRenderingAction(input) {\n return handlePlayableBabylonRenderingAction(input, options);\n },\n async onRenderingPropertyChange(input) {\n return handlePlayableBabylonRenderingPropertyChange(input, options);\n },\n getShadowMapExperimentConfig: options.getShadowMapExperimentConfig,\n getShadowMapExperimentPlan: options.getShadowMapExperimentPlan,\n createShadowMapExperimentProfilesPatch: options.createShadowMapExperimentProfilesPatch,\n };\n}\n\nexport function createPlayableBabylonRenderingCapabilityFacade<TDocument, TPatch = unknown>(\n options: PlayableBabylonRenderingCapabilityFacadeOptions<TDocument, TPatch>,\n): PlayableBabylonRenderingCapabilityFacade<TDocument, TPatch> {\n const staticShadowArtifactDraft = createEditorSceneStaticShadowArtifactDraftStore(options.initialStaticShadowArtifact);\n return {\n capability: createPlayableBabylonRenderingCapability<TDocument, TPatch>({\n getConfig: () => options.getConfig(),\n setConfig: input => {\n const previousProfile = normalizeEditorSceneRenderingProfile(options.getConfig());\n options.setConfig(input.config);\n const documentPatch = createPlayableBabylonRenderingAlphaIndexMigrationPatch(input, previousProfile, options);\n return documentPatch ? { documentPatch } : undefined;\n },\n resetConfig: () => options.resetConfig(),\n isDirty: () => options.isConfigDirty() || staticShadowArtifactDraft.isDirty(),\n getPanelState: () => options.getPanelState(),\n getTextureAssets: options.getTextureAssets,\n getLanguage: options.getLanguage,\n getStaticShadowArtifact: () => staticShadowArtifactDraft.get() as StaticProjectedShadowArtifact | null,\n setStaticShadowArtifact: ({ artifact }) => { staticShadowArtifactDraft.set(artifact); },\n shadowPreview: {\n directionalLightNodeId: options.directionalLightNodeId,\n enabled: options.isDirectionalLightActive,\n },\n }),\n resetDraft() {\n options.resetConfig();\n staticShadowArtifactDraft.reset();\n },\n hasDraftChanges: () => options.isConfigDirty() || staticShadowArtifactDraft.isDirty(),\n getActiveStaticShadowArtifact: () => staticShadowArtifactDraft.get() as StaticProjectedShadowArtifact | null,\n setActiveStaticShadowArtifact: value => { staticShadowArtifactDraft.set(value); },\n markActiveStaticShadowArtifactSaved: (value = staticShadowArtifactDraft.get()) => {\n staticShadowArtifactDraft.markSaved(value);\n },\n isStaticShadowArtifactDirty: () => staticShadowArtifactDraft.isDirty(),\n };\n}\n\nexport function createPlayableBabylonRenderingAlphaIndexMigrationPatch<TDocument, TPatch>(\n input: PlayableBabylonRenderingSetConfigInput<TDocument>,\n previousProfile: EditorSceneRenderingProfile,\n options: Pick<\n PlayableBabylonRenderingCapabilityFacadeOptions<TDocument, TPatch>,\n 'createAlphaIndexMigrationPatch' | 'getAlphaIndexMigrationGameObjects'\n >,\n): PlayableLocalEditorPatchResult<TPatch> | null {\n if (input.action) return null;\n const migration = resolveEditorSceneRenderingAlphaIndexPresetValueMigration({\n changedPaths: input.changedPaths,\n previousProfile,\n change: input.change,\n });\n if (!migration) return null;\n const targetIds = collectEditorSceneRenderingAlphaIndexMigrationTargetIds(\n options.getAlphaIndexMigrationGameObjects(input.document) as Parameters<\n typeof collectEditorSceneRenderingAlphaIndexMigrationTargetIds\n >[0],\n {\n renderingGroupId: migration.renderingGroupId,\n fromAlphaIndex: migration.fromAlphaIndex,\n },\n );\n if (targetIds.length === 0) return null;\n return {\n label: `Migrate rendering alphaIndex ${migration.fromAlphaIndex} to ${migration.toAlphaIndex}`,\n patch: options.createAlphaIndexMigrationPatch({ targetIds, ...migration }),\n changedIds: targetIds,\n reprojectIds: targetIds,\n };\n}\n\nexport function createPlayableBabylonWorldRendering<TDocument>(\n document: TDocument,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext = {},\n): PlayableBabylonWorldRendering {\n const context = createPlayableBabylonRenderingContext(document, options);\n const postProcess = resolvePlayableBabylonRenderingPostProcess(context, options);\n return {\n environment: createPlayableBabylonEnvironmentTextureProfile(\n context.profile,\n options.getTextureAssets?.({ document }) ?? [],\n ),\n postProcess: postProcess.profile,\n shadowPreview: createPlayableBabylonShadowPreviewOptions(context, options, sceneContext),\n };\n}\n\nexport function createPlayableBabylonRenderingDiagnostics<TDocument>(\n document: TDocument,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext = {},\n): PlayableBabylonRenderingDiagnostics {\n const context = createPlayableBabylonRenderingContext(document, options);\n const textureAssets = options.getTextureAssets?.({ document }) ?? [];\n const postProcess = resolvePlayableBabylonRenderingPostProcess(context, options);\n const shadowPreview = createPlayableBabylonShadowPreviewOptions(context, options, sceneContext);\n return {\n config: context.config,\n profile: context.profile,\n worldRendering: {\n environment: createPlayableBabylonEnvironmentTextureProfile(context.profile, textureAssets),\n postProcess: postProcess.profile,\n shadowPreview,\n },\n environmentTexture: resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(\n context.profile.environment.texture,\n textureAssets,\n ),\n staticShadowArtifact: createPlayableBabylonStaticShadowArtifactDiagnostic(context, options, sceneContext),\n postProcess,\n shadowPreview,\n };\n}\n\nexport function createPlayableBabylonRuntimeRenderingControllers(\n options: PlayableBabylonRuntimeRenderingControllerOptions,\n): PlayableBabylonRuntimeRenderingControllers {\n let currentRendering = options.initialRendering ?? null;\n const postProcess = createBabylonDefaultPostProcessPipelineController(\n options.scene as never,\n options.cameras as never[],\n currentRendering?.postProcess ?? null,\n options.postProcess,\n );\n let environment: BabylonEnvironmentTextureController | null = null;\n try {\n environment = createBabylonEnvironmentTextureController(\n options.scene as never,\n null,\n );\n environment.setProfile(currentRendering?.environment ?? null);\n } catch (error) {\n const allocatedEnvironment = environment;\n const cleanup = createPlayableBabylonRenderingConstructionCleanup([\n ...(allocatedEnvironment ? [() => allocatedEnvironment.dispose()] : []),\n () => postProcess.dispose(),\n ]);\n const cleanupErrors = cleanup();\n if (cleanupErrors.length > 0) {\n throw createPlayableBabylonRenderingConstructionFailure(\n error,\n cleanupErrors,\n () => throwPlayableBabylonRenderingCleanupResult(cleanup()),\n );\n }\n throw error;\n }\n const activeEnvironment = environment;\n return {\n environment: activeEnvironment,\n postProcess,\n getWorldRendering() {\n return currentRendering;\n },\n setWorldRendering(rendering) {\n currentRendering = rendering ?? null;\n activeEnvironment.setProfile(currentRendering?.environment ?? null);\n postProcess.setProfile(currentRendering?.postProcess ?? null);\n },\n dispose() {\n const cleanupErrors: unknown[] = [];\n try { activeEnvironment.dispose(); } catch (error) { cleanupErrors.push(error); }\n try { postProcess.dispose(); } catch (error) { cleanupErrors.push(error); }\n if (cleanupErrors.length === 0) currentRendering = null;\n if (cleanupErrors.length === 1) throw cleanupErrors[0];\n if (cleanupErrors.length > 1) {\n throw Object.assign(new Error('Playable Babylon rendering controller cleanup failed.'), {\n cleanupErrors: Object.freeze(cleanupErrors),\n });\n }\n },\n };\n}\n\nfunction createPlayableBabylonRenderingConstructionFailure(\n failure: unknown,\n cleanupErrors: readonly unknown[],\n retryCleanup: () => void,\n): object {\n const metadata = {\n cleanupErrors: Object.freeze([...cleanupErrors]),\n retryCleanup,\n } as const;\n if (failure && (typeof failure === 'object' || typeof failure === 'function')) {\n try {\n Object.assign(failure, metadata);\n if ((failure as { retryCleanup?: unknown }).retryCleanup === retryCleanup) return failure;\n } catch {\n // A non-extensible primary error is wrapped so cleanup ownership remains reachable.\n }\n }\n return Object.assign(\n new Error(failure instanceof Error ? failure.message : 'Playable Babylon rendering construction failed.'),\n { cause: failure, ...metadata },\n );\n}\n\nfunction createPlayableBabylonRenderingConstructionCleanup(\n operations: readonly (() => void)[],\n): () => readonly unknown[] {\n let pending = [...operations];\n return () => {\n const cleanupErrors: unknown[] = [];\n const retry: (() => void)[] = [];\n for (const operation of pending) {\n try { operation(); }\n catch (error) {\n cleanupErrors.push(error);\n retry.push(operation);\n }\n }\n pending = retry;\n return Object.freeze(cleanupErrors);\n };\n}\n\nfunction throwPlayableBabylonRenderingCleanupResult(cleanupErrors: readonly unknown[]): void {\n if (cleanupErrors.length === 0) return;\n if (cleanupErrors.length === 1) throw cleanupErrors[0];\n throw Object.assign(new Error('Playable Babylon rendering construction cleanup failed.'), {\n cleanupErrors: Object.freeze([...cleanupErrors]),\n });\n}\n\nexport function createPlayableBabylonPlanarShadowPolicy(\n baseInput: PlayableBabylonPlanarShadowPolicyInput = {},\n): PlayableBabylonPlanarShadowPolicy {\n return {\n resolve(profile, input) {\n return resolvePlayableBabylonPlanarShadowPolicy(\n profile,\n mergePlayableBabylonPlanarShadowPolicyInput(baseInput, input),\n );\n },\n createEditorShadowPreview(profile, input) {\n return createPlayableBabylonPlanarShadowPreviewOptions(\n profile,\n mergePlayableBabylonPlanarShadowPolicyInput(baseInput, input),\n );\n },\n createRuntimePlanarOptions(profile, input) {\n return createPlayableBabylonPlanarShadowOptions(\n profile,\n mergePlayableBabylonPlanarShadowPolicyInput(baseInput, input),\n );\n },\n createRuntimePlanarShadowSystem(scene, directionalLight, profile, input) {\n return createPlayableBabylonPlanarShadowSystem(\n scene,\n directionalLight,\n profile,\n mergePlayableBabylonPlanarShadowPolicyInput(baseInput, input),\n );\n },\n };\n}\n\nexport function resolvePlayableBabylonPlanarShadowPolicy(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): PlayableBabylonResolvedPlanarShadowPolicy {\n const planarInput = createPlayableBabylonPlanarShadowPolicyInput(profile, input);\n const planarOptions = createEditorScenePlanarShadowPreviewSettings(\n profile,\n planarInput,\n ) as PlanarShadowOptions;\n return {\n planarInput,\n planarOptions,\n editorShadowPreview: {\n planar: {\n ...planarOptions,\n ...(input.directionalLightNodeId === undefined\n ? {}\n : { directionalLightNodeId: input.directionalLightNodeId }),\n },\n },\n };\n}\n\nexport function createPlayableBabylonPlanarShadowPolicyInput(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): EditorScenePlanarShadowPreviewSettingsInput {\n const includeProfileShadowMeshes = input.includeProfileShadowMeshes !== false;\n const shadowMeshes = profile.shadowMeshes;\n return {\n ...(input.enabled === undefined ? {} : { enabled: input.enabled }),\n ...(input.autoDetectAllCasters === undefined ? {} : { autoDetectAllCasters: input.autoDetectAllCasters }),\n additionalCasterIncludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.shadowCasters : []),\n ...(input.additionalCasterIncludePatterns ?? []),\n ),\n additionalExcludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.excludeFromShadow : []),\n ...(input.additionalExcludePatterns ?? []),\n ),\n additionalReceiverPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.shadowReceivers : []),\n ...(input.additionalReceiverPatterns ?? []),\n ),\n additionalRootBoundaryPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(input.additionalRootBoundaryPatterns ?? []),\n ),\n };\n}\n\nexport function createPlayableBabylonPlanarShadowPreviewOptions(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): BabylonEditorShadowPreviewOptions {\n return resolvePlayableBabylonPlanarShadowPolicy(profile, input).editorShadowPreview;\n}\n\nexport function createPlayableBabylonPlanarShadowOptions(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): PlanarShadowOptions {\n return resolvePlayableBabylonPlanarShadowPolicy(profile, input).planarOptions;\n}\n\nexport function createPlayableBabylonPlanarShadowSystem(\n scene: unknown,\n directionalLight: unknown,\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonPlanarShadowPolicyInput = {},\n): PlanarShadowSystem {\n return createPlanarShadowSystem(\n scene as Parameters<typeof createPlanarShadowSystem>[0],\n directionalLight as Parameters<typeof createPlanarShadowSystem>[1],\n createPlayableBabylonPlanarShadowOptions(profile, input),\n );\n}\n\nexport function createPlayableBabylonBlobShadowOptions(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonBlobShadowPolicyInput = {},\n): BlobShadowOptions {\n const includeProfileShadowMeshes = input.includeProfileShadowMeshes !== false;\n const shadowMeshes = profile.shadowMeshes;\n return createEditorSceneBlobShadowPreviewSettings(profile, {\n ...input,\n additionalCasterIncludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.shadowCasters : []),\n ...(input.additionalCasterIncludePatterns ?? []),\n ),\n additionalExcludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.excludeFromShadow : []),\n ...(input.additionalExcludePatterns ?? []),\n ),\n additionalRootBoundaryPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(input.additionalRootBoundaryPatterns ?? []),\n ),\n }) as BlobShadowOptions;\n}\n\nexport function createPlayableBabylonStaticProjectedShadowOptions(\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonStaticProjectedShadowPolicyInput = {},\n): StaticProjectedShadowOptions & {\n artifact?: StaticProjectedShadowArtifact | null;\n expectedHashes?: StaticProjectedShadowArtifactHashInput | null;\n} {\n const includeProfileShadowMeshes = input.includeProfileShadowMeshes !== false;\n const shadowMeshes = profile.shadowMeshes;\n return {\n ...createEditorSceneStaticProjectedShadowPreviewSettings(profile, {\n ...input,\n additionalCasterIncludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.shadowCasters : []),\n ...(input.additionalCasterIncludePatterns ?? []),\n ),\n additionalExcludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(includeProfileShadowMeshes ? shadowMeshes.excludeFromShadow : []),\n ...(input.additionalExcludePatterns ?? []),\n ),\n additionalRootBoundaryPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(input.additionalRootBoundaryPatterns ?? []),\n ),\n }) as StaticProjectedShadowOptions,\n ...(input.artifact === undefined ? {} : { artifact: input.artifact }),\n ...(input.expectedHashes === undefined ? {} : { expectedHashes: input.expectedHashes }),\n };\n}\n\nexport function createPlayableBabylonStaticProjectedShadowArtifactSystem(\n scene: unknown,\n directionalLight: unknown,\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonStaticProjectedShadowPolicyInput = {},\n): StaticProjectedShadowArtifactSystem {\n const staticProjected = createPlayableBabylonStaticProjectedShadowOptions(profile, input);\n const expectedHashes = staticProjected.expectedHashes ?? createStaticProjectedShadowBakeHashes({\n scene: scene as Parameters<typeof createStaticProjectedShadowBakeHashes>[0]['scene'],\n directionalLight: directionalLight as Parameters<typeof createStaticProjectedShadowBakeHashes>[0]['directionalLight'],\n options: staticProjected,\n });\n return createStaticProjectedShadowArtifactSystem(\n scene as Parameters<typeof createStaticProjectedShadowArtifactSystem>[0],\n staticProjected.artifact ?? null,\n {\n enabled: staticProjected.enabled,\n appearance: staticProjected.appearance,\n bake: {\n blur: staticProjected.bake?.blur,\n },\n expectedHashes,\n debug: staticProjected.debug,\n },\n );\n}\n\nexport function createPlayableBabylonBlobShadowSystem(\n scene: unknown,\n profile: EditorSceneRenderingProfile,\n input: PlayableBabylonBlobShadowPolicyInput = {},\n): BlobShadowSystem {\n return createBlobShadowSystem(\n scene as Parameters<typeof createBlobShadowSystem>[0],\n createPlayableBabylonBlobShadowOptions(profile, input),\n );\n}\n\nexport function createPlayableBabylonRenderingPanelState<TDocument>(\n document: TDocument,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext = {},\n): EditorSceneRenderingPanelState {\n const context = createPlayableBabylonRenderingContext(document, options);\n const baseState = options.getPanelState?.({ document }) ?? {};\n const dirty = baseState.dirty ?? options.isDirty?.({ document });\n const language = options.getLanguage?.({ document }) ?? 'en';\n const renderingAction = readPlayableBabylonRenderingActionProgress(sceneContext.renderingAction);\n const staticShadowBake = renderingAction?.actionId === 'bake-static-shadows'\n ? createPlayableBabylonBakingStaticShadowLifecycleState(renderingAction, language)\n : baseState.staticShadowBake\n ?? createPlayableBabylonStaticShadowBakeLifecycleState(context, options, dirty === true, sceneContext);\n const shadowMapExperiment = createShadowMapExperimentPanelState(\n options.getShadowMapExperimentConfig?.(),\n options.getShadowMapExperimentPlan?.(document),\n ) ?? baseState.shadowMapExperiment ?? null;\n return createEditorSceneRenderingPanelState(context.profile, {\n ...baseState,\n ...(dirty === undefined ? {} : { dirty }),\n staticShadowBake,\n shadowMapExperiment,\n }, {\n language,\n textureAssets: options.getTextureAssets?.({ document }) ?? [],\n });\n}\n\nfunction createPlayableBabylonBakingStaticShadowLifecycleState(\n progress: PlayableBabylonRenderingActionProgress,\n language: EditorSceneRenderingPanelLanguage,\n): EditorSceneStaticShadowBakeLifecycleState {\n const stats = readStaticShadowBakeStats(progress.details);\n const label = progress.label\n ?? (language === 'zh' ? '正在烘焙静态阴影' : 'Baking static shadows');\n return {\n status: 'baking',\n chunkCount: stats?.chunkCount ?? 0,\n reason: progress.status ?? label,\n stats,\n progress: {\n label,\n ...(typeof progress.value === 'number' && Number.isFinite(progress.value)\n ? { value: Math.max(0, Math.min(1, progress.value)) }\n : {}),\n indeterminate: progress.indeterminate !== false && typeof progress.value !== 'number',\n },\n };\n}\n\nfunction createPlayableBabylonStaticShadowBakeLifecycleState<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n dirty: boolean,\n sceneContext: PlayableBabylonRenderingSceneContext,\n): EditorSceneStaticShadowBakeLifecycleState {\n const staticOptions = createPlayableBabylonStaticProjectedShadowOptions(context.profile, (\n resolvePlayableBabylonRenderingValue(\n options.shadowPreview === false ? undefined : options.shadowPreview?.staticProjected,\n context,\n ) ?? {}\n ));\n if (!staticOptions.enabled) {\n return {\n status: 'disabled',\n chunkCount: 0,\n reason: 'Static Baked Shadow is disabled.',\n };\n }\n const artifact = options.getStaticShadowArtifact?.({ document: context.document }) ?? null;\n if (!artifact) {\n return {\n status: 'missing',\n chunkCount: 0,\n reason: 'No static shadow bake artifact is available.',\n };\n }\n const diagnostic = createEditorSceneStaticShadowArtifactDiagnostic(\n artifact,\n createPlayableBabylonStaticShadowExpectedHashes(context, options, staticOptions, sceneContext),\n );\n if (diagnostic.status === 'invalid') {\n return {\n status: 'invalid',\n chunkCount: 0,\n reason: diagnostic.reason,\n };\n }\n if (diagnostic.status === 'out-of-date') {\n return {\n status: 'out-of-date',\n chunkCount: diagnostic.chunkCount,\n reason: diagnostic.reason,\n generatedAt: artifact.generatedAt ?? null,\n stats: createEditorSceneStaticShadowBakeStatsFromArtifact(artifact),\n };\n }\n if (dirty) {\n return {\n status: 'preview-unsaved',\n chunkCount: diagnostic.chunkCount,\n reason: 'Static shadow preview has not been saved yet.',\n generatedAt: artifact.generatedAt ?? null,\n stats: createEditorSceneStaticShadowBakeStatsFromArtifact(artifact),\n };\n }\n return {\n status: 'up-to-date',\n chunkCount: diagnostic.chunkCount,\n reason: null,\n generatedAt: artifact.generatedAt ?? null,\n stats: createEditorSceneStaticShadowBakeStatsFromArtifact(artifact),\n };\n}\n\nfunction createEditorSceneStaticShadowBakeStatsFromArtifact(\n artifact: StaticProjectedShadowArtifact,\n): EditorSceneStaticShadowBakeStats {\n const isV2 = artifact.version === 2;\n const pageCount = isV2 ? artifact.pages.length : undefined;\n return {\n sourceRootCount: artifact.stats?.sourceRootCount ?? uniqueStaticShadowSourceNodeIds(artifact).length,\n sourceMeshCount: artifact.stats?.sourceMeshCount,\n attemptedChunkCount: artifact.stats?.attemptedChunkCount ?? artifact.chunks.length,\n chunkCount: artifact.stats?.chunkCount ?? artifact.chunks.length,\n textureCount: artifact.stats?.textureCount ?? pageCount ?? artifact.chunks.length,\n skippedChunkCount: artifact.stats?.skippedChunkCount,\n pageCount: artifact.stats?.pageCount ?? pageCount,\n resolution: artifact.stats?.resolution,\n chunkSize: artifact.stats?.chunkSize,\n atlasSize: artifact.stats?.atlasSize,\n atlasUsedPixels: artifact.stats?.atlasUsedPixels,\n atlasAllocatedPixels: artifact.stats?.atlasAllocatedPixels,\n atlasOccupancy: artifact.stats?.atlasOccupancy,\n texelsPerMeter: artifact.stats?.texelsPerMeter,\n effectiveTexelsPerMeter: artifact.stats?.effectiveTexelsPerMeter,\n maxAtlasPages: artifact.stats?.maxAtlasPages,\n sdfRadiusPx: artifact.stats?.sdfRadiusPx,\n spatialChunkSize: artifact.stats?.spatialChunkSize,\n effectiveSpatialChunkSize: artifact.stats?.effectiveSpatialChunkSize,\n targetChunkCount: artifact.stats?.targetChunkCount,\n bakedChunkCount: artifact.stats?.bakedChunkCount,\n reusedChunkCount: artifact.stats?.reusedChunkCount,\n durationMs: artifact.stats?.durationMs,\n };\n}\n\nfunction uniqueStaticShadowSourceNodeIds(artifact: StaticProjectedShadowArtifact): string[] {\n return [...new Set(artifact.chunks.flatMap(chunk => chunk.sourceNodeIds))];\n}\n\nfunction createPlayableBabylonStaticShadowArtifactDiagnostic<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext,\n): EditorSceneStaticShadowArtifactDiagnostic {\n const artifact = options.getStaticShadowArtifact?.({ document: context.document }) ?? null;\n const staticOptions = createPlayableBabylonStaticProjectedShadowOptions(context.profile, (\n resolvePlayableBabylonRenderingValue(\n options.shadowPreview === false ? undefined : options.shadowPreview?.staticProjected,\n context,\n ) ?? {}\n ));\n return createEditorSceneStaticShadowArtifactDiagnostic(\n artifact,\n createPlayableBabylonStaticShadowExpectedHashes(context, options, staticOptions, sceneContext),\n );\n}\n\nfunction createPlayableBabylonStaticShadowExpectedHashes<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n staticOptions: StaticProjectedShadowOptions & { expectedHashes?: StaticProjectedShadowArtifactHashInput | null },\n sceneContext: PlayableBabylonRenderingSceneContext,\n): StaticProjectedShadowArtifactHashInput {\n if (staticOptions.expectedHashes) return staticOptions.expectedHashes;\n const scene = readBabylonScene(sceneContext.scene);\n const shadowPreview = options.shadowPreview === false ? {} : options.shadowPreview ?? {};\n const directionalLightNodeId = resolvePlayableBabylonRenderingValue(\n shadowPreview.directionalLightNodeId,\n context,\n );\n if (scene) {\n return createStaticProjectedShadowBakeHashes({\n scene,\n directionalLight: resolveBabylonDirectionalLight(sceneContext.projection, directionalLightNodeId ?? null),\n options: staticOptions,\n });\n }\n return {\n profileHash: createStaticProjectedShadowProfileHash(staticOptions),\n };\n}\n\nexport function createPlayableBabylonEnvironmentTextureProfile(\n profile: EditorSceneRenderingProfile,\n textureAssets: readonly EditorSceneRenderingTextureAsset[] = [],\n): BabylonEnvironmentTextureProfile {\n return {\n textureUrl: resolvePlayableBabylonRenderingEnvironmentTextureUrl(\n profile.environment.texture,\n textureAssets,\n ),\n intensity: profile.environment.iblIntensity,\n rotationY: profile.environment.rotationY,\n };\n}\n\nexport function resolvePlayableBabylonRenderingEnvironmentTextureUrl(\n textureRef: EditorSceneRenderingProfile['environment']['texture'],\n textureAssets: readonly EditorSceneRenderingTextureAsset[] = [],\n): string | null {\n if (!textureRef) return null;\n const textureAssetId = typeof textureRef.textureAssetId === 'string'\n ? textureRef.textureAssetId.trim()\n : '';\n if (textureAssetId) {\n const textureAsset = textureAssets.find(texture => texture.id === textureAssetId);\n return textureAsset && isPlayableBabylonRenderingEnvironmentTextureAsset(textureAsset)\n ? textureAsset.url\n : null;\n }\n const textureUrl = typeof textureRef.url === 'string' ? textureRef.url.trim() : '';\n return isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl) ? textureUrl : null;\n}\n\nexport function resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic(\n textureRef: EditorSceneRenderingProfile['environment']['texture'],\n textureAssets: readonly EditorSceneRenderingTextureAsset[] = [],\n): PlayableBabylonRenderingEnvironmentTextureDiagnostic {\n if (!textureRef) {\n return {\n status: 'none',\n textureAssetId: null,\n textureUrl: null,\n resolvedUrl: null,\n asset: null,\n reason: 'No environment texture is configured.',\n };\n }\n const textureAssetId = typeof textureRef.textureAssetId === 'string'\n ? textureRef.textureAssetId.trim()\n : '';\n if (textureAssetId) {\n const textureAsset = textureAssets.find(texture => texture.id === textureAssetId) ?? null;\n if (!textureAsset) {\n return {\n status: 'missing-asset',\n textureAssetId,\n textureUrl: null,\n resolvedUrl: null,\n asset: null,\n reason: `Environment texture asset not found: ${textureAssetId}.`,\n };\n }\n if (!isPlayableBabylonRenderingEnvironmentTextureAsset(textureAsset)) {\n return {\n status: 'unsupported-asset',\n textureAssetId,\n textureUrl: textureAsset.url,\n resolvedUrl: null,\n asset: textureAsset,\n reason: `Texture asset is not marked as an environment texture: ${textureAssetId}.`,\n };\n }\n return {\n status: 'resolved-asset',\n textureAssetId,\n textureUrl: textureAsset.url,\n resolvedUrl: textureAsset.url,\n asset: textureAsset,\n reason: null,\n };\n }\n const textureUrl = typeof textureRef.url === 'string' ? textureRef.url.trim() : '';\n if (!textureUrl) {\n return {\n status: 'none',\n textureAssetId: null,\n textureUrl: null,\n resolvedUrl: null,\n asset: null,\n reason: 'No environment texture URL is configured.',\n };\n }\n if (!isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl)) {\n return {\n status: 'unsupported-url',\n textureAssetId: null,\n textureUrl,\n resolvedUrl: null,\n asset: null,\n reason: 'Environment texture URL must use .env, .hdr, .dds, .ktx, or .ktx2.',\n };\n }\n return {\n status: 'resolved-url',\n textureAssetId: null,\n textureUrl,\n resolvedUrl: textureUrl,\n asset: null,\n reason: null,\n };\n}\n\nexport function isPlayableBabylonRenderingEnvironmentTextureAsset(\n texture: EditorSceneRenderingTextureAsset,\n): boolean {\n if (texture.capabilities?.environmentTexture === true) return true;\n if (texture.capabilities?.environmentTexture === false) return false;\n if (texture.usage === 'environment') return true;\n return isPlayableBabylonRenderingEnvironmentTextureUrl(texture.url);\n}\n\nexport function isPlayableBabylonRenderingEnvironmentTextureUrl(textureUrl: string): boolean {\n return PLAYABLE_BABYLON_ENVIRONMENT_TEXTURE_URL_PATTERN.test(textureUrl);\n}\n\nfunction createPlayableBabylonRenderingContext<TDocument>(\n document: TDocument,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n): PlayableBabylonRenderingContext<TDocument> {\n const config = options.getConfig({ document });\n return {\n document,\n config,\n profile: normalizeEditorSceneRenderingProfile(config),\n };\n}\n\nfunction resolvePlayableBabylonRenderingPostProcess<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n): BabylonDefaultPostProcessResolveResult {\n return resolveBabylonDefaultPostProcessVolumeStack(\n context.config,\n options.getPostProcessResolveInput?.(context),\n );\n}\n\nfunction createPlayableBabylonShadowPreviewOptions<TDocument>(\n context: PlayableBabylonRenderingContext<TDocument>,\n options: PlayableBabylonRenderingCapabilityOptions<TDocument>,\n sceneContext: PlayableBabylonRenderingSceneContext = {},\n): BabylonEditorShadowPreviewOptions | null {\n if (options.shadowPreview === false) return null;\n const shadowPreview = options.shadowPreview ?? {};\n const blobInput = resolvePlayableBabylonRenderingValue(shadowPreview.blob, context) ?? {};\n const staticInput = resolvePlayableBabylonRenderingValue(shadowPreview.staticProjected, context) ?? {};\n const planarInput = resolvePlayableBabylonRenderingValue(shadowPreview.planar, context) ?? {};\n const shadowMapExperiment = resolvePlayableBabylonRenderingValue(\n shadowPreview.shadowMapExperiment,\n context,\n );\n const staticArtifact = staticInput.artifact === undefined\n ? options.getStaticShadowArtifact?.({ document: context.document }) ?? null\n : staticInput.artifact;\n const enabled = resolvePlayableBabylonRenderingValue(shadowPreview.enabled, context);\n const directionalLightNodeId = resolvePlayableBabylonRenderingValue(\n shadowPreview.directionalLightNodeId,\n context,\n );\n const planarPreview = createPlayableBabylonPlanarShadowPreviewOptions(context.profile, {\n ...planarInput,\n ...(enabled === undefined ? {} : { enabled }),\n ...(directionalLightNodeId === undefined ? {} : { directionalLightNodeId }),\n });\n const blobPreview = createPlayableBabylonBlobShadowOptions(context.profile, {\n ...blobInput,\n ...(enabled === undefined ? {} : { enabled }),\n });\n const staticPreview = createPlayableBabylonStaticProjectedShadowOptions(context.profile, {\n ...staticInput,\n artifact: staticArtifact,\n ...(enabled === undefined ? {} : { enabled }),\n });\n const expectedHashes = createPlayableBabylonStaticShadowExpectedHashes(context, options, staticPreview, sceneContext);\n const filteredStaticArtifact = resolvePlayableBabylonStaticShadowArtifactForExpectedHashes(\n staticPreview.artifact ?? null,\n expectedHashes,\n );\n return {\n defaultMode: context.profile.shadows.defaultMode as EditorSceneResolvedShadowMode,\n blob: blobPreview,\n staticProjected: {\n ...staticPreview,\n artifact: filteredStaticArtifact,\n ...(readBabylonScene(sceneContext.scene) ? { expectedHashes } : {}),\n ...(directionalLightNodeId === undefined ? {} : { directionalLightNodeId }),\n },\n planar: planarPreview.planar ?? null,\n shadowMapExperiment: shadowMapExperiment ?? null,\n };\n}\n\nfunction resolvePlayableBabylonStaticShadowArtifactForExpectedHashes(\n artifact: StaticProjectedShadowArtifact | null,\n expectedHashes: StaticProjectedShadowArtifactHashInput,\n): StaticProjectedShadowArtifact | null {\n if (!artifact) return null;\n const diagnostic = createEditorSceneStaticShadowArtifactDiagnostic(artifact, expectedHashes);\n return diagnostic.status === 'up-to-date' ? artifact : null;\n}\n\nasync function handlePlayableBabylonRenderingPropertyChange<TDocument, TPatch>(\n input: Record<string, unknown> & { document: TDocument },\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): Promise<PlayableLocalEditorRenderingPropertyChangeResult<TPatch>> {\n const sectionId = typeof input.sectionId === 'string' ? input.sectionId : '';\n if (!PLAYABLE_BABYLON_RENDERING_ALLOWED_SECTIONS.has(sectionId)) {\n return createPlayableBabylonRenderingResult(false, {\n status: `Unsupported rendering section: ${sectionId || '(unknown)'}`,\n statusTone: 'warning',\n });\n }\n const path = typeof input.path === 'string' ? input.path : '';\n if (path === 'shadowMapExperiment.qualityProfile') {\n return handleShadowMapExperimentQualityProfileChange(input, options);\n }\n const currentConfig = options.getConfig({ document: input.document });\n const patch = applyEditorSceneRenderingProfilePatch(currentConfig, {\n [path]: input.value,\n });\n if (patch.changedPaths.length === 0) {\n return createPlayableBabylonRenderingResult(false, {\n status: `Unsupported rendering field: ${path || '(unknown)'}`,\n statusTone: 'warning',\n });\n }\n const setConfigResult = await options.setConfig({\n document: input.document,\n config: patch.config,\n changedPaths: patch.changedPaths,\n profile: patch.normalized,\n change: {\n path,\n value: input.value,\n },\n });\n const dirty = options.isDirty?.({ document: input.document });\n return createPlayableBabylonRenderingResult(true, {\n dirty,\n status: `Rendering draft updated: ${patch.changedPaths.join(', ')}`,\n statusTone: dirty === false ? 'success' : 'warning',\n documentPatch: readPlayableBabylonRenderingDocumentPatch(setConfigResult),\n });\n}\n\nfunction createShadowMapExperimentPanelState(\n configValue: unknown,\n planValue: unknown,\n): EditorSceneRenderingPanelStateInput['shadowMapExperiment'] {\n const config = readShadowMapExperimentConfig(configValue);\n const plan = readShadowMapExperimentPlan(planValue);\n if (!config && !plan) return null;\n return {\n configured: !!config,\n enabled: plan?.enabled ?? config?.enabled ?? false,\n qualityProfileId: plan?.qualityProfileId ?? config?.defaultQualityProfile ?? null,\n qualityProfileIds: config ? Object.keys(config.qualityProfiles).sort() : [],\n maps: plan ? { ...plan.generator.maps } : null,\n filter: plan?.generator.filter ?? null,\n bias: plan?.generator.bias ?? null,\n normalBias: plan?.generator.normalBias ?? null,\n darkness: plan?.generator.darkness ?? null,\n };\n}\n\nfunction readShadowMapExperimentConfig(value: unknown): ShadowMapExperimentConfig | null {\n try {\n return createShadowMapExperimentConfigSnapshot(value);\n } catch {\n return null;\n }\n}\n\nfunction readShadowMapExperimentPlan(value: unknown): ShadowMapExperimentPlan | null {\n try {\n return createShadowMapExperimentPlanSnapshot(value);\n } catch {\n return null;\n }\n}\n\nfunction handleShadowMapExperimentQualityProfileChange<TDocument, TPatch>(\n input: Record<string, unknown> & { document: TDocument },\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): PlayableLocalEditorRenderingPropertyChangeResult<TPatch> {\n const language = options.getLanguage?.({ document: input.document }) ?? 'en';\n const qualityProfile = typeof input.value === 'string' ? input.value.trim() : '';\n const config = readShadowMapExperimentConfig(options.getShadowMapExperimentConfig?.());\n if (!qualityProfile || !config || !Object.prototype.hasOwnProperty.call(config.qualityProfiles, qualityProfile)) {\n return createPlayableBabylonRenderingResult(false, {\n status: language === 'zh'\n ? `未知的实时阴影质量档:${qualityProfile || '(空)'}`\n : `Unknown Shadow Map quality profile: ${qualityProfile || '(empty)'}`,\n statusTone: 'warning',\n });\n }\n const patch = options.createShadowMapExperimentProfilesPatch?.({\n document: input.document,\n qualityProfile,\n });\n if (!patch) {\n return createPlayableBabylonRenderingResult(false, {\n status: language === 'zh'\n ? '当前项目的场景阴影质量档为只读。'\n : 'Scene Shadow Map quality profile is read-only for this project.',\n statusTone: 'warning',\n });\n }\n return createPlayableBabylonRenderingResult(true, {\n status: language === 'zh'\n ? `实时阴影质量档:${qualityProfile}`\n : `Shadow Map quality profile: ${qualityProfile}`,\n statusTone: 'success',\n documentPatch: patch,\n });\n}\n\nasync function handlePlayableBabylonRenderingAction<TDocument, TPatch>(\n input: Record<string, unknown> & { document: TDocument },\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): Promise<PlayableLocalEditorRenderingPropertyChangeResult<TPatch>> {\n const actionId = typeof input.actionId === 'string' ? input.actionId : '';\n if (actionId === 'bake-static-shadows') {\n return bakePlayableBabylonStaticShadows(input, options);\n }\n if (actionId === 'rendering-alpha-preset.add' || actionId === 'rendering-alpha-preset.delete') {\n const actionInput = createPlayableBabylonRenderingProfileActionInput(actionId, input);\n const currentConfig = options.getConfig({ document: input.document });\n const patch = applyEditorSceneRenderingProfileAction(currentConfig, actionInput);\n if (patch.changedPaths.length === 0) {\n return createPlayableBabylonRenderingResult(false, {\n status: `Unsupported rendering action: ${actionId}`,\n statusTone: 'warning',\n });\n }\n const setConfigResult = await options.setConfig({\n document: input.document,\n config: patch.config,\n changedPaths: patch.changedPaths,\n profile: patch.normalized,\n action: actionInput,\n });\n const dirty = options.isDirty?.({ document: input.document });\n return createPlayableBabylonRenderingResult(true, {\n dirty,\n status: `Rendering draft updated: ${patch.changedPaths.join(', ')}`,\n statusTone: dirty === false ? 'success' : 'warning',\n documentPatch: readPlayableBabylonRenderingDocumentPatch(setConfigResult),\n });\n }\n if (actionId !== 'revert-rendering') {\n return createPlayableBabylonRenderingResult(false, {\n status: `Unsupported rendering action: ${actionId || '(unknown)'}`,\n statusTone: 'warning',\n });\n }\n if (!options.resetConfig) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Rendering reset is not available for this project.',\n statusTone: 'warning',\n });\n }\n if (options.isDirty?.({ document: input.document }) === false) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Rendering already matches saved settings.',\n statusTone: 'default',\n });\n }\n await options.resetConfig({ document: input.document });\n return createPlayableBabylonRenderingResult(true, {\n dirty: options.isDirty?.({ document: input.document }) ?? false,\n status: 'Rendering draft reverted to saved settings.',\n statusTone: 'success',\n });\n}\n\nasync function bakePlayableBabylonStaticShadows<TDocument, TPatch>(\n input: Record<string, unknown> & { document: TDocument },\n options: PlayableBabylonRenderingCapabilityOptions<TDocument, TPatch>,\n): Promise<PlayableLocalEditorRenderingPropertyChangeResult<TPatch>> {\n if (!options.setStaticShadowArtifact) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Static shadow artifact storage is not available for this project.',\n statusTone: 'warning',\n });\n }\n const scene = readBabylonScene(input.scene);\n if (!scene) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Static shadow bake requires the active Babylon scene.',\n statusTone: 'warning',\n });\n }\n const context = createPlayableBabylonRenderingContext(input.document, options);\n const shadowPreview = options.shadowPreview === false ? {} : options.shadowPreview ?? {};\n const staticInput = resolvePlayableBabylonRenderingValue(shadowPreview.staticProjected, context) ?? {};\n const directionalLightNodeId = resolvePlayableBabylonRenderingValue(shadowPreview.directionalLightNodeId, context);\n const staticOptions = createPlayableBabylonStaticProjectedShadowOptions(context.profile, {\n ...staticInput,\n ...(staticInput.enabled === undefined ? {} : { enabled: staticInput.enabled }),\n });\n if (!staticOptions.enabled) {\n return createPlayableBabylonRenderingResult(false, {\n status: 'Static Baked Shadow is disabled.',\n statusTone: 'warning',\n });\n }\n const reportProgress = readPlayableBabylonRenderingProgressReporter(input.reportProgress);\n const previousArtifact = options.getStaticShadowArtifact?.({ document: input.document }) ?? null;\n const workerProcessor = options.processStaticShadowSdfTile ? null : createStaticProjectedShadowCpuWorkerProcessor();\n let artifact: StaticProjectedShadowArtifact;\n try {\n artifact = await createStaticProjectedShadowBaker({\n scene,\n directionalLight: resolveBabylonDirectionalLight(input.projection, directionalLightNodeId ?? null),\n options: staticOptions,\n previousArtifact,\n readMaskTexturePixels: options.readStaticShadowMaskTexturePixels,\n processSdfTile: options.processStaticShadowSdfTile ?? workerProcessor?.processSdfTile,\n encodeAtlasTexture: options.encodeStaticShadowAtlasTexture,\n yieldToMainThread: async (progress) => {\n await reportProgress?.(createPlayableBabylonStaticShadowBakeProgress(progress, staticOptions));\n },\n onProgress: async (progress) => {\n await reportProgress?.(createPlayableBabylonStaticShadowBakeProgress(progress, staticOptions));\n },\n }).bake();\n } finally {\n workerProcessor?.dispose();\n }\n await reportProgress?.({\n actionId: 'bake-static-shadows',\n label: 'Writing static shadow artifact',\n status: 'Writing static shadow artifact...',\n value: 0.98,\n indeterminate: false,\n details: createStaticShadowArtifactStatsDetails(artifact),\n });\n await options.setStaticShadowArtifact({\n document: input.document,\n artifact,\n profile: context.profile,\n });\n const statusDetails = formatStaticShadowBakeResultDetails(artifact);\n return createPlayableBabylonRenderingResult(true, {\n dirty: options.isDirty?.({ document: input.document }),\n status: `Baked ${artifact.chunks.length} static shadow chunk${artifact.chunks.length === 1 ? '' : 's'} from ${artifact.stats?.sourceRootCount ?? 0} static caster${artifact.stats?.sourceRootCount === 1 ? '' : 's'}.`,\n statusTone: 'success',\n statusDetails,\n details: createStaticShadowArtifactActionDetails(artifact),\n });\n}\n\nfunction readPlayableBabylonRenderingProgressReporter(\n value: unknown,\n): ((progress: PlayableBabylonRenderingActionProgress) => MaybePromise<void>) | null {\n return typeof value === 'function'\n ? value as (progress: PlayableBabylonRenderingActionProgress) => MaybePromise<void>\n : null;\n}\n\nfunction createPlayableBabylonStaticShadowBakeProgress(\n progress: StaticProjectedShadowBakeProgress,\n options: ReturnType<typeof createPlayableBabylonStaticProjectedShadowOptions>,\n): PlayableBabylonRenderingActionProgress {\n const total = Math.max(0, progress.totalChunkCount);\n const completed = Math.max(0, progress.completedChunkCount);\n const chunkProgress = total > 0 ? completed / total : 1;\n const atlasPageCount = Math.max(0, progress.atlasPageCount ?? 0);\n const encodedPageCount = Math.max(0, progress.encodedTextureCount);\n const value = progress.phase === 'collect'\n ? 0.08\n : progress.phase === 'pack'\n ? 0.92\n : progress.phase === 'encode'\n ? 0.92 + (atlasPageCount > 0 ? Math.min(encodedPageCount / atlasPageCount, 1) * 0.05 : 0.03)\n : progress.phase === 'complete'\n ? 0.96\n : 0.12 + chunkProgress * 0.78;\n const status = progress.phase === 'collect'\n ? `Collecting ${progress.sourceRootCount} static shadow casters...`\n : progress.phase === 'reuse'\n ? `Reusing ${progress.reusedChunkCount ?? 0} unchanged static shadow chunks...`\n : progress.phase === 'sdf'\n ? `Generating static shadow SDF ${Math.min(completed + 1, total)} of ${total}...`\n : progress.phase === 'pack'\n ? `Packing ${progress.encodedTextureCount} static shadow chunks into ${atlasPageCount} atlas page${atlasPageCount === 1 ? '' : 's'}...`\n : progress.phase === 'encode'\n ? `Encoding static shadow atlas page ${Math.min(encodedPageCount + 1, atlasPageCount || encodedPageCount + 1)} of ${atlasPageCount || encodedPageCount + 1}...`\n : progress.phase === 'complete'\n ? `Finishing ${encodedPageCount} static shadow atlas page${encodedPageCount === 1 ? '' : 's'}...`\n : `Baking static shadow chunk ${Math.min(completed + 1, total)} of ${total}...`;\n return {\n actionId: 'bake-static-shadows',\n label: total > 0\n ? `Static shadow bake ${Math.min(completed, total)} / ${total}`\n : 'Static shadow bake',\n status,\n value,\n indeterminate: total === 0 && progress.phase !== 'complete',\n details: {\n phase: progress.phase,\n sourceRootCount: progress.sourceRootCount,\n sourceMeshCount: progress.sourceMeshCount,\n attemptedChunkCount: progress.totalChunkCount,\n chunkCount: progress.completedChunkCount,\n textureCount: progress.encodedTextureCount,\n pageCount: progress.atlasPageCount,\n resolution: options.bake?.resolution,\n chunkSize: options.bake?.spatialChunkSize,\n atlasSize: options.bake?.atlasSize,\n texelsPerMeter: options.bake?.texelsPerMeter,\n effectiveTexelsPerMeter: progress.effectiveTexelsPerMeter,\n maxAtlasPages: options.bake?.maxAtlasPages,\n sdfRadiusPx: options.bake?.sdfRadiusPx,\n spatialChunkSize: options.bake?.spatialChunkSize,\n effectiveSpatialChunkSize: progress.effectiveSpatialChunkSize,\n targetChunkCount: options.bake?.targetChunkCount,\n bakedChunkCount: progress.bakedChunkCount,\n reusedChunkCount: progress.reusedChunkCount,\n ...(progress.currentChunkId ? { currentChunkId: progress.currentChunkId } : {}),\n },\n };\n}\n\nfunction createStaticShadowArtifactStatsDetails(\n artifact: StaticProjectedShadowArtifact,\n): Record<string, unknown> {\n const isV2 = artifact.version === 2;\n const pageCount = isV2 ? artifact.pages.length : undefined;\n return {\n phase: 'complete',\n sourceRootCount: artifact.stats?.sourceRootCount ?? 0,\n sourceMeshCount: artifact.stats?.sourceMeshCount ?? 0,\n attemptedChunkCount: artifact.stats?.attemptedChunkCount ?? artifact.chunks.length,\n chunkCount: artifact.stats?.chunkCount ?? artifact.chunks.length,\n textureCount: artifact.stats?.textureCount ?? pageCount ?? artifact.chunks.length,\n skippedChunkCount: artifact.stats?.skippedChunkCount ?? 0,\n pageCount: artifact.stats?.pageCount ?? pageCount,\n resolution: artifact.stats?.resolution,\n chunkSize: artifact.stats?.chunkSize,\n atlasSize: artifact.stats?.atlasSize,\n atlasUsedPixels: artifact.stats?.atlasUsedPixels,\n atlasAllocatedPixels: artifact.stats?.atlasAllocatedPixels,\n atlasOccupancy: artifact.stats?.atlasOccupancy,\n texelsPerMeter: artifact.stats?.texelsPerMeter,\n effectiveTexelsPerMeter: artifact.stats?.effectiveTexelsPerMeter,\n maxAtlasPages: artifact.stats?.maxAtlasPages,\n sdfRadiusPx: artifact.stats?.sdfRadiusPx,\n spatialChunkSize: artifact.stats?.spatialChunkSize,\n effectiveSpatialChunkSize: artifact.stats?.effectiveSpatialChunkSize,\n targetChunkCount: artifact.stats?.targetChunkCount,\n bakedChunkCount: artifact.stats?.bakedChunkCount,\n reusedChunkCount: artifact.stats?.reusedChunkCount,\n durationMs: artifact.stats?.durationMs,\n };\n}\n\nfunction createStaticShadowArtifactActionDetails(\n artifact: StaticProjectedShadowArtifact,\n): Record<string, unknown> {\n const sourceNodeIds = createUniqueStringList(\n artifact.chunks.flatMap(chunk => Array.isArray(chunk.sourceNodeIds) ? chunk.sourceNodeIds : []),\n );\n return {\n ...createStaticShadowArtifactStatsDetails(artifact),\n sourceNodeIds,\n };\n}\n\nfunction formatStaticShadowBakeResultDetails(artifact: StaticProjectedShadowArtifact): string {\n const stats = artifact.stats;\n const sourceRootCount = stats?.sourceRootCount ?? 0;\n const sourceMeshCount = stats?.sourceMeshCount ?? 0;\n const chunkCount = stats?.chunkCount ?? artifact.chunks.length;\n const atlasPageCount = stats?.pageCount ?? (artifact.version === 2 ? artifact.pages.length : stats?.textureCount ?? artifact.chunks.length);\n const effectiveTexelsPerMeter = stats?.effectiveTexelsPerMeter;\n const atlasSize = stats?.atlasSize;\n const atlasOccupancy = stats?.atlasOccupancy;\n const sdfRadiusPx = stats?.sdfRadiusPx;\n const duration = typeof stats?.durationMs === 'number' ? `, ${Math.round(stats.durationMs)}ms` : '';\n const parts = [\n `Static casters: ${sourceRootCount}`,\n `Bake meshes: ${sourceMeshCount}`,\n `Chunks: ${chunkCount}`,\n `Atlas pages: ${atlasPageCount}${duration}`,\n ];\n if (typeof effectiveTexelsPerMeter === 'number') parts.push(`Effective texels/m: ${formatNumberForStatus(effectiveTexelsPerMeter)}`);\n if (typeof atlasSize === 'number') parts.push(`Atlas: ${atlasSize}px`);\n if (typeof atlasOccupancy === 'number') parts.push(`Atlas occupancy: ${formatNumberForStatus(Math.max(0, Math.min(1, atlasOccupancy)) * 100)}%`);\n if (typeof sdfRadiusPx === 'number') parts.push(`SDF radius: ${formatNumberForStatus(sdfRadiusPx)}px`);\n if (typeof stats?.bakedChunkCount === 'number' || typeof stats?.reusedChunkCount === 'number') {\n parts.push(`Baked/reused: ${stats?.bakedChunkCount ?? 0}/${stats?.reusedChunkCount ?? 0}`);\n }\n return parts.join(' · ');\n}\n\nfunction createUniqueStringList(values: readonly unknown[]): string[] {\n const seen = new Set<string>();\n const result: string[] = [];\n for (const value of values) {\n if (typeof value !== 'string' || value.length === 0 || seen.has(value)) continue;\n seen.add(value);\n result.push(value);\n }\n return result;\n}\n\nfunction formatNumberForStatus(value: number): string {\n return Number.isInteger(value) ? String(value) : value.toFixed(2).replace(/\\.?0+$/, '');\n}\n\nfunction createPlayableBabylonRenderingResult<TPatch = unknown>(\n changed: boolean,\n input: {\n dirty?: boolean;\n status: string;\n statusTone: EditorSceneRenderingStatusTone;\n statusDetails?: string;\n details?: Record<string, unknown>;\n documentPatch?: PlayableLocalEditorPatchResult<TPatch> | null;\n },\n): PlayableLocalEditorRenderingPropertyChangeResult<TPatch> {\n return {\n changed,\n refreshWorldRendering: changed,\n ...(input.dirty === undefined ? {} : { dirty: input.dirty }),\n status: input.status,\n statusTone: input.statusTone,\n ...(input.statusDetails ? { statusDetails: input.statusDetails } : {}),\n ...(input.details ? { details: input.details } : {}),\n ...(input.documentPatch === undefined ? {} : { documentPatch: input.documentPatch }),\n };\n}\n\nfunction createPlayableBabylonRenderingProfileActionInput(\n actionId: string,\n input: Record<string, unknown>,\n): EditorSceneRenderingProfileActionInput {\n const params = readRecord(input.params);\n return {\n actionId,\n renderingGroupId: params.renderingGroupId ?? input.renderingGroupId,\n presetIndex: params.presetIndex ?? input.presetIndex,\n };\n}\n\nfunction readPlayableBabylonRenderingDocumentPatch<TPatch>(\n value: void | PlayableBabylonRenderingSetConfigResult<TPatch>,\n): PlayableLocalEditorPatchResult<TPatch> | null | undefined {\n return value && typeof value === 'object' ? value.documentPatch : undefined;\n}\n\nfunction readRecord(value: unknown): Record<string, unknown> {\n return value && typeof value === 'object' && !Array.isArray(value)\n ? value as Record<string, unknown>\n : {};\n}\n\nfunction resolvePlayableBabylonRenderingValue<TDocument, TValue>(\n value: PlayableBabylonRenderingValueResolver<TDocument, TValue> | undefined,\n context: PlayableBabylonRenderingContext<TDocument>,\n): TValue | undefined {\n return typeof value === 'function'\n ? (value as (context: PlayableBabylonRenderingContext<TDocument>) => TValue)(context)\n : value;\n}\n\nfunction readPlayableBabylonRenderingActionProgress(value: unknown): PlayableBabylonRenderingActionProgress | null {\n if (!value || typeof value !== 'object' || Array.isArray(value)) return null;\n const record = value as Record<string, unknown>;\n return {\n ...(typeof record.actionId === 'string' ? { actionId: record.actionId } : {}),\n ...(typeof record.label === 'string' ? { label: record.label } : {}),\n ...(typeof record.status === 'string' ? { status: record.status } : {}),\n ...(isEditorSceneRenderingStatusTone(record.statusTone) ? { statusTone: record.statusTone } : {}),\n ...(typeof record.statusDetails === 'string' ? { statusDetails: record.statusDetails } : {}),\n ...(typeof record.value === 'number' && Number.isFinite(record.value) ? { value: record.value } : {}),\n ...(typeof record.indeterminate === 'boolean' ? { indeterminate: record.indeterminate } : {}),\n ...(record.details && typeof record.details === 'object' && !Array.isArray(record.details)\n ? { details: record.details as Record<string, unknown> }\n : {}),\n };\n}\n\nfunction isEditorSceneRenderingStatusTone(value: unknown): value is EditorSceneRenderingStatusTone {\n return value === 'default' || value === 'success' || value === 'warning' || value === 'error';\n}\n\nfunction readStaticShadowBakeStats(value: unknown): EditorSceneStaticShadowBakeStats | null {\n if (!value || typeof value !== 'object' || Array.isArray(value)) return null;\n const record = value as Record<string, unknown>;\n const stats: EditorSceneStaticShadowBakeStats = {};\n if (typeof record.phase === 'string' && record.phase.trim()) {\n stats.phase = record.phase.trim();\n }\n setOptionalNonNegativeNumber(stats, 'sourceRootCount', record.sourceRootCount);\n setOptionalNonNegativeNumber(stats, 'sourceMeshCount', record.sourceMeshCount);\n setOptionalNonNegativeNumber(stats, 'attemptedChunkCount', record.attemptedChunkCount);\n setOptionalNonNegativeNumber(stats, 'chunkCount', record.chunkCount);\n setOptionalNonNegativeNumber(stats, 'textureCount', record.textureCount);\n setOptionalNonNegativeNumber(stats, 'skippedChunkCount', record.skippedChunkCount);\n setOptionalNonNegativeNumber(stats, 'pageCount', record.pageCount);\n setOptionalPositiveNumber(stats, 'resolution', record.resolution);\n setOptionalPositiveNumber(stats, 'chunkSize', record.chunkSize);\n setOptionalPositiveNumber(stats, 'atlasSize', record.atlasSize);\n setOptionalNonNegativeNumber(stats, 'atlasUsedPixels', record.atlasUsedPixels);\n setOptionalNonNegativeNumber(stats, 'atlasAllocatedPixels', record.atlasAllocatedPixels);\n setOptionalRatio(stats, 'atlasOccupancy', record.atlasOccupancy);\n setOptionalPositiveNumber(stats, 'texelsPerMeter', record.texelsPerMeter);\n setOptionalPositiveNumber(stats, 'effectiveTexelsPerMeter', record.effectiveTexelsPerMeter);\n setOptionalPositiveNumber(stats, 'maxAtlasPages', record.maxAtlasPages);\n setOptionalNonNegativeNumber(stats, 'sdfRadiusPx', record.sdfRadiusPx);\n setOptionalPositiveNumber(stats, 'spatialChunkSize', record.spatialChunkSize);\n setOptionalPositiveNumber(stats, 'effectiveSpatialChunkSize', record.effectiveSpatialChunkSize);\n setOptionalPositiveNumber(stats, 'targetChunkCount', record.targetChunkCount);\n setOptionalNonNegativeNumber(stats, 'bakedChunkCount', record.bakedChunkCount);\n setOptionalNonNegativeNumber(stats, 'reusedChunkCount', record.reusedChunkCount);\n setOptionalNonNegativeNumber(stats, 'durationMs', record.durationMs);\n if (typeof record.currentChunkId === 'string' && record.currentChunkId.trim()) {\n stats.currentChunkId = record.currentChunkId.trim();\n }\n return Object.keys(stats).length > 0 ? stats : null;\n}\n\nfunction setOptionalNonNegativeNumber(\n target: EditorSceneStaticShadowBakeStats,\n key: keyof EditorSceneStaticShadowBakeStats,\n value: unknown,\n): void {\n if (typeof value === 'number' && Number.isFinite(value) && value >= 0) {\n (target as Record<string, unknown>)[key] = value;\n }\n}\n\nfunction setOptionalPositiveNumber(\n target: EditorSceneStaticShadowBakeStats,\n key: keyof EditorSceneStaticShadowBakeStats,\n value: unknown,\n): void {\n if (typeof value === 'number' && Number.isFinite(value) && value > 0) {\n (target as Record<string, unknown>)[key] = value;\n }\n}\n\nfunction setOptionalRatio(\n target: EditorSceneStaticShadowBakeStats,\n key: keyof EditorSceneStaticShadowBakeStats,\n value: unknown,\n): void {\n if (typeof value === 'number' && Number.isFinite(value) && value >= 0 && value <= 1) {\n (target as Record<string, unknown>)[key] = value;\n }\n}\n\nfunction readBabylonScene(value: unknown): Scene | null {\n return value && typeof value === 'object' && Array.isArray((value as { meshes?: unknown }).meshes)\n ? value as Scene\n : null;\n}\n\nfunction resolveBabylonDirectionalLight(\n projectionValue: unknown,\n directionalLightNodeId: string | null,\n): DirectionalLight | null {\n if (!directionalLightNodeId) return null;\n const projection = projectionValue as BabylonEditorProjection | null | undefined;\n const projected = projection?.getProjectedNode?.(directionalLightNodeId);\n const candidates = [\n projected?.root,\n ...(Array.isArray(projected?.runtimeObjects) ? projected.runtimeObjects : []),\n ];\n for (const candidate of candidates) {\n if (candidate && typeof candidate === 'object' && (candidate as DirectionalLight).getClassName?.() === 'DirectionalLight') {\n return candidate as DirectionalLight;\n }\n }\n return null;\n}\n\nfunction mergePlayableBabylonPlanarShadowPolicyInput(\n base: PlayableBabylonPlanarShadowPolicyInput,\n input: PlayableBabylonPlanarShadowPolicyInput | undefined,\n): PlayableBabylonPlanarShadowPolicyInput {\n const merged: PlayableBabylonPlanarShadowPolicyInput = {\n additionalCasterIncludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(base.additionalCasterIncludePatterns ?? []),\n ...(input?.additionalCasterIncludePatterns ?? []),\n ),\n additionalExcludePatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(base.additionalExcludePatterns ?? []),\n ...(input?.additionalExcludePatterns ?? []),\n ),\n additionalReceiverPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(base.additionalReceiverPatterns ?? []),\n ...(input?.additionalReceiverPatterns ?? []),\n ),\n additionalRootBoundaryPatterns: mergePlayableBabylonPlanarShadowPatterns(\n ...(base.additionalRootBoundaryPatterns ?? []),\n ...(input?.additionalRootBoundaryPatterns ?? []),\n ),\n };\n const enabled = input?.enabled ?? base.enabled;\n if (enabled !== undefined) merged.enabled = enabled;\n const autoDetectAllCasters = input?.autoDetectAllCasters ?? base.autoDetectAllCasters;\n if (autoDetectAllCasters !== undefined) merged.autoDetectAllCasters = autoDetectAllCasters;\n const includeProfileShadowMeshes = input?.includeProfileShadowMeshes ?? base.includeProfileShadowMeshes;\n if (includeProfileShadowMeshes !== undefined) merged.includeProfileShadowMeshes = includeProfileShadowMeshes;\n const directionalLightNodeId = input && 'directionalLightNodeId' in input\n ? input.directionalLightNodeId\n : base.directionalLightNodeId;\n if (directionalLightNodeId !== undefined) merged.directionalLightNodeId = directionalLightNodeId;\n return merged;\n}\n\nfunction mergePlayableBabylonPlanarShadowPatterns(...patterns: readonly string[]): string[] {\n const seen = new Set<string>();\n const merged: string[] = [];\n for (const pattern of patterns) {\n const normalized = typeof pattern === 'string' ? pattern.trim() : '';\n if (!normalized || seen.has(normalized)) continue;\n seen.add(normalized);\n merged.push(normalized);\n }\n return merged;\n}\n"]}
|