@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,98 @@
1
+ import { EDITOR_SCENE_CAMERA_DEBUG_NUMBER_FIELDS, EDITOR_SCENE_CAMERA_DEBUG_RANGE_FIELD_PAIRS, } from './fields.js';
2
+ import { clampEditorSceneCameraDebugNumber, degreesToEditorSceneCameraDebugRadians, radiansToEditorSceneCameraDebugDegrees, } from './math.js';
3
+ import { normalizeEditorSceneCameraDebugSnapshotRanges, } from './rig.js';
4
+ export const EDITOR_SCENE_CAMERA_DEBUG_NUMBER_FIELD_TEXT_KEYS = {
5
+ alpha: 'alpha',
6
+ beta: 'beta',
7
+ radius: 'radius',
8
+ orthoSize: 'orthoSize',
9
+ fovDeg: 'fov',
10
+ targetOffsetX: 'targetOffsetX',
11
+ targetOffsetY: 'targetOffsetY',
12
+ targetOffsetZ: 'targetOffsetZ',
13
+ minZ: 'nearClip',
14
+ maxZ: 'farClip',
15
+ lowerBetaLimit: 'minBeta',
16
+ upperBetaLimit: 'maxBeta',
17
+ lowerRadiusLimit: 'minRadius',
18
+ upperRadiusLimit: 'maxRadius',
19
+ inertia: 'inertia',
20
+ targetScreenOffsetX: 'screenOffsetX',
21
+ targetScreenOffsetY: 'screenOffsetY',
22
+ };
23
+ export const EDITOR_SCENE_CAMERA_DEBUG_PAN_KEYS = ['w', 'a', 's', 'd'];
24
+ export function createEditorSceneCameraDebugPanelNumberFields() {
25
+ return EDITOR_SCENE_CAMERA_DEBUG_NUMBER_FIELDS.map((config) => ({
26
+ ...config,
27
+ textKey: EDITOR_SCENE_CAMERA_DEBUG_NUMBER_FIELD_TEXT_KEYS[config.field],
28
+ }));
29
+ }
30
+ export function createEditorSceneCameraDebugPanelRangeFieldPairs() {
31
+ return EDITOR_SCENE_CAMERA_DEBUG_RANGE_FIELD_PAIRS.map((pair) => ({
32
+ ...pair,
33
+ labelKey: pair.value === 'beta' ? 'betaRange' : 'radiusRange',
34
+ tooltipKey: pair.value === 'beta' ? 'betaRange' : 'radiusRange',
35
+ }));
36
+ }
37
+ export function createEditorSceneCameraDebugPanelRangeFieldEnds() {
38
+ return new Set(createEditorSceneCameraDebugPanelRangeFieldPairs().map(pair => pair.upper));
39
+ }
40
+ export function isEditorSceneCameraDebugPanelFieldVisible(config, projection) {
41
+ return !config.projection || config.projection === projection;
42
+ }
43
+ export function readEditorSceneCameraDebugPanelInputSnapshot(fallback, values, options = {}) {
44
+ const projection = readEditorSceneCameraDebugProjectionSelectValue(values.projection);
45
+ const fallbackTarget = fallback.targetOffset ?? fallback.target;
46
+ const targetOffset = {
47
+ x: readPanelNumber(values.targetOffsetX, fallbackTarget.x),
48
+ y: readPanelNumber(values.targetOffsetY, fallbackTarget.y),
49
+ z: readPanelNumber(values.targetOffsetZ, fallbackTarget.z),
50
+ };
51
+ const next = {
52
+ ...fallback,
53
+ projection,
54
+ alpha: degreesToEditorSceneCameraDebugRadians(readPanelNumber(values.alpha, radiansToEditorSceneCameraDebugDegrees(fallback.alpha))),
55
+ beta: degreesToEditorSceneCameraDebugRadians(readPanelNumber(values.beta, radiansToEditorSceneCameraDebugDegrees(fallback.beta))),
56
+ radius: Math.max(0.001, readPanelNumber(values.radius, fallback.radius)),
57
+ orthoSize: Math.max(0.001, readPanelNumber(values.orthoSize, fallback.orthoSize)),
58
+ fov: degreesToEditorSceneCameraDebugRadians(clampEditorSceneCameraDebugNumber(readPanelNumber(values.fovDeg, radiansToEditorSceneCameraDebugDegrees(fallback.fov)), 1, 179)),
59
+ target: { ...targetOffset },
60
+ targetOffset,
61
+ minZ: Math.max(0.001, readPanelNumber(values.minZ, fallback.minZ ?? 1)),
62
+ maxZ: Math.max(0.001, readPanelNumber(values.maxZ, fallback.maxZ ?? 10000)),
63
+ lowerBetaLimit: degreesToEditorSceneCameraDebugRadians(readPanelNumber(values.lowerBetaLimit, radiansToEditorSceneCameraDebugDegrees(fallback.lowerBetaLimit ?? fallback.beta))),
64
+ upperBetaLimit: degreesToEditorSceneCameraDebugRadians(readPanelNumber(values.upperBetaLimit, radiansToEditorSceneCameraDebugDegrees(fallback.upperBetaLimit ?? fallback.beta))),
65
+ lowerRadiusLimit: Math.max(0.001, readPanelNumber(values.lowerRadiusLimit, fallback.lowerRadiusLimit ?? fallback.radius)),
66
+ upperRadiusLimit: Math.max(0.001, readPanelNumber(values.upperRadiusLimit, fallback.upperRadiusLimit ?? fallback.radius)),
67
+ inertia: clampEditorSceneCameraDebugNumber(readPanelNumber(values.inertia, fallback.inertia ?? 0.9), 0, 1),
68
+ targetScreenOffset: {
69
+ x: readPanelNumber(values.targetScreenOffsetX, fallback.targetScreenOffset?.x ?? 0),
70
+ y: readPanelNumber(values.targetScreenOffsetY, fallback.targetScreenOffset?.y ?? 0),
71
+ },
72
+ };
73
+ const minZ = next.minZ ?? 0.001;
74
+ if ((next.maxZ ?? minZ + 0.001) <= minZ)
75
+ next.maxZ = minZ + 0.001;
76
+ normalizeEditorSceneCameraDebugSnapshotRanges(next, options.activeField ?? null);
77
+ return next;
78
+ }
79
+ export function readEditorSceneCameraDebugProjectionSelectValue(value) {
80
+ return value === 'perspective' ? 'perspective' : 'orthographic';
81
+ }
82
+ export function isEditorSceneCameraDebugPanKey(key) {
83
+ return EDITOR_SCENE_CAMERA_DEBUG_PAN_KEYS.includes(key.toLowerCase());
84
+ }
85
+ export function canHandleEditorSceneCameraDebugPanKey(input) {
86
+ return input.active
87
+ && isEditorSceneCameraDebugPanKey(input.key)
88
+ && !input.saving
89
+ && !input.metaKey
90
+ && !input.ctrlKey
91
+ && !input.altKey
92
+ && !input.editable;
93
+ }
94
+ function readPanelNumber(value, fallback) {
95
+ const numberValue = Number(value);
96
+ return Number.isFinite(numberValue) ? numberValue : fallback;
97
+ }
98
+ //# sourceMappingURL=panel-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel-state.js","sourceRoot":"","sources":["../../src/camera-debug/panel-state.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uCAAuC,EACvC,2CAA2C,GAC5C,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,iCAAiC,EACjC,sCAAsC,EACtC,sCAAsC,GACvC,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,6CAA6C,GAC9C,MAAM,OAAO,CAAC;AA6Cf,MAAM,CAAC,MAAM,gDAAgD,GAA6E;IACxI,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,KAAK;IACb,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,SAAS;IACf,cAAc,EAAE,SAAS;IACzB,cAAc,EAAE,SAAS;IACzB,gBAAgB,EAAE,WAAW;IAC7B,gBAAgB,EAAE,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AAI;QAAE,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IAClE,6CAA6C,CAAC,IAAI,EAAE,OAAO,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC;IACjF,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,+CAA+C,CAC7D,KAAc;IAEd,OAAO,KAAK,KAAK,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,GAAW;IACxD,OAAO,kCAAkC,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,EAAuD,CAAC,CAAC;AAC7H,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,KAAwC;IAC5F,OAAO,KAAK,CAAC,MAAM;WACd,8BAA8B,CAAC,KAAK,CAAC,GAAG,CAAC;WACzC,CAAC,KAAK,CAAC,MAAM;WACb,CAAC,KAAK,CAAC,OAAO;WACd,CAAC,KAAK,CAAC,OAAO;WACd,CAAC,KAAK,CAAC,MAAM;WACb,CAAC,KAAK,CAAC,QAAQ,CAAC;AACvB,CAAC;AAED,SAAS,eAAe,CAAC,KAA4C,EAAE,QAAgB;IACrF,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAClC,OAAO,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;AAC/D,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { EditorSceneCameraDebugLanguage } from './panel-text';
2
+ export interface EditorSceneCameraDebugStorageLike {
3
+ getItem(key: string): string | null;
4
+ setItem(key: string, value: string): void;
5
+ }
6
+ export interface EditorSceneCameraDebugWindowLike {
7
+ localStorage?: EditorSceneCameraDebugStorageLike | null;
8
+ }
9
+ export declare function readEditorSceneCameraDebugStoredOpen(win: EditorSceneCameraDebugWindowLike | null | undefined, key: string): boolean;
10
+ export declare function writeEditorSceneCameraDebugStoredOpen(win: EditorSceneCameraDebugWindowLike | null | undefined, key: string, value: boolean): void;
11
+ export declare function readEditorSceneCameraDebugStoredLanguage(win: EditorSceneCameraDebugWindowLike | null | undefined, key: string): EditorSceneCameraDebugLanguage;
12
+ export declare function writeEditorSceneCameraDebugStoredLanguage(win: EditorSceneCameraDebugWindowLike | null | undefined, key: string, value: EditorSceneCameraDebugLanguage): void;
13
+ //# sourceMappingURL=panel-storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel-storage.d.ts","sourceRoot":"","sources":["../../src/camera-debug/panel-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,8BAA8B,EAC/B,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,iCAAiC;IAChD,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,gCAAgC;IAC/C,YAAY,CAAC,EAAE,iCAAiC,GAAG,IAAI,CAAC;CACzD;AAED,wBAAgB,oCAAoC,CAClD,GAAG,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,EACxD,GAAG,EAAE,MAAM,GACV,OAAO,CAMT;AAED,wBAAgB,qCAAqC,CACnD,GAAG,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,EACxD,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,GACb,IAAI,CAMN;AAED,wBAAgB,wCAAwC,CACtD,GAAG,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,EACxD,GAAG,EAAE,MAAM,GACV,8BAA8B,CAMhC;AAED,wBAAgB,yCAAyC,CACvD,GAAG,EAAE,gCAAgC,GAAG,IAAI,GAAG,SAAS,EACxD,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,8BAA8B,GACpC,IAAI,CAMN"}
@@ -0,0 +1,33 @@
1
+ export function readEditorSceneCameraDebugStoredOpen(win, key) {
2
+ try {
3
+ return win?.localStorage?.getItem(key) === 'true';
4
+ }
5
+ catch {
6
+ return false;
7
+ }
8
+ }
9
+ export function writeEditorSceneCameraDebugStoredOpen(win, key, value) {
10
+ try {
11
+ win?.localStorage?.setItem(key, String(value));
12
+ }
13
+ catch {
14
+ // Storage can be unavailable in embedded previews.
15
+ }
16
+ }
17
+ export function readEditorSceneCameraDebugStoredLanguage(win, key) {
18
+ try {
19
+ return win?.localStorage?.getItem(key) === 'en' ? 'en' : 'zh';
20
+ }
21
+ catch {
22
+ return 'zh';
23
+ }
24
+ }
25
+ export function writeEditorSceneCameraDebugStoredLanguage(win, key, value) {
26
+ try {
27
+ win?.localStorage?.setItem(key, value);
28
+ }
29
+ catch {
30
+ // Storage can be unavailable in embedded previews.
31
+ }
32
+ }
33
+ //# sourceMappingURL=panel-storage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel-storage.js","sourceRoot":"","sources":["../../src/camera-debug/panel-storage.ts"],"names":[],"mappings":"AAaA,MAAM,UAAU,oCAAoC,CAClD,GAAwD,EACxD,GAAW;IAEX,IAAI,CAAC;QACH,OAAO,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,MAAM,CAAC;IACpD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED,MAAM,UAAU,qCAAqC,CACnD,GAAwD,EACxD,GAAW,EACX,KAAc;IAEd,IAAI,CAAC;QACH,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACjD,CAAC;IAAC,MAAM,CAAC;QACP,mDAAmD;IACrD,CAAC;AACH,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,GAAwD,EACxD,GAAW;IAEX,IAAI,CAAC;QACH,OAAO,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAChE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,MAAM,UAAU,yCAAyC,CACvD,GAAwD,EACxD,GAAW,EACX,KAAqC;IAErC,IAAI,CAAC;QACH,GAAG,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAAC,MAAM,CAAC;QACP,mDAAmD;IACrD,CAAC;AACH,CAAC"}
@@ -0,0 +1,10 @@
1
+ export type EditorSceneCameraDebugLanguage = 'zh' | 'en';
2
+ export type EditorSceneCameraDebugTextKey = 'title' | 'runtime' | 'languageButton' | 'toggleTitle' | 'projection' | 'orthographic' | 'perspective' | 'alpha' | 'beta' | 'radius' | 'orthoSize' | 'fov' | 'targetOffsetX' | 'targetOffsetY' | 'targetOffsetZ' | 'nearClip' | 'farClip' | 'minBeta' | 'maxBeta' | 'betaRange' | 'minRadius' | 'maxRadius' | 'radiusRange' | 'inertia' | 'screenOffsetX' | 'screenOffsetY' | 'panHint' | 'compositionLines' | 'screenshot' | 'screenshotSaved' | 'screenshotFailed' | 'reset' | 'save' | 'worldPosition' | 'resetStatus' | 'savingStatus' | 'savedStatus' | 'saveFailed';
3
+ export type EditorSceneCameraDebugTooltipTextKey = Exclude<EditorSceneCameraDebugTextKey, 'title' | 'runtime' | 'orthographic' | 'perspective' | 'worldPosition' | 'screenshotSaved' | 'screenshotFailed' | 'resetStatus' | 'savingStatus' | 'savedStatus' | 'saveFailed'>;
4
+ export type EditorSceneCameraDebugText = Record<EditorSceneCameraDebugTextKey, string>;
5
+ export type EditorSceneCameraDebugTooltipText = Record<EditorSceneCameraDebugTooltipTextKey, string>;
6
+ export declare const EDITOR_SCENE_CAMERA_DEBUG_TEXT: Record<EditorSceneCameraDebugLanguage, EditorSceneCameraDebugText>;
7
+ export declare const EDITOR_SCENE_CAMERA_DEBUG_TOOLTIPS: Record<EditorSceneCameraDebugLanguage, EditorSceneCameraDebugTooltipText>;
8
+ export declare function getEditorSceneCameraDebugText(language: EditorSceneCameraDebugLanguage): EditorSceneCameraDebugText;
9
+ export declare function getEditorSceneCameraDebugTooltips(language: EditorSceneCameraDebugLanguage): EditorSceneCameraDebugTooltipText;
10
+ //# sourceMappingURL=panel-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel-text.d.ts","sourceRoot":"","sources":["../../src/camera-debug/panel-text.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,8BAA8B,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzD,MAAM,MAAM,6BAA6B,GACrC,OAAO,GACP,SAAS,GACT,gBAAgB,GAChB,aAAa,GACb,YAAY,GACZ,cAAc,GACd,aAAa,GACb,OAAO,GACP,MAAM,GACN,QAAQ,GACR,WAAW,GACX,KAAK,GACL,eAAe,GACf,eAAe,GACf,eAAe,GACf,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,WAAW,GACX,WAAW,GACX,WAAW,GACX,aAAa,GACb,SAAS,GACT,eAAe,GACf,eAAe,GACf,SAAS,GACT,kBAAkB,GAClB,YAAY,GACZ,iBAAiB,GACjB,kBAAkB,GAClB,OAAO,GACP,MAAM,GACN,eAAe,GACf,aAAa,GACb,cAAc,GACd,aAAa,GACb,YAAY,CAAC;AAEjB,MAAM,MAAM,oCAAoC,GAAG,OAAO,CACxD,6BAA6B,EAC3B,OAAO,GACP,SAAS,GACT,cAAc,GACd,aAAa,GACb,eAAe,GACf,iBAAiB,GACjB,kBAAkB,GAClB,aAAa,GACb,cAAc,GACd,aAAa,GACb,YAAY,CACf,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAAC;AACvF,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC,oCAAoC,EAAE,MAAM,CAAC,CAAC;AAErG,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,8BAA8B,EAAE,0BAA0B,CAiF7G,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,8BAA8B,EAAE,iCAAiC,CA2DxH,CAAC;AAEF,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,8BAA8B,GAAG,0BAA0B,CAElH;AAED,wBAAgB,iCAAiC,CAAC,QAAQ,EAAE,8BAA8B,GAAG,iCAAiC,CAE7H"}
@@ -0,0 +1,149 @@
1
+ export const EDITOR_SCENE_CAMERA_DEBUG_TEXT = {
2
+ zh: {
3
+ title: '摄像机调试',
4
+ runtime: '运行时',
5
+ languageButton: 'EN',
6
+ toggleTitle: '打开摄像机调试面板',
7
+ projection: '投影模式',
8
+ orthographic: '正交',
9
+ perspective: '透视',
10
+ alpha: '水平环绕角',
11
+ beta: '俯仰角',
12
+ radius: '跟随距离',
13
+ orthoSize: '正交视野高度',
14
+ fov: '透视视野角',
15
+ targetOffsetX: '中心点 X',
16
+ targetOffsetY: '中心点 Y',
17
+ targetOffsetZ: '中心点 Z',
18
+ nearClip: '近裁面距离',
19
+ farClip: '远裁面距离',
20
+ minBeta: '最小俯仰角',
21
+ maxBeta: '最大俯仰角',
22
+ betaRange: '俯仰角范围',
23
+ minRadius: '最小跟随距离',
24
+ maxRadius: '最大跟随距离',
25
+ radiusRange: '跟随距离范围',
26
+ inertia: '平滑惯性',
27
+ screenOffsetX: '画面偏移 X',
28
+ screenOffsetY: '画面偏移 Y',
29
+ panHint: 'W/S 前进 / 后退 · A/D 左 / 右 · 十字准星 = 预览目标',
30
+ compositionLines: '构图线',
31
+ screenshot: '截图',
32
+ screenshotSaved: '截图已保存。',
33
+ screenshotFailed: '截图失败',
34
+ reset: '重置参数',
35
+ save: '保存参数',
36
+ worldPosition: '世界坐标',
37
+ resetStatus: '已重置为初始运行时摄像机。',
38
+ savingStatus: '正在保存摄像机参数...',
39
+ savedStatus: '已保存摄像机参数,正在重新加载...',
40
+ saveFailed: '保存失败',
41
+ },
42
+ en: {
43
+ title: 'Camera Debug',
44
+ runtime: 'Runtime',
45
+ languageButton: '中文',
46
+ toggleTitle: 'Toggle camera debug panel',
47
+ projection: 'Projection',
48
+ orthographic: 'Orthographic',
49
+ perspective: 'Perspective',
50
+ alpha: 'Alpha',
51
+ beta: 'Beta',
52
+ radius: 'Radius',
53
+ orthoSize: 'Ortho Size',
54
+ fov: 'FOV',
55
+ targetOffsetX: 'Target X',
56
+ targetOffsetY: 'Target Y',
57
+ targetOffsetZ: 'Target Z',
58
+ nearClip: 'Near Clip',
59
+ farClip: 'Far Clip',
60
+ minBeta: 'Min Beta',
61
+ maxBeta: 'Max Beta',
62
+ betaRange: 'Pitch Range',
63
+ minRadius: 'Min Radius',
64
+ maxRadius: 'Max Radius',
65
+ radiusRange: 'Follow Distance Range',
66
+ inertia: 'Inertia',
67
+ screenOffsetX: 'Screen Offset X',
68
+ screenOffsetY: 'Screen Offset Y',
69
+ panHint: 'W/S Forward / Back · A/D Left / Right · crosshair = preview target',
70
+ compositionLines: 'Guides',
71
+ screenshot: 'Screenshot',
72
+ screenshotSaved: 'Screenshot saved.',
73
+ screenshotFailed: 'Screenshot failed',
74
+ reset: 'Reset',
75
+ save: 'Save Rig',
76
+ worldPosition: 'World',
77
+ resetStatus: 'Reset to initial runtime camera.',
78
+ savingStatus: 'Saving rig...',
79
+ savedStatus: 'Saved rig. Reloading...',
80
+ saveFailed: 'Save failed',
81
+ },
82
+ };
83
+ export const EDITOR_SCENE_CAMERA_DEBUG_TOOLTIPS = {
84
+ zh: {
85
+ languageButton: '切换摄像机调试面板的显示语言。',
86
+ toggleTitle: '打开或关闭运行时摄像机调试面板。',
87
+ projection: '切换主摄像机的正交或透视投影模式。',
88
+ alpha: 'ArcRotate 水平环绕角;界面用角度显示,保存为弧度。',
89
+ beta: 'ArcRotate 垂直俯仰角;界面用角度显示,保存为弧度。',
90
+ radius: '摄像机到观察目标的距离。',
91
+ orthoSize: '正交模式下的视野高度,数值越大看到的范围越大。',
92
+ fov: '透视模式下的垂直视野角;界面用角度显示,保存为弧度。',
93
+ targetOffsetX: '摄像机观察中心点的世界 X 坐标;保存为 camera.targetOffset.x。',
94
+ targetOffsetY: '摄像机观察中心点的世界 Y 坐标;保存为 camera.targetOffset.y。',
95
+ targetOffsetZ: '摄像机观察中心点的世界 Z 坐标;保存为 camera.targetOffset.z。',
96
+ nearClip: '小于该距离的内容不会被摄像机渲染。',
97
+ farClip: '大于该距离的内容不会被摄像机渲染。',
98
+ minBeta: '限制运行时可用的最小俯仰角;界面用角度显示,保存为弧度。',
99
+ maxBeta: '限制运行时可用的最大俯仰角;界面用角度显示,保存为弧度。',
100
+ betaRange: '运行时允许的俯仰角范围,左侧为最小值,右侧为最大值;界面用角度显示。',
101
+ minRadius: '限制摄像机可接近目标的最小距离。',
102
+ maxRadius: '限制摄像机可远离目标的最大距离。',
103
+ radiusRange: '运行时允许的跟随距离范围,左侧为最小值,右侧为最大值。',
104
+ inertia: '摄像机输入或跟随的平滑惯性,0 最灵敏,1 最平滑。',
105
+ screenOffsetX: '将观察目标在画面中水平偏移。',
106
+ screenOffsetY: '将观察目标在画面中垂直偏移。',
107
+ panHint: '面板打开时可用 W/A/S/D 移动预览目标;关闭面板会恢复目标位置。',
108
+ compositionLines: '显示或隐藏相机视口构图辅助线。',
109
+ screenshot: '截取当前相机视口内容并保存为 PNG。',
110
+ reset: '恢复为打开运行时时读取到的初始摄像机参数。',
111
+ save: '通过编辑器保存链路写回 Main Camera,并在保存成功后重新加载运行时。',
112
+ },
113
+ en: {
114
+ languageButton: 'Switch the camera debug panel language.',
115
+ toggleTitle: 'Open or close the runtime camera debug panel.',
116
+ projection: 'Switch the Main Camera between orthographic and perspective projection.',
117
+ alpha: 'ArcRotate horizontal orbit angle. The UI uses degrees; saved data uses radians.',
118
+ beta: 'ArcRotate vertical pitch angle. The UI uses degrees; saved data uses radians.',
119
+ radius: 'Distance from the camera to the look target.',
120
+ orthoSize: 'Orthographic view height. Larger values show a wider area.',
121
+ fov: 'Perspective vertical field of view. The UI uses degrees; saved data uses radians.',
122
+ targetOffsetX: 'World X coordinate of the camera look target. Saved as camera.targetOffset.x.',
123
+ targetOffsetY: 'World Y coordinate of the camera look target. Saved as camera.targetOffset.y.',
124
+ targetOffsetZ: 'World Z coordinate of the camera look target. Saved as camera.targetOffset.z.',
125
+ nearClip: 'Content closer than this distance is not rendered.',
126
+ farClip: 'Content farther than this distance is not rendered.',
127
+ minBeta: 'Minimum allowed runtime pitch angle. The UI uses degrees; saved data uses radians.',
128
+ maxBeta: 'Maximum allowed runtime pitch angle. The UI uses degrees; saved data uses radians.',
129
+ betaRange: 'Allowed runtime pitch range. Left is minimum; right is maximum. The UI uses degrees.',
130
+ minRadius: 'Minimum allowed camera distance from the target.',
131
+ maxRadius: 'Maximum allowed camera distance from the target.',
132
+ radiusRange: 'Allowed runtime follow distance range. Left is minimum; right is maximum.',
133
+ inertia: 'Camera input/follow smoothing. 0 is most responsive; 1 is smoothest.',
134
+ screenOffsetX: 'Moves the look target horizontally in screen space.',
135
+ screenOffsetY: 'Moves the look target vertically in screen space.',
136
+ panHint: 'When the panel is open, use W/A/S/D to move the preview target; closing the panel restores it.',
137
+ compositionLines: 'Show or hide camera viewport composition guides.',
138
+ screenshot: 'Capture the current camera viewport as a PNG.',
139
+ reset: 'Restore the camera parameters captured when runtime opened.',
140
+ save: 'Save back to the Main Camera through the editor authoring pipeline, then reload runtime.',
141
+ },
142
+ };
143
+ export function getEditorSceneCameraDebugText(language) {
144
+ return EDITOR_SCENE_CAMERA_DEBUG_TEXT[language] ?? EDITOR_SCENE_CAMERA_DEBUG_TEXT.zh;
145
+ }
146
+ export function getEditorSceneCameraDebugTooltips(language) {
147
+ return EDITOR_SCENE_CAMERA_DEBUG_TOOLTIPS[language] ?? EDITOR_SCENE_CAMERA_DEBUG_TOOLTIPS.zh;
148
+ }
149
+ //# sourceMappingURL=panel-text.js.map
@@ -0,0 +1 @@
1
+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BAA8B,CAAC,EAAE,CAAC;AACvF,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,QAAwC;IACxF,OAAO,kCAAkC,CAAC,QAAQ,CAAC,IAAI,kCAAkC,CAAC,EAAE,CAAC;AAC/F,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { EditorSceneCameraRig } from '../document/index';
2
+ import type { EditorSceneCameraDebugNumberField, EditorSceneCameraDebugSnapshot } from './types';
3
+ export declare function cloneEditorSceneCameraDebugSnapshot(snapshot: EditorSceneCameraDebugSnapshot): EditorSceneCameraDebugSnapshot;
4
+ export declare function readEditorSceneCameraDebugSnapshotField(snapshot: EditorSceneCameraDebugSnapshot, field: EditorSceneCameraDebugNumberField): number | undefined;
5
+ export declare function toEditorSceneCameraRig(snapshot: EditorSceneCameraDebugSnapshot): EditorSceneCameraRig;
6
+ export declare function sanitizeEditorSceneCameraRig(cameraRig: EditorSceneCameraRig): EditorSceneCameraRig;
7
+ export declare function normalizeEditorSceneCameraDebugSnapshotRanges(snapshot: EditorSceneCameraDebugSnapshot, activeField?: EditorSceneCameraDebugNumberField | null): EditorSceneCameraDebugSnapshot;
8
+ //# sourceMappingURL=rig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rig.d.ts","sourceRoot":"","sources":["../../src/camera-debug/rig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,mBAAmB,CAAC;AAK3B,OAAO,KAAK,EACV,iCAAiC,EACjC,8BAA8B,EAE/B,MAAM,SAAS,CAAC;AAEjB,wBAAgB,mCAAmC,CACjD,QAAQ,EAAE,8BAA8B,GACvC,8BAA8B,CAQhC;AAED,wBAAgB,uCAAuC,CACrD,QAAQ,EAAE,8BAA8B,EACxC,KAAK,EAAE,iCAAiC,GACvC,MAAM,GAAG,SAAS,CAoBpB;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,8BAA8B,GAAG,oBAAoB,CAkBrG;AAED,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,oBAAoB,GAAG,oBAAoB,CAoClG;AAED,wBAAgB,6CAA6C,CAC3D,QAAQ,EAAE,8BAA8B,EACxC,WAAW,GAAE,iCAAiC,GAAG,IAAW,GAC3D,8BAA8B,CAgBhC"}
@@ -0,0 +1,214 @@
1
+ import { degreesToEditorSceneCameraDebugRadians, radiansToEditorSceneCameraDebugDegrees, } from './math.js';
2
+ export function cloneEditorSceneCameraDebugSnapshot(snapshot) {
3
+ return {
4
+ ...snapshot,
5
+ ...(snapshot.targetOffset ? { targetOffset: { ...snapshot.targetOffset } } : {}),
6
+ ...(snapshot.targetScreenOffset ? { targetScreenOffset: { ...snapshot.targetScreenOffset } } : {}),
7
+ target: { ...snapshot.target },
8
+ ...(snapshot.binding && typeof snapshot.binding === 'object' ? { binding: { ...snapshot.binding } } : {}),
9
+ };
10
+ }
11
+ export function readEditorSceneCameraDebugSnapshotField(snapshot, field) {
12
+ switch (field) {
13
+ case 'alpha': return radiansToEditorSceneCameraDebugDegrees(snapshot.alpha);
14
+ case 'beta': return radiansToEditorSceneCameraDebugDegrees(snapshot.beta);
15
+ case 'radius': return snapshot.radius;
16
+ case 'orthoSize': return snapshot.orthoSize;
17
+ case 'fovDeg': return radiansToEditorSceneCameraDebugDegrees(snapshot.fov);
18
+ case 'targetOffsetX': return (snapshot.targetOffset ?? snapshot.target).x;
19
+ case 'targetOffsetY': return (snapshot.targetOffset ?? snapshot.target).y;
20
+ case 'targetOffsetZ': return (snapshot.targetOffset ?? snapshot.target).z;
21
+ case 'minZ': return snapshot.minZ;
22
+ case 'maxZ': return snapshot.maxZ;
23
+ case 'lowerBetaLimit': return snapshot.lowerBetaLimit == null ? undefined : radiansToEditorSceneCameraDebugDegrees(snapshot.lowerBetaLimit);
24
+ case 'upperBetaLimit': return snapshot.upperBetaLimit == null ? undefined : radiansToEditorSceneCameraDebugDegrees(snapshot.upperBetaLimit);
25
+ case 'lowerRadiusLimit': return snapshot.lowerRadiusLimit;
26
+ case 'upperRadiusLimit': return snapshot.upperRadiusLimit;
27
+ case 'inertia': return snapshot.inertia;
28
+ case 'targetScreenOffsetX': return snapshot.targetScreenOffset?.x;
29
+ case 'targetScreenOffsetY': return snapshot.targetScreenOffset?.y;
30
+ }
31
+ }
32
+ export function toEditorSceneCameraRig(snapshot) {
33
+ return {
34
+ projection: snapshot.projection,
35
+ alpha: snapshot.alpha,
36
+ beta: snapshot.beta,
37
+ radius: snapshot.radius,
38
+ orthoSize: snapshot.orthoSize,
39
+ fov: snapshot.fov,
40
+ targetOffset: { ...(snapshot.targetOffset ?? snapshot.target) },
41
+ minZ: snapshot.minZ,
42
+ maxZ: snapshot.maxZ,
43
+ lowerBetaLimit: snapshot.lowerBetaLimit,
44
+ upperBetaLimit: snapshot.upperBetaLimit,
45
+ lowerRadiusLimit: snapshot.lowerRadiusLimit,
46
+ upperRadiusLimit: snapshot.upperRadiusLimit,
47
+ inertia: snapshot.inertia,
48
+ ...(snapshot.targetScreenOffset ? { targetScreenOffset: { ...snapshot.targetScreenOffset } } : {}),
49
+ };
50
+ }
51
+ export function sanitizeEditorSceneCameraRig(cameraRig) {
52
+ const sanitized = {
53
+ projection: readEditorSceneCameraProjection(cameraRig.projection),
54
+ alpha: readFiniteCameraRigNumber(cameraRig.alpha, 'alpha'),
55
+ beta: readFiniteCameraRigNumber(cameraRig.beta, 'beta'),
56
+ radius: readPositiveFiniteCameraRigNumber(cameraRig.radius, 'radius'),
57
+ orthoSize: readPositiveFiniteCameraRigNumber(cameraRig.orthoSize, 'orthoSize'),
58
+ fov: readPositiveFiniteCameraRigNumber(cameraRig.fov ?? 0.85, 'fov'),
59
+ };
60
+ const targetOffset = readCameraRigVec3(cameraRig.targetOffset, 'targetOffset');
61
+ if (targetOffset)
62
+ sanitized.targetOffset = targetOffset;
63
+ const minZ = readOptionalPositiveFiniteCameraRigNumber(cameraRig.minZ, 'minZ');
64
+ if (minZ != null)
65
+ sanitized.minZ = minZ;
66
+ const maxZ = readOptionalPositiveFiniteCameraRigNumber(cameraRig.maxZ, 'maxZ');
67
+ if (maxZ != null)
68
+ sanitized.maxZ = maxZ;
69
+ const lowerBetaLimit = readOptionalFiniteCameraRigNumber(cameraRig.lowerBetaLimit, 'lowerBetaLimit');
70
+ if (lowerBetaLimit != null)
71
+ sanitized.lowerBetaLimit = lowerBetaLimit;
72
+ const upperBetaLimit = readOptionalFiniteCameraRigNumber(cameraRig.upperBetaLimit, 'upperBetaLimit');
73
+ if (upperBetaLimit != null)
74
+ sanitized.upperBetaLimit = upperBetaLimit;
75
+ const lowerRadiusLimit = readOptionalPositiveFiniteCameraRigNumber(cameraRig.lowerRadiusLimit, 'lowerRadiusLimit');
76
+ if (lowerRadiusLimit != null)
77
+ sanitized.lowerRadiusLimit = lowerRadiusLimit;
78
+ const upperRadiusLimit = readOptionalPositiveFiniteCameraRigNumber(cameraRig.upperRadiusLimit, 'upperRadiusLimit');
79
+ if (upperRadiusLimit != null)
80
+ sanitized.upperRadiusLimit = upperRadiusLimit;
81
+ const inertia = readOptionalUnitCameraRigNumber(cameraRig.inertia, 'inertia');
82
+ if (inertia != null)
83
+ sanitized.inertia = inertia;
84
+ const targetScreenOffset = readCameraRigVec2(cameraRig.targetScreenOffset, 'targetScreenOffset');
85
+ if (targetScreenOffset)
86
+ sanitized.targetScreenOffset = targetScreenOffset;
87
+ assertEditorSceneCameraRigRelationships(sanitized);
88
+ return sanitized;
89
+ }
90
+ export function normalizeEditorSceneCameraDebugSnapshotRanges(snapshot, activeField = null) {
91
+ normalizeEditorSceneCameraDebugNumberRange(snapshot, {
92
+ valueField: 'beta',
93
+ lowerField: 'lowerBetaLimit',
94
+ upperField: 'upperBetaLimit',
95
+ activeField,
96
+ minValue: Number.NEGATIVE_INFINITY,
97
+ });
98
+ normalizeEditorSceneCameraDebugNumberRange(snapshot, {
99
+ valueField: 'radius',
100
+ lowerField: 'lowerRadiusLimit',
101
+ upperField: 'upperRadiusLimit',
102
+ activeField,
103
+ minValue: 0.001,
104
+ });
105
+ return snapshot;
106
+ }
107
+ function normalizeEditorSceneCameraDebugNumberRange(snapshot, options) {
108
+ let value = snapshot[options.valueField];
109
+ let lower = snapshot[options.lowerField] ?? value;
110
+ let upper = snapshot[options.upperField] ?? value;
111
+ if (upper < lower) {
112
+ if (options.activeField === options.upperField)
113
+ lower = upper;
114
+ else
115
+ upper = lower;
116
+ }
117
+ if (options.activeField === options.lowerField || options.activeField === options.upperField) {
118
+ value = Math.min(upper, Math.max(lower, value));
119
+ if (Number.isFinite(options.minValue))
120
+ value = Math.max(options.minValue, value);
121
+ }
122
+ else {
123
+ if (value < lower)
124
+ lower = value;
125
+ if (value > upper)
126
+ upper = value;
127
+ }
128
+ snapshot[options.valueField] = value;
129
+ snapshot[options.lowerField] = Number.isFinite(options.minValue) ? Math.max(options.minValue, lower) : lower;
130
+ snapshot[options.upperField] = Number.isFinite(options.minValue) ? Math.max(options.minValue, upper) : upper;
131
+ }
132
+ function readEditorSceneCameraProjection(value) {
133
+ if (value == null)
134
+ return 'orthographic';
135
+ if (value === 'orthographic' || value === 'perspective')
136
+ return value;
137
+ throw new Error('Runtime camera rig projection must be orthographic or perspective.');
138
+ }
139
+ function assertEditorSceneCameraRigRelationships(cameraRig) {
140
+ if (typeof cameraRig.minZ === 'number' && typeof cameraRig.maxZ === 'number' && cameraRig.maxZ <= cameraRig.minZ) {
141
+ throw new Error('Runtime camera rig maxZ must be greater than minZ.');
142
+ }
143
+ if (typeof cameraRig.lowerBetaLimit === 'number'
144
+ && typeof cameraRig.upperBetaLimit === 'number'
145
+ && cameraRig.upperBetaLimit < cameraRig.lowerBetaLimit) {
146
+ throw new Error('Runtime camera rig upperBetaLimit must be greater than or equal to lowerBetaLimit.');
147
+ }
148
+ if (typeof cameraRig.lowerRadiusLimit === 'number'
149
+ && typeof cameraRig.upperRadiusLimit === 'number'
150
+ && cameraRig.upperRadiusLimit < cameraRig.lowerRadiusLimit) {
151
+ throw new Error('Runtime camera rig upperRadiusLimit must be greater than or equal to lowerRadiusLimit.');
152
+ }
153
+ }
154
+ function readFiniteCameraRigNumber(value, label) {
155
+ if (typeof value !== 'number' || !Number.isFinite(value)) {
156
+ throw new Error(`Runtime camera rig ${label} must be a finite number.`);
157
+ }
158
+ return value;
159
+ }
160
+ function readOptionalFiniteCameraRigNumber(value, label) {
161
+ if (value == null)
162
+ return undefined;
163
+ return readFiniteCameraRigNumber(value, label);
164
+ }
165
+ function readPositiveFiniteCameraRigNumber(value, label) {
166
+ const numberValue = readFiniteCameraRigNumber(value, label);
167
+ if (numberValue <= 0)
168
+ throw new Error(`Runtime camera rig ${label} must be greater than 0.`);
169
+ return numberValue;
170
+ }
171
+ function readOptionalPositiveFiniteCameraRigNumber(value, label) {
172
+ if (value == null)
173
+ return undefined;
174
+ return readPositiveFiniteCameraRigNumber(value, label);
175
+ }
176
+ function readOptionalUnitCameraRigNumber(value, label) {
177
+ if (value == null)
178
+ return undefined;
179
+ const numberValue = readFiniteCameraRigNumber(value, label);
180
+ if (numberValue < 0 || numberValue > 1)
181
+ throw new Error(`Runtime camera rig ${label} must be between 0 and 1.`);
182
+ return numberValue;
183
+ }
184
+ function readCameraRigVec3(value, label) {
185
+ const record = readRecord(value);
186
+ if (!record) {
187
+ if (value == null)
188
+ return undefined;
189
+ throw new Error(`Runtime camera rig ${label} must be a vector object.`);
190
+ }
191
+ return {
192
+ x: readFiniteCameraRigNumber(record.x, `${label}.x`),
193
+ y: readFiniteCameraRigNumber(record.y, `${label}.y`),
194
+ z: readFiniteCameraRigNumber(record.z, `${label}.z`),
195
+ };
196
+ }
197
+ function readCameraRigVec2(value, label) {
198
+ const record = readRecord(value);
199
+ if (!record) {
200
+ if (value == null)
201
+ return undefined;
202
+ throw new Error(`Runtime camera rig ${label} must be a vector object.`);
203
+ }
204
+ return {
205
+ x: readFiniteCameraRigNumber(record.x, `${label}.x`),
206
+ y: readFiniteCameraRigNumber(record.y, `${label}.y`),
207
+ };
208
+ }
209
+ function readRecord(value) {
210
+ return value && typeof value === 'object' && !Array.isArray(value)
211
+ ? value
212
+ : null;
213
+ }
214
+ //# sourceMappingURL=rig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rig.js","sourceRoot":"","sources":["../../src/camera-debug/rig.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sCAAsC,EACtC,sCAAsC,GACvC,MAAM,QAAQ,CAAC;AAOhB,MAAM,UAAU,mCAAmC,CACjD,QAAwC;IAExC,OAAO;QACL,GAAG,QAAQ;QACX,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE,GAAG,QAAQ,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAChF,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,EAAE,GAAG,QAAQ,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAClG,MAAM,EAAE,EAAE,GAAG,QAAQ,CAAC,MAAM,EAAE;QAC9B,GAAG,CAAC,QAAQ,CAAC,OAAO,IAAI,OAAO,QAAQ,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC1G,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uCAAuC,CACrD,QAAwC,EACxC,KAAwC;IAExC,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,OAAO,CAAC,CAAC,OAAO,sCAAsC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC5E,KAAK,MAAM,CAAC,CAAC,OAAO,sCAAsC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC1E,KAAK,QAAQ,CAAC,CAAC,OAAO,QAAQ,CAAC,MAAM,CAAC;QACtC,KAAK,WAAW,CAAC,CAAC,OAAO,QAAQ,CAAC,SAA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,MAAM,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,IAAI,KAAK,IAAI,IAAI;YAAE,OAAO,SAAS,CAAC;QACpC,MAAM,IAAI,KAAK,CAAC,sBAAsB,KAAK,2BAA2B,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO;QACL,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;QACpD,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;KACrD,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,KAAc;IAChC,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,17 @@
1
+ import type { EditorSceneCameraRig, EditorSceneDocument, EditorSceneGameObject } from '../document/index';
2
+ import { type EditorSceneFieldMutationOptions } from '../mutation/index';
3
+ import { type EditorSceneRuntimeCameraBinding } from './binding';
4
+ export declare const EDITOR_SCENE_CAMERA_RIG_SAVE_FIELDS: readonly ["projection", "alpha", "beta", "radius", "orthoSize", "fov", "targetOffset", "minZ", "maxZ", "lowerBetaLimit", "upperBetaLimit", "lowerRadiusLimit", "upperRadiusLimit", "inertia", "targetScreenOffset"];
5
+ export interface EditorSceneRuntimeCameraRigPatchOptions<TDocument extends EditorSceneDocument = EditorSceneDocument, TGameObject extends EditorSceneGameObject = EditorSceneGameObject> {
6
+ expectedSourceId?: string;
7
+ fieldMutation?: EditorSceneFieldMutationOptions<TDocument, TGameObject>;
8
+ patchCameraField?: (document: TDocument, targetId: string, path: string, value: unknown) => TDocument;
9
+ }
10
+ export interface EditorSceneRuntimeCameraRigPatchResult<TDocument extends EditorSceneDocument = EditorSceneDocument> {
11
+ document: TDocument;
12
+ targetId: string;
13
+ objectGuid?: string;
14
+ }
15
+ export declare function patchEditorSceneRuntimeCameraRig<TDocument extends EditorSceneDocument = EditorSceneDocument, TGameObject extends EditorSceneGameObject = EditorSceneGameObject>(document: TDocument, binding: EditorSceneRuntimeCameraBinding, cameraRig: EditorSceneCameraRig, options?: EditorSceneRuntimeCameraRigPatchOptions<TDocument, TGameObject>): EditorSceneRuntimeCameraRigPatchResult<TDocument>;
16
+ export declare function findEditorSceneRuntimeCameraTarget<TGameObject extends EditorSceneGameObject = EditorSceneGameObject>(document: EditorSceneDocument<TGameObject>, binding: Pick<EditorSceneRuntimeCameraBinding, 'objectGuid' | 'objectId'>, originalGuidById?: Map<string, string>): TGameObject | null;
17
+ //# sourceMappingURL=save-patch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-patch.d.ts","sourceRoot":"","sources":["../../src/camera-debug/save-patch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAEL,KAAK,+BAA+B,EACrC,MAAM,WAAW,CAAC;AAKnB,eAAO,MAAM,mCAAmC,qNAgBtC,CAAC;AAEX,MAAM,WAAW,uCAAuC,CACtD,SAAS,SAAS,mBAAmB,GAAG,mBAAmB,EAC3D,WAAW,SAAS,qBAAqB,GAAG,qBAAqB;IAEjE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,+BAA+B,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACxE,gBAAgB,CAAC,EAAE,CACjB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,KACX,SAAS,CAAC;CAChB;AAED,MAAM,WAAW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