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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (892) 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 +28 -1
  14. package/dist/local-editor-harness.d.ts.map +1 -1
  15. package/dist/local-editor-harness.js +662 -123
  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-babylon-rendering.d.ts +51 -0
  33. package/dist/playable-babylon-rendering.d.ts.map +1 -0
  34. package/dist/playable-babylon-rendering.js +178 -0
  35. package/dist/playable-babylon-rendering.js.map +1 -0
  36. package/dist/playable-local-editor-host.d.ts +511 -0
  37. package/dist/playable-local-editor-host.d.ts.map +1 -0
  38. package/dist/playable-local-editor-host.js +528 -0
  39. package/dist/playable-local-editor-host.js.map +1 -0
  40. package/dist/playable-sdk.d.ts +10 -0
  41. package/dist/playable-sdk.d.ts.map +1 -0
  42. package/dist/playable-sdk.js +6 -0
  43. package/dist/playable-sdk.js.map +1 -0
  44. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts +4 -0
  45. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.d.ts.map +1 -0
  46. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js +79 -0
  47. package/node_modules/@fps-games/babylon-renderer/dist/environment/environment-texture-controller.js.map +1 -0
  48. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts +4 -0
  49. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.d.ts.map +1 -0
  50. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js +4 -0
  51. package/node_modules/@fps-games/babylon-renderer/dist/environment/index.js.map +1 -0
  52. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts +3 -0
  53. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.d.ts.map +1 -0
  54. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js +26 -0
  55. package/node_modules/@fps-games/babylon-renderer/dist/environment/profile.js.map +1 -0
  56. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts +13 -0
  57. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.d.ts.map +1 -0
  58. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js +6 -0
  59. package/node_modules/@fps-games/babylon-renderer/dist/environment/types.js.map +1 -0
  60. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
  61. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
  62. package/node_modules/@fps-games/babylon-renderer/dist/index.js +7 -4
  63. package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
  64. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts +4 -0
  65. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.d.ts.map +1 -0
  66. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js +45 -0
  67. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/apply.js.map +1 -0
  68. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts +3 -0
  69. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.d.ts.map +1 -0
  70. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js +2 -0
  71. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/index.js.map +1 -0
  72. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts +7 -0
  73. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.d.ts.map +1 -0
  74. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js +2 -0
  75. package/node_modules/@fps-games/babylon-renderer/dist/outlines/babylon-default/types.js.map +1 -0
  76. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts +3 -0
  77. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.d.ts.map +1 -0
  78. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js +2 -0
  79. package/node_modules/@fps-games/babylon-renderer/dist/outlines/index.js.map +1 -0
  80. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts +7 -0
  81. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.d.ts.map +1 -0
  82. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js +2 -0
  83. package/node_modules/@fps-games/babylon-renderer/dist/outlines/types.js.map +1 -0
  84. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +5 -0
  85. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -0
  86. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +83 -0
  87. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -0
  88. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts +5 -0
  89. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.d.ts.map +1 -0
  90. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js +5 -0
  91. package/node_modules/@fps-games/babylon-renderer/dist/post-process/index.js.map +1 -0
  92. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts +5 -0
  93. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.d.ts.map +1 -0
  94. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js +155 -0
  95. package/node_modules/@fps-games/babylon-renderer/dist/post-process/profile.js.map +1 -0
  96. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +77 -0
  97. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -0
  98. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js +24 -0
  99. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -0
  100. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts +4 -0
  101. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.d.ts.map +1 -0
  102. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js +105 -0
  103. package/node_modules/@fps-games/babylon-renderer/dist/post-process/volume-stack.js.map +1 -0
  104. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +1 -1
  105. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +14 -14
  106. package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
  107. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.d.ts.map +1 -1
  108. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +99 -28
  109. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
  110. package/node_modules/@fps-games/editor-babylon/dist/edit-session.js +4 -4
  111. package/node_modules/@fps-games/editor-babylon/dist/editor-world.js +1 -1
  112. package/node_modules/@fps-games/editor-babylon/dist/index.js +24 -24
  113. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts +3 -0
  114. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.d.ts.map +1 -0
  115. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js +396 -0
  116. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid-layer.js.map +1 -0
  117. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts +3 -0
  118. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.d.ts.map +1 -1
  119. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js +2 -567
  120. package/node_modules/@fps-games/editor-babylon/dist/infinite-grid.js.map +1 -1
  121. package/node_modules/@fps-games/editor-babylon/dist/inspector-host.js +4 -4
  122. package/node_modules/@fps-games/editor-babylon/dist/legacy-runtime.js +4 -4
  123. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +1 -1
  124. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts +3 -2
  125. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts.map +1 -1
  126. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js +401 -96
  127. package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js.map +1 -1
  128. package/node_modules/@fps-games/editor-babylon/dist/monitor.js +2 -2
  129. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.d.ts.map +1 -1
  130. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js +7 -23
  131. package/node_modules/@fps-games/editor-babylon/dist/outline-adapter.js.map +1 -1
  132. package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js +1 -1
  133. package/node_modules/@fps-games/editor-babylon/dist/projection-selection-controller.js.map +1 -1
  134. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +10 -1
  135. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  136. package/node_modules/@fps-games/editor-babylon/dist/projection.js +258 -151
  137. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  138. package/node_modules/@fps-games/editor-babylon/dist/scene-camera-preview.js +1 -1
  139. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +4 -4
  140. package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js +10 -10
  141. package/node_modules/@fps-games/editor-babylon/dist/scene-view-input-controller.js.map +1 -1
  142. package/node_modules/@fps-games/editor-babylon/dist/tool-controller.js +1 -1
  143. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +12 -2
  144. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
  145. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +69 -17
  146. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
  147. package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -0
  148. package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
  149. package/node_modules/@fps-games/editor-babylon/package.json +5 -5
  150. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +9 -2
  151. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  152. package/node_modules/@fps-games/editor-browser/dist/index.js +8 -2
  153. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  154. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts +20 -0
  155. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.d.ts.map +1 -0
  156. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js +88 -0
  157. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-clipboard.js.map +1 -0
  158. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +12 -0
  159. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -0
  160. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +34 -0
  161. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -0
  162. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +2 -2
  163. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts +55 -0
  164. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -0
  165. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +144 -0
  166. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -0
  167. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
  168. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +45 -10
  169. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
  170. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts +5 -0
  171. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.d.ts.map +1 -0
  172. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js +5 -0
  173. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-auto-scroll.js.map +1 -0
  174. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  175. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +312 -126
  176. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  177. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +43 -0
  178. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -0
  179. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +28 -0
  180. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -0
  181. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +4 -0
  182. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
  183. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +48 -0
  184. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
  185. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +3 -0
  186. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  187. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +182 -20
  188. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  189. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
  190. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
  191. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +24 -0
  192. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
  193. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +2 -0
  194. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  195. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +373 -63
  196. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  197. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts +2 -0
  198. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
  199. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +17 -12
  200. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
  201. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +2 -0
  202. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
  203. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +9 -1
  204. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
  205. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
  206. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +42 -19
  207. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
  208. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts +19 -0
  209. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.d.ts.map +1 -0
  210. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js +40 -0
  211. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-auto-scroll.js.map +1 -0
  212. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts +59 -0
  213. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -0
  214. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +182 -0
  215. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -0
  216. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts +16 -0
  217. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.d.ts.map +1 -0
  218. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js +14 -0
  219. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-preview.js.map +1 -0
  220. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts +11 -0
  221. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.d.ts.map +1 -0
  222. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js +18 -0
  223. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-session.js.map +1 -0
  224. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +1 -1
  225. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +34 -6
  226. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  227. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +14 -0
  228. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
  229. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +88 -37
  230. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
  231. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +16 -2
  232. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  233. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +630 -140
  234. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  235. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts +40 -0
  236. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts.map +1 -0
  237. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js +685 -0
  238. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js.map +1 -0
  239. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts +73 -0
  240. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts.map +1 -0
  241. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js +370 -0
  242. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js.map +1 -0
  243. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts +15 -0
  244. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts.map +1 -0
  245. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js +350 -0
  246. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js.map +1 -0
  247. package/node_modules/@fps-games/editor-browser/package.json +3 -2
  248. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +17 -0
  249. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +1 -0
  250. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +14 -0
  251. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +1 -0
  252. package/node_modules/@fps-games/editor-core/dist/index.d.ts +2 -0
  253. package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
  254. package/node_modules/@fps-games/editor-core/dist/index.js +14 -12
  255. package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
  256. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +9 -0
  257. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
  258. package/node_modules/@fps-games/editor-core/dist/inspector.js +108 -0
  259. package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
  260. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +5 -0
  261. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
  262. package/node_modules/@fps-games/editor-core/dist/scene-graph.js +2 -0
  263. package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
  264. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts +27 -0
  265. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.d.ts.map +1 -0
  266. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js +35 -0
  267. package/node_modules/@fps-games/editor-core/dist/transform-operation-policy.js.map +1 -0
  268. package/node_modules/@fps-games/editor-core/package.json +2 -2
  269. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +23 -0
  270. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +1 -0
  271. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +43 -0
  272. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +1 -0
  273. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +1 -0
  274. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
  275. package/node_modules/@fps-games/editor-forge-play/dist/index.js +1 -0
  276. package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
  277. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  278. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts +4 -0
  279. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.d.ts.map +1 -0
  280. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js +93 -0
  281. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/drop-cache.js.map +1 -0
  282. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts +4 -0
  283. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.d.ts.map +1 -0
  284. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js +4 -0
  285. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/index.js.map +1 -0
  286. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts +15 -0
  287. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.d.ts.map +1 -0
  288. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js +169 -0
  289. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/payload.js.map +1 -0
  290. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts +46 -0
  291. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.d.ts.map +1 -0
  292. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js +2 -0
  293. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-bridge/types.js.map +1 -0
  294. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +6 -0
  295. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -0
  296. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +64 -0
  297. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -0
  298. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts +4 -0
  299. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -0
  300. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +28 -0
  301. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -0
  302. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +4 -0
  303. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -0
  304. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +3 -0
  305. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -0
  306. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +23 -0
  307. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -0
  308. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js +2 -0
  309. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.js.map +1 -0
  310. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +8 -0
  311. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -0
  312. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +120 -0
  313. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -0
  314. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts +3 -0
  315. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.d.ts.map +1 -0
  316. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js +19 -0
  317. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/identity.js.map +1 -0
  318. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +5 -0
  319. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -0
  320. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +4 -0
  321. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -0
  322. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts +7 -0
  323. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -0
  324. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +35 -0
  325. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -0
  326. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts +33 -0
  327. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts.map +1 -0
  328. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js +2 -0
  329. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.js.map +1 -0
  330. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts +5 -0
  331. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.d.ts.map +1 -0
  332. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js +5 -0
  333. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/index.js.map +1 -0
  334. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts +4 -0
  335. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.d.ts.map +1 -0
  336. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js +22 -0
  337. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/result.js.map +1 -0
  338. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts +3 -0
  339. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.d.ts.map +1 -0
  340. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js +42 -0
  341. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/transport.js.map +1 -0
  342. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts +27 -0
  343. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.d.ts.map +1 -0
  344. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js +2 -0
  345. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/types.js.map +1 -0
  346. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts +3 -0
  347. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.d.ts.map +1 -0
  348. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js +36 -0
  349. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-registration/workflow.js.map +1 -0
  350. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts +4 -0
  351. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.d.ts.map +1 -0
  352. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js +4 -0
  353. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/constants.js.map +1 -0
  354. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts +11 -0
  355. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.d.ts.map +1 -0
  356. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js +66 -0
  357. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/drift.js.map +1 -0
  358. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts +4 -0
  359. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.d.ts.map +1 -0
  360. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js +4 -0
  361. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/index.js.map +1 -0
  362. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts +7 -0
  363. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.d.ts.map +1 -0
  364. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js +51 -0
  365. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring/source.js.map +1 -0
  366. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts +7 -0
  367. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.d.ts.map +1 -0
  368. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js +60 -0
  369. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/client.js.map +1 -0
  370. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts +4 -0
  371. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.d.ts.map +1 -0
  372. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js +4 -0
  373. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/index.js.map +1 -0
  374. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts +24 -0
  375. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.d.ts.map +1 -0
  376. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js +2 -0
  377. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-client/types.js.map +1 -0
  378. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts +3 -0
  379. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -0
  380. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +105 -0
  381. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -0
  382. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts +6 -0
  383. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.d.ts.map +1 -0
  384. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js +6 -0
  385. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/index.js.map +1 -0
  386. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts +2 -0
  387. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.d.ts.map +1 -0
  388. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js +9 -0
  389. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/payload.js.map +1 -0
  390. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts +5 -0
  391. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.d.ts.map +1 -0
  392. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js +18 -0
  393. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/response.js.map +1 -0
  394. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts +3 -0
  395. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -0
  396. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +37 -0
  397. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -0
  398. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +54 -0
  399. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -0
  400. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js +2 -0
  401. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -0
  402. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts +5 -0
  403. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.d.ts.map +1 -0
  404. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js +5 -0
  405. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/index.js.map +1 -0
  406. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts +8 -0
  407. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.d.ts.map +1 -0
  408. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js +26 -0
  409. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/payload.js.map +1 -0
  410. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +43 -0
  411. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -0
  412. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js +5 -0
  413. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.js.map +1 -0
  414. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts +9 -0
  415. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.d.ts.map +1 -0
  416. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js +89 -0
  417. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/readers.js.map +1 -0
  418. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts +79 -0
  419. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.d.ts.map +1 -0
  420. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js +2 -0
  421. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/types.js.map +1 -0
  422. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts +10 -0
  423. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.d.ts.map +1 -0
  424. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js +42 -0
  425. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/binding.js.map +1 -0
  426. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts +74 -0
  427. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.d.ts.map +1 -0
  428. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js +24 -0
  429. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/fields.js.map +1 -0
  430. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts +13 -0
  431. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.d.ts.map +1 -0
  432. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js +13 -0
  433. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/index.js.map +1 -0
  434. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts +7 -0
  435. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.d.ts.map +1 -0
  436. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js +19 -0
  437. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/math.js.map +1 -0
  438. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts +12 -0
  439. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.d.ts.map +1 -0
  440. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js +46 -0
  441. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/pan.js.map +1 -0
  442. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts +5 -0
  443. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.d.ts.map +1 -0
  444. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js +12 -0
  445. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-format.js.map +1 -0
  446. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts +38 -0
  447. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.d.ts.map +1 -0
  448. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js +98 -0
  449. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-state.js.map +1 -0
  450. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts +13 -0
  451. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.d.ts.map +1 -0
  452. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js +33 -0
  453. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-storage.js.map +1 -0
  454. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts +10 -0
  455. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.d.ts.map +1 -0
  456. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js +149 -0
  457. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/panel-text.js.map +1 -0
  458. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts +8 -0
  459. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.d.ts.map +1 -0
  460. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js +214 -0
  461. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/rig.js.map +1 -0
  462. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts +17 -0
  463. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.d.ts.map +1 -0
  464. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js +84 -0
  465. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/save-patch.js.map +1 -0
  466. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts +32 -0
  467. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.d.ts.map +1 -0
  468. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js +85 -0
  469. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/snapshot.js.map +1 -0
  470. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts +39 -0
  471. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.d.ts.map +1 -0
  472. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js +2 -0
  473. package/node_modules/@fps-games/editor-playable-sdk/dist/camera-debug/types.js.map +1 -0
  474. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts +3 -0
  475. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.d.ts.map +1 -0
  476. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js +2 -0
  477. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/index.js.map +1 -0
  478. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts +10 -0
  479. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.d.ts.map +1 -0
  480. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js +88 -0
  481. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/transform.js.map +1 -0
  482. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts +50 -0
  483. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.d.ts.map +1 -0
  484. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js +2 -0
  485. package/node_modules/@fps-games/editor-playable-sdk/dist/commands/types.js.map +1 -0
  486. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts +3 -0
  487. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.d.ts.map +1 -0
  488. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js +2 -0
  489. package/node_modules/@fps-games/editor-playable-sdk/dist/core-contracts/index.js.map +1 -0
  490. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +6 -0
  491. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -0
  492. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +31 -0
  493. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -0
  494. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +3 -0
  495. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -0
  496. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +3 -0
  497. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -0
  498. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +112 -0
  499. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -0
  500. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js +2 -0
  501. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -0
  502. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +5 -0
  503. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -0
  504. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +4 -0
  505. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -0
  506. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts +3 -0
  507. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.d.ts.map +1 -0
  508. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js +8 -0
  509. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/resolver.js.map +1 -0
  510. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts +3 -0
  511. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -0
  512. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +201 -0
  513. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -0
  514. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts +28 -0
  515. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.d.ts.map +1 -0
  516. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js +2 -0
  517. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/types.js.map +1 -0
  518. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +17 -0
  519. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -0
  520. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +81 -0
  521. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -0
  522. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +27 -0
  523. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -0
  524. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +27 -0
  525. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -0
  526. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts +5 -0
  527. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.d.ts.map +1 -0
  528. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js +16 -0
  529. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-property.js.map +1 -0
  530. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +47 -0
  531. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -0
  532. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +545 -0
  533. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -0
  534. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts +7 -0
  535. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.d.ts.map +1 -0
  536. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js +15 -0
  537. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/format.js.map +1 -0
  538. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +12 -0
  539. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -0
  540. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +10 -0
  541. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -0
  542. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts +8 -0
  543. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.d.ts.map +1 -0
  544. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js +99 -0
  545. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/readonly.js.map +1 -0
  546. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts +58 -0
  547. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.d.ts.map +1 -0
  548. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js +557 -0
  549. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-sections.js.map +1 -0
  550. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts +30 -0
  551. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.d.ts.map +1 -0
  552. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js +105 -0
  553. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime-summary.js.map +1 -0
  554. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts +9 -0
  555. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.d.ts.map +1 -0
  556. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js +56 -0
  557. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/runtime.js.map +1 -0
  558. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts +2 -0
  559. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.d.ts.map +1 -0
  560. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js +33 -0
  561. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/safe-value.js.map +1 -0
  562. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts +61 -0
  563. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.d.ts.map +1 -0
  564. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js +2 -0
  565. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/types.js.map +1 -0
  566. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts +7 -0
  567. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -0
  568. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +61 -0
  569. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -0
  570. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts +4 -0
  571. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.d.ts.map +1 -0
  572. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js +48 -0
  573. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/binding.js.map +1 -0
  574. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts +6 -0
  575. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.d.ts.map +1 -0
  576. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js +16 -0
  577. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/fields.js.map +1 -0
  578. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts +9 -0
  579. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.d.ts.map +1 -0
  580. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js +9 -0
  581. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/index.js.map +1 -0
  582. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts +19 -0
  583. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts.map +1 -0
  584. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js +95 -0
  585. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js.map +1 -0
  586. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts +8 -0
  587. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.d.ts.map +1 -0
  588. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js +162 -0
  589. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/save-patch.js.map +1 -0
  590. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts +10 -0
  591. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.d.ts.map +1 -0
  592. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js +71 -0
  593. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/snapshot.js.map +1 -0
  594. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts +13 -0
  595. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.d.ts.map +1 -0
  596. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js +34 -0
  597. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/storage.js.map +1 -0
  598. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts +7 -0
  599. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.d.ts.map +1 -0
  600. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js +108 -0
  601. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/text.js.map +1 -0
  602. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts +72 -0
  603. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.d.ts.map +1 -0
  604. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js +2 -0
  605. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/types.js.map +1 -0
  606. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts +4 -0
  607. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.d.ts.map +1 -0
  608. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js +4 -0
  609. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/index.js.map +1 -0
  610. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts +13 -0
  611. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.d.ts.map +1 -0
  612. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js +70 -0
  613. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/math.js.map +1 -0
  614. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts +7 -0
  615. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.d.ts.map +1 -0
  616. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js +86 -0
  617. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/profile.js.map +1 -0
  618. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts +31 -0
  619. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.d.ts.map +1 -0
  620. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js +2 -0
  621. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-preview/types.js.map +1 -0
  622. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +80 -0
  623. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -0
  624. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js +2 -0
  625. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -0
  626. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +39 -0
  627. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -0
  628. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +371 -0
  629. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -0
  630. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +58 -0
  631. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -0
  632. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +125 -0
  633. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -0
  634. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +11 -0
  635. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -0
  636. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +7 -0
  637. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -0
  638. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts +3 -0
  639. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -0
  640. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +87 -0
  641. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -0
  642. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts +3 -0
  643. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.d.ts.map +1 -0
  644. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js +82 -0
  645. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/loading-overlay.js.map +1 -0
  646. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +37 -0
  647. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -0
  648. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +140 -0
  649. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -0
  650. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts +3 -0
  651. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.d.ts.map +1 -0
  652. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js +16 -0
  653. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/timing.js.map +1 -0
  654. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +40 -0
  655. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -0
  656. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js +2 -0
  657. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -0
  658. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +13 -0
  659. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -0
  660. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +299 -0
  661. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -0
  662. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts +26 -0
  663. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.d.ts.map +1 -0
  664. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js +251 -0
  665. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/duplicate.js.map +1 -0
  666. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts +11 -0
  667. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.d.ts.map +1 -0
  668. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js +11 -0
  669. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/index.js.map +1 -0
  670. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +28 -0
  671. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -0
  672. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +188 -0
  673. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -0
  674. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts +26 -0
  675. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.d.ts.map +1 -0
  676. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js +222 -0
  677. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/paths.js.map +1 -0
  678. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts +15 -0
  679. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.d.ts.map +1 -0
  680. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js +97 -0
  681. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/preview.js.map +1 -0
  682. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts +6 -0
  683. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.d.ts.map +1 -0
  684. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js +128 -0
  685. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/profile.js.map +1 -0
  686. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts +3 -0
  687. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.d.ts.map +1 -0
  688. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js +259 -0
  689. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/reimport.js.map +1 -0
  690. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts +22 -0
  691. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.d.ts.map +1 -0
  692. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js +49 -0
  693. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/resolver.js.map +1 -0
  694. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts +433 -0
  695. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -0
  696. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js +2 -0
  697. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.js.map +1 -0
  698. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts +5 -0
  699. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -0
  700. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +224 -0
  701. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -0
  702. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts +7 -0
  703. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts.map +1 -0
  704. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js +5 -0
  705. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js.map +1 -0
  706. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts +5 -0
  707. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.d.ts.map +1 -0
  708. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js +76 -0
  709. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/json-field.js.map +1 -0
  710. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts +6 -0
  711. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -0
  712. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +242 -0
  713. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -0
  714. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts +4 -0
  715. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -0
  716. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +30 -0
  717. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -0
  718. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +62 -0
  719. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -0
  720. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js +2 -0
  721. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.js.map +1 -0
  722. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +9 -0
  723. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -0
  724. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +131 -0
  725. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -0
  726. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts +3 -0
  727. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.d.ts.map +1 -0
  728. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js +3 -0
  729. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/index.js.map +1 -0
  730. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts +41 -0
  731. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.d.ts.map +1 -0
  732. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js +2 -0
  733. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/types.js.map +1 -0
  734. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts +8 -0
  735. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.d.ts.map +1 -0
  736. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js +45 -0
  737. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/draft.js.map +1 -0
  738. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts +6 -0
  739. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.d.ts.map +1 -0
  740. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js +6 -0
  741. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/index.js.map +1 -0
  742. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts +3 -0
  743. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -0
  744. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +759 -0
  745. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -0
  746. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +11 -0
  747. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +1 -0
  748. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +512 -0
  749. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +1 -0
  750. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts +4 -0
  751. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.d.ts.map +1 -0
  752. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js +73 -0
  753. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/route.js.map +1 -0
  754. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +290 -0
  755. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -0
  756. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js +2 -0
  757. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -0
  758. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts +9 -0
  759. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts.map +1 -0
  760. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +136 -0
  761. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -0
  762. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts +18 -0
  763. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts.map +1 -0
  764. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js +65 -0
  765. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js.map +1 -0
  766. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts +5 -0
  767. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.d.ts.map +1 -0
  768. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js +5 -0
  769. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/index.js.map +1 -0
  770. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts +6 -0
  771. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -0
  772. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +212 -0
  773. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -0
  774. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +80 -0
  775. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -0
  776. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js +2 -0
  777. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -0
  778. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts +7 -0
  779. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.d.ts.map +1 -0
  780. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js +78 -0
  781. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/artifacts.js.map +1 -0
  782. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +7 -0
  783. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -0
  784. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +73 -0
  785. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -0
  786. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts +10 -0
  787. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -0
  788. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +43 -0
  789. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -0
  790. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts +5 -0
  791. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -0
  792. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +49 -0
  793. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -0
  794. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts +7 -0
  795. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.d.ts.map +1 -0
  796. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js +7 -0
  797. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/index.js.map +1 -0
  798. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts +7 -0
  799. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -0
  800. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +81 -0
  801. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -0
  802. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +37 -0
  803. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -0
  804. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js +2 -0
  805. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -0
  806. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts +4 -0
  807. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.d.ts.map +1 -0
  808. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js +60 -0
  809. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/validation.js.map +1 -0
  810. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +6 -0
  811. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -0
  812. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +164 -0
  813. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -0
  814. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts +5 -0
  815. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts.map +1 -0
  816. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js +4 -0
  817. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js.map +1 -0
  818. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts +6 -0
  819. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -0
  820. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +31 -0
  821. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -0
  822. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts +4 -0
  823. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts.map +1 -0
  824. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js +18 -0
  825. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js.map +1 -0
  826. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts +34 -0
  827. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.d.ts.map +1 -0
  828. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js +2 -0
  829. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/types.js.map +1 -0
  830. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts +9 -0
  831. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.d.ts.map +1 -0
  832. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js +24 -0
  833. package/node_modules/@fps-games/editor-playable-sdk/dist/session/classification.js.map +1 -0
  834. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts +7 -0
  835. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -0
  836. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +207 -0
  837. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -0
  838. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +7 -0
  839. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -0
  840. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +47 -0
  841. package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -0
  842. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +8 -0
  843. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -0
  844. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +6 -0
  845. package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -0
  846. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +91 -0
  847. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -0
  848. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +579 -0
  849. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -0
  850. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts +14 -0
  851. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.d.ts.map +1 -0
  852. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js +90 -0
  853. package/node_modules/@fps-games/editor-playable-sdk/dist/session/transform.js.map +1 -0
  854. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +7 -0
  855. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -0
  856. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js +2 -0
  857. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -0
  858. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts +4 -0
  859. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.d.ts.map +1 -0
  860. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js +15 -0
  861. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/http.js.map +1 -0
  862. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts +3 -0
  863. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.d.ts.map +1 -0
  864. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js +9 -0
  865. package/node_modules/@fps-games/editor-playable-sdk/dist/shared/json.js.map +1 -0
  866. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts +4 -0
  867. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.d.ts.map +1 -0
  868. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js +4 -0
  869. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js.map +1 -0
  870. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts +19 -0
  871. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.d.ts.map +1 -0
  872. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +268 -0
  873. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -0
  874. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts +7 -0
  875. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.d.ts.map +1 -0
  876. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js +38 -0
  877. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/report.js.map +1 -0
  878. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts +87 -0
  879. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.d.ts.map +1 -0
  880. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js +2 -0
  881. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/types.js.map +1 -0
  882. package/node_modules/@fps-games/editor-playable-sdk/package.json +20 -0
  883. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +113 -0
  884. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -0
  885. package/node_modules/@fps-games/editor-protocol/dist/agent.js +5 -0
  886. package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -0
  887. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +45 -4
  888. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  889. package/node_modules/@fps-games/editor-protocol/dist/index.js +115 -2
  890. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  891. package/node_modules/@fps-games/editor-protocol/package.json +1 -1
  892. package/package.json +13 -7
