@fps-games/editor 0.2.0-beta.3 → 0.2.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/editor-state.js +32 -17
- 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 +243 -60
- 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 +111 -25
- package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
- package/dist/agent-bridge/capabilities/selection.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/selection.js +8 -5
- package/dist/agent-bridge/capabilities/selection.js.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/shadows.js +839 -67
- package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
- package/dist/agent-bridge/capabilities/transform.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/transform.js +6 -4
- package/dist/agent-bridge/capabilities/transform.js.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
- package/dist/agent-bridge/capabilities/ui-regions.js +3 -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 +92 -47
- 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 +232 -7
- package/dist/agent-bridge/shared.d.ts.map +1 -1
- package/dist/agent-bridge/shared.js +174 -0
- 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/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/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 +61 -33
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-context.d.ts +5 -5
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +340 -35
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +3854 -1118
- 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 +18 -0
- package/dist/local-editor-tools.d.ts.map +1 -0
- package/dist/local-editor-tools.js +53 -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 +51 -29
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +23 -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 +172 -15
- 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 +53 -19
- 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/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 +17 -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 +300 -362
- 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/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 +85 -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 +1600 -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/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 +8 -9
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +6 -7
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- 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-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 +6 -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-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 -5
- 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 +831 -702
- 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 +11 -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 +3 -0
- 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 +58 -25
- 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 +10 -7
- 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 +591 -639
- 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 +8 -36
- 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 +25 -103
- 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 +39 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +74 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -0
- 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 +56 -301
- 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 +4 -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 +33 -119
- 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 +5 -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 +760 -524
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +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 +26 -1
- 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 +77 -8
- 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 +112 -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 +613 -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/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.js +58 -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/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 +3 -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 +6 -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 +5 -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 +6 -0
- 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/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.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +14 -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/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.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +7 -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/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/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 +653 -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-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 -92
- 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 -285
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"babylon-default-pipeline.js","sourceRoot":"","sources":["../../src/post-process/babylon-default-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,2DAA2D,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,oFAAoF,CAAC;AAG9H,OAAO,EAIN,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,yCAAyC,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,UAAU,iDAAiD,CAC/D,KAAY,EACZ,OAAiB,EACjB,cAAwD,EACxD,UAA8D,EAAE;IAEhE,OAAO,IAAI,+CAA+C,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AAC,QAAQ,CAAC,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;QACjD,IAAI,CAAC,QAAQ,CAAC,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;QAE/C,IAAI,CAAC,QAAQ,CAAC,cAAc,GAAG,KAAK,CAAC;QACrC,IAAI,CAAC,QAAQ,CAAC,0BAA0B,GAAG,KAAK,CAAC;QACjD,IAAI,CAAC,QAAQ,CAAC,mBAAmB,GAAG,KAAK,CAAC;QAC1C,IAAI,CAAC,QAAQ,CAAC,YAAY,GAAG,KAAK,CAAC;IACrC,CAAC;IAEO,eAAe;QACrB,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;CACF;AAED,SAAS,sBAAsB,CAAC,IAA6D;IAC3F,IAAI,IAAI,KAAK,MAAM;QAAE,OAAO,4BAA4B,CAAC,gBAAgB,CAAC;IAC1E,IAAI,IAAI,KAAK,iBAAiB;QAAE,OAAO,4BAA4B,CAAC,2BAA2B,CAAC;IAChG,OAAO,4BAA4B,CAAC,oBAAoB,CAAC;AAC3D,CAAC","sourcesContent":["import { ImageProcessingConfiguration } from '@babylonjs/core/Materials/imageProcessingConfiguration.js';\nimport { DefaultRenderingPipeline } from '@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.js';\nimport type { Camera } from '@babylonjs/core/Cameras/camera.js';\nimport type { Scene } from '@babylonjs/core/scene.js';\nimport {\n type BabylonDefaultPostProcessPipelineController,\n type BabylonDefaultPostProcessPipelineControllerOptions,\n type BabylonDefaultPostProcessProfile,\n} from './types.js';\nimport { normalizeBabylonDefaultPostProcessProfile } from './profile.js';\nimport { createPostProcessStructuralKey } from './volume-stack.js';\n\nexport function createBabylonDefaultPostProcessPipelineController(\n scene: Scene,\n cameras: Camera[],\n initialProfile?: BabylonDefaultPostProcessProfile | null,\n options: BabylonDefaultPostProcessPipelineControllerOptions = {},\n): BabylonDefaultPostProcessPipelineController {\n return new BabylonDefaultPostProcessPipelineControllerImpl(\n scene,\n cameras,\n options.name ?? 'defaultPostProcessPipeline',\n initialProfile ?? null,\n );\n}\n\nclass BabylonDefaultPostProcessPipelineControllerImpl implements BabylonDefaultPostProcessPipelineController {\n private pipeline: DefaultRenderingPipeline | null = null;\n private profile: BabylonDefaultPostProcessProfile | null = null;\n private structuralKey = '';\n\n constructor(\n private readonly scene: Scene,\n private readonly cameras: Camera[],\n private readonly name: string,\n initialProfile: BabylonDefaultPostProcessProfile | null,\n ) {\n this.setProfile(initialProfile);\n }\n\n setProfile(profile: BabylonDefaultPostProcessProfile | null | undefined): void {\n if (!profile) {\n this.disposePipeline();\n this.profile = null;\n this.structuralKey = '';\n return;\n }\n const nextProfile = normalizeBabylonDefaultPostProcessProfile(profile);\n const nextStructuralKey = createPostProcessStructuralKey(nextProfile);\n this.profile = nextProfile;\n if (!nextProfile.enabled) {\n this.disposePipeline();\n this.structuralKey = nextStructuralKey;\n return;\n }\n if (!this.pipeline || this.structuralKey !== nextStructuralKey) {\n this.disposePipeline();\n this.pipeline = new DefaultRenderingPipeline(\n this.name,\n nextProfile.hdr,\n this.scene,\n this.cameras,\n );\n this.structuralKey = nextStructuralKey;\n }\n this.applyProfile(nextProfile);\n }\n\n getProfile(): BabylonDefaultPostProcessProfile | null {\n return this.profile;\n }\n\n getPipeline(): DefaultRenderingPipeline | null {\n return this.pipeline;\n }\n\n dispose(): void {\n this.disposePipeline();\n this.profile = null;\n this.structuralKey = '';\n }\n\n private applyProfile(profile: BabylonDefaultPostProcessProfile): void {\n if (!this.pipeline) return;\n this.pipeline.imageProcessingEnabled = true;\n this.pipeline.imageProcessing.exposure = profile.imageProcessing.exposure;\n this.pipeline.imageProcessing.contrast = profile.imageProcessing.contrast;\n this.pipeline.imageProcessing.toneMappingEnabled = profile.toneMapping.enabled;\n this.pipeline.imageProcessing.toneMappingType = resolveToneMappingType(profile.toneMapping.type);\n\n this.pipeline.samples = profile.antialiasing.samples;\n this.pipeline.bloomEnabled = profile.bloom.enabled;\n this.pipeline.bloomThreshold = profile.bloom.threshold;\n this.pipeline.bloomWeight = profile.bloom.weight;\n this.pipeline.bloomKernel = profile.bloom.kernel;\n this.pipeline.bloomScale = profile.bloom.scale;\n\n this.pipeline.sharpenEnabled = false;\n this.pipeline.chromaticAberrationEnabled = false;\n this.pipeline.depthOfFieldEnabled = false;\n this.pipeline.grainEnabled = false;\n }\n\n private disposePipeline(): void {\n this.pipeline?.dispose();\n this.pipeline = null;\n }\n}\n\nfunction resolveToneMappingType(type: BabylonDefaultPostProcessProfile['toneMapping']['type']): number {\n if (type === 'aces') return ImageProcessingConfiguration.TONEMAPPING_ACES;\n if (type === 'khr-pbr-neutral') return ImageProcessingConfiguration.TONEMAPPING_KHR_PBR_NEUTRAL;\n return ImageProcessingConfiguration.TONEMAPPING_STANDARD;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"babylon-default-pipeline.js","sourceRoot":"","sources":["../../src/post-process/babylon-default-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,2DAA2D,CAAC;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,oFAAoF,CAAC;AAG9H,OAAO,EAIN,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,yCAAyC,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE,MAAM,oCAAoC,GAAG,IAAI,OAAO,EAGpD,CAAC;AAIL,MAAM,UAAU,sDAAsD,CACpE,KAAc;IAEd,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IACtF,MAAM,OAAO,GAAI,KAA0E;SACxF,kDAAkD,CAAC;IACtD,OAAO,OAAO,OAAO,KAAK,UAAU;QAClC,C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AgB,CAAC;IAC1E,IAAI,IAAI,KAAK,iBAAiB;QAAE,OAAO,4BAA4B,CAAC,2BAA2B,CAAC;IAChG,OAAO,4BAA4B,CAAC,oBAAoB,CAAC;AAC3D,CAAC","sourcesContent":["import { ImageProcessingConfiguration } from '@babylonjs/core/Materials/imageProcessingConfiguration.js';\nimport { DefaultRenderingPipeline } from '@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.js';\nimport type { Camera } from '@babylonjs/core/Cameras/camera.js';\nimport type { Scene } from '@babylonjs/core/scene.js';\nimport {\n type BabylonDefaultPostProcessPipelineController,\n type BabylonDefaultPostProcessPipelineControllerOptions,\n type BabylonDefaultPostProcessProfile,\n} from './types.js';\nimport { normalizeBabylonDefaultPostProcessProfile } from './profile.js';\nimport { createPostProcessStructuralKey } from './volume-stack.js';\n\nconst babylonDefaultPostProcessSceneOwners = new WeakMap<Scene, {\n readonly name: string;\n readonly token: object;\n}>();\n\nexport type BabylonDefaultPostProcessPipelineControllerCleanup = () => readonly unknown[];\n\nexport function readBabylonDefaultPostProcessPipelineControllerCleanup(\n error: unknown,\n): BabylonDefaultPostProcessPipelineControllerCleanup | null {\n if (!error || (typeof error !== 'object' && typeof error !== 'function')) return null;\n const cleanup = (error as { babylonDefaultPostProcessPipelineControllerCleanup?: unknown })\n .babylonDefaultPostProcessPipelineControllerCleanup;\n return typeof cleanup === 'function'\n ? cleanup as BabylonDefaultPostProcessPipelineControllerCleanup\n : null;\n}\n\nexport function createBabylonDefaultPostProcessPipelineController(\n scene: Scene,\n cameras: Camera[],\n initialProfile?: BabylonDefaultPostProcessProfile | null,\n options: BabylonDefaultPostProcessPipelineControllerOptions = {},\n): BabylonDefaultPostProcessPipelineController {\n const name = options.name ?? 'defaultPostProcessPipeline';\n const releaseOwnership = reserveBabylonDefaultPostProcessScene(scene, name);\n let controller: BabylonDefaultPostProcessPipelineControllerImpl | null = null;\n try {\n controller = new BabylonDefaultPostProcessPipelineControllerImpl(\n scene,\n [...cameras],\n name,\n options.fxaaEnabled === true,\n releaseOwnership,\n );\n controller.setProfile(initialProfile ?? null);\n return controller;\n } catch (error) {\n const allocatedController = controller;\n const cleanup = createRetryableCleanup(\n allocatedController ? () => allocatedController.dispose() : releaseOwnership,\n );\n const cleanupErrors = cleanup();\n throw createInitializationFailure(error, cleanup, cleanupErrors);\n }\n}\n\nclass BabylonDefaultPostProcessPipelineControllerImpl implements BabylonDefaultPostProcessPipelineController {\n private pipeline: DefaultRenderingPipeline | null = null;\n private profile: BabylonDefaultPostProcessProfile | null = null;\n private structuralKey = '';\n private readonly pendingCameraAttachments = new Set<Camera>();\n\n constructor(\n private readonly scene: Scene,\n private readonly cameras: Camera[],\n private readonly name: string,\n private readonly fxaaEnabled: boolean,\n private readonly releaseOwnership: () => void,\n ) {}\n\n addCamera(camera: Camera): void {\n const knownCamera = this.cameras.includes(camera);\n if (knownCamera && !this.pendingCameraAttachments.has(camera)) return;\n if (knownCamera && this.pendingCameraAttachments.has(camera)) {\n this.pipeline?.removeCamera(camera);\n }\n try {\n this.pipeline?.addCamera(camera);\n } catch (error) {\n let failure = error;\n if (this.pipeline?.cameras.includes(camera)) {\n try { this.pipeline.removeCamera(camera); }\n catch (cleanupError) {\n if (!knownCamera) this.cameras.push(camera);\n this.pendingCameraAttachments.add(camera);\n failure = createFailureWithMetadata(\n error,\n 'babylon.postProcess.cameraAttachmentFailed',\n { cleanupErrors: Object.freeze([cleanupError]) },\n );\n }\n }\n throw failure;\n }\n if (!knownCamera) this.cameras.push(camera);\n this.pendingCameraAttachments.delete(camera);\n }\n\n removeCamera(camera: Camera): void {\n const index = this.cameras.indexOf(camera);\n if (index < 0) return;\n this.pipeline?.removeCamera(camera);\n this.cameras.splice(index, 1);\n this.pendingCameraAttachments.delete(camera);\n }\n\n setProfile(profile: BabylonDefaultPostProcessProfile | null | undefined): void {\n if (!profile) {\n this.disposePipeline();\n this.profile = null;\n this.structuralKey = '';\n return;\n }\n const nextProfile = normalizeBabylonDefaultPostProcessProfile(profile);\n const nextStructuralKey = createPostProcessStructuralKey(nextProfile);\n this.profile = nextProfile;\n if (!nextProfile.enabled) {\n this.disposePipeline();\n this.structuralKey = nextStructuralKey;\n return;\n }\n if (!this.pipeline || this.structuralKey !== nextStructuralKey) {\n this.disposePipeline();\n this.pipeline = new DefaultRenderingPipeline(\n this.name,\n nextProfile.hdr,\n this.scene,\n this.cameras,\n );\n this.structuralKey = nextStructuralKey;\n }\n this.applyProfile(nextProfile);\n }\n\n getProfile(): BabylonDefaultPostProcessProfile | null {\n return this.profile;\n }\n\n getPipeline(): DefaultRenderingPipeline | null {\n return this.pipeline;\n }\n\n dispose(): void {\n this.disposePipeline();\n this.releaseOwnership();\n this.profile = null;\n this.structuralKey = '';\n }\n\n private applyProfile(profile: BabylonDefaultPostProcessProfile): void {\n if (!this.pipeline) return;\n this.pipeline.imageProcessingEnabled = true;\n this.pipeline.imageProcessing.exposure = profile.imageProcessing.exposure;\n this.pipeline.imageProcessing.contrast = profile.imageProcessing.contrast;\n this.pipeline.imageProcessing.toneMappingEnabled = profile.toneMapping.enabled;\n this.pipeline.imageProcessing.toneMappingType = resolveToneMappingType(profile.toneMapping.type);\n\n this.pipeline.samples = profile.antialiasing.samples;\n this.pipeline.bloomEnabled = profile.bloom.enabled;\n this.pipeline.bloomThreshold = profile.bloom.threshold;\n this.pipeline.bloomWeight = profile.bloom.weight;\n this.pipeline.bloomKernel = profile.bloom.kernel;\n this.pipeline.bloomScale = profile.bloom.scale;\n\n this.pipeline.sharpenEnabled = false;\n this.pipeline.chromaticAberrationEnabled = false;\n this.pipeline.depthOfFieldEnabled = false;\n this.pipeline.grainEnabled = false;\n this.pipeline.fxaaEnabled = this.fxaaEnabled;\n }\n\n private disposePipeline(): void {\n this.pipeline?.dispose();\n this.pipeline = null;\n this.pendingCameraAttachments.clear();\n }\n}\n\nfunction createRetryableCleanup(operation: () => void): BabylonDefaultPostProcessPipelineControllerCleanup {\n let pending = true;\n return () => {\n if (!pending) return Object.freeze([]);\n try {\n operation();\n pending = false;\n return Object.freeze([]);\n } catch (error) {\n return Object.freeze([error]);\n }\n };\n}\n\nfunction createInitializationFailure(\n error: unknown,\n cleanup: BabylonDefaultPostProcessPipelineControllerCleanup,\n cleanupErrors: readonly unknown[],\n): unknown {\n if (cleanupErrors.length === 0) return error;\n const metadata = {\n cleanupErrors: Object.freeze([...cleanupErrors]),\n babylonDefaultPostProcessPipelineControllerCleanup: cleanup,\n } as const;\n if (error && (typeof error === 'object' || typeof error === 'function')) {\n try {\n Object.assign(error, metadata);\n if (readBabylonDefaultPostProcessPipelineControllerCleanup(error) === cleanup) return error;\n } catch {\n // A non-extensible primary error is wrapped so cleanup ownership remains reachable.\n }\n }\n return Object.assign(\n new Error(error instanceof Error ? error.message : 'babylon.postProcess.initializationFailed'),\n { cause: error, ...metadata },\n );\n}\n\nfunction createFailureWithMetadata(\n failure: unknown,\n fallbackMessage: string,\n metadata: Readonly<Record<string, unknown>>,\n): object {\n if (failure && (typeof failure === 'object' || typeof failure === 'function')) {\n try {\n Object.assign(failure, metadata);\n if (Object.entries(metadata).every(([key, value]) => (\n (failure as Record<string, unknown>)[key] === value\n ))) return failure;\n } catch {\n // A non-extensible primary error is wrapped so cleanup diagnostics remain reachable.\n }\n }\n return Object.assign(\n new Error(failure instanceof Error ? failure.message : fallbackMessage),\n { cause: failure, ...metadata },\n );\n}\n\nfunction reserveBabylonDefaultPostProcessScene(scene: Scene, name: string): () => void {\n const activeOwner = babylonDefaultPostProcessSceneOwners.get(scene);\n if (activeOwner) {\n throw Object.assign(\n new Error(\n `Babylon default post-process Scene already has an active owner \"${activeOwner.name}\"; `\n + `cannot create \"${name}\".`,\n ),\n {\n code: 'babylon.postProcess.ownerConflict',\n activeOwnerName: activeOwner.name,\n requestedOwnerName: name,\n },\n );\n }\n const token = Object.freeze({});\n babylonDefaultPostProcessSceneOwners.set(scene, { name, token });\n let released = false;\n return () => {\n if (released) return;\n const currentOwner = babylonDefaultPostProcessSceneOwners.get(scene);\n if (currentOwner?.token !== token) {\n throw new Error('Babylon default post-process Scene ownership changed before cleanup completed.');\n }\n babylonDefaultPostProcessSceneOwners.delete(scene);\n released = true;\n };\n}\n\nfunction resolveToneMappingType(type: BabylonDefaultPostProcessProfile['toneMapping']['type']): number {\n if (type === 'aces') return ImageProcessingConfiguration.TONEMAPPING_ACES;\n if (type === 'khr-pbr-neutral') return ImageProcessingConfiguration.TONEMAPPING_KHR_PBR_NEUTRAL;\n return ImageProcessingConfiguration.TONEMAPPING_STANDARD;\n}\n"]}
|
|
@@ -64,6 +64,8 @@ export interface BabylonDefaultPostProcessResolveResult {
|
|
|
64
64
|
activeVolumes: BabylonDefaultPostProcessResolvedVolume[];
|
|
65
65
|
}
|
|
66
66
|
export interface BabylonDefaultPostProcessPipelineController {
|
|
67
|
+
addCamera(camera: Camera): void;
|
|
68
|
+
removeCamera(camera: Camera): void;
|
|
67
69
|
setProfile(profile: BabylonDefaultPostProcessProfile | null | undefined): void;
|
|
68
70
|
getProfile(): BabylonDefaultPostProcessProfile | null;
|
|
69
71
|
getPipeline(): unknown | null;
|
|
@@ -71,7 +73,9 @@ export interface BabylonDefaultPostProcessPipelineController {
|
|
|
71
73
|
}
|
|
72
74
|
export interface BabylonDefaultPostProcessPipelineControllerOptions {
|
|
73
75
|
name?: string;
|
|
76
|
+
fxaaEnabled?: boolean;
|
|
74
77
|
}
|
|
75
78
|
export declare const DEFAULT_BABYLON_POST_PROCESS_VOLUME_ID = "global-post-process-volume";
|
|
76
79
|
export declare const DEFAULT_BABYLON_DEFAULT_POST_PROCESS_PROFILE: BabylonDefaultPostProcessProfile;
|
|
80
|
+
import type { Camera } from '@babylonjs/core/Cameras/camera.js';
|
|
77
81
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/post-process/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG,UAA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AAO,CAAC;CACjB;AAED,MAAM,WAAW,sCAAsC;IACrD,OAAO,EAAE,gCAAgC,CAAC;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,uCAAuC,EAAE,CAAC;CAC1D;AAED,MAAM,WAAW,2CAA2C;IAC1D,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,UAAU,CAAC,OAAO,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC;IAC/E,UAAU,IAAI,gCAAgC,GAAG,IAAI,CAAC;IACtD,WAAW,IAAI,OAAO,GAAG,IAAI,CAAC;IAC9B,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,kDAAkD;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,sCAAsC,+BAA+B,CAAC;AAEnF,eAAO,MAAM,4CAA4C,EAAE,gCAqB1D,CAAC;AACF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/post-process/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/post-process/types.ts"],"names":[],"mappings":"AA2FA,MAAM,CAAC,MAAM,sCAAsC,GAAG,4BAA4B,CAAC;AAEnF,MAAM,CAAC,MAAM,4CAA4C,GAAqC;IAC5F,OAAO,EAAE,IAAI;IACb,GAAG,EAAE,IAAI;IACT,eAAe,EAAE;QACf,QAAQ,EAAE,CAAC;QACX,QAAQ,EAAE,CAAC;KACZ;IACD,WAAW,EAAE;QACX,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,MAAM;KACb;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC;KACX;IACD,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,GAAG;QACd,MAAM,EAAE,GAAG;QACX,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,GAAG;KACX;CACF,CAAC","sourcesContent":["export type BabylonDefaultToneMappingType = 'standard' | 'aces' | 'khr-pbr-neutral';\n\nexport type BabylonDefaultPostProcessSamples = 1 | 2 | 4 | 8;\n\nexport interface BabylonDefaultPostProcessVec3 {\n x: number;\n y: number;\n z: number;\n}\n\nexport interface BabylonDefaultPostProcessProfile {\n enabled: boolean;\n hdr: boolean;\n imageProcessing: {\n exposure: number;\n contrast: number;\n };\n toneMapping: {\n enabled: boolean;\n type: BabylonDefaultToneMappingType;\n };\n antialiasing: {\n samples: BabylonDefaultPostProcessSamples;\n };\n bloom: {\n enabled: boolean;\n threshold: number;\n weight: number;\n kernel: number;\n scale: number;\n };\n}\n\nexport type PostProcessVolumeShape =\n | {\n type: 'sphere';\n center: BabylonDefaultPostProcessVec3;\n radius: number;\n }\n | {\n type: 'box';\n center: BabylonDefaultPostProcessVec3;\n size: BabylonDefaultPostProcessVec3;\n };\n\nexport interface BabylonDefaultPostProcessVolume {\n id: string;\n enabled: boolean;\n global: boolean;\n priority: number;\n blendWeight: number;\n blendRadius: number;\n shape: PostProcessVolumeShape | null;\n profile: BabylonDefaultPostProcessProfile;\n}\n\nexport interface BabylonDefaultPostProcessVolumeStack {\n volumes: BabylonDefaultPostProcessVolume[];\n}\n\nexport interface BabylonDefaultPostProcessResolveInput {\n cameraPosition?: BabylonDefaultPostProcessVec3 | null;\n}\n\nexport interface BabylonDefaultPostProcessResolvedVolume {\n id: string;\n priority: number;\n influence: number;\n global: boolean;\n}\n\nexport interface BabylonDefaultPostProcessResolveResult {\n profile: BabylonDefaultPostProcessProfile;\n structuralKey: string;\n activeVolumes: BabylonDefaultPostProcessResolvedVolume[];\n}\n\nexport interface BabylonDefaultPostProcessPipelineController {\n addCamera(camera: Camera): void;\n removeCamera(camera: Camera): void;\n setProfile(profile: BabylonDefaultPostProcessProfile | null | undefined): void;\n getProfile(): BabylonDefaultPostProcessProfile | null;\n getPipeline(): unknown | null;\n dispose(): void;\n}\n\nexport interface BabylonDefaultPostProcessPipelineControllerOptions {\n name?: string;\n fxaaEnabled?: boolean;\n}\n\nexport const DEFAULT_BABYLON_POST_PROCESS_VOLUME_ID = 'global-post-process-volume';\n\nexport const DEFAULT_BABYLON_DEFAULT_POST_PROCESS_PROFILE: BabylonDefaultPostProcessProfile = {\n enabled: true,\n hdr: true,\n imageProcessing: {\n exposure: 1,\n contrast: 1,\n },\n toneMapping: {\n enabled: true,\n type: 'aces',\n },\n antialiasing: {\n samples: 4,\n },\n bloom: {\n enabled: false,\n threshold: 0.9,\n weight: 0.2,\n kernel: 64,\n scale: 0.5,\n },\n};\nimport type { Camera } from '@babylonjs/core/Cameras/camera.js';\n"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Camera } from '@babylonjs/core/Cameras/camera.js';
|
|
2
2
|
import type { DirectionalLight } from '@babylonjs/core/Lights/directionalLight.js';
|
|
3
3
|
import { ShadowGenerator } from '@babylonjs/core/Lights/Shadows/shadowGenerator.js';
|
|
4
|
+
import './shadow-generator-shaders.js';
|
|
4
5
|
import type { AbstractMesh } from '@babylonjs/core/Meshes/abstractMesh.js';
|
|
5
6
|
import type { Scene } from '@babylonjs/core/scene.js';
|
|
6
7
|
import '@babylonjs/core/Lights/Shadows/shadowGeneratorSceneComponent.js';
|
package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-shadow-system.d.ts","sourceRoot":"","sources":["../../src/shadows/dynamic-shadow-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAEnF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AAI,CAAC;IACvC,WAAW,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAAC;IACtC,cAAc,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAAC;IACzC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IACvC,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;IACzD,OAAO,IAAI,IAAI,CAAC;IAChB,kBAAkB,IAAI,eAAe,GAAG,IAAI,CAAC;IAC7C,cAAc,IAAI,wBAAwB,CAAC;IAC3C,OAAO,IAAI,IAAI,CAAC;CACjB;AAwBD,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,GAAE,OAAO,CAAC,oBAAoB,CAAM,GAC1C,mBAAmB,CAErB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Camera } from '@babylonjs/core/Cameras/camera.js';
|
|
2
2
|
import { CascadedShadowGenerator } from '@babylonjs/core/Lights/Shadows/cascadedShadowGenerator.js';
|
|
3
3
|
import { ShadowGenerator } from '@babylonjs/core/Lights/Shadows/shadowGenerator.js';
|
|
4
|
+
import './shadow-generator-shaders.js';
|
|
4
5
|
import { Matrix, Vector3 } from '@babylonjs/core/Maths/math.vector.js';
|
|
5
6
|
import '@babylonjs/core/Lights/Shadows/shadowGeneratorSceneComponent.js';
|
|
6
7
|
const DEFAULT_DYNAMIC_SHADOW_PARAMS = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-shadow-system.js","sourceRoot":"","sources":["../../src/shadows/dynamic-shadow-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,MAAM,mDAAmD,CAAC;AACpF,OAA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AU,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;AACpE,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAc,EAAE,QAAgB;IACxD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;AAChF,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAc,EAAE,QAAgB;IAC1D,MAAM,MAAM,GAAG,gBAAgB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACjD,OAAO,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC;AACxC,CAAC;AAED,SAAS,OAAO,CAAC,KAAa;IAC5B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IACtC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AACzC,CAAC;AAED,SAAS,oBAAoB,CAC3B,KAAc,EACd,QAA2C;IAE3C,OAAO,KAAK,KAAK,GAAG,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,IAAI;QACxE,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,QAAQ,CAAC;AACf,CAAC;AAED,SAAS,gBAAgB,CACvB,KAAc,EACd,QAA6C;IAE7C,OAAO,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;AACtE,CAAC","sourcesContent":["import { Camera } from '@babylonjs/core/Cameras/camera.js';\nimport type { DirectionalLight } from '@babylonjs/core/Lights/directionalLight.js';\nimport { CascadedShadowGenerator } from '@babylonjs/core/Lights/Shadows/cascadedShadowGenerator.js';\nimport { ShadowGenerator } from '@babylonjs/core/Lights/Shadows/shadowGenerator.js';\nimport { Matrix, Vector3 } from '@babylonjs/core/Maths/math.vector.js';\nimport type { AbstractMesh } from '@babylonjs/core/Meshes/abstractMesh.js';\nimport type { Observer } from '@babylonjs/core/Misc/observable.js';\nimport type { Scene } from '@babylonjs/core/scene.js';\n\nimport '@babylonjs/core/Lights/Shadows/shadowGeneratorSceneComponent.js';\n\nexport interface DynamicShadowParams {\n opacity: number;\n softness: number;\n bias: number;\n normalBias: number;\n maxDistance: number;\n resolution: 512 | 1024 | 2048 | 4096;\n cascadeCount: 1 | 2 | 4;\n blurKernel: number;\n}\n\nexport interface DynamicShadowOptions {\n enabled: boolean;\n camera?: Camera | null;\n params: DynamicShadowParams;\n useCsm?: boolean;\n boundsPadding?: number;\n stableSnapping?: boolean;\n debug?: boolean;\n}\n\nexport interface DynamicShadowLightOrthoBounds {\n left: number;\n right: number;\n top: number;\n bottom: number;\n minZ: number;\n maxZ: number;\n}\n\nexport interface DynamicShadowWorldBounds {\n min: { x: number; y: number; z: number };\n max: { x: number; y: number; z: number };\n}\n\nexport interface DynamicShadowDiagnostics {\n enabled: boolean;\n casterCount: number;\n receiverCount: number;\n generator: {\n className: string | null;\n mapSize: unknown;\n darkness: number | null;\n bias: number | null;\n normalBias: number | null;\n blurKernel: number | null;\n renderListCount: number;\n useCsm: boolean;\n } | null;\n params: DynamicShadowParams;\n bounds: {\n world: DynamicShadowWorldBounds;\n lightOrtho: DynamicShadowLightOrthoBounds;\n texelSize: number;\n cameraProjection: 'orthographic' | 'perspective' | 'none';\n } | null;\n fallbackReasons: string[];\n}\n\nexport interface DynamicShadowSystem {\n initialize(): void;\n addCaster(mesh: AbstractMesh): boolean;\n removeCaster(mesh: AbstractMesh): void;\n addReceiver(mesh: AbstractMesh): void;\n removeReceiver(mesh: AbstractMesh): void;\n setCamera(camera: Camera | null): void;\n setOptions(options: Partial<DynamicShadowOptions>): void;\n refresh(): void;\n getShadowGenerator(): ShadowGenerator | null;\n getDiagnostics(): DynamicShadowDiagnostics;\n dispose(): void;\n}\n\ntype DynamicShadowReceiverInfo = {\n mesh: AbstractMesh;\n trackedMeshes: AbstractMesh[];\n};\n\ntype DynamicShadowReceiverStateInfo = {\n mesh: AbstractMesh;\n previousReceiveShadows: boolean;\n refCount: number;\n};\n\nconst DEFAULT_DYNAMIC_SHADOW_PARAMS: DynamicShadowParams = {\n opacity: 0.42,\n softness: 0.4,\n bias: 0.001,\n normalBias: 0.01,\n maxDistance: 48,\n resolution: 1024,\n cascadeCount: 2,\n blurKernel: 4,\n};\n\nexport function createDynamicShadowSystem(\n scene: Scene,\n directionalLight: DirectionalLight,\n options: Partial<DynamicShadowOptions> = {},\n): DynamicShadowSystem {\n return new BabylonDynamicShadowSystem(scene, directionalLight, options);\n}\n\nclass BabylonDynamicShadowSystem implements DynamicShadowSystem {\n private options: DynamicShadowOptions;\n private shadowGenerator: ShadowGenerator | null = null;\n private readonly casters = new Set<AbstractMesh>();\n private readonly receivers = new Map<AbstractMesh, DynamicShadowReceiverInfo>();\n private readonly receiverStates = new Map<AbstractMesh, DynamicShadowReceiverStateInfo>();\n private renderObserver: Observer<Scene> | null = null;\n private initialized = false;\n private diagnostics: DynamicShadowDiagnostics;\n private previousSceneShadowsEnabled: boolean | null = null;\n private previousLightShadowEnabled: boolean | null = null;\n private previousLightAutoUpdateExtends: boolean | null = null;\n private previousLightFrustum: DynamicShadowLightOrthoBounds | null = null;\n private useCsmExplicit = false;\n\n constructor(\n private readonly scene: Scene,\n private readonly directionalLight: DirectionalLight,\n options: Partial<DynamicShadowOptions>,\n ) {\n this.useCsmExplicit = hasExplicitUseCsm(options);\n this.options = resolveDynamicShadowOptions(options);\n this.diagnostics = this.createDiagnostics(null, []);\n }\n\n initialize(): void {\n if (this.initialized || !this.options.enabled) return;\n this.previousSceneShadowsEnabled = this.scene.shadowsEnabled;\n this.previousLightShadowEnabled = this.directionalLight.shadowEnabled;\n this.previousLightAutoUpdateExtends = this.directionalLight.autoUpdateExtends;\n this.previousLightFrustum = {\n left: this.directionalLight.orthoLeft,\n right: this.directionalLight.orthoRight,\n top: this.directionalLight.orthoTop,\n bottom: this.directionalLight.orthoBottom,\n minZ: this.directionalLight.shadowMinZ,\n maxZ: this.directionalLight.shadowMaxZ,\n };\n this.scene.shadowsEnabled = true;\n this.directionalLight.shadowEnabled = true;\n this.directionalLight.autoUpdateExtends = false;\n this.ensureShadowGenerator();\n this.renderObserver = this.scene.onBeforeRenderObservable.add(() => this.refresh());\n this.initialized = true;\n this.refresh();\n }\n\n addCaster(mesh: AbstractMesh): boolean {\n if (isDisposed(mesh)) return false;\n this.casters.add(mesh);\n if (!this.options.enabled || !this.initialized) return true;\n this.shadowGenerator?.addShadowCaster(mesh as Parameters<ShadowGenerator['addShadowCaster']>[0], true);\n this.refresh();\n return true;\n }\n\n removeCaster(mesh: AbstractMesh): void {\n this.casters.delete(mesh);\n this.shadowGenerator?.removeShadowCaster(mesh as Parameters<ShadowGenerator['removeShadowCaster']>[0], true);\n this.refresh();\n }\n\n addReceiver(mesh: AbstractMesh): void {\n if (isDisposed(mesh)) return;\n if (!this.receivers.has(mesh)) {\n this.receivers.set(mesh, createReceiverInfo(mesh, this.receiverStates));\n }\n if (!this.options.enabled || !this.initialized) return;\n activateReceiverInfo(this.receivers.get(mesh));\n this.refresh();\n }\n\n removeReceiver(mesh: AbstractMesh): void {\n const info = this.receivers.get(mesh);\n if (info) releaseReceiverInfo(info, this.receiverStates);\n this.receivers.delete(mesh);\n this.refresh();\n }\n\n setCamera(camera: Camera | null): void {\n this.options = {\n ...this.options,\n camera,\n };\n if (this.shadowGenerator) this.shadowGenerator.camera = camera;\n this.refresh();\n }\n\n setOptions(options: Partial<DynamicShadowOptions>): void {\n const previous = this.options;\n if (hasExplicitUseCsm(options)) this.useCsmExplicit = true;\n this.options = resolveDynamicShadowOptions(options, this.options, this.useCsmExplicit);\n if (previous.enabled && !this.options.enabled) {\n this.dispose();\n return;\n }\n const generatorNeedsRecreate = previous.params.resolution !== this.options.params.resolution\n || previous.params.cascadeCount !== this.options.params.cascadeCount\n || previous.useCsm !== this.options.useCsm;\n if (generatorNeedsRecreate && this.initialized) this.recreateShadowGenerator();\n else if (this.shadowGenerator) this.shadowGenerator.camera = this.options.camera ?? null;\n if (!previous.enabled && this.options.enabled) this.initialize();\n else this.refresh();\n }\n\n refresh(): void {\n if (!this.options.enabled || !this.initialized) return;\n this.pruneDisposedEntries();\n const generator = this.ensureShadowGenerator();\n if (!generator) {\n this.diagnostics = this.createDiagnostics(null, ['shadow generator unavailable']);\n return;\n }\n this.applyGeneratorParams(this.options.params);\n this.syncShadowMapRenderList();\n for (const receiver of this.receivers.values()) activateReceiverInfo(receiver);\n const fit = this.fitDirectionalLightBounds();\n this.diagnostics = this.createDiagnostics(fit, []);\n }\n\n getShadowGenerator(): ShadowGenerator | null {\n return this.shadowGenerator;\n }\n\n getDiagnostics(): DynamicShadowDiagnostics {\n return cloneDynamicShadowDiagnostics(this.diagnostics);\n }\n\n dispose(): void {\n if (this.renderObserver) {\n this.scene.onBeforeRenderObservable.remove(this.renderObserver);\n this.renderObserver = null;\n }\n for (const receiver of this.receivers.values()) releaseReceiverInfo(receiver, this.receiverStates);\n this.receiverStates.clear();\n this.receivers.clear();\n this.casters.clear();\n this.shadowGenerator?.dispose();\n this.shadowGenerator = null;\n if (this.previousSceneShadowsEnabled !== null) {\n this.scene.shadowsEnabled = this.previousSceneShadowsEnabled;\n this.previousSceneShadowsEnabled = null;\n }\n if (this.previousLightShadowEnabled !== null) {\n this.directionalLight.shadowEnabled = this.previousLightShadowEnabled;\n this.previousLightShadowEnabled = null;\n }\n if (this.previousLightAutoUpdateExtends !== null) {\n this.directionalLight.autoUpdateExtends = this.previousLightAutoUpdateExtends;\n this.previousLightAutoUpdateExtends = null;\n }\n if (this.previousLightFrustum) {\n this.directionalLight.orthoLeft = this.previousLightFrustum.left;\n this.directionalLight.orthoRight = this.previousLightFrustum.right;\n this.directionalLight.orthoTop = this.previousLightFrustum.top;\n this.directionalLight.orthoBottom = this.previousLightFrustum.bottom;\n this.directionalLight.shadowMinZ = this.previousLightFrustum.minZ;\n this.directionalLight.shadowMaxZ = this.previousLightFrustum.maxZ;\n this.previousLightFrustum = null;\n }\n this.initialized = false;\n this.diagnostics = this.createDiagnostics(null, []);\n }\n\n private ensureShadowGenerator(): ShadowGenerator | null {\n if (this.shadowGenerator) return this.shadowGenerator;\n const params = this.options.params;\n if (this.options.useCsm && params.cascadeCount > 1 && CascadedShadowGenerator.IsSupported) {\n const generator = new CascadedShadowGenerator(\n params.resolution,\n this.directionalLight,\n undefined,\n this.options.camera ?? undefined,\n );\n generator.numCascades = params.cascadeCount;\n generator.stabilizeCascades = true;\n this.shadowGenerator = generator;\n } else {\n this.shadowGenerator = new ShadowGenerator(\n params.resolution,\n this.directionalLight,\n undefined,\n this.options.camera ?? undefined,\n );\n }\n this.applyGeneratorParams(params);\n return this.shadowGenerator;\n }\n\n private recreateShadowGenerator(): void {\n const existingCasters = [...this.casters];\n this.shadowGenerator?.dispose();\n this.shadowGenerator = null;\n const generator = this.ensureShadowGenerator();\n for (const caster of existingCasters) {\n generator?.addShadowCaster(caster as Parameters<ShadowGenerator['addShadowCaster']>[0], true);\n }\n }\n\n private applyGeneratorParams(params: DynamicShadowParams): void {\n const generator = this.shadowGenerator;\n if (!generator) return;\n generator.useBlurExponentialShadowMap = false;\n generator.useKernelBlur = false;\n generator.usePercentageCloserFiltering = true;\n generator.filteringQuality = ShadowGenerator.QUALITY_HIGH;\n generator.setDarkness(clamp01(1 - params.opacity));\n generator.bias = params.bias;\n generator.normalBias = params.normalBias;\n if (generator instanceof CascadedShadowGenerator) {\n generator.numCascades = params.cascadeCount;\n generator.shadowMaxZ = params.maxDistance;\n }\n }\n\n private syncShadowMapRenderList(): void {\n const renderList = this.shadowGenerator?.getShadowMap?.()?.renderList;\n if (!renderList) return;\n renderList.length = 0;\n for (const caster of this.casters) {\n if (!isDisposed(caster)) {\n this.shadowGenerator?.addShadowCaster(caster as Parameters<ShadowGenerator['addShadowCaster']>[0], true);\n }\n }\n }\n\n private fitDirectionalLightBounds(): DynamicShadowDiagnostics['bounds'] {\n const params = this.options.params;\n const points = this.collectCoveragePoints(params);\n if (points.length === 0) return null;\n const worldBounds = boundsFromPoints(points);\n const viewMatrix = createShadowViewMatrix(this.directionalLight);\n const lightPoints = points.map(point => Vector3.TransformCoordinates(point, viewMatrix));\n const lightBounds = boundsFromPoints(lightPoints);\n const padding = readPositiveNumber(this.options.boundsPadding, Math.max(0.5, params.maxDistance * 0.025));\n const rawLeft = lightBounds.min.x - padding;\n const rawRight = lightBounds.max.x + padding;\n const rawBottom = lightBounds.min.y - padding;\n const rawTop = lightBounds.max.y + padding;\n const width = Math.max(1e-4, rawRight - rawLeft);\n const height = Math.max(1e-4, rawTop - rawBottom);\n const texelSize = Math.max(width, height) / params.resolution;\n const bounds = this.options.stableSnapping === false || texelSize <= 0\n ? {\n left: rawLeft,\n right: rawRight,\n bottom: rawBottom,\n top: rawTop,\n minZ: lightBounds.min.z - padding,\n maxZ: lightBounds.max.z + padding,\n }\n : {\n left: Math.floor(rawLeft / texelSize) * texelSize,\n right: Math.ceil(rawRight / texelSize) * texelSize,\n bottom: Math.floor(rawBottom / texelSize) * texelSize,\n top: Math.ceil(rawTop / texelSize) * texelSize,\n minZ: Math.floor((lightBounds.min.z - padding) / texelSize) * texelSize,\n maxZ: Math.ceil((lightBounds.max.z + padding) / texelSize) * texelSize,\n };\n this.directionalLight.orthoLeft = bounds.left;\n this.directionalLight.orthoRight = bounds.right;\n this.directionalLight.orthoBottom = bounds.bottom;\n this.directionalLight.orthoTop = bounds.top;\n this.directionalLight.shadowMinZ = bounds.minZ;\n this.directionalLight.shadowMaxZ = Math.max(this.directionalLight.shadowMinZ + 1, bounds.maxZ);\n return {\n world: {\n min: serializeVec3(worldBounds.min),\n max: serializeVec3(worldBounds.max),\n },\n lightOrtho: {\n left: bounds.left,\n right: bounds.right,\n bottom: bounds.bottom,\n top: bounds.top,\n minZ: this.directionalLight.shadowMinZ,\n maxZ: this.directionalLight.shadowMaxZ,\n },\n texelSize,\n cameraProjection: readCameraProjection(this.options.camera),\n };\n }\n\n private collectCoveragePoints(params: DynamicShadowParams): Vector3[] {\n const points: Vector3[] = [];\n const lightDirection = readLightDirection(this.directionalLight.getShadowDirection(0));\n const shadowOffset = lightDirection.scale(params.maxDistance);\n for (const caster of this.casters) {\n points.push(...readMeshBoundsCorners(caster));\n for (const corner of readMeshBoundsCorners(caster)) points.push(corner.add(shadowOffset));\n }\n for (const receiver of this.receivers.keys()) points.push(...readMeshBoundsCorners(receiver));\n points.push(...readCameraCoveragePoints(this.options.camera, this.scene, params.maxDistance));\n return points.filter(point => Number.isFinite(point.x) && Number.isFinite(point.y) && Number.isFinite(point.z));\n }\n\n private pruneDisposedEntries(): void {\n for (const caster of [...this.casters]) {\n if (isDisposed(caster)) this.casters.delete(caster);\n }\n for (const [receiver, info] of [...this.receivers]) {\n if (isDisposed(receiver)) {\n releaseReceiverInfo(info, this.receiverStates);\n this.receivers.delete(receiver);\n }\n }\n }\n\n private createDiagnostics(\n bounds: DynamicShadowDiagnostics['bounds'],\n fallbackReasons: string[],\n ): DynamicShadowDiagnostics {\n const generator = this.shadowGenerator;\n const renderList = generator?.getShadowMap?.()?.renderList ?? [];\n return {\n enabled: this.options.enabled,\n casterCount: this.casters.size,\n receiverCount: this.receivers.size,\n generator: generator\n ? {\n className: generator.getClassName?.() ?? null,\n mapSize: generator.getShadowMap?.()?.getSize?.() ?? null,\n darkness: generator.getDarkness?.() ?? null,\n bias: generator.bias ?? null,\n normalBias: generator.normalBias ?? null,\n blurKernel: generator.blurKernel ?? null,\n renderListCount: renderList.length,\n useCsm: generator instanceof CascadedShadowGenerator,\n }\n : null,\n params: { ...this.options.params },\n bounds,\n fallbackReasons,\n };\n }\n}\n\nfunction resolveDynamicShadowOptions(\n options: Partial<DynamicShadowOptions>,\n fallback?: DynamicShadowOptions,\n preserveFallbackUseCsm = false,\n): DynamicShadowOptions {\n const params = resolveDynamicShadowParams(options.params, fallback?.params);\n return {\n enabled: options.enabled ?? fallback?.enabled ?? true,\n camera: options.camera ?? fallback?.camera ?? null,\n params,\n useCsm: options.useCsm ?? (preserveFallbackUseCsm ? fallback?.useCsm : undefined) ?? params.cascadeCount > 1,\n boundsPadding: readPositiveNumber(options.boundsPadding, fallback?.boundsPadding ?? Math.max(0.5, params.maxDistance * 0.025)),\n stableSnapping: options.stableSnapping ?? fallback?.stableSnapping ?? true,\n debug: options.debug ?? fallback?.debug ?? false,\n };\n}\n\nfunction hasExplicitUseCsm(options: Partial<DynamicShadowOptions>): boolean {\n return Object.prototype.hasOwnProperty.call(options, 'useCsm') && typeof options.useCsm === 'boolean';\n}\n\nfunction resolveDynamicShadowParams(\n params: Partial<DynamicShadowParams> | undefined,\n fallback: DynamicShadowParams = DEFAULT_DYNAMIC_SHADOW_PARAMS,\n): DynamicShadowParams {\n return {\n opacity: clamp01(readFiniteNumber(params?.opacity, fallback.opacity)),\n softness: clamp01(readFiniteNumber(params?.softness, fallback.softness)),\n bias: readFiniteNumber(params?.bias, fallback.bias),\n normalBias: readFiniteNumber(params?.normalBias, fallback.normalBias),\n maxDistance: readPositiveNumber(params?.maxDistance, fallback.maxDistance),\n resolution: readShadowResolution(params?.resolution, fallback.resolution),\n cascadeCount: readCascadeCount(params?.cascadeCount, fallback.cascadeCount),\n blurKernel: Math.max(0, Math.round(readFiniteNumber(params?.blurKernel, fallback.blurKernel))),\n };\n}\n\nfunction createReceiverInfo(\n mesh: AbstractMesh,\n receiverStates: Map<AbstractMesh, DynamicShadowReceiverStateInfo>,\n): DynamicShadowReceiverInfo {\n const trackedMeshes = [mesh];\n const sourceMesh = (mesh as { sourceMesh?: AbstractMesh }).sourceMesh;\n if (sourceMesh && sourceMesh !== mesh) trackedMeshes.push(sourceMesh);\n for (const trackedMesh of trackedMeshes) acquireReceiverState(trackedMesh, receiverStates);\n return { mesh, trackedMeshes };\n}\n\nfunction activateReceiverInfo(info: DynamicShadowReceiverInfo | undefined): void {\n if (!info) return;\n for (const mesh of info.trackedMeshes) mesh.receiveShadows = true;\n}\n\nfunction acquireReceiverState(\n mesh: AbstractMesh,\n receiverStates: Map<AbstractMesh, DynamicShadowReceiverStateInfo>,\n): void {\n const existing = receiverStates.get(mesh);\n if (existing) {\n existing.refCount += 1;\n return;\n }\n receiverStates.set(mesh, {\n mesh,\n previousReceiveShadows: mesh.receiveShadows,\n refCount: 1,\n });\n}\n\nfunction releaseReceiverInfo(\n info: DynamicShadowReceiverInfo,\n receiverStates: Map<AbstractMesh, DynamicShadowReceiverStateInfo>,\n): void {\n for (const mesh of info.trackedMeshes) releaseReceiverState(mesh, receiverStates);\n}\n\nfunction releaseReceiverState(\n mesh: AbstractMesh,\n receiverStates: Map<AbstractMesh, DynamicShadowReceiverStateInfo>,\n): void {\n const state = receiverStates.get(mesh);\n if (!state) return;\n state.refCount -= 1;\n if (state.refCount > 0) return;\n state.mesh.receiveShadows = state.previousReceiveShadows;\n receiverStates.delete(mesh);\n}\n\nfunction readMeshBoundsCorners(mesh: AbstractMesh): Vector3[] {\n if (isDisposed(mesh)) return [];\n mesh.computeWorldMatrix(true);\n const bounds = mesh.getHierarchyBoundingVectors(true);\n return createBoundsCorners(bounds.min, bounds.max);\n}\n\nfunction readCameraCoveragePoints(camera: Camera | null | undefined, scene: Scene, maxDistance: number): Vector3[] {\n if (!camera) return [];\n const position = camera.globalPosition ?? camera.position;\n if (!position) return [];\n const forward = safeCameraDirection(camera, Vector3.Forward(), new Vector3(0, 0, 1));\n const right = safeCameraDirection(camera, Vector3.Right(), new Vector3(1, 0, 0));\n const up = safeCameraDirection(camera, Vector3.Up(), new Vector3(0, 1, 0));\n const farDistance = Math.max(1, Math.min(maxDistance, readPositiveNumber(camera.maxZ, maxDistance)));\n const nearDistance = Math.max(0.1, Math.min(farDistance, readPositiveNumber(camera.minZ, 0.1)));\n const aspect = readSceneAspect(scene);\n if (camera.mode === Camera.ORTHOGRAPHIC_CAMERA) {\n const halfHeight = Math.max(0.5, Math.abs(readFiniteNumber(camera.orthoTop, 1) - readFiniteNumber(camera.orthoBottom, -1)) * 0.5);\n const halfWidth = Math.max(0.5, Math.abs(readFiniteNumber(camera.orthoRight, aspect) - readFiniteNumber(camera.orthoLeft, -aspect)) * 0.5);\n return [\n ...createCameraPlaneCorners(position.add(forward.scale(nearDistance)), right, up, halfWidth, halfHeight),\n ...createCameraPlaneCorners(position.add(forward.scale(farDistance)), right, up, halfWidth, halfHeight),\n ];\n }\n const fov = readPositiveNumber((camera as { fov?: number }).fov, 0.8);\n const farHalfHeight = Math.tan(fov * 0.5) * farDistance;\n const farHalfWidth = farHalfHeight * aspect;\n const nearHalfHeight = Math.tan(fov * 0.5) * nearDistance;\n const nearHalfWidth = nearHalfHeight * aspect;\n return [\n ...createCameraPlaneCorners(position.add(forward.scale(nearDistance)), right, up, nearHalfWidth, nearHalfHeight),\n ...createCameraPlaneCorners(position.add(forward.scale(farDistance)), right, up, farHalfWidth, farHalfHeight),\n ];\n}\n\nfunction createCameraPlaneCorners(center: Vector3, right: Vector3, up: Vector3, halfWidth: number, halfHeight: number): Vector3[] {\n return [\n center.add(right.scale(-halfWidth)).add(up.scale(-halfHeight)),\n center.add(right.scale(halfWidth)).add(up.scale(-halfHeight)),\n center.add(right.scale(halfWidth)).add(up.scale(halfHeight)),\n center.add(right.scale(-halfWidth)).add(up.scale(halfHeight)),\n ];\n}\n\nfunction createShadowViewMatrix(light: DirectionalLight): Matrix {\n let lightPosition = light.position;\n if (light.computeTransformedInformation()) {\n lightPosition = light.transformedPosition;\n }\n const lightDirection = readLightDirection(light.getShadowDirection(0));\n if (Math.abs(Vector3.Dot(lightDirection, Vector3.Up())) === 1) {\n lightDirection.z = 1e-13;\n }\n return Matrix.LookAtLH(\n lightPosition,\n lightPosition.add(lightDirection),\n Vector3.Up(),\n );\n}\n\nfunction boundsFromPoints(points: Vector3[]): { min: Vector3; max: Vector3 } {\n const min = new Vector3(Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY);\n const max = new Vector3(Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY);\n for (const point of points) {\n min.minimizeInPlace(point);\n max.maximizeInPlace(point);\n }\n return { min, max };\n}\n\nfunction createBoundsCorners(min: Vector3, max: Vector3): Vector3[] {\n return [\n new Vector3(min.x, min.y, min.z),\n new Vector3(max.x, min.y, min.z),\n new Vector3(max.x, max.y, min.z),\n new Vector3(min.x, max.y, min.z),\n new Vector3(min.x, min.y, max.z),\n new Vector3(max.x, min.y, max.z),\n new Vector3(max.x, max.y, max.z),\n new Vector3(min.x, max.y, max.z),\n ];\n}\n\nfunction safeCameraDirection(camera: Camera, localAxis: Vector3, fallback: Vector3): Vector3 {\n try {\n const direction = camera.getDirection(localAxis);\n if (isFiniteVector(direction) && direction.lengthSquared() > 1e-8) return direction.normalize();\n } catch {\n // Camera direction is best-effort diagnostics input; use a stable fallback.\n }\n return fallback.clone();\n}\n\nfunction readLightDirection(direction: Vector3): Vector3 {\n return isFiniteVector(direction) && direction.lengthSquared() > 1e-8\n ? direction.clone().normalize()\n : new Vector3(-0.3, -1, -0.2).normalize();\n}\n\nfunction readCameraProjection(camera: Camera | null | undefined): 'orthographic' | 'perspective' | 'none' {\n if (!camera) return 'none';\n return camera.mode === Camera.ORTHOGRAPHIC_CAMERA ? 'orthographic' : 'perspective';\n}\n\nfunction readSceneAspect(scene: Scene): number {\n const engine = scene.getEngine();\n const width = Math.max(1, engine.getRenderWidth());\n const height = Math.max(1, engine.getRenderHeight());\n return width / height;\n}\n\nfunction cloneDynamicShadowDiagnostics(diagnostics: DynamicShadowDiagnostics): DynamicShadowDiagnostics {\n return {\n ...diagnostics,\n generator: diagnostics.generator ? { ...diagnostics.generator } : null,\n params: { ...diagnostics.params },\n bounds: diagnostics.bounds\n ? {\n world: {\n min: { ...diagnostics.bounds.world.min },\n max: { ...diagnostics.bounds.world.max },\n },\n lightOrtho: { ...diagnostics.bounds.lightOrtho },\n texelSize: diagnostics.bounds.texelSize,\n cameraProjection: diagnostics.bounds.cameraProjection,\n }\n : null,\n fallbackReasons: [...diagnostics.fallbackReasons],\n };\n}\n\nfunction serializeVec3(value: Vector3): { x: number; y: number; z: number } {\n return { x: value.x, y: value.y, z: value.z };\n}\n\nfunction isFiniteVector(value: Vector3): boolean {\n return Number.isFinite(value.x) && Number.isFinite(value.y) && Number.isFinite(value.z);\n}\n\nfunction isDisposed(mesh: AbstractMesh): boolean {\n return typeof mesh.isDisposed === 'function' && mesh.isDisposed();\n}\n\nfunction readFiniteNumber(value: unknown, fallback: number): number {\n return typeof value === 'number' && Number.isFinite(value) ? value : fallback;\n}\n\nfunction readPositiveNumber(value: unknown, fallback: number): number {\n const number = readFiniteNumber(value, fallback);\n return number > 0 ? number : fallback;\n}\n\nfunction clamp01(value: number): number {\n if (!Number.isFinite(value)) return 0;\n return Math.min(1, Math.max(0, value));\n}\n\nfunction readShadowResolution(\n value: unknown,\n fallback: DynamicShadowParams['resolution'],\n): DynamicShadowParams['resolution'] {\n return value === 512 || value === 1024 || value === 2048 || value === 4096\n ? value\n : fallback;\n}\n\nfunction readCascadeCount(\n value: unknown,\n fallback: DynamicShadowParams['cascadeCount'],\n): DynamicShadowParams['cascadeCount'] {\n return value === 1 || value === 2 || value === 4 ? value : fallback;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"dynamic-shadow-system.js","sourceRoot":"","sources":["../../src/shadows/dynamic-shadow-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2DAA2D,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,MAAM,mDAAmD,CAAC;AACpF,OAAO,+BAA+B,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC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AAED,SAAS,gBAAgB,CAAC,KAAc,EAAE,QAAgB;IACxD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;AAChF,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAc,EAAE,QAAgB;IAC1D,MAAM,MAAM,GAAG,gBAAgB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACjD,OAAO,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC;AACxC,CAAC;AAED,SAAS,OAAO,CAAC,KAAa;IAC5B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IACtC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AACzC,CAAC;AAED,SAAS,oBAAoB,CAC3B,KAAc,EACd,QAA2C;IAE3C,OAAO,KAAK,KAAK,GAAG,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,IAAI;QACxE,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,QAAQ,CAAC;AACf,CAAC;AAED,SAAS,gBAAgB,CACvB,KAAc,EACd,QAA6C;IAE7C,OAAO,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC;AACtE,CAAC","sourcesContent":["import { Camera } from '@babylonjs/core/Cameras/camera.js';\nimport type { DirectionalLight } from '@babylonjs/core/Lights/directionalLight.js';\nimport { CascadedShadowGenerator } from '@babylonjs/core/Lights/Shadows/cascadedShadowGenerator.js';\nimport { ShadowGenerator } from '@babylonjs/core/Lights/Shadows/shadowGenerator.js';\nimport './shadow-generator-shaders.js';\nimport { Matrix, Vector3 } from '@babylonjs/core/Maths/math.vector.js';\nimport type { AbstractMesh } from '@babylonjs/core/Meshes/abstractMesh.js';\nimport type { Observer } from '@babylonjs/core/Misc/observable.js';\nimport type { Scene } from '@babylonjs/core/scene.js';\n\nimport '@babylonjs/core/Lights/Shadows/shadowGeneratorSceneComponent.js';\n\nexport interface DynamicShadowParams {\n opacity: number;\n softness: number;\n bias: number;\n normalBias: number;\n maxDistance: number;\n resolution: 512 | 1024 | 2048 | 4096;\n cascadeCount: 1 | 2 | 4;\n blurKernel: number;\n}\n\nexport interface DynamicShadowOptions {\n enabled: boolean;\n camera?: Camera | null;\n params: DynamicShadowParams;\n useCsm?: boolean;\n boundsPadding?: number;\n stableSnapping?: boolean;\n debug?: boolean;\n}\n\nexport interface DynamicShadowLightOrthoBounds {\n left: number;\n right: number;\n top: number;\n bottom: number;\n minZ: number;\n maxZ: number;\n}\n\nexport interface DynamicShadowWorldBounds {\n min: { x: number; y: number; z: number };\n max: { x: number; y: number; z: number };\n}\n\nexport interface DynamicShadowDiagnostics {\n enabled: boolean;\n casterCount: number;\n receiverCount: number;\n generator: {\n className: string | null;\n mapSize: unknown;\n darkness: number | null;\n bias: number | null;\n normalBias: number | null;\n blurKernel: number | null;\n renderListCount: number;\n useCsm: boolean;\n } | null;\n params: DynamicShadowParams;\n bounds: {\n world: DynamicShadowWorldBounds;\n lightOrtho: DynamicShadowLightOrthoBounds;\n texelSize: number;\n cameraProjection: 'orthographic' | 'perspective' | 'none';\n } | null;\n fallbackReasons: string[];\n}\n\nexport interface DynamicShadowSystem {\n initialize(): void;\n addCaster(mesh: AbstractMesh): boolean;\n removeCaster(mesh: AbstractMesh): void;\n addReceiver(mesh: AbstractMesh): void;\n removeReceiver(mesh: AbstractMesh): void;\n setCamera(camera: Camera | null): void;\n setOptions(options: Partial<DynamicShadowOptions>): void;\n refresh(): void;\n getShadowGenerator(): ShadowGenerator | null;\n getDiagnostics(): DynamicShadowDiagnostics;\n dispose(): void;\n}\n\ntype DynamicShadowReceiverInfo = {\n mesh: AbstractMesh;\n trackedMeshes: AbstractMesh[];\n};\n\ntype DynamicShadowReceiverStateInfo = {\n mesh: AbstractMesh;\n previousReceiveShadows: boolean;\n refCount: number;\n};\n\nconst DEFAULT_DYNAMIC_SHADOW_PARAMS: DynamicShadowParams = {\n opacity: 0.42,\n softness: 0.4,\n bias: 0.001,\n normalBias: 0.01,\n maxDistance: 48,\n resolution: 1024,\n cascadeCount: 2,\n blurKernel: 4,\n};\n\nexport function createDynamicShadowSystem(\n scene: Scene,\n directionalLight: DirectionalLight,\n options: Partial<DynamicShadowOptions> = {},\n): DynamicShadowSystem {\n return new BabylonDynamicShadowSystem(scene, directionalLight, options);\n}\n\nclass BabylonDynamicShadowSystem implements DynamicShadowSystem {\n private options: DynamicShadowOptions;\n private shadowGenerator: ShadowGenerator | null = null;\n private readonly casters = new Set<AbstractMesh>();\n private readonly receivers = new Map<AbstractMesh, DynamicShadowReceiverInfo>();\n private readonly receiverStates = new Map<AbstractMesh, DynamicShadowReceiverStateInfo>();\n private renderObserver: Observer<Scene> | null = null;\n private initialized = false;\n private diagnostics: DynamicShadowDiagnostics;\n private previousSceneShadowsEnabled: boolean | null = null;\n private previousLightShadowEnabled: boolean | null = null;\n private previousLightAutoUpdateExtends: boolean | null = null;\n private previousLightFrustum: DynamicShadowLightOrthoBounds | null = null;\n private useCsmExplicit = false;\n\n constructor(\n private readonly scene: Scene,\n private readonly directionalLight: DirectionalLight,\n options: Partial<DynamicShadowOptions>,\n ) {\n this.useCsmExplicit = hasExplicitUseCsm(options);\n this.options = resolveDynamicShadowOptions(options);\n this.diagnostics = this.createDiagnostics(null, []);\n }\n\n initialize(): void {\n if (this.initialized || !this.options.enabled) return;\n this.previousSceneShadowsEnabled = this.scene.shadowsEnabled;\n this.previousLightShadowEnabled = this.directionalLight.shadowEnabled;\n this.previousLightAutoUpdateExtends = this.directionalLight.autoUpdateExtends;\n this.previousLightFrustum = {\n left: this.directionalLight.orthoLeft,\n right: this.directionalLight.orthoRight,\n top: this.directionalLight.orthoTop,\n bottom: this.directionalLight.orthoBottom,\n minZ: this.directionalLight.shadowMinZ,\n maxZ: this.directionalLight.shadowMaxZ,\n };\n this.scene.shadowsEnabled = true;\n this.directionalLight.shadowEnabled = true;\n this.directionalLight.autoUpdateExtends = false;\n this.ensureShadowGenerator();\n this.renderObserver = this.scene.onBeforeRenderObservable.add(() => this.refresh());\n this.initialized = true;\n this.refresh();\n }\n\n addCaster(mesh: AbstractMesh): boolean {\n if (isDisposed(mesh)) return false;\n this.casters.add(mesh);\n if (!this.options.enabled || !this.initialized) return true;\n this.shadowGenerator?.addShadowCaster(mesh as Parameters<ShadowGenerator['addShadowCaster']>[0], true);\n this.refresh();\n return true;\n }\n\n removeCaster(mesh: AbstractMesh): void {\n this.casters.delete(mesh);\n this.shadowGenerator?.removeShadowCaster(mesh as Parameters<ShadowGenerator['removeShadowCaster']>[0], true);\n this.refresh();\n }\n\n addReceiver(mesh: AbstractMesh): void {\n if (isDisposed(mesh)) return;\n if (!this.receivers.has(mesh)) {\n this.receivers.set(mesh, createReceiverInfo(mesh, this.receiverStates));\n }\n if (!this.options.enabled || !this.initialized) return;\n activateReceiverInfo(this.receivers.get(mesh));\n this.refresh();\n }\n\n removeReceiver(mesh: AbstractMesh): void {\n const info = this.receivers.get(mesh);\n if (info) releaseReceiverInfo(info, this.receiverStates);\n this.receivers.delete(mesh);\n this.refresh();\n }\n\n setCamera(camera: Camera | null): void {\n this.options = {\n ...this.options,\n camera,\n };\n if (this.shadowGenerator) this.shadowGenerator.camera = camera;\n this.refresh();\n }\n\n setOptions(options: Partial<DynamicShadowOptions>): void {\n const previous = this.options;\n if (hasExplicitUseCsm(options)) this.useCsmExplicit = true;\n this.options = resolveDynamicShadowOptions(options, this.options, this.useCsmExplicit);\n if (previous.enabled && !this.options.enabled) {\n this.dispose();\n return;\n }\n const generatorNeedsRecreate = previous.params.resolution !== this.options.params.resolution\n || previous.params.cascadeCount !== this.options.params.cascadeCount\n || previous.useCsm !== this.options.useCsm;\n if (generatorNeedsRecreate && this.initialized) this.recreateShadowGenerator();\n else if (this.shadowGenerator) this.shadowGenerator.camera = this.options.camera ?? null;\n if (!previous.enabled && this.options.enabled) this.initialize();\n else this.refresh();\n }\n\n refresh(): void {\n if (!this.options.enabled || !this.initialized) return;\n this.pruneDisposedEntries();\n const generator = this.ensureShadowGenerator();\n if (!generator) {\n this.diagnostics = this.createDiagnostics(null, ['shadow generator unavailable']);\n return;\n }\n this.applyGeneratorParams(this.options.params);\n this.syncShadowMapRenderList();\n for (const receiver of this.receivers.values()) activateReceiverInfo(receiver);\n const fit = this.fitDirectionalLightBounds();\n this.diagnostics = this.createDiagnostics(fit, []);\n }\n\n getShadowGenerator(): ShadowGenerator | null {\n return this.shadowGenerator;\n }\n\n getDiagnostics(): DynamicShadowDiagnostics {\n return cloneDynamicShadowDiagnostics(this.diagnostics);\n }\n\n dispose(): void {\n if (this.renderObserver) {\n this.scene.onBeforeRenderObservable.remove(this.renderObserver);\n this.renderObserver = null;\n }\n for (const receiver of this.receivers.values()) releaseReceiverInfo(receiver, this.receiverStates);\n this.receiverStates.clear();\n this.receivers.clear();\n this.casters.clear();\n this.shadowGenerator?.dispose();\n this.shadowGenerator = null;\n if (this.previousSceneShadowsEnabled !== null) {\n this.scene.shadowsEnabled = this.previousSceneShadowsEnabled;\n this.previousSceneShadowsEnabled = null;\n }\n if (this.previousLightShadowEnabled !== null) {\n this.directionalLight.shadowEnabled = this.previousLightShadowEnabled;\n this.previousLightShadowEnabled = null;\n }\n if (this.previousLightAutoUpdateExtends !== null) {\n this.directionalLight.autoUpdateExtends = this.previousLightAutoUpdateExtends;\n this.previousLightAutoUpdateExtends = null;\n }\n if (this.previousLightFrustum) {\n this.directionalLight.orthoLeft = this.previousLightFrustum.left;\n this.directionalLight.orthoRight = this.previousLightFrustum.right;\n this.directionalLight.orthoTop = this.previousLightFrustum.top;\n this.directionalLight.orthoBottom = this.previousLightFrustum.bottom;\n this.directionalLight.shadowMinZ = this.previousLightFrustum.minZ;\n this.directionalLight.shadowMaxZ = this.previousLightFrustum.maxZ;\n this.previousLightFrustum = null;\n }\n this.initialized = false;\n this.diagnostics = this.createDiagnostics(null, []);\n }\n\n private ensureShadowGenerator(): ShadowGenerator | null {\n if (this.shadowGenerator) return this.shadowGenerator;\n const params = this.options.params;\n if (this.options.useCsm && params.cascadeCount > 1 && CascadedShadowGenerator.IsSupported) {\n const generator = new CascadedShadowGenerator(\n params.resolution,\n this.directionalLight,\n undefined,\n this.options.camera ?? undefined,\n );\n generator.numCascades = params.cascadeCount;\n generator.stabilizeCascades = true;\n this.shadowGenerator = generator;\n } else {\n this.shadowGenerator = new ShadowGenerator(\n params.resolution,\n this.directionalLight,\n undefined,\n this.options.camera ?? undefined,\n );\n }\n this.applyGeneratorParams(params);\n return this.shadowGenerator;\n }\n\n private recreateShadowGenerator(): void {\n const existingCasters = [...this.casters];\n this.shadowGenerator?.dispose();\n this.shadowGenerator = null;\n const generator = this.ensureShadowGenerator();\n for (const caster of existingCasters) {\n generator?.addShadowCaster(caster as Parameters<ShadowGenerator['addShadowCaster']>[0], true);\n }\n }\n\n private applyGeneratorParams(params: DynamicShadowParams): void {\n const generator = this.shadowGenerator;\n if (!generator) return;\n generator.useBlurExponentialShadowMap = false;\n generator.useKernelBlur = false;\n generator.usePercentageCloserFiltering = true;\n generator.filteringQuality = ShadowGenerator.QUALITY_HIGH;\n generator.setDarkness(clamp01(1 - params.opacity));\n generator.bias = params.bias;\n generator.normalBias = params.normalBias;\n if (generator instanceof CascadedShadowGenerator) {\n generator.numCascades = params.cascadeCount;\n generator.shadowMaxZ = params.maxDistance;\n }\n }\n\n private syncShadowMapRenderList(): void {\n const renderList = this.shadowGenerator?.getShadowMap?.()?.renderList;\n if (!renderList) return;\n renderList.length = 0;\n for (const caster of this.casters) {\n if (!isDisposed(caster)) {\n this.shadowGenerator?.addShadowCaster(caster as Parameters<ShadowGenerator['addShadowCaster']>[0], true);\n }\n }\n }\n\n private fitDirectionalLightBounds(): DynamicShadowDiagnostics['bounds'] {\n const params = this.options.params;\n const points = this.collectCoveragePoints(params);\n if (points.length === 0) return null;\n const worldBounds = boundsFromPoints(points);\n const viewMatrix = createShadowViewMatrix(this.directionalLight);\n const lightPoints = points.map(point => Vector3.TransformCoordinates(point, viewMatrix));\n const lightBounds = boundsFromPoints(lightPoints);\n const padding = readPositiveNumber(this.options.boundsPadding, Math.max(0.5, params.maxDistance * 0.025));\n const rawLeft = lightBounds.min.x - padding;\n const rawRight = lightBounds.max.x + padding;\n const rawBottom = lightBounds.min.y - padding;\n const rawTop = lightBounds.max.y + padding;\n const width = Math.max(1e-4, rawRight - rawLeft);\n const height = Math.max(1e-4, rawTop - rawBottom);\n const texelSize = Math.max(width, height) / params.resolution;\n const bounds = this.options.stableSnapping === false || texelSize <= 0\n ? {\n left: rawLeft,\n right: rawRight,\n bottom: rawBottom,\n top: rawTop,\n minZ: lightBounds.min.z - padding,\n maxZ: lightBounds.max.z + padding,\n }\n : {\n left: Math.floor(rawLeft / texelSize) * texelSize,\n right: Math.ceil(rawRight / texelSize) * texelSize,\n bottom: Math.floor(rawBottom / texelSize) * texelSize,\n top: Math.ceil(rawTop / texelSize) * texelSize,\n minZ: Math.floor((lightBounds.min.z - padding) / texelSize) * texelSize,\n maxZ: Math.ceil((lightBounds.max.z + padding) / texelSize) * texelSize,\n };\n this.directionalLight.orthoLeft = bounds.left;\n this.directionalLight.orthoRight = bounds.right;\n this.directionalLight.orthoBottom = bounds.bottom;\n this.directionalLight.orthoTop = bounds.top;\n this.directionalLight.shadowMinZ = bounds.minZ;\n this.directionalLight.shadowMaxZ = Math.max(this.directionalLight.shadowMinZ + 1, bounds.maxZ);\n return {\n world: {\n min: serializeVec3(worldBounds.min),\n max: serializeVec3(worldBounds.max),\n },\n lightOrtho: {\n left: bounds.left,\n right: bounds.right,\n bottom: bounds.bottom,\n top: bounds.top,\n minZ: this.directionalLight.shadowMinZ,\n maxZ: this.directionalLight.shadowMaxZ,\n },\n texelSize,\n cameraProjection: readCameraProjection(this.options.camera),\n };\n }\n\n private collectCoveragePoints(params: DynamicShadowParams): Vector3[] {\n const points: Vector3[] = [];\n const lightDirection = readLightDirection(this.directionalLight.getShadowDirection(0));\n const shadowOffset = lightDirection.scale(params.maxDistance);\n for (const caster of this.casters) {\n points.push(...readMeshBoundsCorners(caster));\n for (const corner of readMeshBoundsCorners(caster)) points.push(corner.add(shadowOffset));\n }\n for (const receiver of this.receivers.keys()) points.push(...readMeshBoundsCorners(receiver));\n points.push(...readCameraCoveragePoints(this.options.camera, this.scene, params.maxDistance));\n return points.filter(point => Number.isFinite(point.x) && Number.isFinite(point.y) && Number.isFinite(point.z));\n }\n\n private pruneDisposedEntries(): void {\n for (const caster of [...this.casters]) {\n if (isDisposed(caster)) this.casters.delete(caster);\n }\n for (const [receiver, info] of [...this.receivers]) {\n if (isDisposed(receiver)) {\n releaseReceiverInfo(info, this.receiverStates);\n this.receivers.delete(receiver);\n }\n }\n }\n\n private createDiagnostics(\n bounds: DynamicShadowDiagnostics['bounds'],\n fallbackReasons: string[],\n ): DynamicShadowDiagnostics {\n const generator = this.shadowGenerator;\n const renderList = generator?.getShadowMap?.()?.renderList ?? [];\n return {\n enabled: this.options.enabled,\n casterCount: this.casters.size,\n receiverCount: this.receivers.size,\n generator: generator\n ? {\n className: generator.getClassName?.() ?? null,\n mapSize: generator.getShadowMap?.()?.getSize?.() ?? null,\n darkness: generator.getDarkness?.() ?? null,\n bias: generator.bias ?? null,\n normalBias: generator.normalBias ?? null,\n blurKernel: generator.blurKernel ?? null,\n renderListCount: renderList.length,\n useCsm: generator instanceof CascadedShadowGenerator,\n }\n : null,\n params: { ...this.options.params },\n bounds,\n fallbackReasons,\n };\n }\n}\n\nfunction resolveDynamicShadowOptions(\n options: Partial<DynamicShadowOptions>,\n fallback?: DynamicShadowOptions,\n preserveFallbackUseCsm = false,\n): DynamicShadowOptions {\n const params = resolveDynamicShadowParams(options.params, fallback?.params);\n return {\n enabled: options.enabled ?? fallback?.enabled ?? true,\n camera: options.camera ?? fallback?.camera ?? null,\n params,\n useCsm: options.useCsm ?? (preserveFallbackUseCsm ? fallback?.useCsm : undefined) ?? params.cascadeCount > 1,\n boundsPadding: readPositiveNumber(options.boundsPadding, fallback?.boundsPadding ?? Math.max(0.5, params.maxDistance * 0.025)),\n stableSnapping: options.stableSnapping ?? fallback?.stableSnapping ?? true,\n debug: options.debug ?? fallback?.debug ?? false,\n };\n}\n\nfunction hasExplicitUseCsm(options: Partial<DynamicShadowOptions>): boolean {\n return Object.prototype.hasOwnProperty.call(options, 'useCsm') && typeof options.useCsm === 'boolean';\n}\n\nfunction resolveDynamicShadowParams(\n params: Partial<DynamicShadowParams> | undefined,\n fallback: DynamicShadowParams = DEFAULT_DYNAMIC_SHADOW_PARAMS,\n): DynamicShadowParams {\n return {\n opacity: clamp01(readFiniteNumber(params?.opacity, fallback.opacity)),\n softness: clamp01(readFiniteNumber(params?.softness, fallback.softness)),\n bias: readFiniteNumber(params?.bias, fallback.bias),\n normalBias: readFiniteNumber(params?.normalBias, fallback.normalBias),\n maxDistance: readPositiveNumber(params?.maxDistance, fallback.maxDistance),\n resolution: readShadowResolution(params?.resolution, fallback.resolution),\n cascadeCount: readCascadeCount(params?.cascadeCount, fallback.cascadeCount),\n blurKernel: Math.max(0, Math.round(readFiniteNumber(params?.blurKernel, fallback.blurKernel))),\n };\n}\n\nfunction createReceiverInfo(\n mesh: AbstractMesh,\n receiverStates: Map<AbstractMesh, DynamicShadowReceiverStateInfo>,\n): DynamicShadowReceiverInfo {\n const trackedMeshes = [mesh];\n const sourceMesh = (mesh as { sourceMesh?: AbstractMesh }).sourceMesh;\n if (sourceMesh && sourceMesh !== mesh) trackedMeshes.push(sourceMesh);\n for (const trackedMesh of trackedMeshes) acquireReceiverState(trackedMesh, receiverStates);\n return { mesh, trackedMeshes };\n}\n\nfunction activateReceiverInfo(info: DynamicShadowReceiverInfo | undefined): void {\n if (!info) return;\n for (const mesh of info.trackedMeshes) mesh.receiveShadows = true;\n}\n\nfunction acquireReceiverState(\n mesh: AbstractMesh,\n receiverStates: Map<AbstractMesh, DynamicShadowReceiverStateInfo>,\n): void {\n const existing = receiverStates.get(mesh);\n if (existing) {\n existing.refCount += 1;\n return;\n }\n receiverStates.set(mesh, {\n mesh,\n previousReceiveShadows: mesh.receiveShadows,\n refCount: 1,\n });\n}\n\nfunction releaseReceiverInfo(\n info: DynamicShadowReceiverInfo,\n receiverStates: Map<AbstractMesh, DynamicShadowReceiverStateInfo>,\n): void {\n for (const mesh of info.trackedMeshes) releaseReceiverState(mesh, receiverStates);\n}\n\nfunction releaseReceiverState(\n mesh: AbstractMesh,\n receiverStates: Map<AbstractMesh, DynamicShadowReceiverStateInfo>,\n): void {\n const state = receiverStates.get(mesh);\n if (!state) return;\n state.refCount -= 1;\n if (state.refCount > 0) return;\n state.mesh.receiveShadows = state.previousReceiveShadows;\n receiverStates.delete(mesh);\n}\n\nfunction readMeshBoundsCorners(mesh: AbstractMesh): Vector3[] {\n if (isDisposed(mesh)) return [];\n mesh.computeWorldMatrix(true);\n const bounds = mesh.getHierarchyBoundingVectors(true);\n return createBoundsCorners(bounds.min, bounds.max);\n}\n\nfunction readCameraCoveragePoints(camera: Camera | null | undefined, scene: Scene, maxDistance: number): Vector3[] {\n if (!camera) return [];\n const position = camera.globalPosition ?? camera.position;\n if (!position) return [];\n const forward = safeCameraDirection(camera, Vector3.Forward(), new Vector3(0, 0, 1));\n const right = safeCameraDirection(camera, Vector3.Right(), new Vector3(1, 0, 0));\n const up = safeCameraDirection(camera, Vector3.Up(), new Vector3(0, 1, 0));\n const farDistance = Math.max(1, Math.min(maxDistance, readPositiveNumber(camera.maxZ, maxDistance)));\n const nearDistance = Math.max(0.1, Math.min(farDistance, readPositiveNumber(camera.minZ, 0.1)));\n const aspect = readSceneAspect(scene);\n if (camera.mode === Camera.ORTHOGRAPHIC_CAMERA) {\n const halfHeight = Math.max(0.5, Math.abs(readFiniteNumber(camera.orthoTop, 1) - readFiniteNumber(camera.orthoBottom, -1)) * 0.5);\n const halfWidth = Math.max(0.5, Math.abs(readFiniteNumber(camera.orthoRight, aspect) - readFiniteNumber(camera.orthoLeft, -aspect)) * 0.5);\n return [\n ...createCameraPlaneCorners(position.add(forward.scale(nearDistance)), right, up, halfWidth, halfHeight),\n ...createCameraPlaneCorners(position.add(forward.scale(farDistance)), right, up, halfWidth, halfHeight),\n ];\n }\n const fov = readPositiveNumber((camera as { fov?: number }).fov, 0.8);\n const farHalfHeight = Math.tan(fov * 0.5) * farDistance;\n const farHalfWidth = farHalfHeight * aspect;\n const nearHalfHeight = Math.tan(fov * 0.5) * nearDistance;\n const nearHalfWidth = nearHalfHeight * aspect;\n return [\n ...createCameraPlaneCorners(position.add(forward.scale(nearDistance)), right, up, nearHalfWidth, nearHalfHeight),\n ...createCameraPlaneCorners(position.add(forward.scale(farDistance)), right, up, farHalfWidth, farHalfHeight),\n ];\n}\n\nfunction createCameraPlaneCorners(center: Vector3, right: Vector3, up: Vector3, halfWidth: number, halfHeight: number): Vector3[] {\n return [\n center.add(right.scale(-halfWidth)).add(up.scale(-halfHeight)),\n center.add(right.scale(halfWidth)).add(up.scale(-halfHeight)),\n center.add(right.scale(halfWidth)).add(up.scale(halfHeight)),\n center.add(right.scale(-halfWidth)).add(up.scale(halfHeight)),\n ];\n}\n\nfunction createShadowViewMatrix(light: DirectionalLight): Matrix {\n let lightPosition = light.position;\n if (light.computeTransformedInformation()) {\n lightPosition = light.transformedPosition;\n }\n const lightDirection = readLightDirection(light.getShadowDirection(0));\n if (Math.abs(Vector3.Dot(lightDirection, Vector3.Up())) === 1) {\n lightDirection.z = 1e-13;\n }\n return Matrix.LookAtLH(\n lightPosition,\n lightPosition.add(lightDirection),\n Vector3.Up(),\n );\n}\n\nfunction boundsFromPoints(points: Vector3[]): { min: Vector3; max: Vector3 } {\n const min = new Vector3(Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY);\n const max = new Vector3(Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY);\n for (const point of points) {\n min.minimizeInPlace(point);\n max.maximizeInPlace(point);\n }\n return { min, max };\n}\n\nfunction createBoundsCorners(min: Vector3, max: Vector3): Vector3[] {\n return [\n new Vector3(min.x, min.y, min.z),\n new Vector3(max.x, min.y, min.z),\n new Vector3(max.x, max.y, min.z),\n new Vector3(min.x, max.y, min.z),\n new Vector3(min.x, min.y, max.z),\n new Vector3(max.x, min.y, max.z),\n new Vector3(max.x, max.y, max.z),\n new Vector3(min.x, max.y, max.z),\n ];\n}\n\nfunction safeCameraDirection(camera: Camera, localAxis: Vector3, fallback: Vector3): Vector3 {\n try {\n const direction = camera.getDirection(localAxis);\n if (isFiniteVector(direction) && direction.lengthSquared() > 1e-8) return direction.normalize();\n } catch {\n // Camera direction is best-effort diagnostics input; use a stable fallback.\n }\n return fallback.clone();\n}\n\nfunction readLightDirection(direction: Vector3): Vector3 {\n return isFiniteVector(direction) && direction.lengthSquared() > 1e-8\n ? direction.clone().normalize()\n : new Vector3(-0.3, -1, -0.2).normalize();\n}\n\nfunction readCameraProjection(camera: Camera | null | undefined): 'orthographic' | 'perspective' | 'none' {\n if (!camera) return 'none';\n return camera.mode === Camera.ORTHOGRAPHIC_CAMERA ? 'orthographic' : 'perspective';\n}\n\nfunction readSceneAspect(scene: Scene): number {\n const engine = scene.getEngine();\n const width = Math.max(1, engine.getRenderWidth());\n const height = Math.max(1, engine.getRenderHeight());\n return width / height;\n}\n\nfunction cloneDynamicShadowDiagnostics(diagnostics: DynamicShadowDiagnostics): DynamicShadowDiagnostics {\n return {\n ...diagnostics,\n generator: diagnostics.generator ? { ...diagnostics.generator } : null,\n params: { ...diagnostics.params },\n bounds: diagnostics.bounds\n ? {\n world: {\n min: { ...diagnostics.bounds.world.min },\n max: { ...diagnostics.bounds.world.max },\n },\n lightOrtho: { ...diagnostics.bounds.lightOrtho },\n texelSize: diagnostics.bounds.texelSize,\n cameraProjection: diagnostics.bounds.cameraProjection,\n }\n : null,\n fallbackReasons: [...diagnostics.fallbackReasons],\n };\n}\n\nfunction serializeVec3(value: Vector3): { x: number; y: number; z: number } {\n return { x: value.x, y: value.y, z: value.z };\n}\n\nfunction isFiniteVector(value: Vector3): boolean {\n return Number.isFinite(value.x) && Number.isFinite(value.y) && Number.isFinite(value.z);\n}\n\nfunction isDisposed(mesh: AbstractMesh): boolean {\n return typeof mesh.isDisposed === 'function' && mesh.isDisposed();\n}\n\nfunction readFiniteNumber(value: unknown, fallback: number): number {\n return typeof value === 'number' && Number.isFinite(value) ? value : fallback;\n}\n\nfunction readPositiveNumber(value: unknown, fallback: number): number {\n const number = readFiniteNumber(value, fallback);\n return number > 0 ? number : fallback;\n}\n\nfunction clamp01(value: number): number {\n if (!Number.isFinite(value)) return 0;\n return Math.min(1, Math.max(0, value));\n}\n\nfunction readShadowResolution(\n value: unknown,\n fallback: DynamicShadowParams['resolution'],\n): DynamicShadowParams['resolution'] {\n return value === 512 || value === 1024 || value === 2048 || value === 4096\n ? value\n : fallback;\n}\n\nfunction readCascadeCount(\n value: unknown,\n fallback: DynamicShadowParams['cascadeCount'],\n): DynamicShadowParams['cascadeCount'] {\n return value === 1 || value === 2 || value === 4 ? value : fallback;\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Keep Babylon's lazily loaded ShadowGenerator shaders registered against the
|
|
3
|
+
* same ShaderStore instance as the renderer. Packed Vite consumers can serve
|
|
4
|
+
* ShadowGenerator's relative dynamic imports from a second pnpm module graph.
|
|
5
|
+
*/
|
|
6
|
+
import '@babylonjs/core/Shaders/shadowMap.fragment.js';
|
|
7
|
+
import '@babylonjs/core/Shaders/shadowMap.vertex.js';
|
|
8
|
+
import '@babylonjs/core/Shaders/depthBoxBlur.fragment.js';
|
|
9
|
+
import '@babylonjs/core/Shaders/ShadersInclude/shadowMapFragmentSoftTransparentShadow.js';
|
|
10
|
+
import '@babylonjs/core/ShadersWGSL/shadowMap.fragment.js';
|
|
11
|
+
import '@babylonjs/core/ShadersWGSL/shadowMap.vertex.js';
|
|
12
|
+
import '@babylonjs/core/ShadersWGSL/depthBoxBlur.fragment.js';
|
|
13
|
+
import '@babylonjs/core/ShadersWGSL/ShadersInclude/shadowMapFragmentSoftTransparentShadow.js';
|
|
14
|
+
//# sourceMappingURL=shadow-generator-shaders.d.ts.map
|
package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadow-generator-shaders.d.ts","sourceRoot":"","sources":["../../src/shadows/shadow-generator-shaders.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,+CAA+C,CAAC;AACvD,OAAO,6CAA6C,CAAC;AACrD,OAAO,kDAAkD,CAAC;AAC1D,OAAO,kFAAkF,CAAC;AAC1F,OAAO,mDAAmD,CAAC;AAC3D,OAAO,iDAAiD,CAAC;AACzD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,sFAAsF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Keep Babylon's lazily loaded ShadowGenerator shaders registered against the
|
|
3
|
+
* same ShaderStore instance as the renderer. Packed Vite consumers can serve
|
|
4
|
+
* ShadowGenerator's relative dynamic imports from a second pnpm module graph.
|
|
5
|
+
*/
|
|
6
|
+
import '@babylonjs/core/Shaders/shadowMap.fragment.js';
|
|
7
|
+
import '@babylonjs/core/Shaders/shadowMap.vertex.js';
|
|
8
|
+
import '@babylonjs/core/Shaders/depthBoxBlur.fragment.js';
|
|
9
|
+
import '@babylonjs/core/Shaders/ShadersInclude/shadowMapFragmentSoftTransparentShadow.js';
|
|
10
|
+
import '@babylonjs/core/ShadersWGSL/shadowMap.fragment.js';
|
|
11
|
+
import '@babylonjs/core/ShadersWGSL/shadowMap.vertex.js';
|
|
12
|
+
import '@babylonjs/core/ShadersWGSL/depthBoxBlur.fragment.js';
|
|
13
|
+
import '@babylonjs/core/ShadersWGSL/ShadersInclude/shadowMapFragmentSoftTransparentShadow.js';
|
|
14
|
+
//# sourceMappingURL=shadow-generator-shaders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadow-generator-shaders.js","sourceRoot":"","sources":["../../src/shadows/shadow-generator-shaders.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,+CAA+C,CAAC;AACvD,OAAO,6CAA6C,CAAC;AACrD,OAAO,kDAAkD,CAAC;AAC1D,OAAO,kFAAkF,CAAC;AAC1F,OAAO,mDAAmD,CAAC;AAC3D,OAAO,iDAAiD,CAAC;AACzD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,sFAAsF,CAAC","sourcesContent":["/**\n * Keep Babylon's lazily loaded ShadowGenerator shaders registered against the\n * same ShaderStore instance as the renderer. Packed Vite consumers can serve\n * ShadowGenerator's relative dynamic imports from a second pnpm module graph.\n */\nimport '@babylonjs/core/Shaders/shadowMap.fragment.js';\nimport '@babylonjs/core/Shaders/shadowMap.vertex.js';\nimport '@babylonjs/core/Shaders/depthBoxBlur.fragment.js';\nimport '@babylonjs/core/Shaders/ShadersInclude/shadowMapFragmentSoftTransparentShadow.js';\nimport '@babylonjs/core/ShadersWGSL/shadowMap.fragment.js';\nimport '@babylonjs/core/ShadersWGSL/shadowMap.vertex.js';\nimport '@babylonjs/core/ShadersWGSL/depthBoxBlur.fragment.js';\nimport '@babylonjs/core/ShadersWGSL/ShadersInclude/shadowMapFragmentSoftTransparentShadow.js';\n"]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { DirectionalLight } from '@babylonjs/core/Lights/directionalLight.js';
|
|
2
|
+
import { ShadowGenerator } from '@babylonjs/core/Lights/Shadows/shadowGenerator.js';
|
|
3
|
+
import type { AbstractMesh } from '@babylonjs/core/Meshes/abstractMesh.js';
|
|
4
|
+
import type { Scene } from '@babylonjs/core/scene.js';
|
|
5
|
+
import type { ShadowMapExperimentDepthLayer, ShadowMapExperimentDepthRefreshDecision, ShadowMapExperimentDirtyReason, ShadowMapExperimentPlan } from '@fps-games/playable-rendering/runtime';
|
|
6
|
+
export type BabylonShadowMapExperimentBackendMode = 'split-static-dynamic' | 'single-map' | 'single-map-fallback';
|
|
7
|
+
export type BabylonShadowMapExperimentReceiverFilter = 'hard' | 'poisson-low-pcf' | 'native-low-pcf';
|
|
8
|
+
export type BabylonShadowMapExperimentCompositorLifecycleEvent = 'pending' | 'ready' | 'failed';
|
|
9
|
+
export interface BabylonShadowMapExperimentDepthBackendOptions {
|
|
10
|
+
readonly onCompositorLifecycleEvent?: (event: BabylonShadowMapExperimentCompositorLifecycleEvent) => void;
|
|
11
|
+
}
|
|
12
|
+
export interface BabylonShadowMapExperimentDepthLayerEvidence {
|
|
13
|
+
readonly resolution: number;
|
|
14
|
+
readonly candidateMeshCount: number;
|
|
15
|
+
readonly retainedMeshCount: number;
|
|
16
|
+
readonly culledMeshCount: number;
|
|
17
|
+
readonly renderListCount: number;
|
|
18
|
+
readonly refreshCount: number;
|
|
19
|
+
readonly renderCount: number;
|
|
20
|
+
readonly lastRefreshReasons: readonly ShadowMapExperimentDirtyReason[];
|
|
21
|
+
}
|
|
22
|
+
export interface BabylonShadowMapExperimentDepthBackendEvidence {
|
|
23
|
+
readonly backend: BabylonShadowMapExperimentBackendMode;
|
|
24
|
+
readonly fallbackReason: string | null;
|
|
25
|
+
readonly receiverFilter: BabylonShadowMapExperimentReceiverFilter;
|
|
26
|
+
readonly gpuCapability: {
|
|
27
|
+
readonly engine: 'webgl' | 'webgpu';
|
|
28
|
+
readonly maxRenderTextureSize: number;
|
|
29
|
+
readonly halfFloatRender: boolean;
|
|
30
|
+
readonly halfFloatLinearFiltering: boolean;
|
|
31
|
+
readonly splitSupported: boolean;
|
|
32
|
+
};
|
|
33
|
+
readonly textureFormat: 'r-half-float' | 'single-map';
|
|
34
|
+
readonly static: BabylonShadowMapExperimentDepthLayerEvidence;
|
|
35
|
+
readonly dynamic: BabylonShadowMapExperimentDepthLayerEvidence;
|
|
36
|
+
readonly compositeResolution: number;
|
|
37
|
+
readonly compositeRefreshCount: number;
|
|
38
|
+
readonly compositeRenderCount: number;
|
|
39
|
+
readonly compositorReady: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface BabylonShadowMapExperimentDepthBackend {
|
|
42
|
+
readonly generator: ShadowGenerator;
|
|
43
|
+
readonly mode: BabylonShadowMapExperimentBackendMode;
|
|
44
|
+
readonly fallbackReason: string | null;
|
|
45
|
+
getRuntimeFailureReason(): string | null;
|
|
46
|
+
addCaster(mesh: AbstractMesh, layer: ShadowMapExperimentDepthLayer): void;
|
|
47
|
+
removeCaster(mesh: AbstractMesh): void;
|
|
48
|
+
hasCaster(mesh: AbstractMesh, layer?: ShadowMapExperimentDepthLayer): boolean;
|
|
49
|
+
setCandidateCounts(staticCount: number, dynamicCount: number): void;
|
|
50
|
+
refresh(decision: ShadowMapExperimentDepthRefreshDecision): void;
|
|
51
|
+
getEvidence(): BabylonShadowMapExperimentDepthBackendEvidence;
|
|
52
|
+
dispose(): void;
|
|
53
|
+
}
|
|
54
|
+
type AllocationCleanup = () => readonly unknown[];
|
|
55
|
+
export declare function readBabylonShadowMapExperimentAllocationCleanup(error: unknown): AllocationCleanup | null;
|
|
56
|
+
export declare function createBabylonShadowMapExperimentDepthBackend(scene: Scene, light: DirectionalLight, plan: ShadowMapExperimentPlan, options?: BabylonShadowMapExperimentDepthBackendOptions): BabylonShadowMapExperimentDepthBackend;
|
|
57
|
+
export declare function createBabylonShadowMapExperimentSingleDepthBackend(light: DirectionalLight, plan: ShadowMapExperimentPlan, fallbackReason: string): BabylonShadowMapExperimentDepthBackend;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=shadow-map-experiment-depth-backend.d.ts.map
|
|
@@ -0,0 +1 @@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