@fps-games/editor 0.1.3-beta.4 → 0.1.4-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (887) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +3 -2
  4. package/dist/index.js.map +1 -1
  5. package/dist/local-editor-agent-actions.d.ts +38 -0
  6. package/dist/local-editor-agent-actions.d.ts.map +1 -0
  7. package/dist/local-editor-agent-actions.js +134 -0
  8. package/dist/local-editor-agent-actions.js.map +1 -0
  9. package/dist/local-editor-agent-context.d.ts +29 -0
  10. package/dist/local-editor-agent-context.d.ts.map +1 -0
  11. package/dist/local-editor-agent-context.js +266 -0
  12. package/dist/local-editor-agent-context.js.map +1 -0
  13. package/dist/local-editor-harness.d.ts +19 -1
  14. package/dist/local-editor-harness.d.ts.map +1 -1
  15. package/dist/local-editor-harness.js +641 -118
  16. package/dist/local-editor-harness.js.map +1 -1
  17. package/dist/local-editor-viewport-render-coordinator.d.ts.map +1 -1
  18. package/dist/local-editor-viewport-render-coordinator.js +34 -14
  19. package/dist/local-editor-viewport-render-coordinator.js.map +1 -1
  20. package/dist/playable-babylon-facade.d.ts +15 -0
  21. package/dist/playable-babylon-facade.d.ts.map +1 -0
  22. package/dist/playable-babylon-facade.js +12 -0
  23. package/dist/playable-babylon-facade.js.map +1 -0
  24. package/dist/playable-babylon-outline-inspector.d.ts +32 -0
  25. package/dist/playable-babylon-outline-inspector.d.ts.map +1 -0
  26. package/dist/playable-babylon-outline-inspector.js +182 -0
  27. package/dist/playable-babylon-outline-inspector.js.map +1 -0
  28. package/dist/playable-babylon-outline-runtime.d.ts +19 -0
  29. package/dist/playable-babylon-outline-runtime.d.ts.map +1 -0
  30. package/dist/playable-babylon-outline-runtime.js +67 -0
  31. package/dist/playable-babylon-outline-runtime.js.map +1 -0
  32. package/dist/playable-local-editor-host.d.ts +501 -0
  33. package/dist/playable-local-editor-host.d.ts.map +1 -0
  34. package/dist/playable-local-editor-host.js +526 -0
  35. package/dist/playable-local-editor-host.js.map +1 -0
  36. package/dist/playable-sdk.d.ts +8 -0
  37. package/dist/playable-sdk.d.ts.map +1 -0
  38. package/dist/playable-sdk.js +5 -0
  39. package/dist/playable-sdk.js.map +1 -0
  40. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -0
  41. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -0
  42. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +79 -0
  43. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -0
  44. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts +4 -0
  45. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts.map +1 -0
  46. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js +4 -0
  47. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js.map +1 -0
  48. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts +3 -0
  49. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts.map +1 -0
  50. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +26 -0
  51. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -0
  52. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +13 -0
  53. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -0
  54. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +6 -0
  55. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -0
  56. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
  57. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
  58. package/node_modules/@fps-games/babylon-renderer/dist/index.js +7 -4
  59. package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
  60. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts +4 -0
  61. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts.map +1 -0
  62. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js +45 -0
  63. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js.map +1 -0
  64. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts +3 -0
  65. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts.map +1 -0
  66. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js +2 -0
  67. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js.map +1 -0
  68. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts +7 -0
  69. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts.map +1 -0
  70. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js +2 -0
  71. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js.map +1 -0
  72. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts +3 -0
  73. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts.map +1 -0
  74. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js +2 -0
  75. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js.map +1 -0
  76. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts +7 -0
  77. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts.map +1 -0
  78. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js +2 -0
  79. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js.map +1 -0
  80. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +5 -0
  81. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -0
  82. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +83 -0
  83. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -0
  84. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts +5 -0
  85. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts.map +1 -0
  86. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js +5 -0
  87. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js.map +1 -0
  88. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts +5 -0
  89. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts.map +1 -0
  90. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js +155 -0
  91. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js.map +1 -0
  92. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +77 -0
  93. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -0
  94. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js +24 -0
  95. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -0
  96. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts +4 -0
  97. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts.map +1 -0
  98. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js +105 -0
  99. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js.map +1 -0
  100. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +1 -1
  101. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +14 -14
  102. package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
  103. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.d.ts.map +1 -1
  104. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +15 -5
  105. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
  106. package/node_modules/@fps-games/editor-babylon/dist/edit-session.js +4 -4
  107. package/node_modules/@fps-games/editor-babylon/dist/editor-world.js +1 -1
  108. package/node_modules/@fps-games/editor-babylon/dist/index.js +24 -24
  109. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts +3 -0
  110. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts.map +1 -0
  111. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js +396 -0
  112. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js.map +1 -0
  113. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts +3 -0
  114. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts.map +1 -1
  115. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js +2 -567
  116. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js.map +1 -1
  117. package/node_modules/@fps-games/editor-babylon/dist/inspector-host.js +4 -4
  118. package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js +4 -4
  119. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +1 -1
  120. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts +3 -2
  121. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts.map +1 -1
  122. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js +401 -96
  123. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js.map +1 -1
  124. package/node_modules/@fps-games/editor-babylon/dist/monitor.js +2 -2
  125. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.d.ts.map +1 -1
  126. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js +7 -23
  127. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js.map +1 -1
  128. package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js +1 -1
  129. package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js.map +1 -1
  130. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +10 -1
  131. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  132. package/node_modules/@fps-games/editor-babylon/dist/projection.js +234 -150
  133. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  134. package/node_modules/@fps-games/editor-babylon/dist/scene-camera-preview.js +1 -1
  135. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +4 -4
  136. package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js +10 -10
  137. package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js.map +1 -1
  138. package/node_modules/@fps-games/editor-babylon/dist/tool-controller.js +1 -1
  139. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +12 -2
  140. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
  141. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +69 -17
  142. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
  143. package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -0
  144. package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
  145. package/node_modules/@fps-games/editor-babylon/package.json +5 -5
  146. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +9 -2
  147. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  148. package/node_modules/@fps-games/editor-browser/dist/index.js +8 -2
  149. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  150. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts +20 -0
  151. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts.map +1 -0
  152. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js +88 -0
  153. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js.map +1 -0
  154. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +12 -0
  155. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -0
  156. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +34 -0
  157. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -0
  158. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +2 -2
  159. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts +55 -0
  160. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -0
  161. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +144 -0
  162. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -0
  163. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
  164. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +40 -7
  165. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
  166. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts +5 -0
  167. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts.map +1 -0
  168. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js +5 -0
  169. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js.map +1 -0
  170. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  171. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +312 -126
  172. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  173. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +43 -0
  174. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -0
  175. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +28 -0
  176. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -0
  177. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +4 -0
  178. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
  179. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +48 -0
  180. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
  181. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +3 -0
  182. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  183. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +182 -20
  184. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  185. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
  186. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
  187. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +24 -0
  188. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
  189. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +2 -0
  190. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  191. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +373 -63
  192. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  193. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts +2 -0
  194. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
  195. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +17 -12
  196. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
  197. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +2 -0
  198. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
  199. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +9 -1
  200. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
  201. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
  202. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +42 -19
  203. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
  204. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts +19 -0
  205. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts.map +1 -0
  206. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js +40 -0
  207. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js.map +1 -0
  208. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts +59 -0
  209. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -0
  210. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +182 -0
  211. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -0
  212. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts +16 -0
  213. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts.map +1 -0
  214. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js +14 -0
  215. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js.map +1 -0
  216. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts +11 -0
  217. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts.map +1 -0
  218. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js +18 -0
  219. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js.map +1 -0
  220. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +1 -1
  221. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +34 -6
  222. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  223. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +14 -0
  224. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
  225. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +88 -37
  226. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
  227. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +16 -2
  228. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  229. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +630 -140
  230. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  231. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts +40 -0
  232. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts.map +1 -0
  233. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js +685 -0
  234. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js.map +1 -0
  235. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts +73 -0
  236. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts.map +1 -0
  237. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js +370 -0
  238. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js.map +1 -0
  239. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts +15 -0
  240. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts.map +1 -0
  241. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js +350 -0
  242. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js.map +1 -0
  243. package/node_modules/@fps-games/editor-browser/package.json +3 -2
  244. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +17 -0
  245. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +1 -0
  246. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +14 -0
  247. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +1 -0
  248. package/node_modules/@fps-games/editor-core/dist/index.d.ts +2 -0
  249. package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
  250. package/node_modules/@fps-games/editor-core/dist/index.js +14 -12
  251. package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
  252. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +9 -0
  253. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
  254. package/node_modules/@fps-games/editor-core/dist/inspector.js +108 -0
  255. package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
  256. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +5 -0
  257. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
  258. package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
  259. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts +27 -0
  260. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts.map +1 -0
  261. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js +35 -0
  262. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js.map +1 -0
  263. package/node_modules/@fps-games/editor-core/package.json +2 -2
  264. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +23 -0
  265. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +1 -0
  266. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +43 -0
  267. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +1 -0
  268. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +1 -0
  269. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
  270. package/node_modules/@fps-games/editor-forge-play/dist/index.js +1 -0
  271. package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
  272. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  273. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts +4 -0
  274. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts.map +1 -0
  275. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js +93 -0
  276. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js.map +1 -0
  277. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts +4 -0
  278. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts.map +1 -0
  279. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js +4 -0
  280. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js.map +1 -0
  281. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts +15 -0
  282. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts.map +1 -0
  283. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js +169 -0
  284. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -0
  285. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts +46 -0
  286. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts.map +1 -0
  287. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js +2 -0
  288. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js.map +1 -0
  289. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +6 -0
  290. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -0
  291. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +64 -0
  292. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -0
  293. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts +4 -0
  294. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -0
  295. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +28 -0
  296. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -0
  297. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +4 -0
  298. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -0
  299. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +3 -0
  300. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -0
  301. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +23 -0
  302. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -0
  303. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js +2 -0
  304. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js.map +1 -0
  305. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +8 -0
  306. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -0
  307. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +120 -0
  308. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -0
  309. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts +3 -0
  310. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts.map +1 -0
  311. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js +19 -0
  312. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js.map +1 -0
  313. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +5 -0
  314. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -0
  315. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +4 -0
  316. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -0
  317. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts +7 -0
  318. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -0
  319. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +35 -0
  320. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -0
  321. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts +33 -0
  322. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts.map +1 -0
  323. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js +2 -0
  324. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js.map +1 -0
  325. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts +5 -0
  326. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts.map +1 -0
  327. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js +5 -0
  328. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js.map +1 -0
  329. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts +4 -0
  330. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts.map +1 -0
  331. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js +22 -0
  332. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js.map +1 -0
  333. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts +3 -0
  334. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts.map +1 -0
  335. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js +42 -0
  336. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js.map +1 -0
  337. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts +27 -0
  338. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts.map +1 -0
  339. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js +2 -0
  340. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js.map +1 -0
  341. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts +3 -0
  342. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts.map +1 -0
  343. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js +36 -0
  344. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js.map +1 -0
  345. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts +4 -0
  346. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts.map +1 -0
  347. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js +4 -0
  348. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js.map +1 -0
  349. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts +11 -0
  350. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts.map +1 -0
  351. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js +66 -0
  352. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js.map +1 -0
  353. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts +4 -0
  354. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts.map +1 -0
  355. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js +4 -0
  356. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js.map +1 -0
  357. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts +7 -0
  358. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts.map +1 -0
  359. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js +51 -0
  360. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js.map +1 -0
  361. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts +7 -0
  362. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts.map +1 -0
  363. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js +60 -0
  364. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js.map +1 -0
  365. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts +4 -0
  366. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts.map +1 -0
  367. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js +4 -0
  368. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js.map +1 -0
  369. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts +24 -0
  370. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts.map +1 -0
  371. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js +2 -0
  372. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js.map +1 -0
  373. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts +3 -0
  374. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -0
  375. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +105 -0
  376. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -0
  377. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts +6 -0
  378. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts.map +1 -0
  379. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js +6 -0
  380. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js.map +1 -0
  381. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts +2 -0
  382. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts.map +1 -0
  383. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js +9 -0
  384. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js.map +1 -0
  385. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts +5 -0
  386. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts.map +1 -0
  387. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js +18 -0
  388. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js.map +1 -0
  389. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts +3 -0
  390. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -0
  391. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +37 -0
  392. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -0
  393. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +54 -0
  394. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -0
  395. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js +2 -0
  396. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -0
  397. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts +5 -0
  398. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts.map +1 -0
  399. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js +5 -0
  400. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js.map +1 -0
  401. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts +8 -0
  402. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts.map +1 -0
  403. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js +26 -0
  404. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js.map +1 -0
  405. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +43 -0
  406. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -0
  407. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js +5 -0
  408. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js.map +1 -0
  409. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts +9 -0
  410. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts.map +1 -0
  411. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js +89 -0
  412. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js.map +1 -0
  413. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts +79 -0
  414. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts.map +1 -0
  415. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js +2 -0
  416. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js.map +1 -0
  417. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts +10 -0
  418. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts.map +1 -0
  419. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js +42 -0
  420. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js.map +1 -0
  421. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts +74 -0
  422. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts.map +1 -0
  423. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js +24 -0
  424. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js.map +1 -0
  425. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts +13 -0
  426. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts.map +1 -0
  427. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js +13 -0
  428. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js.map +1 -0
  429. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts +7 -0
  430. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts.map +1 -0
  431. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js +19 -0
  432. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js.map +1 -0
  433. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts +12 -0
  434. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts.map +1 -0
  435. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js +46 -0
  436. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js.map +1 -0
  437. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts +5 -0
  438. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts.map +1 -0
  439. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js +12 -0
  440. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js.map +1 -0
  441. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts +38 -0
  442. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts.map +1 -0
  443. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js +98 -0
  444. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js.map +1 -0
  445. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts +13 -0
  446. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts.map +1 -0
  447. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js +33 -0
  448. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js.map +1 -0
  449. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts +10 -0
  450. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts.map +1 -0
  451. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js +149 -0
  452. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js.map +1 -0
  453. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts +8 -0
  454. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts.map +1 -0
  455. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js +214 -0
  456. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js.map +1 -0
  457. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts +17 -0
  458. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts.map +1 -0
  459. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js +84 -0
  460. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js.map +1 -0
  461. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts +32 -0
  462. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts.map +1 -0
  463. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js +85 -0
  464. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js.map +1 -0
  465. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts +39 -0
  466. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts.map +1 -0
  467. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js +2 -0
  468. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js.map +1 -0
  469. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts +3 -0
  470. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts.map +1 -0
  471. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js +2 -0
  472. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js.map +1 -0
  473. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts +10 -0
  474. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -0
  475. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js +88 -0
  476. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -0
  477. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +50 -0
  478. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -0
  479. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js +2 -0
  480. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js.map +1 -0
  481. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +3 -0
  482. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -0
  483. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +2 -0
  484. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -0
  485. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +6 -0
  486. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -0
  487. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +31 -0
  488. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -0
  489. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +3 -0
  490. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -0
  491. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +3 -0
  492. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -0
  493. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +112 -0
  494. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -0
  495. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js +2 -0
  496. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -0
  497. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +5 -0
  498. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -0
  499. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +4 -0
  500. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -0
  501. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts +3 -0
  502. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts.map +1 -0
  503. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js +8 -0
  504. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js.map +1 -0
  505. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts +3 -0
  506. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -0
  507. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +201 -0
  508. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -0
  509. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts +28 -0
  510. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts.map +1 -0
  511. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js +2 -0
  512. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js.map +1 -0
  513. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +17 -0
  514. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -0
  515. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +81 -0
  516. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -0
  517. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +27 -0
  518. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -0
  519. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +27 -0
  520. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -0
  521. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts +5 -0
  522. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts.map +1 -0
  523. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js +16 -0
  524. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js.map +1 -0
  525. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +47 -0
  526. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -0
  527. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +545 -0
  528. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -0
  529. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts +7 -0
  530. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts.map +1 -0
  531. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js +15 -0
  532. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js.map +1 -0
  533. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +12 -0
  534. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -0
  535. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +10 -0
  536. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -0
  537. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts +8 -0
  538. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts.map +1 -0
  539. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js +99 -0
  540. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js.map +1 -0
  541. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts +58 -0
  542. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts.map +1 -0
  543. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js +557 -0
  544. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js.map +1 -0
  545. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts +30 -0
  546. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts.map +1 -0
  547. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js +105 -0
  548. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js.map +1 -0
  549. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts +9 -0
  550. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts.map +1 -0
  551. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js +56 -0
  552. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js.map +1 -0
  553. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts +2 -0
  554. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts.map +1 -0
  555. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js +33 -0
  556. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js.map +1 -0
  557. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts +61 -0
  558. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts.map +1 -0
  559. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js +2 -0
  560. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js.map +1 -0
  561. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts +7 -0
  562. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -0
  563. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +61 -0
  564. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -0
  565. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts +4 -0
  566. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts.map +1 -0
  567. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js +48 -0
  568. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js.map +1 -0
  569. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts +6 -0
  570. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts.map +1 -0
  571. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js +16 -0
  572. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js.map +1 -0
  573. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts +9 -0
  574. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts.map +1 -0
  575. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js +9 -0
  576. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js.map +1 -0
  577. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts +19 -0
  578. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts.map +1 -0
  579. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js +95 -0
  580. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js.map +1 -0
  581. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts +8 -0
  582. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts.map +1 -0
  583. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js +162 -0
  584. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js.map +1 -0
  585. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts +10 -0
  586. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts.map +1 -0
  587. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js +71 -0
  588. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js.map +1 -0
  589. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts +13 -0
  590. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts.map +1 -0
  591. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js +34 -0
  592. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js.map +1 -0
  593. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts +7 -0
  594. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts.map +1 -0
  595. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js +108 -0
  596. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js.map +1 -0
  597. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts +72 -0
  598. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts.map +1 -0
  599. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js +2 -0
  600. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js.map +1 -0
  601. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts +4 -0
  602. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts.map +1 -0
  603. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js +4 -0
  604. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js.map +1 -0
  605. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts +13 -0
  606. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts.map +1 -0
  607. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js +70 -0
  608. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js.map +1 -0
  609. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts +7 -0
  610. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts.map +1 -0
  611. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js +86 -0
  612. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js.map +1 -0
  613. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts +31 -0
  614. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts.map +1 -0
  615. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js +2 -0
  616. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js.map +1 -0
  617. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +80 -0
  618. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -0
  619. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js +2 -0
  620. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -0
  621. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +39 -0
  622. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -0
  623. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +371 -0
  624. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -0
  625. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +58 -0
  626. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -0
  627. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +125 -0
  628. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -0
  629. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +11 -0
  630. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -0
  631. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +7 -0
  632. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -0
  633. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts +3 -0
  634. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -0
  635. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +87 -0
  636. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -0
  637. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts +3 -0
  638. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts.map +1 -0
  639. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js +82 -0
  640. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js.map +1 -0
  641. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +37 -0
  642. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -0
  643. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +140 -0
  644. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -0
  645. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts +3 -0
  646. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts.map +1 -0
  647. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js +16 -0
  648. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js.map +1 -0
  649. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +40 -0
  650. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -0
  651. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js +2 -0
  652. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -0
  653. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +13 -0
  654. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -0
  655. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +299 -0
  656. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -0
  657. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts +26 -0
  658. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts.map +1 -0
  659. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js +251 -0
  660. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js.map +1 -0
  661. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts +11 -0
  662. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts.map +1 -0
  663. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js +11 -0
  664. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js.map +1 -0
  665. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +28 -0
  666. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -0
  667. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +188 -0
  668. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -0
  669. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts +26 -0
  670. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts.map +1 -0
  671. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js +222 -0
  672. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js.map +1 -0
  673. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts +15 -0
  674. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts.map +1 -0
  675. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js +97 -0
  676. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js.map +1 -0
  677. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts +6 -0
  678. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts.map +1 -0
  679. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js +128 -0
  680. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js.map +1 -0
  681. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts +3 -0
  682. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts.map +1 -0
  683. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js +259 -0
  684. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js.map +1 -0
  685. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts +22 -0
  686. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts.map +1 -0
  687. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js +49 -0
  688. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js.map +1 -0
  689. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts +433 -0
  690. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -0
  691. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js +2 -0
  692. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js.map +1 -0
  693. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts +5 -0
  694. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -0
  695. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +224 -0
  696. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -0
  697. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts +7 -0
  698. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts.map +1 -0
  699. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js +5 -0
  700. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js.map +1 -0
  701. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts +5 -0
  702. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts.map +1 -0
  703. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js +76 -0
  704. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js.map +1 -0
  705. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts +6 -0
  706. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -0
  707. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +242 -0
  708. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -0
  709. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts +4 -0
  710. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -0
  711. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +30 -0
  712. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -0
  713. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +62 -0
  714. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -0
  715. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js +2 -0
  716. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js.map +1 -0
  717. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +9 -0
  718. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -0
  719. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +131 -0
  720. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -0
  721. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts +3 -0
  722. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts.map +1 -0
  723. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js +3 -0
  724. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js.map +1 -0
  725. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts +41 -0
  726. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts.map +1 -0
  727. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js +2 -0
  728. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js.map +1 -0
  729. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts +8 -0
  730. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts.map +1 -0
  731. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js +45 -0
  732. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js.map +1 -0
  733. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts +6 -0
  734. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts.map +1 -0
  735. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js +6 -0
  736. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js.map +1 -0
  737. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts +3 -0
  738. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -0
  739. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +759 -0
  740. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -0
  741. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +11 -0
  742. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +1 -0
  743. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +512 -0
  744. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +1 -0
  745. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts +4 -0
  746. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts.map +1 -0
  747. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js +73 -0
  748. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js.map +1 -0
  749. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +290 -0
  750. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -0
  751. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js +2 -0
  752. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -0
  753. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts +9 -0
  754. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts.map +1 -0
  755. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +136 -0
  756. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -0
  757. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts +18 -0
  758. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts.map +1 -0
  759. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js +65 -0
  760. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js.map +1 -0
  761. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts +5 -0
  762. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts.map +1 -0
  763. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js +5 -0
  764. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js.map +1 -0
  765. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts +6 -0
  766. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -0
  767. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +211 -0
  768. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -0
  769. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +80 -0
  770. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -0
  771. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js +2 -0
  772. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -0
  773. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts +7 -0
  774. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts.map +1 -0
  775. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js +78 -0
  776. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js.map +1 -0
  777. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +7 -0
  778. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -0
  779. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +73 -0
  780. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -0
  781. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts +10 -0
  782. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -0
  783. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +43 -0
  784. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -0
  785. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts +5 -0
  786. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -0
  787. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +49 -0
  788. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -0
  789. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts +7 -0
  790. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts.map +1 -0
  791. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js +7 -0
  792. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js.map +1 -0
  793. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts +7 -0
  794. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -0
  795. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +81 -0
  796. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -0
  797. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +37 -0
  798. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -0
  799. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js +2 -0
  800. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -0
  801. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts +4 -0
  802. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts.map +1 -0
  803. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js +60 -0
  804. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js.map +1 -0
  805. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +6 -0
  806. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -0
  807. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +164 -0
  808. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -0
  809. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts +5 -0
  810. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts.map +1 -0
  811. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js +4 -0
  812. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js.map +1 -0
  813. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts +6 -0
  814. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -0
  815. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +31 -0
  816. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -0
  817. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts +4 -0
  818. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts.map +1 -0
  819. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js +18 -0
  820. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js.map +1 -0
  821. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts +34 -0
  822. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts.map +1 -0
  823. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js +2 -0
  824. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js.map +1 -0
  825. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts +9 -0
  826. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts.map +1 -0
  827. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js +24 -0
  828. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js.map +1 -0
  829. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts +7 -0
  830. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -0
  831. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +206 -0
  832. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -0
  833. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +7 -0
  834. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -0
  835. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +47 -0
  836. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -0
  837. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +8 -0
  838. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -0
  839. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +6 -0
  840. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -0
  841. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +91 -0
  842. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -0
  843. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +579 -0
  844. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -0
  845. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +14 -0
  846. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -0
  847. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +90 -0
  848. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -0
  849. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +7 -0
  850. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -0
  851. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js +2 -0
  852. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -0
  853. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts +4 -0
  854. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts.map +1 -0
  855. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js +15 -0
  856. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js.map +1 -0
  857. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts +3 -0
  858. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts.map +1 -0
  859. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js +9 -0
  860. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js.map +1 -0
  861. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts +4 -0
  862. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts.map +1 -0
  863. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js +4 -0
  864. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js.map +1 -0
  865. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts +19 -0
  866. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts.map +1 -0
  867. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +268 -0
  868. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -0
  869. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts +7 -0
  870. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts.map +1 -0
  871. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js +38 -0
  872. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js.map +1 -0
  873. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +87 -0
  874. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -0
  875. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js +2 -0
  876. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -0
  877. package/node_modules/@fps-games/editor-playable-sdk/package.json +20 -0
  878. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +113 -0
  879. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -0
  880. package/node_modules/@fps-games/editor-protocol/dist/agent.js +5 -0
  881. package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -0
  882. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +45 -4
  883. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  884. package/node_modules/@fps-games/editor-protocol/dist/index.js +115 -2
  885. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  886. package/node_modules/@fps-games/editor-protocol/package.json +1 -1
  887. package/package.json +13 -7