@@ -0,0 +1,224 @@
1
+ import { findEditorSceneModelRenderer, findEditorSceneTransform, readEditorSceneNodeKind, } from '../document/index.js';
2
+ import { isEditorSceneFiniteNumber, isEditorSceneVec3, } from '../field-schema/index.js';
3
+ import { degreesToEditorSceneRadians, readEditorSceneTransformVector, } from '../inspector/index.js';
4
+ import { isEditorSceneRootGameObjectId, } from '../session/identity.js';
5
+ import { findEditorSceneGameObject, } from '../session/transform.js';
6
+ import { applyEditorSceneJsonFieldPatch, cleanupEditorSceneGameObjectOverrides, } from './json-field.js';
7
+ const ROOT_TRANSFORM_PATH_PATTERN = /^transform(?:\.(position|rotation|scale)(?:\.(x|y|z))?)?$/;
8
+ const TRANSFORM_VECTOR_PATH_PATTERN = /^transform\.(position|rotation|scale)$/;
9
+ const TRANSFORM_AXIS_PATH_PATTERN = /^transform\.(position|rotation|scale)\.(x|y|z)$/;
10
+ export function patchEditorSceneGameObjectField(document, targetId, path, value, options = {}) {
11
+ return patchEditorSceneGameObjectFieldInput({
12
+ document,
13
+ targetId,
14
+ path,
15
+ value,
16
+ options,
17
+ });
18
+ }
19
+ function patchEditorSceneGameObjectFieldInput(input) {
20
+ if (isEditorSceneRootTransformPath(input.targetId, input.path))
21
+ return input.document;
22
+ const gameObject = findEditorSceneGameObject(input.document, input.targetId);
23
+ if (!gameObject)
24
+ return input.document;
25
+ const normalizedValue = input.options?.normalizeFieldValue?.(input.path, input.value) ?? input.value;
26
+ if (input.options?.validateField?.({
27
+ document: input.document,
28
+ gameObject,
29
+ path: input.path,
30
+ value: normalizedValue,
31
+ })?.ok === false) {
32
+ return input.document;
33
+ }
34
+ if (input.options?.blockFieldPatch?.({
35
+ document: input.document,
36
+ gameObject,
37
+ targetId: input.targetId,
38
+ path: input.path,
39
+ value: normalizedValue,
40
+ })) {
41
+ return input.document;
42
+ }
43
+ return {
44
+ ...input.document,
45
+ scene: {
46
+ ...input.document.scene,
47
+ gameObjects: input.document.scene.gameObjects.map((entry) => (entry.id === input.targetId
48
+ ? patchEditorSceneGameObjectByField(entry, input.path, normalizedValue, input.options)
49
+ : entry)),
50
+ },
51
+ };
52
+ }
53
+ export function patchEditorSceneGameObjectByField(gameObject, path, value, options = {}) {
54
+ const next = structuredClone(gameObject);
55
+ if (path === 'name') {
56
+ if (typeof value === 'string' && value.trim())
57
+ next.name = value.trim();
58
+ else
59
+ delete next.name;
60
+ return next;
61
+ }
62
+ if (path === 'enabled') {
63
+ next.active = value !== false;
64
+ return next;
65
+ }
66
+ if (path === 'instance.assetId') {
67
+ const renderer = findEditorSceneModelRenderer(next);
68
+ if (renderer && typeof value === 'string')
69
+ renderer.assetId = value;
70
+ next.kind = 'instance';
71
+ delete next.primitive;
72
+ return next;
73
+ }
74
+ if (path === 'primitive.shape') {
75
+ const shape = (options.normalizePrimitiveShape ?? normalizeEditorScenePrimitiveShape)(value);
76
+ if (shape) {
77
+ next.kind = 'primitive';
78
+ next.primitive = { shape };
79
+ }
80
+ return next;
81
+ }
82
+ if (path === 'transformType') {
83
+ patchEditorSceneTransformType(next, value, options);
84
+ return next;
85
+ }
86
+ if (patchEditorSceneTransformVector(next, path, value))
87
+ return next;
88
+ if (path.startsWith('groundDecal.')) {
89
+ next.kind = 'transform';
90
+ next.transformType = next.transformType ?? 'groundDecal';
91
+ delete next.primitive;
92
+ next.groundDecal = mergeEditorSceneGroundDecalDefaults(next.groundDecal, options);
93
+ applyEditorSceneJsonFieldPatch(next, path, value);
94
+ return next;
95
+ }
96
+ if (path.startsWith('camera.')) {
97
+ next.kind = 'transform';
98
+ next.transformType = 'camera';
99
+ next.camera = mergeEditorSceneCameraDefaults(next.camera, options);
100
+ delete next.light;
101
+ delete next.groundDecal;
102
+ delete next.primitive;
103
+ applyEditorSceneJsonFieldPatch(next, path, value);
104
+ next.camera = normalizeEditorSceneCameraAfterFieldPatch(next.camera, path, options);
105
+ return next;
106
+ }
107
+ if (path.startsWith('light.')) {
108
+ next.kind = 'transform';
109
+ next.transformType = 'light';
110
+ next.light = mergeEditorSceneLightDefaults(next.light, options);
111
+ delete next.camera;
112
+ delete next.groundDecal;
113
+ delete next.primitive;
114
+ applyEditorSceneJsonFieldPatch(next, path, value);
115
+ return next;
116
+ }
117
+ if (path.startsWith('overrides.')) {
118
+ if (readEditorSceneNodeKind(next) === 'group')
119
+ next.kind = 'instance';
120
+ applyEditorSceneJsonFieldPatch(next, path, value);
121
+ cleanupEditorSceneGameObjectOverrides(next);
122
+ return next;
123
+ }
124
+ return next;
125
+ }
126
+ function isEditorSceneRootTransformPath(targetId, path) {
127
+ return isEditorSceneRootGameObjectId(targetId) && ROOT_TRANSFORM_PATH_PATTERN.test(path);
128
+ }
129
+ function patchEditorSceneTransformType(gameObject, value, options) {
130
+ if (value !== 'plain' && value !== 'light' && value !== 'camera' && value !== 'groundDecal')
131
+ return;
132
+ gameObject.kind = 'transform';
133
+ gameObject.transformType = value;
134
+ delete gameObject.primitive;
135
+ if (value === 'camera')
136
+ gameObject.camera = mergeEditorSceneCameraDefaults(gameObject.camera, options);
137
+ else
138
+ delete gameObject.camera;
139
+ if (value === 'light')
140
+ gameObject.light = mergeEditorSceneLightDefaults(gameObject.light, options);
141
+ else
142
+ delete gameObject.light;
143
+ if (value === 'groundDecal' && !gameObject.groundDecal) {
144
+ gameObject.groundDecal = mergeEditorSceneGroundDecalDefaults(gameObject.groundDecal, options);
145
+ }
146
+ else if (value !== 'groundDecal') {
147
+ delete gameObject.groundDecal;
148
+ }
149
+ }
150
+ function patchEditorSceneTransformVector(gameObject, path, value) {
151
+ const transformVectorMatch = path.match(TRANSFORM_VECTOR_PATH_PATTERN);
152
+ if (transformVectorMatch) {
153
+ const transform = findEditorSceneTransform(gameObject);
154
+ if (!transform)
155
+ return true;
156
+ const vectorName = transformVectorMatch[1];
157
+ if (vectorName === 'scale') {
158
+ if (isEditorSceneFiniteNumber(value))
159
+ transform.scale = { x: value, y: value, z: value };
160
+ else if (isEditorSceneVec3(value))
161
+ transform.scale = { ...value };
162
+ return true;
163
+ }
164
+ if (!isEditorSceneVec3(value))
165
+ return true;
166
+ transform[vectorName] = vectorName === 'rotation'
167
+ ? {
168
+ x: degreesToEditorSceneRadians(value.x),
169
+ y: degreesToEditorSceneRadians(value.y),
170
+ z: degreesToEditorSceneRadians(value.z),
171
+ }
172
+ : { ...value };
173
+ return true;
174
+ }
175
+ const transformMatch = path.match(TRANSFORM_AXIS_PATH_PATTERN);
176
+ if (transformMatch && isEditorSceneFiniteNumber(value)) {
177
+ const transform = findEditorSceneTransform(gameObject);
178
+ if (!transform)
179
+ return true;
180
+ const vectorName = transformMatch[1];
181
+ const axis = transformMatch[2];
182
+ const storedValue = vectorName === 'rotation' ? degreesToEditorSceneRadians(value) : value;
183
+ if (vectorName === 'scale')
184
+ transform.scale = { ...readEditorSceneTransformVector(transform, 'scale'), [axis]: storedValue };
185
+ else
186
+ transform[vectorName] = { ...transform[vectorName], [axis]: storedValue };
187
+ return true;
188
+ }
189
+ return false;
190
+ }
191
+ function mergeEditorSceneCameraDefaults(camera, options) {
192
+ return options.mergeCameraDefaults
193
+ ? options.mergeCameraDefaults(camera)
194
+ : cloneObjectOrEmpty(camera);
195
+ }
196
+ function normalizeEditorSceneCameraAfterFieldPatch(camera, path, options) {
197
+ return options.normalizeCameraAfterFieldPatch
198
+ ? options.normalizeCameraAfterFieldPatch(camera, path)
199
+ : camera;
200
+ }
201
+ function mergeEditorSceneLightDefaults(light, options) {
202
+ return options.mergeLightDefaults
203
+ ? options.mergeLightDefaults(light)
204
+ : cloneObjectOrEmpty(light);
205
+ }
206
+ function mergeEditorSceneGroundDecalDefaults(groundDecal, options) {
207
+ if (options.mergeGroundDecalDefaults)
208
+ return options.mergeGroundDecalDefaults(groundDecal);
209
+ return cloneObjectOrEmpty(groundDecal);
210
+ }
211
+ function normalizeEditorScenePrimitiveShape(value) {
212
+ return value === 'cube' || value === 'sphere' || value === 'plane' || value === 'capsule'
213
+ ? value
214
+ : null;
215
+ }
216
+ function cloneObjectOrEmpty(value) {
217
+ return cloneObjectOrNull(value) ?? {};
218
+ }
219
+ function cloneObjectOrNull(value) {
220
+ return value && typeof value === 'object' && !Array.isArray(value)
221
+ ? structuredClone(value)
222
+ : null;
223
+ }
224
+ //# sourceMappingURL=field-patch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-patch.js","sourceRoot":"","sources":["../../src/mutation/field-patch.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,uBAAuB,GAIxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,GAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,6BAA6B,GA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,CAAC,WAAW,CAA+B,CAAC;AACvE,CAAC;AAED,SAAS,kCAAkC,CAAC,KAAc;IACxD,OAAO,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,SAAS;QACvF,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAc;IACxC,OAAO,iBAAiB,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;AACxC,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAc;IACvC,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChE,CAAC,CAAC,eAAe,CAAC,KAAK,CAA4B;QACnD,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type { EditorSceneFieldMutationBlockInput, EditorSceneFieldMutationInput, EditorSceneFieldMutationOptions, EditorSceneFieldMutationPatch, EditorSceneFieldMutationValidationInput, } from './types';
2
+ export { applyEditorSceneJsonFieldPatch, cleanupEditorSceneGameObjectOverrides, } from './json-field';
3
+ export { patchEditorSceneGameObjectByField, patchEditorSceneGameObjectField, } from './field-patch';
4
+ export type { EditorSceneDocumentMutationOptions, EditorSceneDocumentMutationPatch, EditorSceneDocumentMutationPatchInput, EditorSceneGameObjectTransformPatch, } from './types';
5
+ export { patchEditorSceneGameObjectTransform, } from './transform';
6
+ export { applyEditorSceneDocumentMutationPatch, reduceEditorSceneDocumentMutation, } from './reducer';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mutation/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kCAAkC,EAClC,6BAA6B,EAC7B,+BAA+B,EAC/B,6BAA6B,EAC7B,uCAAuC,GACxC,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,8BAA8B,EAC9B,qCAAqC,GACtC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,kCAAkC,EAClC,gCAAgC,EAChC,qCAAqC,EACrC,mCAAmC,GACpC,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,mCAAmC,GACpC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qCAAqC,EACrC,iCAAiC,GAClC,MAAM,WAAW,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { applyEditorSceneJsonFieldPatch, cleanupEditorSceneGameObjectOverrides, } from './json-field.js';
2
+ export { patchEditorSceneGameObjectByField, patchEditorSceneGameObjectField, } from './field-patch.js';
3
+ export { patchEditorSceneGameObjectTransform, } from './transform.js';
4
+ export { applyEditorSceneDocumentMutationPatch, reduceEditorSceneDocumentMutation, } from './reducer.js';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/mutation/index.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,8BAA8B,EAC9B,qCAAqC,GACtC,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,eAAe,CAAC;AAOvB,OAAO,EACL,mCAAmC,GACpC,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qCAAqC,EACrC,iCAAiC,GAClC,MAAM,WAAW,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare function applyEditorSceneJsonFieldPatch(target: Record<string, unknown>, path: string, value: unknown): void;
2
+ export declare function cleanupEditorSceneGameObjectOverrides(gameObject: {
3
+ overrides?: unknown;
4
+ }): void;
5
+ //# sourceMappingURL=json-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-field.d.ts","sourceRoot":"","sources":["../../src/mutation/json-field.ts"],"names":[],"mappings":"AAAA,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,GACb,IAAI,CAeN;AAMD,wBAAgB,qCAAqC,CACnD,UAAU,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GAClC,IAAI,CAyBN"}
@@ -0,0 +1,76 @@
1
+ export function applyEditorSceneJsonFieldPatch(target, path, value) {
2
+ const segments = path.split('.').filter(Boolean);
3
+ if (segments.some(isUnsafeEditorSceneJsonPathSegment))
4
+ return;
5
+ let cursor = target;
6
+ for (const segment of segments.slice(0, -1)) {
7
+ const next = cursor[segment];
8
+ if (!next || typeof next !== 'object' || Array.isArray(next)) {
9
+ cursor[segment] = {};
10
+ }
11
+ cursor = cursor[segment];
12
+ }
13
+ const leaf = segments[segments.length - 1];
14
+ if (!leaf)
15
+ return;
16
+ if (value == null)
17
+ delete cursor[leaf];
18
+ else
19
+ cursor[leaf] = structuredClone(value);
20
+ }
21
+ function isUnsafeEditorSceneJsonPathSegment(segment) {
22
+ return segment === '__proto__' || segment === 'prototype' || segment === 'constructor';
23
+ }
24
+ export function cleanupEditorSceneGameObjectOverrides(gameObject) {
25
+ const overrides = asMutableRecord(gameObject.overrides);
26
+ if (!overrides)
27
+ return;
28
+ const material = pruneEditorSceneMaterialOverride(overrides.material);
29
+ if (material)
30
+ overrides.material = material;
31
+ else
32
+ delete overrides.material;
33
+ const childMaterials = asMutableRecord(overrides.childMaterials);
34
+ if (childMaterials) {
35
+ for (const [key, childMaterial] of Object.entries(childMaterials)) {
36
+ const normalized = pruneEditorSceneMaterialOverride(childMaterial);
37
+ if (normalized)
38
+ childMaterials[key] = normalized;
39
+ else
40
+ delete childMaterials[key];
41
+ }
42
+ if (Object.keys(childMaterials).length === 0)
43
+ delete overrides.childMaterials;
44
+ }
45
+ const childTransforms = asMutableRecord(overrides.childTransforms);
46
+ if (childTransforms && Object.keys(childTransforms).length === 0)
47
+ delete overrides.childTransforms;
48
+ const childOutlines = asMutableRecord(overrides.childOutlines);
49
+ if (childOutlines && Object.keys(childOutlines).length === 0)
50
+ delete overrides.childOutlines;
51
+ if (Object.keys(overrides).length === 0)
52
+ delete gameObject.overrides;
53
+ }
54
+ function pruneEditorSceneMaterialOverride(material) {
55
+ const materialRecord = asMutableRecord(material);
56
+ if (!materialRecord)
57
+ return undefined;
58
+ const next = structuredClone(materialRecord);
59
+ for (const textureKey of ['albedoTexture', 'normalTexture', 'metallicTexture']) {
60
+ const texture = asMutableRecord(next[textureKey]);
61
+ if (texture && Object.keys(texture).length === 0)
62
+ delete next[textureKey];
63
+ }
64
+ for (const lightingKey of ['pbr', 'standard']) {
65
+ const lighting = asMutableRecord(next[lightingKey]);
66
+ if (lighting && Object.keys(lighting).length === 0)
67
+ delete next[lightingKey];
68
+ }
69
+ return Object.keys(next).length > 0 ? next : undefined;
70
+ }
71
+ function asMutableRecord(value) {
72
+ return value && typeof value === 'object' && !Array.isArray(value)
73
+ ? value
74
+ : null;
75
+ }
76
+ //# sourceMappingURL=json-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json-field.js","sourceRoot":"","sources":["../../src/mutation/json-field.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,8BAA8B,CAC5C,MAA+B,EAC/B,IAAY,EACZ,KAAc;IAEd,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACjD,IAAI,QAAQ,CAAC,IAAI,CAAC,kCAAkC,CAAC;QAAE,OAAO;IAC9D,IAAI,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;QAC7B,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ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AQ,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QACpD,IAAI,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC/E,CAAC;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AACzD,CAAC;AAED,SAAS,eAAe,CAAC,KAAc;IACrC,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAChE,CAAC,CAAC,KAAgC;QAClC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { DocumentCommand } from '@fps-games/editor-core';
2
+ import { type EditorSceneDocument, type EditorSceneGameObject } from '../document/index';
3
+ import type { EditorSceneDocumentMutationOptions, EditorSceneDocumentMutationPatch, EditorSceneDocumentMutationPatchInput } from './types';
4
+ export declare function reduceEditorSceneDocumentMutation<TDocument extends EditorSceneDocument = EditorSceneDocument, TGameObject extends EditorSceneGameObject = EditorSceneGameObject>(document: TDocument, command: DocumentCommand<TDocument, EditorSceneDocumentMutationPatch<TGameObject>>, options?: EditorSceneDocumentMutationOptions<TDocument, TGameObject>): TDocument;
5
+ export declare function applyEditorSceneDocumentMutationPatch<TDocument extends EditorSceneDocument = EditorSceneDocument, TGameObject extends EditorSceneGameObject = EditorSceneGameObject>(input: EditorSceneDocumentMutationPatchInput<TDocument, TGameObject>): TDocument;
6
+ //# sourceMappingURL=reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/mutation/reducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAIhC,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAE3B,MAAM,mBAAmB,CAAC;AA0B3B,OAAO,KAAK,EACV,kCAAkC,EAClC,gCAAgC,EAChC,qCAAqC,EACtC,MAAM,SAAS,CAAC;AAEjB,wBAAgB,iCAAiC,CAC/C,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,EAC3D,WAAW,SAAS,qBAAqB,GAAG,qBAAqB,EAEjE,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,eAAe,CAAC,SAAS,EAAE,gCAAgC,CAAC,WAAW,CAAC,CAAC,EAClF,OAAO,GAAE,kCAAkC,CAAC,SAAS,EAAE,WAAW,CAAM,GACvE,SAAS,CASX;AAED,wBAAgB,qCAAqC,CACnD,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,EAC3D,WAAW,SAAS,qBAAqB,GAAG,qBAAqB,EAEjE,KAAK,EAAE,qCAAqC,CAAC,SAAS,EAAE,WAAW,CAAC,GACnE,SAAS,CA+LX"}
@@ -0,0 +1,242 @@
1
+ import { addAssetLibraryItemToEditorSceneDocument, } from '../asset-placement/index.js';
2
+ import { findEditorSceneTransform, } from '../document/index.js';
3
+ import { applyEditorSceneSerializedPropertyPatch, } from '../serialized-property/index.js';
4
+ import { collectEditorSceneSubtreeIds, } from '../session/hierarchy.js';
5
+ import { isEditorSceneCameraGameObject, } from '../session/classification.js';
6
+ import { isEditorSceneRootGameObject, isEditorSceneRootGameObjectId, } from '../session/identity.js';
7
+ import { findEditorSceneGameObject, } from '../session/transform.js';
8
+ import { readEditorSceneTransformVector, } from '../inspector/index.js';
9
+ import { patchEditorSceneGameObjectField, } from './field-patch.js';
10
+ import { patchEditorSceneGameObjectTransform, } from './transform.js';
11
+ export function reduceEditorSceneDocumentMutation(document, command, options = {}) {
12
+ const reduced = command.type === 'document.replace'
13
+ ? command.document
14
+ : applyEditorSceneDocumentMutationPatch({
15
+ document,
16
+ patch: command.patch,
17
+ options,
18
+ });
19
+ return options.normalizeDocument?.(reduced, command) ?? reduced;
20
+ }
21
+ export function applyEditorSceneDocumentMutationPatch(input) {
22
+ const { document, patch, options = {} } = input;
23
+ if (patch.kind === 'serialized-property') {
24
+ return applyEditorSceneSerializedPropertyPatch({
25
+ document,
26
+ patch,
27
+ validateField: options.serializedProperty?.validateField,
28
+ });
29
+ }
30
+ if (patch.kind === 'game-object.field') {
31
+ return patchEditorSceneGameObjectField(document, patch.targetId, patch.path, patch.value, options.field);
32
+ }
33
+ if (patch.kind === 'game-object.create-from-asset') {
34
+ return addAssetLibraryItemToEditorSceneDocument(document, patch.assetItem, patch.placement, options.assetPlacement).document;
35
+ }
36
+ if (patch.kind === 'game-object.transform') {
37
+ if (isEditorSceneRootGameObjectId(patch.targetId))
38
+ return document;
39
+ return patchEditorSceneGameObjectTransform(document, patch.targetId, {
40
+ position: patch.transform.position,
41
+ rotation: patch.transform.rotation,
42
+ scale: patch.transform.scale,
43
+ });
44
+ }
45
+ if (patch.kind === 'game-object.transform-batch') {
46
+ return patch.targets.reduce((nextDocument, target) => {
47
+ if (isEditorSceneRootGameObjectId(target.targetId))
48
+ return nextDocument;
49
+ const gameObject = findEditorSceneGameObject(nextDocument, target.targetId);
50
+ const transform = gameObject ? findEditorSceneTransform(gameObject) : null;
51
+ return patchEditorSceneGameObjectTransform(nextDocument, target.targetId, {
52
+ position: target.transform.position
53
+ ? { ...transform?.position, ...target.transform.position }
54
+ : undefined,
55
+ rotation: target.transform.rotation
56
+ ? { ...transform?.rotation, ...target.transform.rotation }
57
+ : undefined,
58
+ scale: target.transform.scale
59
+ ? { ...readEditorSceneTransformVector(transform ?? { position: zeroVec3(), rotation: zeroVec3() }, 'scale'), ...target.transform.scale }
60
+ : undefined,
61
+ });
62
+ }, document);
63
+ }
64
+ if (patch.kind === 'game-object.duplicate-selection') {
65
+ const existingIds = new Set(document.scene.gameObjects.map((gameObject) => gameObject.id));
66
+ const gameObjects = patch.gameObjects.filter((gameObject) => (!existingIds.has(gameObject.id)
67
+ && !isEditorSceneRootGameObject(gameObject)
68
+ && !(options.isProtectedDuplicateSource ?? defaultProtectedDuplicateSource)(gameObject, document)));
69
+ if (gameObjects.length === 0)
70
+ return document;
71
+ return {
72
+ ...document,
73
+ scene: {
74
+ ...document.scene,
75
+ gameObjects: [...document.scene.gameObjects, ...gameObjects],
76
+ },
77
+ };
78
+ }
79
+ if (patch.kind === 'game-object.rename') {
80
+ const name = patch.name.trim();
81
+ if (!name)
82
+ return document;
83
+ return {
84
+ ...document,
85
+ scene: {
86
+ ...document.scene,
87
+ gameObjects: document.scene.gameObjects.map((gameObject) => (gameObject.id === patch.targetId ? { ...gameObject, name } : gameObject)),
88
+ },
89
+ };
90
+ }
91
+ if (patch.kind === 'game-object.create-group' || patch.kind === 'game-object.create-primitive') {
92
+ if (document.scene.gameObjects.some((gameObject) => gameObject.id === patch.gameObject.id))
93
+ return document;
94
+ return {
95
+ ...document,
96
+ scene: {
97
+ ...document.scene,
98
+ gameObjects: [...document.scene.gameObjects, patch.gameObject],
99
+ },
100
+ };
101
+ }
102
+ if (patch.kind === 'game-object.delete-subtree') {
103
+ if (patch.targetIds.some(isEditorSceneRootGameObjectId))
104
+ return document;
105
+ const deleteIds = collectEditorSceneSubtreeIds(document, patch.targetIds);
106
+ if (deleteIds.size === 0)
107
+ return document;
108
+ const isProtected = options.isProtectedDeleteTarget ?? defaultProtectedDeleteTarget;
109
+ if (document.scene.gameObjects.some((gameObject) => deleteIds.has(gameObject.id) && isProtected(gameObject, document))) {
110
+ return document;
111
+ }
112
+ return {
113
+ ...document,
114
+ scene: {
115
+ ...document.scene,
116
+ gameObjects: document.scene.gameObjects.filter((gameObject) => !deleteIds.has(gameObject.id)),
117
+ },
118
+ };
119
+ }
120
+ if (patch.kind === 'game-object.reparent') {
121
+ if (isEditorSceneRootGameObjectId(patch.targetId))
122
+ return document;
123
+ return {
124
+ ...document,
125
+ scene: {
126
+ ...document.scene,
127
+ gameObjects: document.scene.gameObjects.map((gameObject) => {
128
+ if (gameObject.id !== patch.targetId)
129
+ return gameObject;
130
+ return {
131
+ ...gameObject,
132
+ parentId: patch.parentId,
133
+ components: patch.transform
134
+ ? gameObject.components.map((component) => {
135
+ if (component.type !== 'Transform')
136
+ return component;
137
+ return {
138
+ ...component,
139
+ position: patch.transform?.position ?? component.position,
140
+ rotation: patch.transform?.rotation ?? component.rotation,
141
+ scale: patch.transform?.scale ?? component.scale,
142
+ };
143
+ })
144
+ : gameObject.components,
145
+ };
146
+ }),
147
+ },
148
+ };
149
+ }
150
+ if (patch.kind === 'game-object.hierarchy-move') {
151
+ const moves = new Map(patch.moves
152
+ .filter((move) => !isEditorSceneRootGameObjectId(move.targetId))
153
+ .map((move) => [move.targetId, move]));
154
+ if (moves.size === 0)
155
+ return document;
156
+ const gameObjects = document.scene.gameObjects.map((gameObject) => {
157
+ const move = moves.get(gameObject.id);
158
+ if (!move)
159
+ return gameObject;
160
+ return {
161
+ ...gameObject,
162
+ parentId: move.parentId,
163
+ components: gameObject.components.map((component) => {
164
+ if (component.type !== 'Transform')
165
+ return component;
166
+ return {
167
+ ...component,
168
+ position: move.transform.position,
169
+ rotation: move.transform.rotation,
170
+ scale: move.transform.scale,
171
+ };
172
+ }),
173
+ };
174
+ });
175
+ return {
176
+ ...document,
177
+ scene: {
178
+ ...document.scene,
179
+ gameObjects: orderEditorSceneGameObjects(gameObjects, patch.order),
180
+ },
181
+ };
182
+ }
183
+ if (patch.kind === 'game-object.group-selection') {
184
+ if (isEditorSceneRootGameObject(patch.gameObject))
185
+ return document;
186
+ if (document.scene.gameObjects.some((gameObject) => gameObject.id === patch.gameObject.id))
187
+ return document;
188
+ const childIds = new Set(patch.childIds.filter((id) => !isEditorSceneRootGameObjectId(id)));
189
+ if (childIds.size === 0)
190
+ return document;
191
+ const updated = document.scene.gameObjects.map((gameObject) => {
192
+ if (!childIds.has(gameObject.id))
193
+ return gameObject;
194
+ const transform = patch.childTransforms[gameObject.id];
195
+ return {
196
+ ...gameObject,
197
+ parentId: patch.gameObject.id,
198
+ components: transform
199
+ ? gameObject.components.map((component) => {
200
+ if (component.type !== 'Transform')
201
+ return component;
202
+ return {
203
+ ...component,
204
+ position: transform.position,
205
+ rotation: transform.rotation,
206
+ scale: transform.scale,
207
+ };
208
+ })
209
+ : gameObject.components,
210
+ };
211
+ });
212
+ return {
213
+ ...document,
214
+ scene: {
215
+ ...document.scene,
216
+ gameObjects: orderEditorSceneGameObjects([...updated, patch.gameObject], patch.order),
217
+ },
218
+ };
219
+ }
220
+ return document;
221
+ }
222
+ function defaultProtectedDuplicateSource(gameObject) {
223
+ return isEditorSceneCameraGameObject(gameObject);
224
+ }
225
+ function defaultProtectedDeleteTarget(gameObject) {
226
+ return isEditorSceneCameraGameObject(gameObject);
227
+ }
228
+ function orderEditorSceneGameObjects(gameObjects, order) {
229
+ const byId = new Map(gameObjects.map((gameObject) => [gameObject.id, gameObject]));
230
+ const ordered = order
231
+ .map((id) => byId.get(id))
232
+ .filter((gameObject) => !!gameObject);
233
+ const orderedIds = new Set(ordered.map((gameObject) => gameObject.id));
234
+ return [
235
+ ...ordered,
236
+ ...gameObjects.filter((gameObject) => !orderedIds.has(gameObject.id)),
237
+ ];
238
+ }
239
+ function zeroVec3() {
240
+ return { x: 0, y: 0, z: 0 };
241
+ }
242
+ //# sourceMappingURL=reducer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reducer.js","sourceRoot":"","sources":["../../src/mutation/reducer.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,GAIzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,uCAAuC,GACxC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,4BAA4B,GAC7B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,6BAA6B,GAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,GAC9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AAE,CAAC,CAAC;SACzB,MAAM,CAAC,CAAC,UAAU,EAA6B,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACnE,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IACvE,OAAO;QACL,GAAG,OAAO;QACV,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;KACtE,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ;IACf,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AAC9B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { EditorSceneDocument } from '../document/index';
2
+ import type { EditorSceneGameObjectTransformPatch } from './types';
3
+ export declare function patchEditorSceneGameObjectTransform<TDocument extends EditorSceneDocument>(document: TDocument, gameObjectId: string, patch: EditorSceneGameObjectTransformPatch): TDocument;
4
+ //# sourceMappingURL=transform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../src/mutation/transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,KAAK,EACV,mCAAmC,EACpC,MAAM,SAAS,CAAC;AAEjB,wBAAgB,mCAAmC,CAAC,SAAS,SAAS,mBAAmB,EACvF,QAAQ,EAAE,SAAS,EACnB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,mCAAmC,GACzC,SAAS,CAYX"}