@@ -0,0 +1,299 @@
1
+ import { findEditorSceneModelRenderer, } from '../document/index.js';
2
+ import { normalizeEditorSceneMaterialSlotOwnerPath, } from './paths.js';
3
+ export function findEditorSceneMaterialAsset(document, materialAssetId) {
4
+ if (!materialAssetId)
5
+ return null;
6
+ return document.scene.materialAssets?.find((materialAsset) => materialAsset.id === materialAssetId) ?? null;
7
+ }
8
+ export function hasEditorSceneMaterialAsset(document, materialAssetId) {
9
+ return !!findEditorSceneMaterialAsset(document, materialAssetId);
10
+ }
11
+ export function createEditorSceneMaterialBindingSummary(binding, materialAsset) {
12
+ if (materialAsset) {
13
+ return {
14
+ state: 'asset',
15
+ materialAssetId: materialAsset.id,
16
+ materialAsset,
17
+ };
18
+ }
19
+ if (binding?.materialAssetId) {
20
+ return {
21
+ state: 'missing-asset',
22
+ materialAssetId: binding.materialAssetId,
23
+ };
24
+ }
25
+ if (binding?.override)
26
+ return { state: 'override' };
27
+ return { state: 'inherit' };
28
+ }
29
+ export function collectEditorSceneMaterialAssetBindingIds(document, materialAssetId) {
30
+ const ids = new Set();
31
+ for (const usage of collectEditorSceneMaterialAssetUsages(document, materialAssetId)) {
32
+ ids.add(usage.gameObjectId);
33
+ }
34
+ return [...ids];
35
+ }
36
+ export function collectEditorSceneMaterialAssetUsages(document, materialAssetId) {
37
+ const targetMaterialAssetId = materialAssetId.trim();
38
+ if (!targetMaterialAssetId)
39
+ return [];
40
+ return collectEditorSceneMaterialAssetReferences(document)
41
+ .filter(usage => usage.materialAssetId === targetMaterialAssetId);
42
+ }
43
+ export function createEditorSceneMaterialAssetOwnershipView(document, materialAssetId, text) {
44
+ const normalizedMaterialAssetId = materialAssetId.trim();
45
+ const usages = collectEditorSceneMaterialAssetUsages(document, normalizedMaterialAssetId);
46
+ const usageCount = usages.length;
47
+ return {
48
+ materialAssetId: normalizedMaterialAssetId,
49
+ usage: {
50
+ count: usageCount,
51
+ items: usages.map(usage => structuredClone(usage)),
52
+ },
53
+ usageCount,
54
+ used: usageCount > 0,
55
+ shared: usageCount > 1,
56
+ ...(text ? {
57
+ usageLabel: text.formatUsageCount(usageCount),
58
+ editImpactLabel: text.formatEditImpact(usageCount),
59
+ duplicateImpactLabel: text.formatDuplicateImpact(usageCount),
60
+ } : {}),
61
+ };
62
+ }
63
+ export function collectEditorSceneMaterialAssetReferences(document) {
64
+ const usages = [];
65
+ for (const gameObject of document.scene.gameObjects) {
66
+ const gameObjectLabel = getEditorSceneMaterialUsageGameObjectLabel(gameObject);
67
+ const rootMaterialAssetId = readEditorSceneMaterialBindingAssetId(gameObject.overrides?.materialBinding);
68
+ if (rootMaterialAssetId) {
69
+ usages.push({
70
+ kind: 'root',
71
+ gameObjectId: gameObject.id,
72
+ gameObjectName: gameObject.name,
73
+ materialAssetId: rootMaterialAssetId,
74
+ bindingPath: 'overrides.materialBinding.materialAssetId',
75
+ label: gameObjectLabel,
76
+ });
77
+ }
78
+ const materialSlots = collectEditorSceneChildMaterialSlots(document, gameObject);
79
+ const materialSlotsBySlotId = new Map(materialSlots
80
+ .filter(slot => !!slot.slotId)
81
+ .map(slot => [slot.slotId, slot]));
82
+ const materialSlotsByOwnerPath = new Map(materialSlots.map(slot => [normalizeEditorSceneMaterialSlotOwnerPath(slot.ownerNodePath), slot]));
83
+ const materialSlotBindings = gameObject.overrides?.materialSlotBindings ?? {};
84
+ for (const [slotId, binding] of Object.entries(materialSlotBindings)) {
85
+ const slotMaterialAssetId = readEditorSceneMaterialBindingAssetId(binding);
86
+ if (!slotMaterialAssetId)
87
+ continue;
88
+ const slot = materialSlotsBySlotId.get(slotId);
89
+ const slotLabel = getEditorSceneMaterialUsageSlotLabel(slot, slotId);
90
+ usages.push({
91
+ kind: 'slot',
92
+ gameObjectId: gameObject.id,
93
+ gameObjectName: gameObject.name,
94
+ materialAssetId: slotMaterialAssetId,
95
+ bindingPath: `overrides.materialSlotBindings.${slotId}.materialAssetId`,
96
+ label: `${gameObjectLabel} / ${slotLabel}`,
97
+ slotId,
98
+ ownerNodePath: slot?.ownerNodePath ?? slotId,
99
+ });
100
+ }
101
+ const childMaterialBindings = gameObject.overrides?.childMaterialBindings ?? {};
102
+ for (const [ownerNodePath, binding] of Object.entries(childMaterialBindings)) {
103
+ const childMaterialAssetId = readEditorSceneMaterialBindingAssetId(binding);
104
+ if (!childMaterialAssetId)
105
+ continue;
106
+ const normalizedOwnerNodePath = normalizeEditorSceneMaterialSlotOwnerPath(ownerNodePath);
107
+ const slot = materialSlotsByOwnerPath.get(normalizedOwnerNodePath);
108
+ const slotLabel = getEditorSceneMaterialUsageSlotLabel(slot, normalizedOwnerNodePath || ownerNodePath);
109
+ usages.push({
110
+ kind: 'legacy-child',
111
+ gameObjectId: gameObject.id,
112
+ gameObjectName: gameObject.name,
113
+ materialAssetId: childMaterialAssetId,
114
+ bindingPath: `overrides.childMaterialBindings.${ownerNodePath}.materialAssetId`,
115
+ label: `${gameObjectLabel} / ${slotLabel}`,
116
+ ownerNodePath: normalizedOwnerNodePath || ownerNodePath,
117
+ });
118
+ }
119
+ }
120
+ return usages;
121
+ }
122
+ export function resolveEditorSceneMaterialAssetIntegrity(document) {
123
+ const materialAssetIds = [...new Set((document.scene.materialAssets ?? [])
124
+ .map(materialAsset => materialAsset.id?.trim())
125
+ .filter((materialAssetId) => !!materialAssetId))];
126
+ const materialAssetIdSet = new Set(materialAssetIds);
127
+ const references = collectEditorSceneMaterialAssetReferences(document);
128
+ const missingReferences = references.filter(usage => !materialAssetIdSet.has(usage.materialAssetId));
129
+ const missingReferencesByAssetId = new Map();
130
+ for (const usage of missingReferences) {
131
+ const usages = missingReferencesByAssetId.get(usage.materialAssetId) ?? [];
132
+ usages.push(usage);
133
+ missingReferencesByAssetId.set(usage.materialAssetId, usages);
134
+ }
135
+ const issues = [...missingReferencesByAssetId.entries()].map(([materialAssetId, usages]) => ({
136
+ kind: 'missing-material-asset',
137
+ materialAssetId,
138
+ usages,
139
+ }));
140
+ return {
141
+ ok: issues.length === 0,
142
+ materialAssetIds,
143
+ references,
144
+ missingMaterialAssetIds: issues.map(issue => issue.materialAssetId),
145
+ missingReferences,
146
+ issues,
147
+ };
148
+ }
149
+ export function collectEditorSceneChildMaterialSlots(document, gameObject) {
150
+ const slots = new Map();
151
+ const ownerNodePaths = new Set();
152
+ for (const slot of readEditorSceneAssetMaterialSlots(document, gameObject)) {
153
+ slots.set(slot.slotId ?? slot.ownerNodePath, slot);
154
+ ownerNodePaths.add(slot.ownerNodePath);
155
+ }
156
+ for (const slotId of Object.keys(gameObject.overrides?.materialSlotBindings ?? {})) {
157
+ if (!slots.has(slotId))
158
+ slots.set(slotId, { slotId, ownerNodePath: slotId, label: slotId });
159
+ }
160
+ for (const ownerNodePath of Object.keys(gameObject.overrides?.childMaterialBindings ?? {})) {
161
+ if (!ownerNodePaths.has(ownerNodePath))
162
+ slots.set(ownerNodePath, { ownerNodePath });
163
+ }
164
+ for (const ownerNodePath of Object.keys(gameObject.overrides?.childMaterials ?? {})) {
165
+ if (!ownerNodePaths.has(ownerNodePath))
166
+ slots.set(ownerNodePath, { ownerNodePath });
167
+ }
168
+ return [...slots.values()].sort((left, right) => left.ownerNodePath.localeCompare(right.ownerNodePath));
169
+ }
170
+ export function readEditorSceneAssetMaterialSlots(document, gameObject) {
171
+ const renderer = findEditorSceneModelRenderer(gameObject);
172
+ if (!renderer)
173
+ return [];
174
+ const asset = document.assets.find((entry) => entry.id === renderer.assetId);
175
+ const rawSlots = asset?.metadata?.materialSlots;
176
+ if (!Array.isArray(rawSlots))
177
+ return [];
178
+ const slots = [];
179
+ for (const rawSlot of rawSlots) {
180
+ const slot = readEditorSceneMaterialSlotDescriptor(rawSlot);
181
+ if (slot)
182
+ slots.push(slot);
183
+ }
184
+ return slots;
185
+ }
186
+ export function readEditorSceneMaterialSlotDescriptor(value) {
187
+ if (typeof value === 'string') {
188
+ const ownerNodePath = normalizeEditorSceneMaterialSlotOwnerPath(value);
189
+ return ownerNodePath ? { ownerNodePath } : null;
190
+ }
191
+ if (!value || typeof value !== 'object' || Array.isArray(value))
192
+ return null;
193
+ const record = value;
194
+ const ownerNodePath = normalizeEditorSceneMaterialSlotOwnerPath(typeof record.ownerNodePath === 'string'
195
+ ? record.ownerNodePath
196
+ : typeof record.path === 'string'
197
+ ? record.path
198
+ : typeof record.name === 'string'
199
+ ? record.name
200
+ : '');
201
+ if (!ownerNodePath)
202
+ return null;
203
+ const label = typeof record.label === 'string' && record.label.trim()
204
+ ? record.label.trim()
205
+ : ownerNodePath;
206
+ const slotId = typeof record.slotId === 'string' && record.slotId.trim() ? record.slotId.trim() : '';
207
+ const nodeIndex = Number.isInteger(record.nodeIndex) ? record.nodeIndex : undefined;
208
+ const meshIndex = Number.isInteger(record.meshIndex) ? record.meshIndex : undefined;
209
+ const sourceMaterialIndex = Number.isInteger(record.sourceMaterialIndex) ? record.sourceMaterialIndex : undefined;
210
+ const sourceMaterialIndices = Array.isArray(record.sourceMaterialIndices)
211
+ ? record.sourceMaterialIndices.filter(Number.isInteger)
212
+ : undefined;
213
+ const materialName = typeof record.materialName === 'string' && record.materialName.trim()
214
+ ? record.materialName.trim()
215
+ : '';
216
+ const materialNames = Array.isArray(record.materialNames)
217
+ ? record.materialNames.filter((item) => typeof item === 'string' && !!item.trim()).map(item => item.trim())
218
+ : undefined;
219
+ const sourceMaterialProfiles = readEditorSceneSourceMaterialProfiles(record.sourceMaterialProfiles);
220
+ return {
221
+ ...(slotId ? { slotId } : {}),
222
+ ownerNodePath,
223
+ label,
224
+ ...(nodeIndex != null ? { nodeIndex } : {}),
225
+ ...(meshIndex != null ? { meshIndex } : {}),
226
+ ...(sourceMaterialIndex != null ? { sourceMaterialIndex } : {}),
227
+ ...(sourceMaterialIndices && sourceMaterialIndices.length > 0 ? { sourceMaterialIndices } : {}),
228
+ ...(materialName ? { materialName } : {}),
229
+ ...(materialNames && materialNames.length > 0 ? { materialNames } : {}),
230
+ ...(sourceMaterialProfiles && sourceMaterialProfiles.length > 0 ? { sourceMaterialProfiles } : {}),
231
+ };
232
+ }
233
+ function readEditorSceneSourceMaterialProfiles(value) {
234
+ if (!Array.isArray(value))
235
+ return undefined;
236
+ const profiles = value
237
+ .map(readEditorSceneSourceMaterialProfile)
238
+ .filter((profile) => !!profile);
239
+ return profiles.length > 0 ? profiles : undefined;
240
+ }
241
+ function readEditorSceneSourceMaterialProfile(value) {
242
+ if (!value || typeof value !== 'object' || Array.isArray(value))
243
+ return null;
244
+ const record = value;
245
+ if (!Number.isInteger(record.sourceMaterialIndex))
246
+ return null;
247
+ const materialName = typeof record.materialName === 'string' && record.materialName.trim()
248
+ ? record.materialName.trim()
249
+ : '';
250
+ const profile = record.profile && typeof record.profile === 'object' && !Array.isArray(record.profile)
251
+ ? record.profile
252
+ : undefined;
253
+ const textureHints = readEditorSceneSourceMaterialTextureHints(record.textureHints);
254
+ return {
255
+ sourceMaterialIndex: record.sourceMaterialIndex,
256
+ ...(materialName ? { materialName } : {}),
257
+ ...(profile ? { profile } : {}),
258
+ ...(textureHints && textureHints.length > 0 ? { textureHints } : {}),
259
+ };
260
+ }
261
+ function readEditorSceneSourceMaterialTextureHints(value) {
262
+ if (!Array.isArray(value))
263
+ return undefined;
264
+ const hints = value
265
+ .map(readEditorSceneSourceMaterialTextureHint)
266
+ .filter((hint) => !!hint);
267
+ return hints.length > 0 ? hints : undefined;
268
+ }
269
+ function readEditorSceneSourceMaterialTextureHint(value) {
270
+ if (!value || typeof value !== 'object' || Array.isArray(value))
271
+ return null;
272
+ const record = value;
273
+ const profilePath = typeof record.profilePath === 'string' && record.profilePath.trim() ? record.profilePath.trim() : '';
274
+ const reason = typeof record.reason === 'string' && record.reason.trim() ? record.reason.trim() : '';
275
+ if (!profilePath || !reason)
276
+ return null;
277
+ return {
278
+ profilePath,
279
+ reason,
280
+ ...(Number.isInteger(record.textureIndex) ? { textureIndex: record.textureIndex } : {}),
281
+ ...(Number.isInteger(record.imageIndex) ? { imageIndex: record.imageIndex } : {}),
282
+ ...(Number.isInteger(record.bufferView) ? { bufferView: record.bufferView } : {}),
283
+ ...(typeof record.mimeType === 'string' && record.mimeType.trim() ? { mimeType: record.mimeType.trim() } : {}),
284
+ ...(typeof record.uri === 'string' && record.uri.trim() ? { uri: record.uri.trim() } : {}),
285
+ };
286
+ }
287
+ function getEditorSceneMaterialUsageGameObjectLabel(gameObject) {
288
+ return gameObject.name?.trim() || gameObject.id;
289
+ }
290
+ function readEditorSceneMaterialBindingAssetId(binding) {
291
+ return typeof binding?.materialAssetId === 'string' ? binding.materialAssetId.trim() : '';
292
+ }
293
+ function getEditorSceneMaterialUsageSlotLabel(slot, fallback) {
294
+ return slot?.label?.trim()
295
+ || slot?.ownerNodePath?.trim()
296
+ || slot?.slotId?.trim()
297
+ || fallback;
298
+ }
299
+ //# sourceMappingURL=binding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binding.js","sourceRoot":"","sources":["../../src/material-binding/binding.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,yCAAyC,GAC1C,MAAM,SAAS,CAAC;AAg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AAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9G,GAAG,CAAC,OAAO,MAAM,CAAC,GAAG,KAAK,QAAQ,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC3F,CAAC;AACJ,CAAC;AAED,SAAS,0CAA0C,CACjD,UAA8D;IAE9D,OAAO,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,UAAU,CAAC,EAAE,CAAC;AAClD,CAAC;AAED,SAAS,qCAAqC,CAAC,OAAsD;IACnG,OAAO,OAAO,OAAO,EAAE,eAAe,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;AAC5F,CAAC;AAED,SAAS,oCAAoC,CAC3C,IAA0D,EAC1D,QAAgB;IAEhB,OAAO,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;WACrB,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE;WAC3B,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;WACpB,QAAQ,CAAC;AAChB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { EditorSceneArtistMaterialProfile, EditorSceneDuplicateMaterialAssetPatchResult, EditorSceneMaterialAsset, EditorSceneMaterialAssetDeleteState, EditorSceneMaterialDocument, EditorSceneMaterialGameObject } from './types';
2
+ export declare const DEFAULT_EDITOR_SCENE_CREATED_MATERIAL_NAME = "New Material";
3
+ export declare const DEFAULT_EDITOR_SCENE_CREATED_MATERIAL_PROFILE: EditorSceneArtistMaterialProfile;
4
+ export declare function createUniqueEditorSceneMaterialAssetId(document: Pick<EditorSceneMaterialDocument, 'scene'>, seed: string, prefix?: string): string;
5
+ export declare function createEditorSceneCreatedMaterialAsset<TMaterialAsset extends EditorSceneMaterialAsset = EditorSceneMaterialAsset>(document: Pick<EditorSceneMaterialDocument<EditorSceneMaterialGameObject, TMaterialAsset>, 'scene'>, name?: string): TMaterialAsset;
6
+ export declare function createEditorSceneDuplicatedMaterialAsset<TMaterialAsset extends EditorSceneMaterialAsset = EditorSceneMaterialAsset>(document: Pick<EditorSceneMaterialDocument<EditorSceneMaterialGameObject, TMaterialAsset>, 'scene'>, gameObject: Pick<EditorSceneMaterialGameObject, 'id' | 'name'>, sourceMaterialAsset: TMaterialAsset): TMaterialAsset;
7
+ export declare function createEditorSceneDuplicatedMaterialAssetCopy<TMaterialAsset extends EditorSceneMaterialAsset = EditorSceneMaterialAsset>(document: Pick<EditorSceneMaterialDocument<EditorSceneMaterialGameObject, TMaterialAsset>, 'scene'>, sourceMaterialAsset: TMaterialAsset, name?: string): TMaterialAsset;
8
+ export declare function createEditorSceneDuplicateMaterialAssetForBindingPatch<TMaterialAsset extends EditorSceneMaterialAsset = EditorSceneMaterialAsset>(input: {
9
+ document: Pick<EditorSceneMaterialDocument<EditorSceneMaterialGameObject, TMaterialAsset>, 'scene'>;
10
+ gameObject: Pick<EditorSceneMaterialGameObject, 'id' | 'name'>;
11
+ bindingPath: string;
12
+ sourceMaterialAssetId: string;
13
+ isBindingPathAllowed?: (bindingPath: string) => boolean;
14
+ }): EditorSceneDuplicateMaterialAssetPatchResult<TMaterialAsset> | null;
15
+ export declare function patchEditorSceneMaterialAssetField<TDocument extends EditorSceneMaterialDocument = EditorSceneMaterialDocument>(document: TDocument, materialAssetId: string, path: string, value: unknown): TDocument;
16
+ export declare function resolveEditorSceneMaterialAssetDeleteState<TMaterialAsset extends EditorSceneMaterialAsset = EditorSceneMaterialAsset>(document: Pick<EditorSceneMaterialDocument<EditorSceneMaterialGameObject, TMaterialAsset>, 'scene' | 'assets'>, materialAssetId: string, defaultMaterialAssetIds?: readonly string[]): EditorSceneMaterialAssetDeleteState<TMaterialAsset>;
17
+ export declare function deleteEditorSceneMaterialAsset<TDocument extends EditorSceneMaterialDocument = EditorSceneMaterialDocument>(document: TDocument, materialAssetId: string, defaultMaterialAssetIds?: readonly string[]): TDocument;
18
+ export declare function addEditorSceneMaterialAssetAndBind<TDocument extends EditorSceneMaterialDocument = EditorSceneMaterialDocument, TMaterialAsset extends EditorSceneMaterialAsset = EditorSceneMaterialAsset>(document: TDocument, targetId: string, bindingPath: string, materialAsset: TMaterialAsset): TDocument;
19
+ export declare function patchEditorSceneGameObjectMaterialBinding<TDocument extends EditorSceneMaterialDocument = EditorSceneMaterialDocument>(document: TDocument, targetId: string, bindingPath: string, materialAssetId: string): TDocument;
20
+ export declare function validateAndNormalizeEditorSceneMaterialAssetField(path: string, value: unknown): {
21
+ ok: true;
22
+ value: unknown;
23
+ } | {
24
+ ok: false;
25
+ };
26
+ //# sourceMappingURL=duplicate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duplicate.d.ts","sourceRoot":"","sources":["../../src/material-binding/duplicate.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACV,gCAAgC,EAChC,4CAA4C,EAC5C,wBAAwB,EACxB,mCAAmC,EACnC,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,0CAA0C,iBAAiB,CAAC;AAEzE,eAAO,MAAM,6CAA6C,EAAE,gCAe3D,CAAC;AAEF,wBAAgB,sCAAsC,CACpD,QAAQ,EAAE,IAAI,CAAC,2BAA2B,EAAE,OAAO,CAAC,EACpD,IAAI,EAAE,MAAM,EACZ,MAAM,SAAS,GACd,MAAM,CAUR;AAED,wBAAgB,qCAAqC,CACnD,cAAc,SAAS,wBAAwB,GAAG,wBAAwB,EAE1E,QAAQ,EAAE,IAAI,CAAC,2BAA2B,CAAC,6BAA6B,EAAE,cAAc,CAAC,EAAE,OAAO,CA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E,QAAQ,EAAE,IAAI,CAAC,2BAA2B,CAAC,6BAA6B,EAAE,cAAc,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,EAC9G,eAAe,EAAE,MAAM,EACvB,uBAAuB,GAAE,SAAS,MAAM,EAAO,GAC9C,mCAAmC,CAAC,cAAc,CAAC,CA+BrD;AAED,wBAAgB,8BAA8B,CAC5C,SAAS,SAAS,2BAA2B,GAAG,2BAA2B,EAE3E,QAAQ,EAAE,SAAS,EACnB,eAAe,EAAE,MAAM,EACvB,uBAAuB,GAAE,SAAS,MAAM,EAAO,GAC9C,SAAS,CAUX;AAED,wBAAgB,kCAAkC,CAChD,SAAS,SAAS,2BAA2B,GAAG,2BAA2B,EAC3E,cAAc,SAAS,wBAAwB,GAAG,wBAAwB,EAE1E,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,cAAc,GAC5B,SAAS,CASX;AAED,wBAAgB,yCAAyC,CACvD,SAAS,SAAS,2BAA2B,GAAG,2BAA2B,EAE3E,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,MAAM,GACtB,SAAS,CAaX;AAED,wBAAgB,iDAAiD,CAC/D,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,GACb;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAA;CAAE,CAK9C"}
@@ -0,0 +1,251 @@
1
+ import { collectEditorSceneMaterialAssetUsages, findEditorSceneMaterialAsset, hasEditorSceneMaterialAsset, } from './binding.js';
2
+ import { normalizeEditorSceneMaterialAssetValue, readEditorSceneChildMaterialBindingOwnerPath, readEditorSceneMaterialSlotBindingSlotId, sanitizeEditorSceneMaterialAssetIdPart, validateEditorSceneMaterialAssetFieldValue, createEditorSceneMaterialAssetGuid, createEditorSceneMaterialAssetId, } from './paths.js';
3
+ import { isReadonlyEditorSceneMaterialAsset, patchEditorSceneMaterialAsset, resolveEditorSceneMaterialAssetKind, } from './profile.js';
4
+ export const DEFAULT_EDITOR_SCENE_CREATED_MATERIAL_NAME = 'New Material';
5
+ export const DEFAULT_EDITOR_SCENE_CREATED_MATERIAL_PROFILE = {
6
+ lightingModel: 'lit',
7
+ baseColor: {
8
+ color: { r: 1, g: 1, b: 1 },
9
+ brightness: 1,
10
+ saturation: 1,
11
+ contrast: 1,
12
+ hue: 0,
13
+ },
14
+ metallic: 0,
15
+ roughness: 1,
16
+ emission: {
17
+ color: { r: 0, g: 0, b: 0 },
18
+ intensity: 0,
19
+ },
20
+ };
21
+ export function createUniqueEditorSceneMaterialAssetId(document, seed, prefix = 'mat_') {
22
+ const existingIds = new Set((document.scene.materialAssets ?? []).map((materialAsset) => materialAsset.id));
23
+ const base = `${prefix}${sanitizeEditorSceneMaterialAssetIdPart(seed) || 'material'}`;
24
+ let candidate = base;
25
+ let suffix = 2;
26
+ while (existingIds.has(candidate)) {
27
+ candidate = `${base}_${suffix}`;
28
+ suffix += 1;
29
+ }
30
+ return candidate;
31
+ }
32
+ export function createEditorSceneCreatedMaterialAsset(document, name = DEFAULT_EDITOR_SCENE_CREATED_MATERIAL_NAME) {
33
+ const guid = createUniqueEditorSceneMaterialAssetGuid(document);
34
+ return {
35
+ id: createEditorSceneMaterialAssetId(guid),
36
+ guid,
37
+ name: createUniqueEditorSceneMaterialAssetName(document, name),
38
+ materialKind: 'pbr',
39
+ origin: {
40
+ type: 'created',
41
+ },
42
+ profile: structuredClone(DEFAULT_EDITOR_SCENE_CREATED_MATERIAL_PROFILE),
43
+ };
44
+ }
45
+ export function createEditorSceneDuplicatedMaterialAsset(document, gameObject, sourceMaterialAsset) {
46
+ const displayName = gameObject.name?.trim() || gameObject.id;
47
+ const sourceName = sourceMaterialAsset.name?.trim() || sourceMaterialAsset.id;
48
+ const guid = createUniqueEditorSceneMaterialAssetGuid(document);
49
+ return {
50
+ id: createEditorSceneMaterialAssetId(guid),
51
+ guid,
52
+ name: `${displayName} - ${sourceName}`,
53
+ materialKind: resolveEditorSceneMaterialAssetKind(sourceMaterialAsset),
54
+ origin: {
55
+ type: 'duplicated',
56
+ sourceMaterialAssetId: sourceMaterialAsset.id,
57
+ },
58
+ profile: structuredClone(sourceMaterialAsset.profile ?? {}),
59
+ };
60
+ }
61
+ export function createEditorSceneDuplicatedMaterialAssetCopy(document, sourceMaterialAsset, name) {
62
+ const sourceName = sourceMaterialAsset.name?.trim() || sourceMaterialAsset.id;
63
+ const guid = createUniqueEditorSceneMaterialAssetGuid(document);
64
+ return {
65
+ id: createEditorSceneMaterialAssetId(guid),
66
+ guid,
67
+ name: createUniqueEditorSceneMaterialAssetName(document, name ?? `${sourceName} Copy`),
68
+ materialKind: resolveEditorSceneMaterialAssetKind(sourceMaterialAsset),
69
+ origin: {
70
+ type: 'duplicated',
71
+ sourceMaterialAssetId: sourceMaterialAsset.id,
72
+ },
73
+ profile: structuredClone(sourceMaterialAsset.profile ?? {}),
74
+ };
75
+ }
76
+ function createUniqueEditorSceneMaterialAssetGuid(document) {
77
+ const existingIds = new Set((document.scene.materialAssets ?? []).map(materialAsset => materialAsset.id));
78
+ let guid = createEditorSceneMaterialAssetGuid();
79
+ let materialAssetId = createEditorSceneMaterialAssetId(guid);
80
+ while (existingIds.has(materialAssetId)) {
81
+ guid = createEditorSceneMaterialAssetGuid();
82
+ materialAssetId = createEditorSceneMaterialAssetId(guid);
83
+ }
84
+ return guid;
85
+ }
86
+ function createUniqueEditorSceneMaterialAssetName(document, name) {
87
+ const normalized = normalizeEditorSceneMaterialAssetValue('name', name);
88
+ const base = typeof normalized === 'string' && validateEditorSceneMaterialAssetFieldValue('name', normalized)
89
+ ? normalized
90
+ : DEFAULT_EDITOR_SCENE_CREATED_MATERIAL_NAME;
91
+ const existingNames = new Set((document.scene.materialAssets ?? [])
92
+ .map(materialAsset => materialAsset.name?.trim())
93
+ .filter((value) => !!value));
94
+ if (!existingNames.has(base))
95
+ return base;
96
+ let suffix = 2;
97
+ let candidate = `${base} ${suffix}`;
98
+ while (existingNames.has(candidate)) {
99
+ suffix += 1;
100
+ candidate = `${base} ${suffix}`;
101
+ }
102
+ return candidate;
103
+ }
104
+ export function createEditorSceneDuplicateMaterialAssetForBindingPatch(input) {
105
+ const sourceMaterialAsset = findEditorSceneMaterialAsset(input.document, input.sourceMaterialAssetId);
106
+ if (!sourceMaterialAsset)
107
+ return null;
108
+ if (input.isBindingPathAllowed && !input.isBindingPathAllowed(input.bindingPath))
109
+ return null;
110
+ const materialAsset = createEditorSceneDuplicatedMaterialAsset(input.document, input.gameObject, sourceMaterialAsset);
111
+ return {
112
+ patch: {
113
+ kind: 'scene.material-asset.duplicate-and-bind',
114
+ targetId: input.gameObject.id,
115
+ bindingPath: input.bindingPath,
116
+ materialAsset,
117
+ },
118
+ changedId: input.gameObject.id,
119
+ changedIds: [input.gameObject.id],
120
+ reprojectIds: [input.gameObject.id],
121
+ };
122
+ }
123
+ export function patchEditorSceneMaterialAssetField(document, materialAssetId, path, value) {
124
+ const materialAssets = document.scene.materialAssets ?? [];
125
+ let changed = false;
126
+ const nextMaterialAssets = materialAssets.map((materialAsset) => {
127
+ if (materialAsset.id !== materialAssetId)
128
+ return materialAsset;
129
+ const next = patchEditorSceneMaterialAsset(materialAsset, path, normalizeEditorSceneMaterialAssetValue(path, value));
130
+ changed = changed || next !== materialAsset;
131
+ return next;
132
+ });
133
+ if (!changed)
134
+ return document;
135
+ return {
136
+ ...document,
137
+ scene: {
138
+ ...document.scene,
139
+ materialAssets: nextMaterialAssets,
140
+ },
141
+ };
142
+ }
143
+ export function resolveEditorSceneMaterialAssetDeleteState(document, materialAssetId, defaultMaterialAssetIds = []) {
144
+ const materialAsset = findEditorSceneMaterialAsset(document, materialAssetId);
145
+ const usages = collectEditorSceneMaterialAssetUsages(document, materialAssetId);
146
+ if (!materialAsset) {
147
+ return {
148
+ ok: false,
149
+ reason: 'missing',
150
+ usages,
151
+ };
152
+ }
153
+ if (isReadonlyEditorSceneMaterialAsset(materialAsset, defaultMaterialAssetIds)) {
154
+ return {
155
+ ok: false,
156
+ reason: 'readonly',
157
+ materialAsset,
158
+ usages,
159
+ };
160
+ }
161
+ if (usages.length > 0) {
162
+ return {
163
+ ok: false,
164
+ reason: 'in-use',
165
+ materialAsset,
166
+ usages,
167
+ };
168
+ }
169
+ return {
170
+ ok: true,
171
+ materialAsset,
172
+ usages,
173
+ };
174
+ }
175
+ export function deleteEditorSceneMaterialAsset(document, materialAssetId, defaultMaterialAssetIds = []) {
176
+ const deleteState = resolveEditorSceneMaterialAssetDeleteState(document, materialAssetId, defaultMaterialAssetIds);
177
+ if (!deleteState.ok)
178
+ return document;
179
+ return {
180
+ ...document,
181
+ scene: {
182
+ ...document.scene,
183
+ materialAssets: (document.scene.materialAssets ?? []).filter(materialAsset => materialAsset.id !== materialAssetId),
184
+ },
185
+ };
186
+ }
187
+ export function addEditorSceneMaterialAssetAndBind(document, targetId, bindingPath, materialAsset) {
188
+ if (hasEditorSceneMaterialAsset(document, materialAsset.id))
189
+ return document;
190
+ return patchEditorSceneGameObjectMaterialBinding({
191
+ ...document,
192
+ scene: {
193
+ ...document.scene,
194
+ materialAssets: [...(document.scene.materialAssets ?? []), structuredClone(materialAsset)],
195
+ },
196
+ }, targetId, bindingPath, materialAsset.id);
197
+ }
198
+ export function patchEditorSceneGameObjectMaterialBinding(document, targetId, bindingPath, materialAssetId) {
199
+ return {
200
+ ...document,
201
+ scene: {
202
+ ...document.scene,
203
+ gameObjects: document.scene.gameObjects.map((gameObject) => {
204
+ if (gameObject.id !== targetId)
205
+ return gameObject;
206
+ const next = structuredClone(gameObject);
207
+ applyEditorSceneMaterialBindingJsonPatch(next, bindingPath, materialAssetId);
208
+ return next;
209
+ }),
210
+ },
211
+ };
212
+ }
213
+ export function validateAndNormalizeEditorSceneMaterialAssetField(path, value) {
214
+ const normalizedValue = normalizeEditorSceneMaterialAssetValue(path, value);
215
+ return validateEditorSceneMaterialAssetFieldValue(path, normalizedValue)
216
+ ? { ok: true, value: normalizedValue }
217
+ : { ok: false };
218
+ }
219
+ function applyEditorSceneMaterialBindingJsonPatch(target, path, value) {
220
+ const segments = splitEditorSceneMaterialBindingFieldPath(path) ?? path.split('.').filter(Boolean);
221
+ if (segments.some(isUnsafeEditorSceneMaterialBindingPathSegment))
222
+ return;
223
+ let cursor = target;
224
+ for (const segment of segments.slice(0, -1)) {
225
+ const next = cursor[segment];
226
+ if (!next || typeof next !== 'object' || Array.isArray(next)) {
227
+ cursor[segment] = {};
228
+ }
229
+ cursor = cursor[segment];
230
+ }
231
+ const leaf = segments[segments.length - 1];
232
+ if (!leaf)
233
+ return;
234
+ if (value == null)
235
+ delete cursor[leaf];
236
+ else
237
+ cursor[leaf] = structuredClone(value);
238
+ }
239
+ function splitEditorSceneMaterialBindingFieldPath(path) {
240
+ const slotId = readEditorSceneMaterialSlotBindingSlotId(path, 'materialAssetId');
241
+ if (slotId)
242
+ return ['overrides', 'materialSlotBindings', slotId, 'materialAssetId'];
243
+ const ownerNodePath = readEditorSceneChildMaterialBindingOwnerPath(path, 'materialAssetId');
244
+ if (!ownerNodePath)
245
+ return null;
246
+ return ['overrides', 'childMaterialBindings', ownerNodePath, 'materialAssetId'];
247
+ }
248
+ function isUnsafeEditorSceneMaterialBindingPathSegment(segment) {
249
+ return segment === '__proto__' || segment === 'prototype' || segment === 'constructor';
250
+ }
251
+ //# sourceMappingURL=duplicate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duplicate.js","sourceRoot":"","sources":["../../src/material-binding/duplicate.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qCAAqC,EACrC,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,sCAAsC,EACtC,4CAA4C,EAC5C,wCAAwC,EACxC,sCAAsC,EACtC,0CAA0C,EAC1C,kCAAkC,EAClC,gC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preview';
3
+ export * from './paths';
4
+ export * from './profile';
5
+ export * from './binding';
6
+ export * from './resolver';
7
+ export * from './duplicate';
8
+ export * from './reimport';
9
+ export * from './inspector';
10
+ export * from './inspector';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/material-binding/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}