@automovie/render 0.3.4 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3120) hide show
  1. package/README.md +11 -122
  2. package/lib/AUTOMOVIE_GUIDE_PASSES.d.ts +10 -3
  3. package/lib/AUTOMOVIE_GUIDE_PASSES.js +12 -3
  4. package/lib/AUTOMOVIE_GUIDE_PASSES.js.map +1 -1
  5. package/lib/AUTOMOVIE_GUIDE_PASSES.mjs +13 -4
  6. package/lib/AUTOMOVIE_GUIDE_PASSES.mjs.map +1 -1
  7. package/lib/AutoMovieFrameGrid.d.ts +7 -37
  8. package/lib/AutoMovieFrameGrid.js +7 -37
  9. package/lib/AutoMovieFrameGrid.js.map +1 -1
  10. package/lib/AutoMovieFrameGrid.mjs.map +1 -1
  11. package/lib/audio/admitAutoMovieFilmDialogue.d.ts +23 -0
  12. package/lib/audio/admitAutoMovieFilmDialogue.js +79 -0
  13. package/lib/audio/admitAutoMovieFilmDialogue.js.map +1 -0
  14. package/lib/audio/admitAutoMovieFilmDialogue.mjs +76 -0
  15. package/lib/audio/admitAutoMovieFilmDialogue.mjs.map +1 -0
  16. package/lib/audio/encodeAutoMovieWavPcm16.d.ts +5 -12
  17. package/lib/audio/encodeAutoMovieWavPcm16.js +6 -14
  18. package/lib/audio/encodeAutoMovieWavPcm16.js.map +1 -1
  19. package/lib/audio/encodeAutoMovieWavPcm16.mjs +7 -14
  20. package/lib/audio/encodeAutoMovieWavPcm16.mjs.map +1 -1
  21. package/lib/audio/index.d.ts +3 -1
  22. package/lib/audio/index.js +3 -1
  23. package/lib/audio/index.js.map +1 -1
  24. package/lib/audio/index.mjs +4 -2
  25. package/lib/audio/measureAutoMovieDialogueLipSync.d.ts +37 -0
  26. package/lib/audio/measureAutoMovieDialogueLipSync.js +81 -0
  27. package/lib/audio/measureAutoMovieDialogueLipSync.js.map +1 -0
  28. package/lib/audio/measureAutoMovieDialogueLipSync.mjs +79 -0
  29. package/lib/audio/measureAutoMovieDialogueLipSync.mjs.map +1 -0
  30. package/lib/audio/mixAutoMovieFilmSound.d.ts +26 -0
  31. package/lib/audio/mixAutoMovieFilmSound.js +138 -0
  32. package/lib/audio/mixAutoMovieFilmSound.js.map +1 -0
  33. package/lib/audio/mixAutoMovieFilmSound.mjs +118 -0
  34. package/lib/audio/mixAutoMovieFilmSound.mjs.map +1 -0
  35. package/lib/audio/planAutoMovieDialogueMouths.d.ts +28 -0
  36. package/lib/audio/planAutoMovieDialogueMouths.js +61 -0
  37. package/lib/audio/planAutoMovieDialogueMouths.js.map +1 -0
  38. package/lib/audio/planAutoMovieDialogueMouths.mjs +65 -0
  39. package/lib/audio/planAutoMovieDialogueMouths.mjs.map +1 -0
  40. package/lib/auditAutoMovieRenderObservation.d.ts +0 -8
  41. package/lib/auditAutoMovieRenderObservation.js +0 -10
  42. package/lib/auditAutoMovieRenderObservation.js.map +1 -1
  43. package/lib/auditAutoMovieRenderObservation.mjs +1 -9
  44. package/lib/auditAutoMovieRenderObservation.mjs.map +1 -1
  45. package/lib/caption/autoMovieCaptionLanguageComparisonKey.d.ts +2 -10
  46. package/lib/caption/autoMovieCaptionLanguageComparisonKey.js +2 -10
  47. package/lib/caption/autoMovieCaptionLanguageComparisonKey.js.map +1 -1
  48. package/lib/caption/autoMovieCaptionLanguageComparisonKey.mjs +2 -10
  49. package/lib/caption/autoMovieCaptionLanguageComparisonKey.mjs.map +1 -1
  50. package/lib/caption/beatCaptions.d.ts +0 -8
  51. package/lib/caption/beatCaptions.js +0 -8
  52. package/lib/caption/beatCaptions.js.map +1 -1
  53. package/lib/caption/beatCaptions.mjs +0 -8
  54. package/lib/caption/beatCaptions.mjs.map +1 -1
  55. package/lib/caption/canonicalProductionWebVtt.d.ts +5 -13
  56. package/lib/caption/canonicalProductionWebVtt.js +9 -14
  57. package/lib/caption/canonicalProductionWebVtt.js.map +1 -1
  58. package/lib/caption/canonicalProductionWebVtt.mjs +9 -14
  59. package/lib/caption/canonicalProductionWebVtt.mjs.map +1 -1
  60. package/lib/caption/canonicalizeAutoMovieCaptionText.d.ts +0 -8
  61. package/lib/caption/canonicalizeAutoMovieCaptionText.js +0 -8
  62. package/lib/caption/canonicalizeAutoMovieCaptionText.js.map +1 -1
  63. package/lib/caption/canonicalizeAutoMovieCaptionText.mjs +0 -8
  64. package/lib/caption/canonicalizeAutoMovieCaptionText.mjs.map +1 -1
  65. package/lib/caption/escapeWebVttText.d.ts +0 -8
  66. package/lib/caption/escapeWebVttText.js +0 -8
  67. package/lib/caption/escapeWebVttText.js.map +1 -1
  68. package/lib/caption/escapeWebVttText.mjs +0 -8
  69. package/lib/caption/escapeWebVttText.mjs.map +1 -1
  70. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.d.ts +7 -15
  71. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.js +7 -15
  72. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.js.map +1 -1
  73. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.mjs +7 -15
  74. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.mjs.map +1 -1
  75. package/lib/caption/isAutoMovieWebVttIdentifier.d.ts +2 -10
  76. package/lib/caption/isAutoMovieWebVttIdentifier.js +2 -10
  77. package/lib/caption/isAutoMovieWebVttIdentifier.js.map +1 -1
  78. package/lib/caption/isAutoMovieWebVttIdentifier.mjs +2 -10
  79. package/lib/caption/isAutoMovieWebVttIdentifier.mjs.map +1 -1
  80. package/lib/caption/parseAutoMovieCaptionLanguage.d.ts +0 -8
  81. package/lib/caption/parseAutoMovieCaptionLanguage.js +0 -8
  82. package/lib/caption/parseAutoMovieCaptionLanguage.js.map +1 -1
  83. package/lib/caption/parseAutoMovieCaptionLanguage.mjs +0 -8
  84. package/lib/caption/parseAutoMovieCaptionLanguage.mjs.map +1 -1
  85. package/lib/caption/serializeAutoMovieWebVttCueText.d.ts +0 -8
  86. package/lib/caption/serializeAutoMovieWebVttCueText.js +0 -8
  87. package/lib/caption/serializeAutoMovieWebVttCueText.js.map +1 -1
  88. package/lib/caption/serializeAutoMovieWebVttCueText.mjs +0 -8
  89. package/lib/caption/serializeAutoMovieWebVttCueText.mjs.map +1 -1
  90. package/lib/caption/serializeAutoMovieWebVttIdentifier.d.ts +0 -8
  91. package/lib/caption/serializeAutoMovieWebVttIdentifier.js +0 -8
  92. package/lib/caption/serializeAutoMovieWebVttIdentifier.js.map +1 -1
  93. package/lib/caption/serializeAutoMovieWebVttIdentifier.mjs +0 -8
  94. package/lib/caption/serializeAutoMovieWebVttIdentifier.mjs.map +1 -1
  95. package/lib/caption/serializeAutoMovieWebVttSingleLineText.d.ts +0 -8
  96. package/lib/caption/serializeAutoMovieWebVttSingleLineText.js +0 -8
  97. package/lib/caption/serializeAutoMovieWebVttSingleLineText.js.map +1 -1
  98. package/lib/caption/serializeAutoMovieWebVttSingleLineText.mjs +0 -8
  99. package/lib/caption/serializeAutoMovieWebVttSingleLineText.mjs.map +1 -1
  100. package/lib/caption/webVttCaptionLanguage.d.ts +2 -10
  101. package/lib/caption/webVttCaptionLanguage.js +2 -10
  102. package/lib/caption/webVttCaptionLanguage.js.map +1 -1
  103. package/lib/caption/webVttCaptionLanguage.mjs +2 -10
  104. package/lib/caption/webVttCaptionLanguage.mjs.map +1 -1
  105. package/lib/caption/webVttTime.d.ts +3 -11
  106. package/lib/caption/webVttTime.js +3 -11
  107. package/lib/caption/webVttTime.js.map +1 -1
  108. package/lib/caption/webVttTime.mjs +3 -11
  109. package/lib/caption/webVttTime.mjs.map +1 -1
  110. package/lib/capture/AUTO_MOVIE_CAPTURE_PLAN_KEYS.d.ts +7 -2
  111. package/lib/capture/AUTO_MOVIE_CAPTURE_PLAN_KEYS.js +7 -2
  112. package/lib/capture/AUTO_MOVIE_CAPTURE_PLAN_KEYS.js.map +1 -1
  113. package/lib/capture/AUTO_MOVIE_CAPTURE_PLAN_KEYS.mjs +7 -2
  114. package/lib/capture/AUTO_MOVIE_CAPTURE_PLAN_KEYS.mjs.map +1 -1
  115. package/lib/capture/AutoMovieCaptureFolder.d.ts +40 -67
  116. package/lib/capture/AutoMovieCaptureFolder.js +53 -76
  117. package/lib/capture/AutoMovieCaptureFolder.js.map +1 -1
  118. package/lib/capture/AutoMovieCaptureFolder.mjs +48 -71
  119. package/lib/capture/AutoMovieCaptureFolder.mjs.map +1 -1
  120. package/lib/capture/compareAutoMovieCaptureRounds.d.ts +23 -10
  121. package/lib/capture/compareAutoMovieCaptureRounds.js +172 -38
  122. package/lib/capture/compareAutoMovieCaptureRounds.js.map +1 -1
  123. package/lib/capture/compareAutoMovieCaptureRounds.mjs +155 -31
  124. package/lib/capture/compareAutoMovieCaptureRounds.mjs.map +1 -1
  125. package/lib/capture/diffAutoMovieCaptureFindings.d.ts +35 -0
  126. package/lib/capture/diffAutoMovieCaptureFindings.js +338 -0
  127. package/lib/capture/diffAutoMovieCaptureFindings.js.map +1 -0
  128. package/lib/capture/diffAutoMovieCaptureFindings.mjs +277 -0
  129. package/lib/capture/diffAutoMovieCaptureFindings.mjs.map +1 -0
  130. package/lib/capture/formatAutoMovieCapturePlanRequest.d.ts +17 -12
  131. package/lib/capture/formatAutoMovieCapturePlanRequest.js +17 -12
  132. package/lib/capture/formatAutoMovieCapturePlanRequest.js.map +1 -1
  133. package/lib/capture/formatAutoMovieCapturePlanRequest.mjs +17 -12
  134. package/lib/capture/formatAutoMovieCapturePlanRequest.mjs.map +1 -1
  135. package/lib/capture/index.d.ts +2 -1
  136. package/lib/capture/index.js +2 -1
  137. package/lib/capture/index.js.map +1 -1
  138. package/lib/capture/index.mjs +2 -1
  139. package/lib/capture/markAutoMovieCaptureCell.d.ts +5 -10
  140. package/lib/capture/markAutoMovieCaptureCell.js +9 -11
  141. package/lib/capture/markAutoMovieCaptureCell.js.map +1 -1
  142. package/lib/capture/markAutoMovieCaptureCell.mjs +9 -11
  143. package/lib/capture/markAutoMovieCaptureCell.mjs.map +1 -1
  144. package/lib/capture/parseAutoMovieCapturePlanRequest.d.ts +37 -31
  145. package/lib/capture/parseAutoMovieCapturePlanRequest.js +65 -40
  146. package/lib/capture/parseAutoMovieCapturePlanRequest.js.map +1 -1
  147. package/lib/capture/parseAutoMovieCapturePlanRequest.mjs +65 -41
  148. package/lib/capture/parseAutoMovieCapturePlanRequest.mjs.map +1 -1
  149. package/lib/capture/planAutoMovieCapture.d.ts +25 -12
  150. package/lib/capture/planAutoMovieCapture.js +40 -19
  151. package/lib/capture/planAutoMovieCapture.js.map +1 -1
  152. package/lib/capture/planAutoMovieCapture.mjs +39 -18
  153. package/lib/capture/planAutoMovieCapture.mjs.map +1 -1
  154. package/lib/capture/planAutoMovieCaptureFrames.d.ts +23 -12
  155. package/lib/capture/planAutoMovieCaptureFrames.js +31 -17
  156. package/lib/capture/planAutoMovieCaptureFrames.js.map +1 -1
  157. package/lib/capture/planAutoMovieCaptureFrames.mjs +31 -17
  158. package/lib/capture/planAutoMovieCaptureFrames.mjs.map +1 -1
  159. package/lib/capture/planAutoMovieCaptureLayout.d.ts +28 -11
  160. package/lib/capture/planAutoMovieCaptureLayout.js +33 -13
  161. package/lib/capture/planAutoMovieCaptureLayout.js.map +1 -1
  162. package/lib/capture/planAutoMovieCaptureLayout.mjs +33 -13
  163. package/lib/capture/planAutoMovieCaptureLayout.mjs.map +1 -1
  164. package/lib/capture/planAutoMovieVideoFrames.d.ts +15 -12
  165. package/lib/capture/planAutoMovieVideoFrames.js +16 -13
  166. package/lib/capture/planAutoMovieVideoFrames.js.map +1 -1
  167. package/lib/capture/planAutoMovieVideoFrames.mjs +16 -13
  168. package/lib/capture/planAutoMovieVideoFrames.mjs.map +1 -1
  169. package/lib/capture/planAutoMovieVideoSceneCuts.d.ts +17 -11
  170. package/lib/capture/planAutoMovieVideoSceneCuts.js +18 -14
  171. package/lib/capture/planAutoMovieVideoSceneCuts.js.map +1 -1
  172. package/lib/capture/planAutoMovieVideoSceneCuts.mjs +18 -12
  173. package/lib/capture/planAutoMovieVideoSceneCuts.mjs.map +1 -1
  174. package/lib/capture/readAutoMovieCaptureArguments.d.ts +13 -12
  175. package/lib/capture/readAutoMovieCaptureArguments.js +13 -12
  176. package/lib/capture/readAutoMovieCaptureArguments.js.map +1 -1
  177. package/lib/capture/readAutoMovieCaptureArguments.mjs +13 -12
  178. package/lib/capture/readAutoMovieCaptureArguments.mjs.map +1 -1
  179. package/lib/capture/readAutoMovieVideoSceneCuts.d.ts +11 -11
  180. package/lib/capture/readAutoMovieVideoSceneCuts.js +20 -15
  181. package/lib/capture/readAutoMovieVideoSceneCuts.js.map +1 -1
  182. package/lib/capture/readAutoMovieVideoSceneCuts.mjs +18 -16
  183. package/lib/capture/readAutoMovieVideoSceneCuts.mjs.map +1 -1
  184. package/lib/capture/resolveAutoMovieCapturePatterns.d.ts +13 -11
  185. package/lib/capture/resolveAutoMovieCapturePatterns.js +20 -14
  186. package/lib/capture/resolveAutoMovieCapturePatterns.js.map +1 -1
  187. package/lib/capture/resolveAutoMovieCapturePatterns.mjs +19 -12
  188. package/lib/capture/resolveAutoMovieCapturePatterns.mjs.map +1 -1
  189. package/lib/capture/runAutoMovieCapture.d.ts +34 -13
  190. package/lib/capture/runAutoMovieCapture.js +67 -16
  191. package/lib/capture/runAutoMovieCapture.js.map +1 -1
  192. package/lib/capture/runAutoMovieCapture.mjs +62 -17
  193. package/lib/capture/runAutoMovieCapture.mjs.map +1 -1
  194. package/lib/capture/runAutoMovieVideoCapture.d.ts +22 -15
  195. package/lib/capture/runAutoMovieVideoCapture.js +22 -15
  196. package/lib/capture/runAutoMovieVideoCapture.js.map +1 -1
  197. package/lib/capture/runAutoMovieVideoCapture.mjs +22 -15
  198. package/lib/capture/runAutoMovieVideoCapture.mjs.map +1 -1
  199. package/lib/capture/scaleAutoMovieCaptureLabels.d.ts +8 -10
  200. package/lib/capture/scaleAutoMovieCaptureLabels.js +8 -10
  201. package/lib/capture/scaleAutoMovieCaptureLabels.js.map +1 -1
  202. package/lib/capture/scaleAutoMovieCaptureLabels.mjs +8 -10
  203. package/lib/capture/scaleAutoMovieCaptureLabels.mjs.map +1 -1
  204. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.d.ts +4 -3
  205. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.js +4 -3
  206. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.js.map +1 -1
  207. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.mjs +4 -3
  208. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.mjs.map +1 -1
  209. package/lib/delivery/AUTOMOVIE_PRODUCTION_AAC_PROFILE.d.ts +7 -0
  210. package/lib/delivery/AUTOMOVIE_PRODUCTION_AAC_PROFILE.js +15 -0
  211. package/lib/delivery/AUTOMOVIE_PRODUCTION_AAC_PROFILE.js.map +1 -0
  212. package/lib/delivery/AUTOMOVIE_PRODUCTION_AAC_PROFILE.mjs +15 -0
  213. package/lib/delivery/AUTOMOVIE_PRODUCTION_AAC_PROFILE.mjs.map +1 -0
  214. package/lib/delivery/AutoMovieControlChannelWriter.d.ts +59 -0
  215. package/lib/delivery/AutoMovieControlChannelWriter.js +112 -0
  216. package/lib/delivery/AutoMovieControlChannelWriter.js.map +1 -0
  217. package/lib/delivery/AutoMovieControlChannelWriter.mjs +101 -0
  218. package/lib/delivery/AutoMovieControlChannelWriter.mjs.map +1 -0
  219. package/lib/delivery/admitAutoMovieControlPasses.d.ts +11 -0
  220. package/lib/delivery/admitAutoMovieControlPasses.js +27 -0
  221. package/lib/delivery/admitAutoMovieControlPasses.js.map +1 -0
  222. package/lib/delivery/admitAutoMovieControlPasses.mjs +24 -0
  223. package/lib/delivery/admitAutoMovieControlPasses.mjs.map +1 -0
  224. package/lib/delivery/assertAutoMovieCaptureClock.d.ts +0 -7
  225. package/lib/delivery/assertAutoMovieCaptureClock.js +1 -9
  226. package/lib/delivery/assertAutoMovieCaptureClock.js.map +1 -1
  227. package/lib/delivery/assertAutoMovieCaptureClock.mjs +1 -8
  228. package/lib/delivery/assertAutoMovieCaptureClock.mjs.map +1 -1
  229. package/lib/delivery/assertProductionAacProfile.d.ts +17 -0
  230. package/lib/delivery/assertProductionAacProfile.js +61 -0
  231. package/lib/delivery/assertProductionAacProfile.js.map +1 -0
  232. package/lib/delivery/assertProductionAacProfile.mjs +66 -0
  233. package/lib/delivery/assertProductionAacProfile.mjs.map +1 -0
  234. package/lib/delivery/assertProductionPngPicture.d.ts +0 -8
  235. package/lib/delivery/assertProductionPngPicture.js +0 -8
  236. package/lib/delivery/assertProductionPngPicture.js.map +1 -1
  237. package/lib/delivery/assertProductionPngPicture.mjs +0 -8
  238. package/lib/delivery/assertProductionPngPicture.mjs.map +1 -1
  239. package/lib/delivery/assertProductionVideoProfile.d.ts +0 -8
  240. package/lib/delivery/assertProductionVideoProfile.js +1 -9
  241. package/lib/delivery/assertProductionVideoProfile.js.map +1 -1
  242. package/lib/delivery/assertProductionVideoProfile.mjs +1 -9
  243. package/lib/delivery/assertProductionVideoProfile.mjs.map +1 -1
  244. package/lib/delivery/auditAutoMovieDecodedFrames.d.ts +4 -11
  245. package/lib/delivery/auditAutoMovieDecodedFrames.js +7 -17
  246. package/lib/delivery/auditAutoMovieDecodedFrames.js.map +1 -1
  247. package/lib/delivery/auditAutoMovieDecodedFrames.mjs +7 -14
  248. package/lib/delivery/auditAutoMovieDecodedFrames.mjs.map +1 -1
  249. package/lib/delivery/auditAutoMovieDeliveryContent.d.ts +24 -0
  250. package/lib/delivery/auditAutoMovieDeliveryContent.js +345 -0
  251. package/lib/delivery/auditAutoMovieDeliveryContent.js.map +1 -0
  252. package/lib/delivery/auditAutoMovieDeliveryContent.mjs +292 -0
  253. package/lib/delivery/auditAutoMovieDeliveryContent.mjs.map +1 -0
  254. package/lib/delivery/auditAutoMovieEncodedPresentation.d.ts +24 -15
  255. package/lib/delivery/auditAutoMovieEncodedPresentation.js +12 -27
  256. package/lib/delivery/auditAutoMovieEncodedPresentation.js.map +1 -1
  257. package/lib/delivery/auditAutoMovieEncodedPresentation.mjs +11 -22
  258. package/lib/delivery/auditAutoMovieEncodedPresentation.mjs.map +1 -1
  259. package/lib/delivery/autoMovieControlConvention.d.ts +12 -0
  260. package/lib/delivery/autoMovieControlConvention.js +45 -0
  261. package/lib/delivery/autoMovieControlConvention.js.map +1 -0
  262. package/lib/delivery/autoMovieControlConvention.mjs +55 -0
  263. package/lib/delivery/autoMovieControlConvention.mjs.map +1 -0
  264. package/lib/delivery/autoMovieVideoFrameRate.d.ts +16 -0
  265. package/lib/delivery/autoMovieVideoFrameRate.js +79 -0
  266. package/lib/delivery/autoMovieVideoFrameRate.js.map +1 -0
  267. package/lib/delivery/autoMovieVideoFrameRate.mjs +71 -0
  268. package/lib/delivery/autoMovieVideoFrameRate.mjs.map +1 -0
  269. package/lib/delivery/index.d.ts +6 -3
  270. package/lib/delivery/index.js +6 -3
  271. package/lib/delivery/index.js.map +1 -1
  272. package/lib/delivery/index.mjs +7 -4
  273. package/lib/delivery/planAutoMovieAlphaWrap.d.ts +25 -0
  274. package/lib/delivery/planAutoMovieAlphaWrap.js +48 -0
  275. package/lib/delivery/planAutoMovieAlphaWrap.js.map +1 -0
  276. package/lib/delivery/planAutoMovieAlphaWrap.mjs +47 -0
  277. package/lib/delivery/planAutoMovieAlphaWrap.mjs.map +1 -0
  278. package/lib/delivery/planAutoMovieCaptureUrl.d.ts +4 -11
  279. package/lib/delivery/planAutoMovieCaptureUrl.js +4 -11
  280. package/lib/delivery/planAutoMovieCaptureUrl.js.map +1 -1
  281. package/lib/delivery/planAutoMovieCaptureUrl.mjs +4 -11
  282. package/lib/delivery/planAutoMovieCaptureUrl.mjs.map +1 -1
  283. package/lib/delivery/planAutoMovieDeliveredCut.d.ts +30 -0
  284. package/lib/delivery/planAutoMovieDeliveredCut.js +53 -0
  285. package/lib/delivery/planAutoMovieDeliveredCut.js.map +1 -0
  286. package/lib/delivery/planAutoMovieDeliveredCut.mjs +44 -0
  287. package/lib/delivery/planAutoMovieDeliveredCut.mjs.map +1 -0
  288. package/lib/delivery/planAutoMovieVideoEncoding.d.ts +17 -11
  289. package/lib/delivery/planAutoMovieVideoEncoding.js +43 -18
  290. package/lib/delivery/planAutoMovieVideoEncoding.js.map +1 -1
  291. package/lib/delivery/planAutoMovieVideoEncoding.mjs +36 -16
  292. package/lib/delivery/planAutoMovieVideoEncoding.mjs.map +1 -1
  293. package/lib/delivery/resolveProductionPngProfile.d.ts +4 -13
  294. package/lib/delivery/resolveProductionPngProfile.js +5 -19
  295. package/lib/delivery/resolveProductionPngProfile.js.map +1 -1
  296. package/lib/delivery/resolveProductionPngProfile.mjs +5 -14
  297. package/lib/delivery/resolveProductionPngProfile.mjs.map +1 -1
  298. package/lib/delivery/resolveProductionVideoProfile.d.ts +0 -8
  299. package/lib/delivery/resolveProductionVideoProfile.js +0 -8
  300. package/lib/delivery/resolveProductionVideoProfile.js.map +1 -1
  301. package/lib/delivery/resolveProductionVideoProfile.mjs +0 -8
  302. package/lib/delivery/resolveProductionVideoProfile.mjs.map +1 -1
  303. package/lib/draw/AUTO_MOVIE_DRAW_GLOBALS.d.ts +6 -2
  304. package/lib/draw/AUTO_MOVIE_DRAW_GLOBALS.js +6 -2
  305. package/lib/draw/AUTO_MOVIE_DRAW_GLOBALS.js.map +1 -1
  306. package/lib/draw/AUTO_MOVIE_DRAW_GLOBALS.mjs +6 -2
  307. package/lib/draw/AUTO_MOVIE_DRAW_GLOBALS.mjs.map +1 -1
  308. package/lib/draw/AutoMovieDialogueMouthRecorder.d.ts +33 -0
  309. package/lib/draw/AutoMovieDialogueMouthRecorder.js +73 -0
  310. package/lib/draw/AutoMovieDialogueMouthRecorder.js.map +1 -0
  311. package/lib/draw/AutoMovieDialogueMouthRecorder.mjs +73 -0
  312. package/lib/draw/AutoMovieDialogueMouthRecorder.mjs.map +1 -0
  313. package/lib/draw/AutoMovieDrawBeauty.d.ts +131 -0
  314. package/lib/draw/AutoMovieDrawBeauty.js +233 -0
  315. package/lib/draw/AutoMovieDrawBeauty.js.map +1 -0
  316. package/lib/draw/AutoMovieDrawBeauty.mjs +192 -0
  317. package/lib/draw/AutoMovieDrawBeauty.mjs.map +1 -0
  318. package/lib/draw/AutoMovieDrawFilm.d.ts +143 -0
  319. package/lib/draw/AutoMovieDrawFilm.js +203 -0
  320. package/lib/draw/AutoMovieDrawFilm.js.map +1 -0
  321. package/lib/draw/AutoMovieDrawFilm.mjs +191 -0
  322. package/lib/draw/AutoMovieDrawFilm.mjs.map +1 -0
  323. package/lib/draw/AutoMovieDrawPlacement.d.ts +68 -0
  324. package/lib/draw/AutoMovieDrawPlacement.js +167 -0
  325. package/lib/draw/AutoMovieDrawPlacement.js.map +1 -0
  326. package/lib/draw/AutoMovieDrawPlacement.mjs +158 -0
  327. package/lib/draw/AutoMovieDrawPlacement.mjs.map +1 -0
  328. package/lib/draw/AutoMovieDrawSession.d.ts +64 -62
  329. package/lib/draw/AutoMovieDrawSession.js +88 -68
  330. package/lib/draw/AutoMovieDrawSession.js.map +1 -1
  331. package/lib/draw/AutoMovieDrawSession.mjs +89 -68
  332. package/lib/draw/AutoMovieDrawSession.mjs.map +1 -1
  333. package/lib/draw/AutoMovieDrawSubjects.d.ts +12 -9
  334. package/lib/draw/IAutoMovieDrawFunction.d.ts +14 -28
  335. package/lib/draw/IAutoMovieDrawGlobal.d.ts +30 -0
  336. package/lib/draw/IAutoMovieDrawGlobal.js +3 -0
  337. package/lib/draw/IAutoMovieDrawGlobal.js.map +1 -0
  338. package/lib/draw/IAutoMovieDrawGlobal.mjs +0 -0
  339. package/lib/draw/IAutoMovieDrawPage.d.ts +22 -55
  340. package/lib/draw/IAutoMovieDrawPageRequest.d.ts +36 -0
  341. package/lib/draw/IAutoMovieDrawPageRequest.js +3 -0
  342. package/lib/draw/IAutoMovieDrawPageRequest.js.map +1 -0
  343. package/lib/draw/IAutoMovieDrawPageRequest.mjs +0 -0
  344. package/lib/draw/IAutoMovieDrawProps.d.ts +9 -9
  345. package/lib/draw/IAutoMovieDrawScene.d.ts +199 -40
  346. package/lib/draw/IAutoMovieDrawSubject.d.ts +6 -18
  347. package/lib/draw/accumulateAutoMovieFilmSamples.d.ts +71 -0
  348. package/lib/draw/accumulateAutoMovieFilmSamples.js +130 -0
  349. package/lib/draw/accumulateAutoMovieFilmSamples.js.map +1 -0
  350. package/lib/draw/accumulateAutoMovieFilmSamples.mjs +90 -0
  351. package/lib/draw/accumulateAutoMovieFilmSamples.mjs.map +1 -0
  352. package/lib/draw/bindAutoMovieDrawSceneSoftProps.d.ts +5 -10
  353. package/lib/draw/bindAutoMovieDrawSceneSoftProps.js +29 -10
  354. package/lib/draw/bindAutoMovieDrawSceneSoftProps.js.map +1 -1
  355. package/lib/draw/bindAutoMovieDrawSceneSoftProps.mjs +16 -10
  356. package/lib/draw/bindAutoMovieDrawSceneSoftProps.mjs.map +1 -1
  357. package/lib/draw/decodeAutoMovieDrawPixels.d.ts +5 -10
  358. package/lib/draw/decodeAutoMovieDrawPixels.js +5 -10
  359. package/lib/draw/decodeAutoMovieDrawPixels.js.map +1 -1
  360. package/lib/draw/decodeAutoMovieDrawPixels.mjs +5 -10
  361. package/lib/draw/decodeAutoMovieDrawPixels.mjs.map +1 -1
  362. package/lib/draw/describeAutoMovieDrawScene.d.ts +12 -10
  363. package/lib/draw/describeAutoMovieDrawScene.js +15 -10
  364. package/lib/draw/describeAutoMovieDrawScene.js.map +1 -1
  365. package/lib/draw/describeAutoMovieDrawScene.mjs +15 -10
  366. package/lib/draw/describeAutoMovieDrawScene.mjs.map +1 -1
  367. package/lib/draw/encodeAutoMovieDrawPixels.d.ts +16 -10
  368. package/lib/draw/encodeAutoMovieDrawPixels.js +39 -24
  369. package/lib/draw/encodeAutoMovieDrawPixels.js.map +1 -1
  370. package/lib/draw/encodeAutoMovieDrawPixels.mjs +33 -16
  371. package/lib/draw/encodeAutoMovieDrawPixels.mjs.map +1 -1
  372. package/lib/draw/index.d.ts +11 -0
  373. package/lib/draw/index.js +11 -0
  374. package/lib/draw/index.js.map +1 -1
  375. package/lib/draw/index.mjs +10 -1
  376. package/lib/draw/installAutoMovieDraw.d.ts +63 -17
  377. package/lib/draw/installAutoMovieDraw.js +199 -178
  378. package/lib/draw/installAutoMovieDraw.js.map +1 -1
  379. package/lib/draw/installAutoMovieDraw.mjs +180 -154
  380. package/lib/draw/installAutoMovieDraw.mjs.map +1 -1
  381. package/lib/draw/isAutoMoviePlainBeautyRequest.d.ts +10 -0
  382. package/lib/draw/isAutoMoviePlainBeautyRequest.js +23 -0
  383. package/lib/draw/isAutoMoviePlainBeautyRequest.js.map +1 -0
  384. package/lib/draw/isAutoMoviePlainBeautyRequest.mjs +15 -0
  385. package/lib/draw/isAutoMoviePlainBeautyRequest.mjs.map +1 -0
  386. package/lib/draw/observeAutoMoviePlacedInspection.d.ts +29 -0
  387. package/lib/draw/observeAutoMoviePlacedInspection.js +75 -0
  388. package/lib/draw/observeAutoMoviePlacedInspection.js.map +1 -0
  389. package/lib/draw/observeAutoMoviePlacedInspection.mjs +69 -0
  390. package/lib/draw/observeAutoMoviePlacedInspection.mjs.map +1 -0
  391. package/lib/draw/placeAutoMovieDrawLayer.d.ts +35 -0
  392. package/lib/draw/placeAutoMovieDrawLayer.js +66 -0
  393. package/lib/draw/placeAutoMovieDrawLayer.js.map +1 -0
  394. package/lib/draw/placeAutoMovieDrawLayer.mjs +59 -0
  395. package/lib/draw/placeAutoMovieDrawLayer.mjs.map +1 -0
  396. package/lib/draw/planAutoMovieDrawCall.d.ts +15 -12
  397. package/lib/draw/planAutoMovieDrawCall.js +9 -10
  398. package/lib/draw/planAutoMovieDrawCall.js.map +1 -1
  399. package/lib/draw/planAutoMovieDrawCall.mjs +9 -10
  400. package/lib/draw/planAutoMovieDrawCall.mjs.map +1 -1
  401. package/lib/draw/planAutoMovieDrawLayers.d.ts +22 -0
  402. package/lib/draw/planAutoMovieDrawLayers.js +38 -0
  403. package/lib/draw/planAutoMovieDrawLayers.js.map +1 -0
  404. package/lib/draw/planAutoMovieDrawLayers.mjs +35 -0
  405. package/lib/draw/planAutoMovieDrawLayers.mjs.map +1 -0
  406. package/lib/draw/planAutoMovieDrawPicture.d.ts +33 -0
  407. package/lib/draw/planAutoMovieDrawPicture.js +41 -0
  408. package/lib/draw/planAutoMovieDrawPicture.js.map +1 -0
  409. package/lib/draw/planAutoMovieDrawPicture.mjs +38 -0
  410. package/lib/draw/planAutoMovieDrawPicture.mjs.map +1 -0
  411. package/lib/draw/readAutoMovieDrawResult.d.ts +41 -0
  412. package/lib/draw/readAutoMovieDrawResult.js +58 -0
  413. package/lib/draw/readAutoMovieDrawResult.js.map +1 -0
  414. package/lib/draw/readAutoMovieDrawResult.mjs +47 -0
  415. package/lib/draw/readAutoMovieDrawResult.mjs.map +1 -0
  416. package/lib/draw/renderAutoMovieDrawnVideo.d.ts +87 -14
  417. package/lib/draw/renderAutoMovieDrawnVideo.js +184 -16
  418. package/lib/draw/renderAutoMovieDrawnVideo.js.map +1 -1
  419. package/lib/draw/renderAutoMovieDrawnVideo.mjs +164 -17
  420. package/lib/draw/renderAutoMovieDrawnVideo.mjs.map +1 -1
  421. package/lib/draw/replaceAutoMovieDrawInspection.d.ts +8 -10
  422. package/lib/draw/replaceAutoMovieDrawInspection.js +8 -10
  423. package/lib/draw/replaceAutoMovieDrawInspection.js.map +1 -1
  424. package/lib/draw/replaceAutoMovieDrawInspection.mjs +8 -10
  425. package/lib/draw/replaceAutoMovieDrawInspection.mjs.map +1 -1
  426. package/lib/draw/selectAutoMovieDrawSubject.d.ts +5 -10
  427. package/lib/draw/selectAutoMovieDrawSubject.js +5 -10
  428. package/lib/draw/selectAutoMovieDrawSubject.js.map +1 -1
  429. package/lib/draw/selectAutoMovieDrawSubject.mjs +5 -10
  430. package/lib/draw/selectAutoMovieDrawSubject.mjs.map +1 -1
  431. package/lib/draw/stampAutoMovieDrawLegend.d.ts +14 -10
  432. package/lib/draw/stampAutoMovieDrawLegend.js +18 -11
  433. package/lib/draw/stampAutoMovieDrawLegend.js.map +1 -1
  434. package/lib/draw/stampAutoMovieDrawLegend.mjs +18 -11
  435. package/lib/draw/stampAutoMovieDrawLegend.mjs.map +1 -1
  436. package/lib/ffmpegArgs.d.ts +19 -23
  437. package/lib/ffmpegArgs.js +31 -25
  438. package/lib/ffmpegArgs.js.map +1 -1
  439. package/lib/ffmpegArgs.mjs +31 -25
  440. package/lib/ffmpegArgs.mjs.map +1 -1
  441. package/lib/film/assertSingleGuidePass.d.ts +4 -13
  442. package/lib/film/assertSingleGuidePass.js +5 -18
  443. package/lib/film/assertSingleGuidePass.js.map +1 -1
  444. package/lib/film/assertSingleGuidePass.mjs +5 -18
  445. package/lib/film/assertSingleGuidePass.mjs.map +1 -1
  446. package/lib/film/equalOrderedScalarRows.d.ts +11 -0
  447. package/lib/film/equalOrderedScalarRows.js +17 -0
  448. package/lib/film/equalOrderedScalarRows.js.map +1 -0
  449. package/lib/film/equalOrderedScalarRows.mjs +15 -0
  450. package/lib/film/equalOrderedScalarRows.mjs.map +1 -0
  451. package/lib/film/equalOrderedScalars.d.ts +9 -21
  452. package/lib/film/equalOrderedScalars.js +9 -44
  453. package/lib/film/equalOrderedScalars.js.map +1 -1
  454. package/lib/film/equalOrderedScalars.mjs +8 -37
  455. package/lib/film/equalOrderedScalars.mjs.map +1 -1
  456. package/lib/film/normalizeAudioAssets.d.ts +4 -12
  457. package/lib/film/normalizeAudioAssets.js +4 -15
  458. package/lib/film/normalizeAudioAssets.js.map +1 -1
  459. package/lib/film/normalizeAudioAssets.mjs +5 -13
  460. package/lib/film/normalizeAudioAssets.mjs.map +1 -1
  461. package/lib/film/normalizeRenderTier.d.ts +4 -12
  462. package/lib/film/normalizeRenderTier.js +5 -16
  463. package/lib/film/normalizeRenderTier.js.map +1 -1
  464. package/lib/film/normalizeRenderTier.mjs +5 -13
  465. package/lib/film/normalizeRenderTier.mjs.map +1 -1
  466. package/lib/film/planProductionRenderJob.d.ts +13 -19
  467. package/lib/film/planProductionRenderJob.js +14 -21
  468. package/lib/film/planProductionRenderJob.js.map +1 -1
  469. package/lib/film/planProductionRenderJob.mjs +14 -20
  470. package/lib/film/planProductionRenderJob.mjs.map +1 -1
  471. package/lib/film/productionVisualDeliveryOccurrence.d.ts +0 -8
  472. package/lib/film/productionVisualDeliveryOccurrence.js +0 -8
  473. package/lib/film/productionVisualDeliveryOccurrence.js.map +1 -1
  474. package/lib/film/productionVisualDeliveryOccurrence.mjs +0 -8
  475. package/lib/film/productionVisualDeliveryOccurrence.mjs.map +1 -1
  476. package/lib/film/resolveProductionRenderTierFrameFormat.d.ts +5 -12
  477. package/lib/film/resolveProductionRenderTierFrameFormat.js +5 -12
  478. package/lib/film/resolveProductionRenderTierFrameFormat.js.map +1 -1
  479. package/lib/film/resolveProductionRenderTierFrameFormat.mjs +5 -12
  480. package/lib/film/resolveProductionRenderTierFrameFormat.mjs.map +1 -1
  481. package/lib/film/validDigest.d.ts +0 -8
  482. package/lib/film/validDigest.js +0 -8
  483. package/lib/film/validDigest.js.map +1 -1
  484. package/lib/film/validDigest.mjs +0 -8
  485. package/lib/film/validDigest.mjs.map +1 -1
  486. package/lib/film/validWaveAudioIdentity.d.ts +2 -10
  487. package/lib/film/validWaveAudioIdentity.js +4 -11
  488. package/lib/film/validWaveAudioIdentity.js.map +1 -1
  489. package/lib/film/validWaveAudioIdentity.mjs +4 -11
  490. package/lib/film/validWaveAudioIdentity.mjs.map +1 -1
  491. package/lib/frameName.d.ts +5 -13
  492. package/lib/frameName.js +5 -13
  493. package/lib/frameName.js.map +1 -1
  494. package/lib/frameName.mjs +5 -13
  495. package/lib/frameName.mjs.map +1 -1
  496. package/lib/framePattern.d.ts +2 -10
  497. package/lib/framePattern.js +2 -10
  498. package/lib/framePattern.js.map +1 -1
  499. package/lib/framePattern.mjs +2 -10
  500. package/lib/framePattern.mjs.map +1 -1
  501. package/lib/frameTimes.d.ts +0 -8
  502. package/lib/frameTimes.js +1 -12
  503. package/lib/frameTimes.js.map +1 -1
  504. package/lib/frameTimes.mjs +1 -9
  505. package/lib/frameTimes.mjs.map +1 -1
  506. package/lib/guidePassFrameName.d.ts +8 -10
  507. package/lib/guidePassFrameName.js +8 -10
  508. package/lib/guidePassFrameName.js.map +1 -1
  509. package/lib/guidePassFrameName.mjs +8 -10
  510. package/lib/guidePassFrameName.mjs.map +1 -1
  511. package/lib/guidePassFramePattern.d.ts +2 -9
  512. package/lib/guidePassFramePattern.js +2 -9
  513. package/lib/guidePassFramePattern.js.map +1 -1
  514. package/lib/guidePassFramePattern.mjs +2 -9
  515. package/lib/guidePassFramePattern.mjs.map +1 -1
  516. package/lib/guidePassesInternal/passExtension.d.ts +2 -10
  517. package/lib/guidePassesInternal/passExtension.js +2 -10
  518. package/lib/guidePassesInternal/passExtension.js.map +1 -1
  519. package/lib/guidePassesInternal/passExtension.mjs +2 -10
  520. package/lib/guidePassesInternal/passExtension.mjs.map +1 -1
  521. package/lib/index.d.ts +6 -4
  522. package/lib/index.js +10 -4
  523. package/lib/index.js.map +1 -1
  524. package/lib/index.mjs +114 -53
  525. package/lib/internal.d.ts +26 -0
  526. package/lib/internal.js +44 -0
  527. package/lib/internal.js.map +1 -0
  528. package/lib/internal.mjs +27 -0
  529. package/lib/isGuidePass.d.ts +0 -8
  530. package/lib/isGuidePass.js +1 -9
  531. package/lib/isGuidePass.js.map +1 -1
  532. package/lib/isGuidePass.mjs +1 -9
  533. package/lib/isGuidePass.mjs.map +1 -1
  534. package/lib/normalizeGuidePasses.d.ts +7 -10
  535. package/lib/normalizeGuidePasses.js +7 -10
  536. package/lib/normalizeGuidePasses.js.map +1 -1
  537. package/lib/normalizeGuidePasses.mjs +7 -10
  538. package/lib/normalizeGuidePasses.mjs.map +1 -1
  539. package/lib/picture/AutoMovieRasterSheet.d.ts +33 -62
  540. package/lib/picture/AutoMovieRasterSheet.js +34 -63
  541. package/lib/picture/AutoMovieRasterSheet.js.map +1 -1
  542. package/lib/picture/AutoMovieRasterSheet.mjs +34 -63
  543. package/lib/picture/AutoMovieRasterSheet.mjs.map +1 -1
  544. package/lib/picture/compareAutoMovieRasters.d.ts +0 -8
  545. package/lib/picture/compareAutoMovieRasters.js +1 -9
  546. package/lib/picture/compareAutoMovieRasters.js.map +1 -1
  547. package/lib/picture/compareAutoMovieRasters.mjs +1 -9
  548. package/lib/picture/compareAutoMovieRasters.mjs.map +1 -1
  549. package/lib/picture/crcAutoMoviePngChunk.d.ts +4 -9
  550. package/lib/picture/crcAutoMoviePngChunk.js +16 -21
  551. package/lib/picture/crcAutoMoviePngChunk.js.map +1 -1
  552. package/lib/picture/crcAutoMoviePngChunk.mjs +15 -20
  553. package/lib/picture/crcAutoMoviePngChunk.mjs.map +1 -1
  554. package/lib/picture/decodeAutoMovieRasterPng.d.ts +16 -11
  555. package/lib/picture/decodeAutoMovieRasterPng.js +24 -13
  556. package/lib/picture/decodeAutoMovieRasterPng.js.map +1 -1
  557. package/lib/picture/decodeAutoMovieRasterPng.mjs +24 -13
  558. package/lib/picture/decodeAutoMovieRasterPng.mjs.map +1 -1
  559. package/lib/picture/encodeAutoMovieRasterPng.d.ts +24 -13
  560. package/lib/picture/encodeAutoMovieRasterPng.js +27 -20
  561. package/lib/picture/encodeAutoMovieRasterPng.js.map +1 -1
  562. package/lib/picture/encodeAutoMovieRasterPng.mjs +24 -17
  563. package/lib/picture/encodeAutoMovieRasterPng.mjs.map +1 -1
  564. package/lib/picture/hashAutoMovieRasterImage.d.ts +11 -11
  565. package/lib/picture/hashAutoMovieRasterImage.js +11 -11
  566. package/lib/picture/hashAutoMovieRasterImage.mjs +11 -11
  567. package/lib/picture/hashAutoMovieRasterImage.mjs.map +1 -1
  568. package/lib/picture/stampAutoMovieRasterLabel.d.ts +0 -8
  569. package/lib/picture/stampAutoMovieRasterLabel.js +1 -9
  570. package/lib/picture/stampAutoMovieRasterLabel.js.map +1 -1
  571. package/lib/picture/stampAutoMovieRasterLabel.mjs +1 -9
  572. package/lib/picture/stampAutoMovieRasterLabel.mjs.map +1 -1
  573. package/lib/planCaptionSidecar.d.ts +16 -11
  574. package/lib/planCaptionSidecar.js +18 -14
  575. package/lib/planCaptionSidecar.js.map +1 -1
  576. package/lib/planCaptionSidecar.mjs +19 -15
  577. package/lib/planCaptionSidecar.mjs.map +1 -1
  578. package/lib/planChunkedSequenceRender.d.ts +19 -12
  579. package/lib/planChunkedSequenceRender.js +27 -15
  580. package/lib/planChunkedSequenceRender.js.map +1 -1
  581. package/lib/planChunkedSequenceRender.mjs +27 -15
  582. package/lib/planChunkedSequenceRender.mjs.map +1 -1
  583. package/lib/planGuidePassOutputs.d.ts +6 -10
  584. package/lib/planGuidePassOutputs.js +7 -11
  585. package/lib/planGuidePassOutputs.js.map +1 -1
  586. package/lib/planGuidePassOutputs.mjs +7 -11
  587. package/lib/planGuidePassOutputs.mjs.map +1 -1
  588. package/lib/planPoseKeypointSidecar.d.ts +19 -10
  589. package/lib/planPoseKeypointSidecar.js +29 -18
  590. package/lib/planPoseKeypointSidecar.js.map +1 -1
  591. package/lib/planPoseKeypointSidecar.mjs +30 -19
  592. package/lib/planPoseKeypointSidecar.mjs.map +1 -1
  593. package/lib/planSequenceRender.d.ts +5 -9
  594. package/lib/planSequenceRender.js +11 -10
  595. package/lib/planSequenceRender.js.map +1 -1
  596. package/lib/planSequenceRender.mjs +12 -11
  597. package/lib/planSequenceRender.mjs.map +1 -1
  598. package/lib/planViewerFrameTimes.d.ts +0 -8
  599. package/lib/planViewerFrameTimes.js +5 -13
  600. package/lib/planViewerFrameTimes.js.map +1 -1
  601. package/lib/planViewerFrameTimes.mjs +5 -13
  602. package/lib/planViewerFrameTimes.mjs.map +1 -1
  603. package/lib/renderAndSee.d.ts +4 -9
  604. package/lib/renderAndSee.js +4 -9
  605. package/lib/renderAndSee.js.map +1 -1
  606. package/lib/renderAndSee.mjs +4 -9
  607. package/lib/renderAndSee.mjs.map +1 -1
  608. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.d.ts +13 -11
  609. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.js +23 -16
  610. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.js.map +1 -1
  611. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.mjs +21 -16
  612. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.mjs.map +1 -1
  613. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.d.ts +14 -11
  614. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.js +14 -11
  615. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.js.map +1 -1
  616. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.mjs +14 -11
  617. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.mjs.map +1 -1
  618. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.d.ts +11 -11
  619. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.js +11 -11
  620. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.mjs +11 -11
  621. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.mjs.map +1 -1
  622. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.d.ts +0 -8
  623. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.js +0 -8
  624. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.js.map +1 -1
  625. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.mjs +0 -8
  626. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.mjs.map +1 -1
  627. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.d.ts +10 -11
  628. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.js +10 -11
  629. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.js.map +1 -1
  630. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.mjs +10 -11
  631. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.mjs.map +1 -1
  632. package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.d.ts +4 -11
  633. package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.js +4 -11
  634. package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.js.map +1 -1
  635. package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.mjs +4 -11
  636. package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.mjs.map +1 -1
  637. package/lib/renderCaptionSidecar.d.ts +2 -9
  638. package/lib/renderCaptionSidecar.js +2 -9
  639. package/lib/renderCaptionSidecar.js.map +1 -1
  640. package/lib/renderCaptionSidecar.mjs +2 -9
  641. package/lib/renderCaptionSidecar.mjs.map +1 -1
  642. package/lib/renderPathStem.d.ts +6 -14
  643. package/lib/renderPathStem.js +6 -14
  644. package/lib/renderPathStem.js.map +1 -1
  645. package/lib/renderPathStem.mjs +6 -14
  646. package/lib/renderPathStem.mjs.map +1 -1
  647. package/lib/renderPoseKeypointSidecar.d.ts +5 -10
  648. package/lib/renderPoseKeypointSidecar.js +5 -10
  649. package/lib/renderPoseKeypointSidecar.js.map +1 -1
  650. package/lib/renderPoseKeypointSidecar.mjs +5 -10
  651. package/lib/renderPoseKeypointSidecar.mjs.map +1 -1
  652. package/lib/renderSequenceAndSee.d.ts +2 -9
  653. package/lib/renderSequenceAndSee.js +2 -9
  654. package/lib/renderSequenceAndSee.js.map +1 -1
  655. package/lib/renderSequenceAndSee.mjs +2 -9
  656. package/lib/renderSequenceAndSee.mjs.map +1 -1
  657. package/lib/renderSequenceVideo.d.ts +4 -9
  658. package/lib/renderSequenceVideo.js +4 -9
  659. package/lib/renderSequenceVideo.js.map +1 -1
  660. package/lib/renderSequenceVideo.mjs +4 -9
  661. package/lib/renderSequenceVideo.mjs.map +1 -1
  662. package/lib/renderVideo.d.ts +6 -10
  663. package/lib/renderVideo.js +6 -10
  664. package/lib/renderVideo.js.map +1 -1
  665. package/lib/renderVideo.mjs +6 -10
  666. package/lib/renderVideo.mjs.map +1 -1
  667. package/lib/scene/AUTOMOVIE_EXPRESSION_PRESET_CHANNELS.d.ts +11 -0
  668. package/lib/scene/AUTOMOVIE_EXPRESSION_PRESET_CHANNELS.js +71 -0
  669. package/lib/scene/AUTOMOVIE_EXPRESSION_PRESET_CHANNELS.js.map +1 -0
  670. package/lib/scene/AUTOMOVIE_EXPRESSION_PRESET_CHANNELS.mjs +58 -0
  671. package/lib/scene/AUTOMOVIE_EXPRESSION_PRESET_CHANNELS.mjs.map +1 -0
  672. package/lib/scene/AUTOMOVIE_FLOAT32_MAX.d.ts +6 -0
  673. package/lib/scene/AUTOMOVIE_FLOAT32_MAX.js +10 -0
  674. package/lib/scene/AUTOMOVIE_FLOAT32_MAX.js.map +1 -0
  675. package/lib/scene/AUTOMOVIE_FLOAT32_MAX.mjs +10 -0
  676. package/lib/scene/AUTOMOVIE_FLOAT32_MAX.mjs.map +1 -0
  677. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_PATCH_KEY.d.ts +2 -0
  678. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_PATCH_KEY.js +6 -0
  679. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_PATCH_KEY.js.map +1 -0
  680. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_PATCH_KEY.mjs +6 -0
  681. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_PATCH_KEY.mjs.map +1 -0
  682. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.d.ts +6 -1
  683. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.js +6 -1
  684. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.js.map +1 -1
  685. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.mjs +6 -1
  686. package/lib/scene/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.mjs.map +1 -1
  687. package/lib/scene/AUTOMOVIE_HUMANOID_BONE_SLOTS.d.ts +2 -0
  688. package/lib/scene/AUTOMOVIE_HUMANOID_BONE_SLOTS.js +64 -0
  689. package/lib/scene/AUTOMOVIE_HUMANOID_BONE_SLOTS.js.map +1 -0
  690. package/lib/scene/AUTOMOVIE_HUMANOID_BONE_SLOTS.mjs +61 -0
  691. package/lib/scene/AUTOMOVIE_HUMANOID_BONE_SLOTS.mjs.map +1 -0
  692. package/lib/scene/AUTOMOVIE_MATRIX_ELEMENT_LIMIT.d.ts +10 -0
  693. package/lib/scene/AUTOMOVIE_MATRIX_ELEMENT_LIMIT.js +14 -0
  694. package/lib/scene/AUTOMOVIE_MATRIX_ELEMENT_LIMIT.js.map +1 -0
  695. package/lib/scene/AUTOMOVIE_MATRIX_ELEMENT_LIMIT.mjs +14 -0
  696. package/lib/scene/AUTOMOVIE_MATRIX_ELEMENT_LIMIT.mjs.map +1 -0
  697. package/lib/scene/AutoMovieDisplayCompositor.d.ts +26 -47
  698. package/lib/scene/AutoMovieDisplayCompositor.js +37 -54
  699. package/lib/scene/AutoMovieDisplayCompositor.js.map +1 -1
  700. package/lib/scene/AutoMovieDisplayCompositor.mjs +37 -51
  701. package/lib/scene/AutoMovieDisplayCompositor.mjs.map +1 -1
  702. package/lib/scene/AutoMovieEnvironmentTextureOwnership.d.ts +10 -44
  703. package/lib/scene/AutoMovieEnvironmentTextureOwnership.js +15 -174
  704. package/lib/scene/AutoMovieEnvironmentTextureOwnership.js.map +1 -1
  705. package/lib/scene/AutoMovieEnvironmentTextureOwnership.mjs +6 -157
  706. package/lib/scene/AutoMovieEnvironmentTextureOwnership.mjs.map +1 -1
  707. package/lib/scene/AutoMovieGeometryPhysicalVertices.d.ts +0 -22
  708. package/lib/scene/AutoMovieGeometryPhysicalVertices.js +9 -55
  709. package/lib/scene/AutoMovieGeometryPhysicalVertices.js.map +1 -1
  710. package/lib/scene/AutoMovieGeometryPhysicalVertices.mjs +7 -29
  711. package/lib/scene/AutoMovieGeometryPhysicalVertices.mjs.map +1 -1
  712. package/lib/scene/AutoMoviePlayer.d.ts +3 -26
  713. package/lib/scene/AutoMoviePlayer.js +3 -26
  714. package/lib/scene/AutoMoviePlayer.js.map +1 -1
  715. package/lib/scene/AutoMoviePlayer.mjs +3 -26
  716. package/lib/scene/AutoMoviePlayer.mjs.map +1 -1
  717. package/lib/scene/AutoMovieRenderModeMesh.d.ts +2 -6
  718. package/lib/scene/AutoMovieResourceRetirementScope.d.ts +9 -73
  719. package/lib/scene/AutoMovieResourceRetirementScope.js +9 -73
  720. package/lib/scene/AutoMovieResourceRetirementScope.js.map +1 -1
  721. package/lib/scene/AutoMovieResourceRetirementScope.mjs +9 -73
  722. package/lib/scene/AutoMovieResourceRetirementScope.mjs.map +1 -1
  723. package/lib/scene/AutoMovieSkinBlend.d.ts +7 -56
  724. package/lib/scene/AutoMovieSkinBlend.js +14 -93
  725. package/lib/scene/AutoMovieSkinBlend.js.map +1 -1
  726. package/lib/scene/AutoMovieSkinBlend.mjs +7 -4
  727. package/lib/scene/AutoMovieSkinBlend.mjs.map +1 -1
  728. package/lib/scene/AutoMovieSkinPose.d.ts +11 -63
  729. package/lib/scene/AutoMovieSkinPose.js +19 -64
  730. package/lib/scene/AutoMovieSkinPose.js.map +1 -1
  731. package/lib/scene/AutoMovieSkinPose.mjs +19 -60
  732. package/lib/scene/AutoMovieSkinPose.mjs.map +1 -1
  733. package/lib/scene/AutoMovieSkinnedMesh.d.ts +18 -102
  734. package/lib/scene/AutoMovieSkinnedMesh.js +26 -98
  735. package/lib/scene/AutoMovieSkinnedMesh.js.map +1 -1
  736. package/lib/scene/AutoMovieSkinnedMesh.mjs +22 -94
  737. package/lib/scene/AutoMovieSkinnedMesh.mjs.map +1 -1
  738. package/lib/scene/AutoMovieTextureCache.d.ts +41 -73
  739. package/lib/scene/AutoMovieTextureCache.js +67 -108
  740. package/lib/scene/AutoMovieTextureCache.js.map +1 -1
  741. package/lib/scene/AutoMovieTextureCache.mjs +68 -96
  742. package/lib/scene/AutoMovieTextureCache.mjs.map +1 -1
  743. package/lib/scene/AutoMovieThreeKind.d.ts +181 -0
  744. package/lib/scene/AutoMovieThreeKind.js +254 -0
  745. package/lib/scene/AutoMovieThreeKind.js.map +1 -0
  746. package/lib/scene/AutoMovieThreeKind.mjs +195 -0
  747. package/lib/scene/AutoMovieThreeKind.mjs.map +1 -0
  748. package/lib/scene/AutoMovieTransitionDisplays.d.ts +74 -0
  749. package/lib/scene/AutoMovieTransitionDisplays.js +173 -0
  750. package/lib/scene/AutoMovieTransitionDisplays.js.map +1 -0
  751. package/lib/scene/AutoMovieTransitionDisplays.mjs +137 -0
  752. package/lib/scene/AutoMovieTransitionDisplays.mjs.map +1 -0
  753. package/lib/scene/DEPTH_NORMALIZATION_RANGE.d.ts +5 -1
  754. package/lib/scene/DEPTH_NORMALIZATION_RANGE.js +5 -1
  755. package/lib/scene/DEPTH_NORMALIZATION_RANGE.js.map +1 -1
  756. package/lib/scene/DEPTH_NORMALIZATION_RANGE.mjs +5 -1
  757. package/lib/scene/DEPTH_NORMALIZATION_RANGE.mjs.map +1 -1
  758. package/lib/scene/EDGE_SHELL_NAME.d.ts +4 -1
  759. package/lib/scene/EDGE_SHELL_NAME.js +4 -1
  760. package/lib/scene/EDGE_SHELL_NAME.js.map +1 -1
  761. package/lib/scene/EDGE_SHELL_NAME.mjs +4 -1
  762. package/lib/scene/EDGE_SHELL_NAME.mjs.map +1 -1
  763. package/lib/scene/EDGE_WIDTH.d.ts +4 -1
  764. package/lib/scene/EDGE_WIDTH.js +4 -1
  765. package/lib/scene/EDGE_WIDTH.js.map +1 -1
  766. package/lib/scene/EDGE_WIDTH.mjs +4 -1
  767. package/lib/scene/EDGE_WIDTH.mjs.map +1 -1
  768. package/lib/scene/IApplyAutoMovieSectionPlanesProps.d.ts +7 -9
  769. package/lib/scene/IAutoMovieAnalysisOverlayObject.d.ts +4 -41
  770. package/lib/scene/IAutoMovieBuiltPropArticulation.d.ts +1 -16
  771. package/lib/scene/IAutoMovieDepthPrecisionRenderer.d.ts +11 -0
  772. package/lib/scene/IAutoMovieDepthPrecisionRenderer.js +3 -0
  773. package/lib/scene/IAutoMovieDepthPrecisionRenderer.js.map +1 -0
  774. package/lib/scene/IAutoMovieDepthPrecisionRenderer.mjs +0 -0
  775. package/lib/scene/IAutoMovieEffectViewerObject.d.ts +2 -19
  776. package/lib/scene/IAutoMovieEffectViewerStats.d.ts +1 -8
  777. package/lib/scene/IAutoMovieExpressionTarget.d.ts +2 -19
  778. package/lib/scene/IAutoMovieFluidSprayObject.d.ts +6 -37
  779. package/lib/scene/IAutoMovieFluidSurfaceObject.d.ts +5 -28
  780. package/lib/scene/IAutoMovieFormationCadence.d.ts +1 -8
  781. package/lib/scene/IAutoMovieFormationCycle.d.ts +1 -8
  782. package/lib/scene/IAutoMovieFormationCycleTake.d.ts +3 -8
  783. package/lib/scene/IAutoMovieFormationCycleUniforms.d.ts +1 -8
  784. package/lib/scene/IAutoMovieFormationViewerObject.d.ts +2 -35
  785. package/lib/scene/IAutoMovieFormationViewerStats.d.ts +3 -9
  786. package/lib/scene/IAutoMovieFramebufferContext.d.ts +6 -0
  787. package/lib/scene/IAutoMovieFramebufferContext.js +3 -0
  788. package/lib/scene/IAutoMovieFramebufferContext.js.map +1 -0
  789. package/lib/scene/IAutoMovieFramebufferContext.mjs +0 -0
  790. package/lib/scene/IAutoMovieFramebufferRenderer.d.ts +11 -0
  791. package/lib/scene/IAutoMovieFramebufferRenderer.js +3 -0
  792. package/lib/scene/IAutoMovieFramebufferRenderer.js.map +1 -0
  793. package/lib/scene/IAutoMovieFramebufferRenderer.mjs +0 -0
  794. package/lib/scene/IAutoMovieImportedModelOptions.d.ts +6 -18
  795. package/lib/scene/IAutoMovieInstanceSetViewerObject.d.ts +2 -27
  796. package/lib/scene/IAutoMovieInstanceSetViewerStats.d.ts +5 -9
  797. package/lib/scene/IAutoMovieInstancedGeometry.d.ts +4 -8
  798. package/lib/scene/IAutoMovieInstancedModelRepresentation.d.ts +4 -8
  799. package/lib/scene/IAutoMovieMaterialLibrary.d.ts +1 -24
  800. package/lib/scene/IAutoMovieModelObject.d.ts +3 -22
  801. package/lib/scene/IAutoMoviePlantingObject.d.ts +14 -19
  802. package/lib/scene/IAutoMovieRenderModeHandle.d.ts +22 -29
  803. package/lib/scene/IAutoMovieRendererEnvironmentHandle.d.ts +2 -19
  804. package/lib/scene/IAutoMovieRendererFrameCounters.d.ts +12 -0
  805. package/lib/scene/IAutoMovieRendererFrameCounters.js +3 -0
  806. package/lib/scene/IAutoMovieRendererFrameCounters.js.map +1 -0
  807. package/lib/scene/IAutoMovieRendererFrameCounters.mjs +0 -0
  808. package/lib/scene/IAutoMovieSceneObject.d.ts +5 -9
  809. package/lib/scene/IAutoMovieScenePassRenderer.d.ts +9 -0
  810. package/lib/scene/IAutoMovieScenePassRenderer.js +3 -0
  811. package/lib/scene/IAutoMovieScenePassRenderer.js.map +1 -0
  812. package/lib/scene/IAutoMovieScenePassRenderer.mjs +0 -0
  813. package/lib/scene/IAutoMovieSceneSoftProps.d.ts +2 -27
  814. package/lib/scene/IAutoMovieSectionRenderer.d.ts +0 -5
  815. package/lib/scene/IAutoMovieShadowRetirementHost.d.ts +26 -0
  816. package/lib/scene/IAutoMovieShadowRetirementHost.js +3 -0
  817. package/lib/scene/IAutoMovieShadowRetirementHost.js.map +1 -0
  818. package/lib/scene/IAutoMovieShadowRetirementHost.mjs +0 -0
  819. package/lib/scene/IAutoMovieShadowTextureHost.d.ts +4 -8
  820. package/lib/scene/IAutoMovieSoftBodyObject.d.ts +8 -26
  821. package/lib/scene/IAutoMovieSpringAxisSettlement.d.ts +2 -6
  822. package/lib/scene/IAutoMovieSpringConfig.d.ts +2 -11
  823. package/lib/scene/IAutoMovieTextureLoader.d.ts +3 -8
  824. package/lib/scene/IAutoMovieTextureResolver.d.ts +0 -5
  825. package/lib/scene/IAutoMovieViewerCameraDepthPrecisionReport.d.ts +1 -8
  826. package/lib/scene/IAutoMovieViewerFrame.d.ts +1 -8
  827. package/lib/scene/IAutoMovieViewerSnapshot.d.ts +1 -8
  828. package/lib/scene/IAutoMovieViewerSnapshotOptions.d.ts +1 -8
  829. package/lib/scene/IAutoMovieViewerSnapshotRenderer.d.ts +10 -18
  830. package/lib/scene/IBakeFormationCycleProps.d.ts +8 -12
  831. package/lib/scene/IBuildAutoMovieMaterialLibraryProps.d.ts +3 -7
  832. package/lib/scene/IBuildInstancedFormationProps.d.ts +3 -8
  833. package/lib/scene/IBuildInstancedInstanceSetProps.d.ts +5 -12
  834. package/lib/scene/IBuildPlantingObjectProps.d.ts +19 -10
  835. package/lib/scene/IBuildPropArticulationProps.d.ts +7 -12
  836. package/lib/scene/IBuildSoftBodyObjectProps.d.ts +1 -8
  837. package/lib/scene/IChunkObject.d.ts +15 -13
  838. package/lib/scene/IFormationTierRepresentation.d.ts +4 -8
  839. package/lib/scene/IMaterialShaderPatch.d.ts +6 -19
  840. package/lib/scene/IMaterialShaderSource.d.ts +10 -0
  841. package/lib/scene/IMaterialShaderSource.js +3 -0
  842. package/lib/scene/IMaterialShaderSource.js.map +1 -0
  843. package/lib/scene/IMaterialShaderSource.mjs +0 -0
  844. package/lib/scene/ISlotException.d.ts +4 -9
  845. package/lib/scene/SPACE_GROUP_NAME.d.ts +13 -7
  846. package/lib/scene/SPACE_GROUP_NAME.js +13 -7
  847. package/lib/scene/SPACE_GROUP_NAME.js.map +1 -1
  848. package/lib/scene/SPACE_GROUP_NAME.mjs +13 -7
  849. package/lib/scene/SPACE_GROUP_NAME.mjs.map +1 -1
  850. package/lib/scene/addMaterialShaderPatch.d.ts +10 -15
  851. package/lib/scene/addMaterialShaderPatch.js +12 -16
  852. package/lib/scene/addMaterialShaderPatch.js.map +1 -1
  853. package/lib/scene/addMaterialShaderPatch.mjs +12 -16
  854. package/lib/scene/addMaterialShaderPatch.mjs.map +1 -1
  855. package/lib/scene/applyAutoMovieDeliveryCrop.d.ts +2 -9
  856. package/lib/scene/applyAutoMovieDeliveryCrop.js +2 -9
  857. package/lib/scene/applyAutoMovieDeliveryCrop.js.map +1 -1
  858. package/lib/scene/applyAutoMovieDeliveryCrop.mjs +2 -9
  859. package/lib/scene/applyAutoMovieDeliveryCrop.mjs.map +1 -1
  860. package/lib/scene/applyAutoMovieRigLocals.d.ts +2 -10
  861. package/lib/scene/applyAutoMovieRigLocals.js +24 -31
  862. package/lib/scene/applyAutoMovieRigLocals.js.map +1 -1
  863. package/lib/scene/applyAutoMovieRigLocals.mjs +25 -25
  864. package/lib/scene/applyAutoMovieRigLocals.mjs.map +1 -1
  865. package/lib/scene/applyAutoMovieSectionPlanes.d.ts +23 -14
  866. package/lib/scene/applyAutoMovieSectionPlanes.js +26 -19
  867. package/lib/scene/applyAutoMovieSectionPlanes.js.map +1 -1
  868. package/lib/scene/applyAutoMovieSectionPlanes.mjs +26 -17
  869. package/lib/scene/applyAutoMovieSectionPlanes.mjs.map +1 -1
  870. package/lib/scene/applyAutoMovieShadowParticipation.d.ts +13 -14
  871. package/lib/scene/applyAutoMovieShadowParticipation.js +23 -16
  872. package/lib/scene/applyAutoMovieShadowParticipation.js.map +1 -1
  873. package/lib/scene/applyAutoMovieShadowParticipation.mjs +17 -16
  874. package/lib/scene/applyAutoMovieShadowParticipation.mjs.map +1 -1
  875. package/lib/scene/applyDepthMode.d.ts +2 -9
  876. package/lib/scene/applyDepthMode.js +4 -11
  877. package/lib/scene/applyDepthMode.js.map +1 -1
  878. package/lib/scene/applyDepthMode.mjs +4 -11
  879. package/lib/scene/applyDepthMode.mjs.map +1 -1
  880. package/lib/scene/applyEdgeMode.d.ts +8 -13
  881. package/lib/scene/applyEdgeMode.js +33 -25
  882. package/lib/scene/applyEdgeMode.js.map +1 -1
  883. package/lib/scene/applyEdgeMode.mjs +29 -21
  884. package/lib/scene/applyEdgeMode.mjs.map +1 -1
  885. package/lib/scene/applyExpression.d.ts +7 -9
  886. package/lib/scene/applyExpression.js +24 -69
  887. package/lib/scene/applyExpression.js.map +1 -1
  888. package/lib/scene/applyExpression.mjs +22 -56
  889. package/lib/scene/applyExpression.mjs.map +1 -1
  890. package/lib/scene/applyFormationCycleCadence.d.ts +3 -11
  891. package/lib/scene/applyFormationCycleCadence.js +3 -11
  892. package/lib/scene/applyFormationCycleCadence.js.map +1 -1
  893. package/lib/scene/applyFormationCycleCadence.mjs +3 -11
  894. package/lib/scene/applyFormationCycleCadence.mjs.map +1 -1
  895. package/lib/scene/applyFormationCycleMaterial.d.ts +7 -13
  896. package/lib/scene/applyFormationCycleMaterial.js +23 -25
  897. package/lib/scene/applyFormationCycleMaterial.js.map +1 -1
  898. package/lib/scene/applyFormationCycleMaterial.mjs +16 -19
  899. package/lib/scene/applyFormationCycleMaterial.mjs.map +1 -1
  900. package/lib/scene/applyLightMotion.d.ts +0 -8
  901. package/lib/scene/applyLightMotion.js +0 -8
  902. package/lib/scene/applyLightMotion.js.map +1 -1
  903. package/lib/scene/applyLightMotion.mjs +0 -8
  904. package/lib/scene/applyLightMotion.mjs.map +1 -1
  905. package/lib/scene/applyLightState.d.ts +0 -8
  906. package/lib/scene/applyLightState.js +5 -45
  907. package/lib/scene/applyLightState.js.map +1 -1
  908. package/lib/scene/applyLightState.mjs +4 -12
  909. package/lib/scene/applyLightState.mjs.map +1 -1
  910. package/lib/scene/applyMaskMode.d.ts +0 -8
  911. package/lib/scene/applyMaskMode.js +0 -8
  912. package/lib/scene/applyMaskMode.js.map +1 -1
  913. package/lib/scene/applyMaskMode.mjs +1 -9
  914. package/lib/scene/applyMaskMode.mjs.map +1 -1
  915. package/lib/scene/applyMaterialShaderPatches.d.ts +3 -11
  916. package/lib/scene/applyMaterialShaderPatches.js +3 -11
  917. package/lib/scene/applyMaterialShaderPatches.js.map +1 -1
  918. package/lib/scene/applyMaterialShaderPatches.mjs +3 -11
  919. package/lib/scene/applyMaterialShaderPatches.mjs.map +1 -1
  920. package/lib/scene/applyObjectMotion.d.ts +11 -10
  921. package/lib/scene/applyObjectMotion.js +11 -10
  922. package/lib/scene/applyObjectMotion.js.map +1 -1
  923. package/lib/scene/applyObjectMotion.mjs +11 -10
  924. package/lib/scene/applyObjectMotion.mjs.map +1 -1
  925. package/lib/scene/applyObjectMotions.d.ts +5 -9
  926. package/lib/scene/applyObjectMotions.js +5 -9
  927. package/lib/scene/applyObjectMotions.js.map +1 -1
  928. package/lib/scene/applyObjectMotions.mjs +5 -9
  929. package/lib/scene/applyObjectMotions.mjs.map +1 -1
  930. package/lib/scene/applyPose.d.ts +2 -10
  931. package/lib/scene/applyPose.js +6 -12
  932. package/lib/scene/applyPose.js.map +1 -1
  933. package/lib/scene/applyPose.mjs +5 -11
  934. package/lib/scene/applyPose.mjs.map +1 -1
  935. package/lib/scene/applyPoseMode.d.ts +4 -12
  936. package/lib/scene/applyPoseMode.js +10 -16
  937. package/lib/scene/applyPoseMode.js.map +1 -1
  938. package/lib/scene/applyPoseMode.mjs +8 -15
  939. package/lib/scene/applyPoseMode.mjs.map +1 -1
  940. package/lib/scene/applyPracticalSurfaceMaterials.d.ts +2 -9
  941. package/lib/scene/applyPracticalSurfaceMaterials.js +7 -46
  942. package/lib/scene/applyPracticalSurfaceMaterials.js.map +1 -1
  943. package/lib/scene/applyPracticalSurfaceMaterials.mjs +5 -12
  944. package/lib/scene/applyPracticalSurfaceMaterials.mjs.map +1 -1
  945. package/lib/scene/applyRenderMode.d.ts +31 -19
  946. package/lib/scene/applyRenderMode.js +55 -25
  947. package/lib/scene/applyRenderMode.js.map +1 -1
  948. package/lib/scene/applyRenderMode.mjs +44 -23
  949. package/lib/scene/applyRenderMode.mjs.map +1 -1
  950. package/lib/scene/applyRendererEnvironment.d.ts +6 -8
  951. package/lib/scene/applyRendererEnvironment.js +5 -7
  952. package/lib/scene/applyRendererEnvironment.js.map +1 -1
  953. package/lib/scene/applyRendererEnvironment.mjs +5 -7
  954. package/lib/scene/applyRendererEnvironment.mjs.map +1 -1
  955. package/lib/scene/applySampledObjectMotion.d.ts +6 -9
  956. package/lib/scene/applySampledObjectMotion.js +12 -11
  957. package/lib/scene/applySampledObjectMotion.js.map +1 -1
  958. package/lib/scene/applySampledObjectMotion.mjs +8 -10
  959. package/lib/scene/applySampledObjectMotion.mjs.map +1 -1
  960. package/lib/scene/applySceneEnvironment.d.ts +12 -9
  961. package/lib/scene/applySceneEnvironment.js +18 -11
  962. package/lib/scene/applySceneEnvironment.js.map +1 -1
  963. package/lib/scene/applySceneEnvironment.mjs +18 -11
  964. package/lib/scene/applySceneEnvironment.mjs.map +1 -1
  965. package/lib/scene/applySceneFog.d.ts +0 -8
  966. package/lib/scene/applySceneFog.js +0 -8
  967. package/lib/scene/applySceneFog.js.map +1 -1
  968. package/lib/scene/applySceneFog.mjs +0 -8
  969. package/lib/scene/applySceneFog.mjs.map +1 -1
  970. package/lib/scene/applySemanticMaskMode.d.ts +3 -10
  971. package/lib/scene/applySemanticMaskMode.js +3 -10
  972. package/lib/scene/applySemanticMaskMode.js.map +1 -1
  973. package/lib/scene/applySemanticMaskMode.mjs +3 -10
  974. package/lib/scene/applySemanticMaskMode.mjs.map +1 -1
  975. package/lib/scene/applyTransform.d.ts +0 -8
  976. package/lib/scene/applyTransform.js +0 -8
  977. package/lib/scene/applyTransform.js.map +1 -1
  978. package/lib/scene/applyTransform.mjs +0 -8
  979. package/lib/scene/applyTransform.mjs.map +1 -1
  980. package/lib/scene/assertAutoMovieMetricRasterBudget.d.ts +2 -0
  981. package/lib/scene/assertAutoMovieMetricRasterBudget.js +9 -0
  982. package/lib/scene/assertAutoMovieMetricRasterBudget.js.map +1 -0
  983. package/lib/scene/assertAutoMovieMetricRasterBudget.mjs +8 -0
  984. package/lib/scene/assertAutoMovieMetricRasterBudget.mjs.map +1 -0
  985. package/lib/scene/assertAutoMovieSceneShadowProfile.d.ts +2 -10
  986. package/lib/scene/assertAutoMovieSceneShadowProfile.js +2 -10
  987. package/lib/scene/assertAutoMovieSceneShadowProfile.js.map +1 -1
  988. package/lib/scene/assertAutoMovieSceneShadowProfile.mjs +2 -10
  989. package/lib/scene/assertAutoMovieSceneShadowProfile.mjs.map +1 -1
  990. package/lib/scene/assertAutoMovieViewerCameraDepthPrecision.d.ts +2 -9
  991. package/lib/scene/assertAutoMovieViewerCameraDepthPrecision.js +2 -9
  992. package/lib/scene/assertAutoMovieViewerCameraDepthPrecision.js.map +1 -1
  993. package/lib/scene/assertAutoMovieViewerCameraDepthPrecision.mjs +2 -9
  994. package/lib/scene/assertAutoMovieViewerCameraDepthPrecision.mjs.map +1 -1
  995. package/lib/scene/autoMovieAnalysisRampColor.d.ts +0 -8
  996. package/lib/scene/autoMovieAnalysisRampColor.js +0 -8
  997. package/lib/scene/autoMovieAnalysisRampColor.js.map +1 -1
  998. package/lib/scene/autoMovieAnalysisRampColor.mjs +0 -8
  999. package/lib/scene/autoMovieAnalysisRampColor.mjs.map +1 -1
  1000. package/lib/scene/autoMovieVisemeChannelWeights.d.ts +20 -0
  1001. package/lib/scene/autoMovieVisemeChannelWeights.js +57 -0
  1002. package/lib/scene/autoMovieVisemeChannelWeights.js.map +1 -0
  1003. package/lib/scene/autoMovieVisemeChannelWeights.mjs +55 -0
  1004. package/lib/scene/autoMovieVisemeChannelWeights.mjs.map +1 -0
  1005. package/lib/scene/bakeFormationCycle.d.ts +9 -16
  1006. package/lib/scene/bakeFormationCycle.js +12 -17
  1007. package/lib/scene/bakeFormationCycle.js.map +1 -1
  1008. package/lib/scene/bakeFormationCycle.mjs +9 -16
  1009. package/lib/scene/bakeFormationCycle.mjs.map +1 -1
  1010. package/lib/scene/bindFormationTierCycle.d.ts +0 -8
  1011. package/lib/scene/bindFormationTierCycle.js +3 -14
  1012. package/lib/scene/bindFormationTierCycle.js.map +1 -1
  1013. package/lib/scene/bindFormationTierCycle.mjs +3 -12
  1014. package/lib/scene/bindFormationTierCycle.mjs.map +1 -1
  1015. package/lib/scene/buildAnalysisOverlayObject.d.ts +6 -14
  1016. package/lib/scene/buildAnalysisOverlayObject.js +8 -16
  1017. package/lib/scene/buildAnalysisOverlayObject.js.map +1 -1
  1018. package/lib/scene/buildAnalysisOverlayObject.mjs +8 -16
  1019. package/lib/scene/buildAnalysisOverlayObject.mjs.map +1 -1
  1020. package/lib/scene/buildAutoMovieConstruction.d.ts +6 -13
  1021. package/lib/scene/buildAutoMovieConstruction.js +9 -29
  1022. package/lib/scene/buildAutoMovieConstruction.js.map +1 -1
  1023. package/lib/scene/buildAutoMovieConstruction.mjs +10 -21
  1024. package/lib/scene/buildAutoMovieConstruction.mjs.map +1 -1
  1025. package/lib/scene/buildAutoMovieMaterialLibrary.d.ts +6 -14
  1026. package/lib/scene/buildAutoMovieMaterialLibrary.js +6 -14
  1027. package/lib/scene/buildAutoMovieMaterialLibrary.js.map +1 -1
  1028. package/lib/scene/buildAutoMovieMaterialLibrary.mjs +6 -14
  1029. package/lib/scene/buildAutoMovieMaterialLibrary.mjs.map +1 -1
  1030. package/lib/scene/buildFluidSprayObject.d.ts +6 -10
  1031. package/lib/scene/buildFluidSprayObject.js +6 -10
  1032. package/lib/scene/buildFluidSprayObject.js.map +1 -1
  1033. package/lib/scene/buildFluidSprayObject.mjs +6 -10
  1034. package/lib/scene/buildFluidSprayObject.mjs.map +1 -1
  1035. package/lib/scene/buildFluidSurfaceObject.d.ts +7 -10
  1036. package/lib/scene/buildFluidSurfaceObject.js +7 -10
  1037. package/lib/scene/buildFluidSurfaceObject.js.map +1 -1
  1038. package/lib/scene/buildFluidSurfaceObject.mjs +7 -10
  1039. package/lib/scene/buildFluidSurfaceObject.mjs.map +1 -1
  1040. package/lib/scene/buildGeometry.d.ts +8 -14
  1041. package/lib/scene/buildGeometry.js +8 -14
  1042. package/lib/scene/buildGeometry.js.map +1 -1
  1043. package/lib/scene/buildGeometry.mjs +8 -14
  1044. package/lib/scene/buildGeometry.mjs.map +1 -1
  1045. package/lib/scene/buildInstancedEffect.d.ts +2 -10
  1046. package/lib/scene/buildInstancedEffect.js +2 -10
  1047. package/lib/scene/buildInstancedEffect.js.map +1 -1
  1048. package/lib/scene/buildInstancedEffect.mjs +2 -10
  1049. package/lib/scene/buildInstancedEffect.mjs.map +1 -1
  1050. package/lib/scene/buildInstancedFormation.d.ts +9 -10
  1051. package/lib/scene/buildInstancedFormation.js +18 -10
  1052. package/lib/scene/buildInstancedFormation.js.map +1 -1
  1053. package/lib/scene/buildInstancedFormation.mjs +20 -11
  1054. package/lib/scene/buildInstancedFormation.mjs.map +1 -1
  1055. package/lib/scene/buildInstancedInstanceSet.d.ts +6 -10
  1056. package/lib/scene/buildInstancedInstanceSet.js +18 -18
  1057. package/lib/scene/buildInstancedInstanceSet.js.map +1 -1
  1058. package/lib/scene/buildInstancedInstanceSet.mjs +10 -14
  1059. package/lib/scene/buildInstancedInstanceSet.mjs.map +1 -1
  1060. package/lib/scene/buildLight.d.ts +0 -8
  1061. package/lib/scene/buildLight.js +5 -9
  1062. package/lib/scene/buildLight.js.map +1 -1
  1063. package/lib/scene/buildLight.mjs +2 -9
  1064. package/lib/scene/buildLight.mjs.map +1 -1
  1065. package/lib/scene/buildMaterial.d.ts +8 -15
  1066. package/lib/scene/buildMaterial.js +13 -17
  1067. package/lib/scene/buildMaterial.js.map +1 -1
  1068. package/lib/scene/buildMaterial.mjs +11 -15
  1069. package/lib/scene/buildMaterial.mjs.map +1 -1
  1070. package/lib/scene/buildModel.d.ts +16 -21
  1071. package/lib/scene/buildModel.js +42 -26
  1072. package/lib/scene/buildModel.js.map +1 -1
  1073. package/lib/scene/buildModel.mjs +36 -30
  1074. package/lib/scene/buildModel.mjs.map +1 -1
  1075. package/lib/scene/buildPlantingObject.d.ts +20 -12
  1076. package/lib/scene/buildPlantingObject.js +20 -12
  1077. package/lib/scene/buildPlantingObject.js.map +1 -1
  1078. package/lib/scene/buildPlantingObject.mjs +20 -12
  1079. package/lib/scene/buildPlantingObject.mjs.map +1 -1
  1080. package/lib/scene/buildPropArticulation.d.ts +0 -8
  1081. package/lib/scene/buildPropArticulation.js +0 -8
  1082. package/lib/scene/buildPropArticulation.js.map +1 -1
  1083. package/lib/scene/buildPropArticulation.mjs +0 -8
  1084. package/lib/scene/buildPropArticulation.mjs.map +1 -1
  1085. package/lib/scene/buildScene.d.ts +11 -15
  1086. package/lib/scene/buildScene.js +13 -15
  1087. package/lib/scene/buildScene.js.map +1 -1
  1088. package/lib/scene/buildScene.mjs +14 -16
  1089. package/lib/scene/buildScene.mjs.map +1 -1
  1090. package/lib/scene/buildSceneSoftProps.d.ts +0 -8
  1091. package/lib/scene/buildSceneSoftProps.js +21 -8
  1092. package/lib/scene/buildSceneSoftProps.js.map +1 -1
  1093. package/lib/scene/buildSceneSoftProps.mjs +17 -8
  1094. package/lib/scene/buildSceneSoftProps.mjs.map +1 -1
  1095. package/lib/scene/buildSoftBodyObject.d.ts +11 -9
  1096. package/lib/scene/buildSoftBodyObject.js +18 -15
  1097. package/lib/scene/buildSoftBodyObject.js.map +1 -1
  1098. package/lib/scene/buildSoftBodyObject.mjs +13 -10
  1099. package/lib/scene/buildSoftBodyObject.mjs.map +1 -1
  1100. package/lib/scene/buildSpaceObject.d.ts +4 -12
  1101. package/lib/scene/buildSpaceObject.js +4 -12
  1102. package/lib/scene/buildSpaceObject.js.map +1 -1
  1103. package/lib/scene/buildSpaceObject.mjs +4 -12
  1104. package/lib/scene/buildSpaceObject.mjs.map +1 -1
  1105. package/lib/scene/captureAutoMovieFramebufferRestore.d.ts +8 -15
  1106. package/lib/scene/captureAutoMovieFramebufferRestore.js +6 -13
  1107. package/lib/scene/captureAutoMovieFramebufferRestore.js.map +1 -1
  1108. package/lib/scene/captureAutoMovieFramebufferRestore.mjs +6 -13
  1109. package/lib/scene/captureAutoMovieFramebufferRestore.mjs.map +1 -1
  1110. package/lib/scene/captureAutoMovieMetricFrame.d.ts +6 -14
  1111. package/lib/scene/captureAutoMovieMetricFrame.js +12 -33
  1112. package/lib/scene/captureAutoMovieMetricFrame.js.map +1 -1
  1113. package/lib/scene/captureAutoMovieMetricFrame.mjs +11 -17
  1114. package/lib/scene/captureAutoMovieMetricFrame.mjs.map +1 -1
  1115. package/lib/scene/captureViewerSnapshot.d.ts +5 -9
  1116. package/lib/scene/captureViewerSnapshot.js +5 -9
  1117. package/lib/scene/captureViewerSnapshot.js.map +1 -1
  1118. package/lib/scene/captureViewerSnapshot.mjs +5 -9
  1119. package/lib/scene/captureViewerSnapshot.mjs.map +1 -1
  1120. package/lib/scene/collectAutoMovieOwnedResources.d.ts +4 -12
  1121. package/lib/scene/collectAutoMovieOwnedResources.js +9 -18
  1122. package/lib/scene/collectAutoMovieOwnedResources.js.map +1 -1
  1123. package/lib/scene/collectAutoMovieOwnedResources.mjs +8 -15
  1124. package/lib/scene/collectAutoMovieOwnedResources.mjs.map +1 -1
  1125. package/lib/scene/collectAutoMovieRenderModeMeshes.d.ts +2 -9
  1126. package/lib/scene/collectAutoMovieRenderModeMeshes.js +4 -10
  1127. package/lib/scene/collectAutoMovieRenderModeMeshes.js.map +1 -1
  1128. package/lib/scene/collectAutoMovieRenderModeMeshes.mjs +4 -10
  1129. package/lib/scene/collectAutoMovieRenderModeMeshes.mjs.map +1 -1
  1130. package/lib/scene/constructAutoMovieOwnedResources.d.ts +4 -12
  1131. package/lib/scene/constructAutoMovieOwnedResources.js +4 -12
  1132. package/lib/scene/constructAutoMovieOwnedResources.js.map +1 -1
  1133. package/lib/scene/constructAutoMovieOwnedResources.mjs +4 -12
  1134. package/lib/scene/constructAutoMovieOwnedResources.mjs.map +1 -1
  1135. package/lib/scene/createAutoMovieAlbedoMaterial.d.ts +29 -0
  1136. package/lib/scene/createAutoMovieAlbedoMaterial.js +87 -0
  1137. package/lib/scene/createAutoMovieAlbedoMaterial.js.map +1 -0
  1138. package/lib/scene/createAutoMovieAlbedoMaterial.mjs +52 -0
  1139. package/lib/scene/createAutoMovieAlbedoMaterial.mjs.map +1 -0
  1140. package/lib/scene/createAutoMovieClosedSphereGeometry.d.ts +7 -13
  1141. package/lib/scene/createAutoMovieClosedSphereGeometry.js +11 -32
  1142. package/lib/scene/createAutoMovieClosedSphereGeometry.js.map +1 -1
  1143. package/lib/scene/createAutoMovieClosedSphereGeometry.mjs +9 -22
  1144. package/lib/scene/createAutoMovieClosedSphereGeometry.mjs.map +1 -1
  1145. package/lib/scene/createAutoMovieMetricOrthographicCamera.d.ts +7 -15
  1146. package/lib/scene/createAutoMovieMetricOrthographicCamera.js +17 -36
  1147. package/lib/scene/createAutoMovieMetricOrthographicCamera.js.map +1 -1
  1148. package/lib/scene/createAutoMovieMetricOrthographicCamera.mjs +16 -23
  1149. package/lib/scene/createAutoMovieMetricOrthographicCamera.mjs.map +1 -1
  1150. package/lib/scene/createAutoMoviePhysicalPoseAdapter.d.ts +2 -9
  1151. package/lib/scene/createAutoMoviePhysicalPoseAdapter.js +9 -25
  1152. package/lib/scene/createAutoMoviePhysicalPoseAdapter.js.map +1 -1
  1153. package/lib/scene/createAutoMoviePhysicalPoseAdapter.mjs +9 -27
  1154. package/lib/scene/createAutoMoviePhysicalPoseAdapter.mjs.map +1 -1
  1155. package/lib/scene/createAutoMovieResourceRetirement.d.ts +6 -14
  1156. package/lib/scene/createAutoMovieResourceRetirement.js.map +1 -1
  1157. package/lib/scene/createAutoMovieResourceRetirement.mjs.map +1 -1
  1158. package/lib/scene/createAutoMovieSurfaceAppearance.d.ts +10 -11
  1159. package/lib/scene/createAutoMovieSurfaceAppearance.js +29 -46
  1160. package/lib/scene/createAutoMovieSurfaceAppearance.js.map +1 -1
  1161. package/lib/scene/createAutoMovieSurfaceAppearance.mjs +23 -30
  1162. package/lib/scene/createAutoMovieSurfaceAppearance.mjs.map +1 -1
  1163. package/lib/scene/createAutoMovieSurfaceVertexAdapter.d.ts +2 -9
  1164. package/lib/scene/createAutoMovieSurfaceVertexAdapter.js +4 -10
  1165. package/lib/scene/createAutoMovieSurfaceVertexAdapter.js.map +1 -1
  1166. package/lib/scene/createAutoMovieSurfaceVertexAdapter.mjs +4 -10
  1167. package/lib/scene/createAutoMovieSurfaceVertexAdapter.mjs.map +1 -1
  1168. package/lib/scene/createFormationCycleShadowMaterials.d.ts +10 -17
  1169. package/lib/scene/createFormationCycleShadowMaterials.js +10 -17
  1170. package/lib/scene/createFormationCycleShadowMaterials.js.map +1 -1
  1171. package/lib/scene/createFormationCycleShadowMaterials.mjs +10 -17
  1172. package/lib/scene/createFormationCycleShadowMaterials.mjs.map +1 -1
  1173. package/lib/scene/createFormationRepresentations.d.ts +2 -10
  1174. package/lib/scene/createFormationRepresentations.js +2 -10
  1175. package/lib/scene/createFormationRepresentations.js.map +1 -1
  1176. package/lib/scene/createFormationRepresentations.mjs +2 -10
  1177. package/lib/scene/createFormationRepresentations.mjs.map +1 -1
  1178. package/lib/scene/createImportedModelObject.d.ts +1 -11
  1179. package/lib/scene/createImportedModelObject.js +4 -18
  1180. package/lib/scene/createImportedModelObject.js.map +1 -1
  1181. package/lib/scene/createImportedModelObject.mjs +4 -16
  1182. package/lib/scene/createImportedModelObject.mjs.map +1 -1
  1183. package/lib/scene/decodeAutoMovieImage.d.ts +14 -10
  1184. package/lib/scene/decodeAutoMovieImage.js +18 -11
  1185. package/lib/scene/decodeAutoMovieImage.js.map +1 -1
  1186. package/lib/scene/decodeAutoMovieImage.mjs +18 -11
  1187. package/lib/scene/decodeAutoMovieImage.mjs.map +1 -1
  1188. package/lib/scene/defaultMaterial.d.ts +2 -9
  1189. package/lib/scene/defaultMaterial.js +2 -9
  1190. package/lib/scene/defaultMaterial.js.map +1 -1
  1191. package/lib/scene/defaultMaterial.mjs +2 -9
  1192. package/lib/scene/defaultMaterial.mjs.map +1 -1
  1193. package/lib/scene/describeFormationTextureSources.d.ts +5 -12
  1194. package/lib/scene/describeFormationTextureSources.js +5 -12
  1195. package/lib/scene/describeFormationTextureSources.js.map +1 -1
  1196. package/lib/scene/describeFormationTextureSources.mjs +5 -12
  1197. package/lib/scene/describeFormationTextureSources.mjs.map +1 -1
  1198. package/lib/scene/detailNormalShading/DETAIL_NORMAL_TARGET.d.ts +2 -2
  1199. package/lib/scene/detailNormalShading/DETAIL_NORMAL_TARGET.js +2 -2
  1200. package/lib/scene/detailNormalShading/DETAIL_NORMAL_TARGET.mjs +2 -2
  1201. package/lib/scene/detailNormalShading/DETAIL_NORMAL_TARGET.mjs.map +1 -1
  1202. package/lib/scene/detailNormalShading/applyDetailNormal.d.ts +0 -8
  1203. package/lib/scene/detailNormalShading/applyDetailNormal.js +0 -8
  1204. package/lib/scene/detailNormalShading/applyDetailNormal.js.map +1 -1
  1205. package/lib/scene/detailNormalShading/applyDetailNormal.mjs +0 -8
  1206. package/lib/scene/detailNormalShading/applyDetailNormal.mjs.map +1 -1
  1207. package/lib/scene/detailNormalShading/createDetailNormalShaderPatch.d.ts +2 -9
  1208. package/lib/scene/detailNormalShading/createDetailNormalShaderPatch.js +0 -8
  1209. package/lib/scene/detailNormalShading/createDetailNormalShaderPatch.js.map +1 -1
  1210. package/lib/scene/detailNormalShading/createDetailNormalShaderPatch.mjs +0 -8
  1211. package/lib/scene/detailNormalShading/createDetailNormalShaderPatch.mjs.map +1 -1
  1212. package/lib/scene/detailNormalShading/detailNormalFragment.d.ts +0 -8
  1213. package/lib/scene/detailNormalShading/detailNormalFragment.js +0 -8
  1214. package/lib/scene/detailNormalShading/detailNormalFragment.js.map +1 -1
  1215. package/lib/scene/detailNormalShading/detailNormalFragment.mjs +0 -8
  1216. package/lib/scene/detailNormalShading/detailNormalFragment.mjs.map +1 -1
  1217. package/lib/scene/detailNormalShading/detailNormalVertex.d.ts +2 -10
  1218. package/lib/scene/detailNormalShading/detailNormalVertex.js +2 -10
  1219. package/lib/scene/detailNormalShading/detailNormalVertex.js.map +1 -1
  1220. package/lib/scene/detailNormalShading/detailNormalVertex.mjs +2 -10
  1221. package/lib/scene/detailNormalShading/detailNormalVertex.mjs.map +1 -1
  1222. package/lib/scene/detailNormalShading/spliceTangentNormal.d.ts +4 -12
  1223. package/lib/scene/detailNormalShading/spliceTangentNormal.js +4 -12
  1224. package/lib/scene/detailNormalShading/spliceTangentNormal.js.map +1 -1
  1225. package/lib/scene/detailNormalShading/spliceTangentNormal.mjs +4 -12
  1226. package/lib/scene/detailNormalShading/spliceTangentNormal.mjs.map +1 -1
  1227. package/lib/scene/disposeFormationRepresentations.d.ts +0 -8
  1228. package/lib/scene/disposeFormationRepresentations.js +0 -8
  1229. package/lib/scene/disposeFormationRepresentations.js.map +1 -1
  1230. package/lib/scene/disposeFormationRepresentations.mjs +0 -8
  1231. package/lib/scene/disposeFormationRepresentations.mjs.map +1 -1
  1232. package/lib/scene/dualQuaternionSkinning/applyDualQuaternionSkinning.d.ts +0 -8
  1233. package/lib/scene/dualQuaternionSkinning/applyDualQuaternionSkinning.js +0 -8
  1234. package/lib/scene/dualQuaternionSkinning/applyDualQuaternionSkinning.js.map +1 -1
  1235. package/lib/scene/dualQuaternionSkinning/applyDualQuaternionSkinning.mjs +0 -8
  1236. package/lib/scene/dualQuaternionSkinning/applyDualQuaternionSkinning.mjs.map +1 -1
  1237. package/lib/scene/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.d.ts +0 -8
  1238. package/lib/scene/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.js +0 -8
  1239. package/lib/scene/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.js.map +1 -1
  1240. package/lib/scene/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.mjs +0 -8
  1241. package/lib/scene/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.mjs.map +1 -1
  1242. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningOf.d.ts +0 -8
  1243. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningOf.js +0 -8
  1244. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningOf.js.map +1 -1
  1245. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningOf.mjs +0 -8
  1246. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningOf.mjs.map +1 -1
  1247. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningVertex.d.ts +10 -18
  1248. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningVertex.js +10 -18
  1249. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningVertex.js.map +1 -1
  1250. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningVertex.mjs +10 -18
  1251. package/lib/scene/dualQuaternionSkinning/dualQuaternionSkinningVertex.mjs.map +1 -1
  1252. package/lib/scene/evaluateAutoMovieViewerCameraDepthPrecision.d.ts +7 -13
  1253. package/lib/scene/evaluateAutoMovieViewerCameraDepthPrecision.js +19 -26
  1254. package/lib/scene/evaluateAutoMovieViewerCameraDepthPrecision.js.map +1 -1
  1255. package/lib/scene/evaluateAutoMovieViewerCameraDepthPrecision.mjs +15 -18
  1256. package/lib/scene/evaluateAutoMovieViewerCameraDepthPrecision.mjs.map +1 -1
  1257. package/lib/scene/filmResponse/AUTOMOVIE_FILM_RESPONSE_SHADERS.d.ts +60 -0
  1258. package/lib/scene/filmResponse/AUTOMOVIE_FILM_RESPONSE_SHADERS.js +161 -0
  1259. package/lib/scene/filmResponse/AUTOMOVIE_FILM_RESPONSE_SHADERS.js.map +1 -0
  1260. package/lib/scene/filmResponse/AUTOMOVIE_FILM_RESPONSE_SHADERS.mjs +161 -0
  1261. package/lib/scene/filmResponse/AUTOMOVIE_FILM_RESPONSE_SHADERS.mjs.map +1 -0
  1262. package/lib/scene/filmResponse/AutoMovieFilmAlpha.d.ts +24 -0
  1263. package/lib/scene/filmResponse/AutoMovieFilmAlpha.js +3 -0
  1264. package/lib/scene/filmResponse/AutoMovieFilmAlpha.js.map +1 -0
  1265. package/lib/scene/filmResponse/AutoMovieFilmAlpha.mjs +0 -0
  1266. package/lib/scene/filmResponse/AutoMovieFilmResponseStage.d.ts +168 -0
  1267. package/lib/scene/filmResponse/AutoMovieFilmResponseStage.js +365 -0
  1268. package/lib/scene/filmResponse/AutoMovieFilmResponseStage.js.map +1 -0
  1269. package/lib/scene/filmResponse/AutoMovieFilmResponseStage.mjs +318 -0
  1270. package/lib/scene/filmResponse/AutoMovieFilmResponseStage.mjs.map +1 -0
  1271. package/lib/scene/filmResponse/AutoMovieFilmSampleSum.d.ts +68 -0
  1272. package/lib/scene/filmResponse/AutoMovieFilmSampleSum.js +177 -0
  1273. package/lib/scene/filmResponse/AutoMovieFilmSampleSum.js.map +1 -0
  1274. package/lib/scene/filmResponse/AutoMovieFilmSampleSum.mjs +134 -0
  1275. package/lib/scene/filmResponse/AutoMovieFilmSampleSum.mjs.map +1 -0
  1276. package/lib/scene/filmResponse/IAutoMovieFilmResponseRenderer.d.ts +39 -0
  1277. package/lib/scene/filmResponse/IAutoMovieFilmResponseRenderer.js +3 -0
  1278. package/lib/scene/filmResponse/IAutoMovieFilmResponseRenderer.js.map +1 -0
  1279. package/lib/scene/filmResponse/IAutoMovieFilmResponseRenderer.mjs +0 -0
  1280. package/lib/scene/filmResponse/allocateAutoMovieFilmTargets.d.ts +37 -0
  1281. package/lib/scene/filmResponse/allocateAutoMovieFilmTargets.js +81 -0
  1282. package/lib/scene/filmResponse/allocateAutoMovieFilmTargets.js.map +1 -0
  1283. package/lib/scene/filmResponse/allocateAutoMovieFilmTargets.mjs +45 -0
  1284. package/lib/scene/filmResponse/allocateAutoMovieFilmTargets.mjs.map +1 -0
  1285. package/lib/scene/filmResponse/collectAutoMovieFilmOverlays.d.ts +7 -0
  1286. package/lib/scene/filmResponse/collectAutoMovieFilmOverlays.js +22 -0
  1287. package/lib/scene/filmResponse/collectAutoMovieFilmOverlays.js.map +1 -0
  1288. package/lib/scene/filmResponse/collectAutoMovieFilmOverlays.mjs +19 -0
  1289. package/lib/scene/filmResponse/collectAutoMovieFilmOverlays.mjs.map +1 -0
  1290. package/lib/scene/filmResponse/freeAutoMovieFilmOverlayLayer.d.ts +7 -0
  1291. package/lib/scene/filmResponse/freeAutoMovieFilmOverlayLayer.js +19 -0
  1292. package/lib/scene/filmResponse/freeAutoMovieFilmOverlayLayer.js.map +1 -0
  1293. package/lib/scene/filmResponse/freeAutoMovieFilmOverlayLayer.mjs +17 -0
  1294. package/lib/scene/filmResponse/freeAutoMovieFilmOverlayLayer.mjs.map +1 -0
  1295. package/lib/scene/filmResponse/index.d.ts +5 -0
  1296. package/lib/scene/filmResponse/index.js +22 -0
  1297. package/lib/scene/filmResponse/index.js.map +1 -0
  1298. package/lib/scene/filmResponse/index.mjs +4 -0
  1299. package/lib/scene/filmResponse/planAutoMovieFilmGlare.d.ts +46 -0
  1300. package/lib/scene/filmResponse/planAutoMovieFilmGlare.js +52 -0
  1301. package/lib/scene/filmResponse/planAutoMovieFilmGlare.js.map +1 -0
  1302. package/lib/scene/filmResponse/planAutoMovieFilmGlare.mjs +48 -0
  1303. package/lib/scene/filmResponse/planAutoMovieFilmGlare.mjs.map +1 -0
  1304. package/lib/scene/filmShading/AUTOMOVIE_FILM_OCCLUSION_SHADERS.d.ts +25 -0
  1305. package/lib/scene/filmShading/AUTOMOVIE_FILM_OCCLUSION_SHADERS.js +117 -0
  1306. package/lib/scene/filmShading/AUTOMOVIE_FILM_OCCLUSION_SHADERS.js.map +1 -0
  1307. package/lib/scene/filmShading/AUTOMOVIE_FILM_OCCLUSION_SHADERS.mjs +117 -0
  1308. package/lib/scene/filmShading/AUTOMOVIE_FILM_OCCLUSION_SHADERS.mjs.map +1 -0
  1309. package/lib/scene/filmShading/AutoMovieFilmIndirectStage.d.ts +125 -0
  1310. package/lib/scene/filmShading/AutoMovieFilmIndirectStage.js +357 -0
  1311. package/lib/scene/filmShading/AutoMovieFilmIndirectStage.js.map +1 -0
  1312. package/lib/scene/filmShading/AutoMovieFilmIndirectStage.mjs +304 -0
  1313. package/lib/scene/filmShading/AutoMovieFilmIndirectStage.mjs.map +1 -0
  1314. package/lib/scene/filmShading/IAutoMovieFilmIndirectRenderer.d.ts +26 -0
  1315. package/lib/scene/filmShading/IAutoMovieFilmIndirectRenderer.js +3 -0
  1316. package/lib/scene/filmShading/IAutoMovieFilmIndirectRenderer.js.map +1 -0
  1317. package/lib/scene/filmShading/IAutoMovieFilmIndirectRenderer.mjs +0 -0
  1318. package/lib/scene/filmShading/applyFilmIndirectPatch.d.ts +29 -0
  1319. package/lib/scene/filmShading/applyFilmIndirectPatch.js +141 -0
  1320. package/lib/scene/filmShading/applyFilmIndirectPatch.js.map +1 -0
  1321. package/lib/scene/filmShading/applyFilmIndirectPatch.mjs +97 -0
  1322. package/lib/scene/filmShading/applyFilmIndirectPatch.mjs.map +1 -0
  1323. package/lib/scene/filmShading/bakeAutoMovieFilmProbes.d.ts +34 -0
  1324. package/lib/scene/filmShading/bakeAutoMovieFilmProbes.js +185 -0
  1325. package/lib/scene/filmShading/bakeAutoMovieFilmProbes.js.map +1 -0
  1326. package/lib/scene/filmShading/bakeAutoMovieFilmProbes.mjs +226 -0
  1327. package/lib/scene/filmShading/bakeAutoMovieFilmProbes.mjs.map +1 -0
  1328. package/lib/scene/filmShading/index.d.ts +5 -0
  1329. package/lib/scene/filmShading/index.js +22 -0
  1330. package/lib/scene/filmShading/index.js.map +1 -0
  1331. package/lib/scene/filmShading/index.mjs +5 -0
  1332. package/lib/scene/flame/IAutoMovieFlamesObject.d.ts +18 -0
  1333. package/lib/scene/flame/IAutoMovieFlamesObject.js +3 -0
  1334. package/lib/scene/flame/IAutoMovieFlamesObject.js.map +1 -0
  1335. package/lib/scene/flame/IAutoMovieFlamesObject.mjs +0 -0
  1336. package/lib/scene/flame/IPrepareAutoMovieFlamesProps.d.ts +19 -0
  1337. package/lib/scene/flame/IPrepareAutoMovieFlamesProps.js +3 -0
  1338. package/lib/scene/flame/IPrepareAutoMovieFlamesProps.js.map +1 -0
  1339. package/lib/scene/flame/IPrepareAutoMovieFlamesProps.mjs +0 -0
  1340. package/lib/scene/flame/createAutoMovieFlameMaterial.d.ts +20 -0
  1341. package/lib/scene/flame/createAutoMovieFlameMaterial.js +74 -0
  1342. package/lib/scene/flame/createAutoMovieFlameMaterial.js.map +1 -0
  1343. package/lib/scene/flame/createAutoMovieFlameMaterial.mjs +37 -0
  1344. package/lib/scene/flame/createAutoMovieFlameMaterial.mjs.map +1 -0
  1345. package/lib/scene/flame/index.d.ts +3 -0
  1346. package/lib/scene/flame/index.js +20 -0
  1347. package/lib/scene/flame/index.js.map +1 -0
  1348. package/lib/scene/flame/index.mjs +1 -0
  1349. package/lib/scene/flame/prepareAutoMovieFlames.d.ts +27 -0
  1350. package/lib/scene/flame/prepareAutoMovieFlames.js +174 -0
  1351. package/lib/scene/flame/prepareAutoMovieFlames.js.map +1 -0
  1352. package/lib/scene/flame/prepareAutoMovieFlames.mjs +123 -0
  1353. package/lib/scene/flame/prepareAutoMovieFlames.mjs.map +1 -0
  1354. package/lib/scene/flattenInstancedModel.d.ts +10 -14
  1355. package/lib/scene/flattenInstancedModel.js +13 -50
  1356. package/lib/scene/flattenInstancedModel.js.map +1 -1
  1357. package/lib/scene/flattenInstancedModel.mjs +13 -17
  1358. package/lib/scene/flattenInstancedModel.mjs.map +1 -1
  1359. package/lib/scene/flattenInstancedObject.d.ts +0 -8
  1360. package/lib/scene/flattenInstancedObject.js +0 -8
  1361. package/lib/scene/flattenInstancedObject.js.map +1 -1
  1362. package/lib/scene/flattenInstancedObject.mjs +0 -8
  1363. package/lib/scene/flattenInstancedObject.mjs.map +1 -1
  1364. package/lib/scene/flattenRigidParts.d.ts +5 -13
  1365. package/lib/scene/flattenRigidParts.js +8 -15
  1366. package/lib/scene/flattenRigidParts.js.map +1 -1
  1367. package/lib/scene/flattenRigidParts.mjs +8 -15
  1368. package/lib/scene/flattenRigidParts.mjs.map +1 -1
  1369. package/lib/scene/formationCycle/index.d.ts +8 -1
  1370. package/lib/scene/formationCycle/index.js +8 -1
  1371. package/lib/scene/formationCycle/index.js.map +1 -1
  1372. package/lib/scene/formationCycle/index.mjs +5 -1
  1373. package/lib/scene/formationCycleCadence.d.ts +3 -11
  1374. package/lib/scene/formationCycleCadence.js +3 -11
  1375. package/lib/scene/formationCycleCadence.js.map +1 -1
  1376. package/lib/scene/formationCycleCadence.mjs +3 -11
  1377. package/lib/scene/formationCycleCadence.mjs.map +1 -1
  1378. package/lib/scene/formationCycleGait.d.ts +0 -8
  1379. package/lib/scene/formationCycleGait.js +0 -8
  1380. package/lib/scene/formationCycleGait.js.map +1 -1
  1381. package/lib/scene/formationCycleGait.mjs +0 -8
  1382. package/lib/scene/formationCycleGait.mjs.map +1 -1
  1383. package/lib/scene/formationCycleOf.d.ts +3 -11
  1384. package/lib/scene/formationCycleOf.js +7 -12
  1385. package/lib/scene/formationCycleOf.js.map +1 -1
  1386. package/lib/scene/formationCycleOf.mjs +6 -12
  1387. package/lib/scene/formationCycleOf.mjs.map +1 -1
  1388. package/lib/scene/formationCyclePosition.d.ts +0 -8
  1389. package/lib/scene/formationCyclePosition.js +0 -8
  1390. package/lib/scene/formationCyclePosition.js.map +1 -1
  1391. package/lib/scene/formationCyclePosition.mjs +0 -8
  1392. package/lib/scene/formationCyclePosition.mjs.map +1 -1
  1393. package/lib/scene/formationCycleStride.d.ts +4 -12
  1394. package/lib/scene/formationCycleStride.js +4 -12
  1395. package/lib/scene/formationCycleStride.js.map +1 -1
  1396. package/lib/scene/formationCycleStride.mjs +4 -12
  1397. package/lib/scene/formationCycleStride.mjs.map +1 -1
  1398. package/lib/scene/formationGeometry/index.d.ts +4 -1
  1399. package/lib/scene/formationGeometry/index.js +4 -1
  1400. package/lib/scene/formationGeometry/index.js.map +1 -1
  1401. package/lib/scene/formationSpacingOffset.d.ts +0 -8
  1402. package/lib/scene/formationSpacingOffset.js +0 -8
  1403. package/lib/scene/formationSpacingOffset.js.map +1 -1
  1404. package/lib/scene/formationSpacingOffset.mjs +0 -8
  1405. package/lib/scene/formationSpacingOffset.mjs.map +1 -1
  1406. package/lib/scene/guardAutoMovieRenderModeRetirement.d.ts +6 -9
  1407. package/lib/scene/guardAutoMovieRenderModeRetirement.js +14 -14
  1408. package/lib/scene/guardAutoMovieRenderModeRetirement.js.map +1 -1
  1409. package/lib/scene/guardAutoMovieRenderModeRetirement.mjs +14 -14
  1410. package/lib/scene/guardAutoMovieRenderModeRetirement.mjs.map +1 -1
  1411. package/lib/scene/guardAutoMovieSceneShadowRetirement.d.ts +10 -10
  1412. package/lib/scene/guardAutoMovieSceneShadowRetirement.js +11 -13
  1413. package/lib/scene/guardAutoMovieSceneShadowRetirement.js.map +1 -1
  1414. package/lib/scene/guardAutoMovieSceneShadowRetirement.mjs +11 -13
  1415. package/lib/scene/guardAutoMovieSceneShadowRetirement.mjs.map +1 -1
  1416. package/lib/scene/human-polygon/AutoMovieHumanCartoon.d.ts +2 -21
  1417. package/lib/scene/human-polygon/AutoMovieHumanPolygon.d.ts +25 -80
  1418. package/lib/scene/human-polygon/applyHumanPolygonPose.d.ts +0 -8
  1419. package/lib/scene/human-polygon/applyHumanPolygonPose.js +0 -15
  1420. package/lib/scene/human-polygon/applyHumanPolygonPose.js.map +1 -1
  1421. package/lib/scene/human-polygon/applyHumanPolygonPose.mjs +1 -9
  1422. package/lib/scene/human-polygon/applyHumanPolygonPose.mjs.map +1 -1
  1423. package/lib/scene/human-polygon/buildHumanCartoonFace.d.ts +13 -20
  1424. package/lib/scene/human-polygon/buildHumanCartoonFace.js +83 -85
  1425. package/lib/scene/human-polygon/buildHumanCartoonFace.js.map +1 -1
  1426. package/lib/scene/human-polygon/buildHumanCartoonFace.mjs +83 -79
  1427. package/lib/scene/human-polygon/buildHumanCartoonFace.mjs.map +1 -1
  1428. package/lib/scene/human-polygon/buildHumanPolygon.d.ts +19 -19
  1429. package/lib/scene/human-polygon/buildHumanPolygon.js +60 -51
  1430. package/lib/scene/human-polygon/buildHumanPolygon.js.map +1 -1
  1431. package/lib/scene/human-polygon/buildHumanPolygon.mjs +60 -47
  1432. package/lib/scene/human-polygon/buildHumanPolygon.mjs.map +1 -1
  1433. package/lib/scene/human-polygon/buildHumanPolygonModule.d.ts +35 -39
  1434. package/lib/scene/human-polygon/buildHumanPolygonModule.js +34 -49
  1435. package/lib/scene/human-polygon/buildHumanPolygonModule.js.map +1 -1
  1436. package/lib/scene/human-polygon/buildHumanPolygonModule.mjs +16 -24
  1437. package/lib/scene/human-polygon/buildHumanPolygonModule.mjs.map +1 -1
  1438. package/lib/scene/human-polygon/buildHumanPolygonParts.d.ts +3 -11
  1439. package/lib/scene/human-polygon/buildHumanPolygonParts.js +8 -12
  1440. package/lib/scene/human-polygon/buildHumanPolygonParts.js.map +1 -1
  1441. package/lib/scene/human-polygon/buildHumanPolygonParts.mjs +7 -12
  1442. package/lib/scene/human-polygon/buildHumanPolygonParts.mjs.map +1 -1
  1443. package/lib/scene/human-polygon/buildPolygonShotActor.d.ts +11 -16
  1444. package/lib/scene/human-polygon/buildPolygonShotActor.js +8 -17
  1445. package/lib/scene/human-polygon/buildPolygonShotActor.js.map +1 -1
  1446. package/lib/scene/human-polygon/buildPolygonShotActor.mjs +8 -24
  1447. package/lib/scene/human-polygon/buildPolygonShotActor.mjs.map +1 -1
  1448. package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.d.ts +14 -22
  1449. package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.js +5 -12
  1450. package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.js.map +1 -1
  1451. package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.mjs +5 -12
  1452. package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.mjs.map +1 -1
  1453. package/lib/scene/human-polygon/createHumanPolygonPalette.d.ts +15 -25
  1454. package/lib/scene/human-polygon/createHumanPolygonPalette.js +31 -33
  1455. package/lib/scene/human-polygon/createHumanPolygonPalette.js.map +1 -1
  1456. package/lib/scene/human-polygon/createHumanPolygonPalette.mjs +20 -19
  1457. package/lib/scene/human-polygon/createHumanPolygonPalette.mjs.map +1 -1
  1458. package/lib/scene/human-polygon/humanPolygonTopology.d.ts +7 -49
  1459. package/lib/scene/human-polygon/humanPolygonTopology.js +17 -48
  1460. package/lib/scene/human-polygon/humanPolygonTopology.js.map +1 -1
  1461. package/lib/scene/human-polygon/humanPolygonTopology.mjs +11 -7
  1462. package/lib/scene/human-polygon/humanPolygonTopology.mjs.map +1 -1
  1463. package/lib/scene/human-polygon/mountHumanCartoonFace.d.ts +1 -11
  1464. package/lib/scene/human-polygon/mountHumanCartoonFace.js +8 -22
  1465. package/lib/scene/human-polygon/mountHumanCartoonFace.js.map +1 -1
  1466. package/lib/scene/human-polygon/mountHumanCartoonFace.mjs +7 -15
  1467. package/lib/scene/human-polygon/mountHumanCartoonFace.mjs.map +1 -1
  1468. package/lib/scene/human-polygon/prepareHumanPolygonPresentation.d.ts +1 -11
  1469. package/lib/scene/human-polygon/prepareHumanPolygonPresentation.js +15 -32
  1470. package/lib/scene/human-polygon/prepareHumanPolygonPresentation.js.map +1 -1
  1471. package/lib/scene/human-polygon/prepareHumanPolygonPresentation.mjs +15 -39
  1472. package/lib/scene/human-polygon/prepareHumanPolygonPresentation.mjs.map +1 -1
  1473. package/lib/scene/index.d.ts +19 -3
  1474. package/lib/scene/index.js +19 -3
  1475. package/lib/scene/index.js.map +1 -1
  1476. package/lib/scene/index.mjs +97 -49
  1477. package/lib/scene/inspection/AUTOMOVIE_PLACED_FRAME_TOLERANCE.d.ts +6 -0
  1478. package/lib/scene/inspection/AUTOMOVIE_PLACED_FRAME_TOLERANCE.js +10 -0
  1479. package/lib/scene/inspection/AUTOMOVIE_PLACED_FRAME_TOLERANCE.js.map +1 -0
  1480. package/lib/scene/inspection/AUTOMOVIE_PLACED_FRAME_TOLERANCE.mjs +10 -0
  1481. package/lib/scene/inspection/AUTOMOVIE_PLACED_FRAME_TOLERANCE.mjs.map +1 -0
  1482. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_DEPTH_LEAD.d.ts +7 -2
  1483. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_DEPTH_LEAD.js +7 -2
  1484. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_DEPTH_LEAD.js.map +1 -1
  1485. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_DEPTH_LEAD.mjs +7 -2
  1486. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_DEPTH_LEAD.mjs.map +1 -1
  1487. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KEYS.d.ts +5 -2
  1488. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KEYS.js +5 -2
  1489. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KEYS.js.map +1 -1
  1490. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KEYS.mjs +5 -2
  1491. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KEYS.mjs.map +1 -1
  1492. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.d.ts +17 -12
  1493. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.js +17 -12
  1494. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.js.map +1 -1
  1495. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.mjs +17 -12
  1496. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.mjs.map +1 -1
  1497. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.d.ts +23 -15
  1498. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.js +19 -14
  1499. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.js.map +1 -1
  1500. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.mjs +19 -14
  1501. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.mjs.map +1 -1
  1502. package/lib/scene/inspection/AutoMovieCollisionSource.d.ts +75 -0
  1503. package/lib/scene/inspection/AutoMovieCollisionSource.js +148 -0
  1504. package/lib/scene/inspection/AutoMovieCollisionSource.js.map +1 -0
  1505. package/lib/scene/inspection/AutoMovieCollisionSource.mjs +69 -0
  1506. package/lib/scene/inspection/AutoMovieCollisionSource.mjs.map +1 -0
  1507. package/lib/scene/inspection/IApplyAutoMovieInspectionProps.d.ts +15 -12
  1508. package/lib/scene/inspection/IAutoMovieInspectionDiagnosticOverlay.d.ts +15 -0
  1509. package/lib/scene/inspection/IAutoMovieInspectionDiagnosticOverlay.js +3 -0
  1510. package/lib/scene/inspection/IAutoMovieInspectionDiagnosticOverlay.js.map +1 -0
  1511. package/lib/scene/inspection/IAutoMovieInspectionDiagnosticOverlay.mjs +0 -0
  1512. package/lib/scene/inspection/IAutoMovieInspectionHandle.d.ts +37 -56
  1513. package/lib/scene/inspection/IAutoMovieInspectionMarkSet.d.ts +10 -8
  1514. package/lib/scene/inspection/IAutoMovieInspectionMeasured.d.ts +9 -16
  1515. package/lib/scene/inspection/IAutoMovieInspectionOverlay.d.ts +10 -36
  1516. package/lib/scene/inspection/IAutoMovieInspectionPath.d.ts +4 -12
  1517. package/lib/scene/inspection/IAutoMoviePlacedObligation.d.ts +13 -0
  1518. package/lib/scene/inspection/IAutoMoviePlacedObligation.js +3 -0
  1519. package/lib/scene/inspection/IAutoMoviePlacedObligation.js.map +1 -0
  1520. package/lib/scene/inspection/IAutoMoviePlacedObligation.mjs +0 -0
  1521. package/lib/scene/inspection/IObserveAutoMoviePlacedScene.d.ts +97 -0
  1522. package/lib/scene/inspection/IObserveAutoMoviePlacedScene.js +3 -0
  1523. package/lib/scene/inspection/IObserveAutoMoviePlacedScene.js.map +1 -0
  1524. package/lib/scene/inspection/IObserveAutoMoviePlacedScene.mjs +0 -0
  1525. package/lib/scene/inspection/IRenderAutoMovieInspectionDiagnosticsProps.d.ts +17 -0
  1526. package/lib/scene/inspection/IRenderAutoMovieInspectionDiagnosticsProps.js +3 -0
  1527. package/lib/scene/inspection/IRenderAutoMovieInspectionDiagnosticsProps.js.map +1 -0
  1528. package/lib/scene/inspection/IRenderAutoMovieInspectionDiagnosticsProps.mjs +0 -0
  1529. package/lib/scene/inspection/ISelectAutoMoviePlacedChecks.d.ts +149 -0
  1530. package/lib/scene/inspection/ISelectAutoMoviePlacedChecks.js +3 -0
  1531. package/lib/scene/inspection/ISelectAutoMoviePlacedChecks.js.map +1 -0
  1532. package/lib/scene/inspection/ISelectAutoMoviePlacedChecks.mjs +0 -0
  1533. package/lib/scene/inspection/admitAutoMovieInspectionPatterns.d.ts +10 -0
  1534. package/lib/scene/inspection/admitAutoMovieInspectionPatterns.js +40 -0
  1535. package/lib/scene/inspection/admitAutoMovieInspectionPatterns.js.map +1 -0
  1536. package/lib/scene/inspection/admitAutoMovieInspectionPatterns.mjs +36 -0
  1537. package/lib/scene/inspection/admitAutoMovieInspectionPatterns.mjs.map +1 -0
  1538. package/lib/scene/inspection/applyAutoMovieInspection.d.ts +54 -20
  1539. package/lib/scene/inspection/applyAutoMovieInspection.js +79 -66
  1540. package/lib/scene/inspection/applyAutoMovieInspection.js.map +1 -1
  1541. package/lib/scene/inspection/applyAutoMovieInspection.mjs +77 -60
  1542. package/lib/scene/inspection/applyAutoMovieInspection.mjs.map +1 -1
  1543. package/lib/scene/inspection/applyAutoMovieInspectionSection.d.ts +7 -10
  1544. package/lib/scene/inspection/applyAutoMovieInspectionSection.js +10 -13
  1545. package/lib/scene/inspection/applyAutoMovieInspectionSection.js.map +1 -1
  1546. package/lib/scene/inspection/applyAutoMovieInspectionSection.mjs +10 -13
  1547. package/lib/scene/inspection/applyAutoMovieInspectionSection.mjs.map +1 -1
  1548. package/lib/scene/inspection/applyAutoMovieInspectionShade.d.ts +16 -12
  1549. package/lib/scene/inspection/applyAutoMovieInspectionShade.js +20 -13
  1550. package/lib/scene/inspection/applyAutoMovieInspectionShade.js.map +1 -1
  1551. package/lib/scene/inspection/applyAutoMovieInspectionShade.mjs +20 -13
  1552. package/lib/scene/inspection/applyAutoMovieInspectionShade.mjs.map +1 -1
  1553. package/lib/scene/inspection/autoMovieInspectionEntityPathOf.d.ts +25 -0
  1554. package/lib/scene/inspection/autoMovieInspectionEntityPathOf.js +85 -0
  1555. package/lib/scene/inspection/autoMovieInspectionEntityPathOf.js.map +1 -0
  1556. package/lib/scene/inspection/autoMovieInspectionEntityPathOf.mjs +76 -0
  1557. package/lib/scene/inspection/autoMovieInspectionEntityPathOf.mjs.map +1 -0
  1558. package/lib/scene/inspection/autoMovieInspectionPathOf.d.ts +7 -10
  1559. package/lib/scene/inspection/autoMovieInspectionPathOf.js +7 -10
  1560. package/lib/scene/inspection/autoMovieInspectionPathOf.js.map +1 -1
  1561. package/lib/scene/inspection/autoMovieInspectionPathOf.mjs +7 -10
  1562. package/lib/scene/inspection/autoMovieInspectionPathOf.mjs.map +1 -1
  1563. package/lib/scene/inspection/boundAutoMovieCameraSubject.d.ts +15 -0
  1564. package/lib/scene/inspection/boundAutoMovieCameraSubject.js +46 -0
  1565. package/lib/scene/inspection/boundAutoMovieCameraSubject.js.map +1 -0
  1566. package/lib/scene/inspection/boundAutoMovieCameraSubject.mjs +38 -0
  1567. package/lib/scene/inspection/boundAutoMovieCameraSubject.mjs.map +1 -0
  1568. package/lib/scene/inspection/buildAutoMovieInspectionMarks.d.ts +17 -12
  1569. package/lib/scene/inspection/buildAutoMovieInspectionMarks.js +33 -19
  1570. package/lib/scene/inspection/buildAutoMovieInspectionMarks.js.map +1 -1
  1571. package/lib/scene/inspection/buildAutoMovieInspectionMarks.mjs +32 -18
  1572. package/lib/scene/inspection/buildAutoMovieInspectionMarks.mjs.map +1 -1
  1573. package/lib/scene/inspection/chooseAutoMovieInspectionMarks.d.ts +9 -11
  1574. package/lib/scene/inspection/chooseAutoMovieInspectionMarks.js +9 -11
  1575. package/lib/scene/inspection/chooseAutoMovieInspectionMarks.js.map +1 -1
  1576. package/lib/scene/inspection/chooseAutoMovieInspectionMarks.mjs +9 -11
  1577. package/lib/scene/inspection/chooseAutoMovieInspectionMarks.mjs.map +1 -1
  1578. package/lib/scene/inspection/collectAutoMovieCollisionParts.d.ts +89 -0
  1579. package/lib/scene/inspection/collectAutoMovieCollisionParts.js +105 -0
  1580. package/lib/scene/inspection/collectAutoMovieCollisionParts.js.map +1 -0
  1581. package/lib/scene/inspection/collectAutoMovieCollisionParts.mjs +93 -0
  1582. package/lib/scene/inspection/collectAutoMovieCollisionParts.mjs.map +1 -0
  1583. package/lib/scene/inspection/colorAutoMovieInspectionObjects.d.ts +8 -10
  1584. package/lib/scene/inspection/colorAutoMovieInspectionObjects.js +8 -10
  1585. package/lib/scene/inspection/colorAutoMovieInspectionObjects.js.map +1 -1
  1586. package/lib/scene/inspection/colorAutoMovieInspectionObjects.mjs +8 -10
  1587. package/lib/scene/inspection/colorAutoMovieInspectionObjects.mjs.map +1 -1
  1588. package/lib/scene/inspection/compareAutoMovieInspectionFindings.d.ts +16 -0
  1589. package/lib/scene/inspection/compareAutoMovieInspectionFindings.js +27 -0
  1590. package/lib/scene/inspection/compareAutoMovieInspectionFindings.js.map +1 -0
  1591. package/lib/scene/inspection/compareAutoMovieInspectionFindings.mjs +25 -0
  1592. package/lib/scene/inspection/compareAutoMovieInspectionFindings.mjs.map +1 -0
  1593. package/lib/scene/inspection/countAutoMovieCameraOcclusionPixels.d.ts +23 -0
  1594. package/lib/scene/inspection/countAutoMovieCameraOcclusionPixels.js +48 -0
  1595. package/lib/scene/inspection/countAutoMovieCameraOcclusionPixels.js.map +1 -0
  1596. package/lib/scene/inspection/countAutoMovieCameraOcclusionPixels.mjs +36 -0
  1597. package/lib/scene/inspection/countAutoMovieCameraOcclusionPixels.mjs.map +1 -0
  1598. package/lib/scene/inspection/createAutoMovieCollisionFinding.d.ts +16 -0
  1599. package/lib/scene/inspection/createAutoMovieCollisionFinding.js +50 -0
  1600. package/lib/scene/inspection/createAutoMovieCollisionFinding.js.map +1 -0
  1601. package/lib/scene/inspection/createAutoMovieCollisionFinding.mjs +46 -0
  1602. package/lib/scene/inspection/createAutoMovieCollisionFinding.mjs.map +1 -0
  1603. package/lib/scene/inspection/createAutoMovieInspectionDiagnosticOverlay.d.ts +16 -0
  1604. package/lib/scene/inspection/createAutoMovieInspectionDiagnosticOverlay.js +160 -0
  1605. package/lib/scene/inspection/createAutoMovieInspectionDiagnosticOverlay.js.map +1 -0
  1606. package/lib/scene/inspection/createAutoMovieInspectionDiagnosticOverlay.mjs +245 -0
  1607. package/lib/scene/inspection/createAutoMovieInspectionDiagnosticOverlay.mjs.map +1 -0
  1608. package/lib/scene/inspection/createAutoMovieInspectionDots.d.ts +12 -11
  1609. package/lib/scene/inspection/createAutoMovieInspectionDots.js +24 -19
  1610. package/lib/scene/inspection/createAutoMovieInspectionDots.js.map +1 -1
  1611. package/lib/scene/inspection/createAutoMovieInspectionDots.mjs +23 -18
  1612. package/lib/scene/inspection/createAutoMovieInspectionDots.mjs.map +1 -1
  1613. package/lib/scene/inspection/createAutoMovieInspectionStrokes.d.ts +19 -12
  1614. package/lib/scene/inspection/createAutoMovieInspectionStrokes.js +31 -20
  1615. package/lib/scene/inspection/createAutoMovieInspectionStrokes.js.map +1 -1
  1616. package/lib/scene/inspection/createAutoMovieInspectionStrokes.mjs +30 -19
  1617. package/lib/scene/inspection/createAutoMovieInspectionStrokes.mjs.map +1 -1
  1618. package/lib/scene/inspection/crossesAutoMovieFrustumPlane.d.ts +19 -0
  1619. package/lib/scene/inspection/crossesAutoMovieFrustumPlane.js +31 -0
  1620. package/lib/scene/inspection/crossesAutoMovieFrustumPlane.js.map +1 -0
  1621. package/lib/scene/inspection/crossesAutoMovieFrustumPlane.mjs +29 -0
  1622. package/lib/scene/inspection/crossesAutoMovieFrustumPlane.mjs.map +1 -0
  1623. package/lib/scene/inspection/expandAutoMovieInspectionSweep.d.ts +23 -13
  1624. package/lib/scene/inspection/expandAutoMovieInspectionSweep.js +25 -17
  1625. package/lib/scene/inspection/expandAutoMovieInspectionSweep.js.map +1 -1
  1626. package/lib/scene/inspection/expandAutoMovieInspectionSweep.mjs +25 -15
  1627. package/lib/scene/inspection/expandAutoMovieInspectionSweep.mjs.map +1 -1
  1628. package/lib/scene/inspection/findAutoMovieCollisionWitness.d.ts +89 -0
  1629. package/lib/scene/inspection/findAutoMovieCollisionWitness.js +338 -0
  1630. package/lib/scene/inspection/findAutoMovieCollisionWitness.js.map +1 -0
  1631. package/lib/scene/inspection/findAutoMovieCollisionWitness.mjs +263 -0
  1632. package/lib/scene/inspection/findAutoMovieCollisionWitness.mjs.map +1 -0
  1633. package/lib/scene/inspection/focusAutoMovieInspection.d.ts +6 -10
  1634. package/lib/scene/inspection/focusAutoMovieInspection.js +6 -10
  1635. package/lib/scene/inspection/focusAutoMovieInspection.js.map +1 -1
  1636. package/lib/scene/inspection/focusAutoMovieInspection.mjs +6 -10
  1637. package/lib/scene/inspection/focusAutoMovieInspection.mjs.map +1 -1
  1638. package/lib/scene/inspection/followAutoMovieInspectionSource.d.ts +6 -10
  1639. package/lib/scene/inspection/followAutoMovieInspectionSource.js +6 -10
  1640. package/lib/scene/inspection/followAutoMovieInspectionSource.js.map +1 -1
  1641. package/lib/scene/inspection/followAutoMovieInspectionSource.mjs +6 -10
  1642. package/lib/scene/inspection/followAutoMovieInspectionSource.mjs.map +1 -1
  1643. package/lib/scene/inspection/formatAutoMovieInspectionCameraView.d.ts +13 -10
  1644. package/lib/scene/inspection/formatAutoMovieInspectionCameraView.js +17 -11
  1645. package/lib/scene/inspection/formatAutoMovieInspectionCameraView.js.map +1 -1
  1646. package/lib/scene/inspection/formatAutoMovieInspectionCameraView.mjs +17 -11
  1647. package/lib/scene/inspection/formatAutoMovieInspectionCameraView.mjs.map +1 -1
  1648. package/lib/scene/inspection/formatAutoMovieInspectionRequest.d.ts +13 -11
  1649. package/lib/scene/inspection/formatAutoMovieInspectionRequest.js +13 -11
  1650. package/lib/scene/inspection/formatAutoMovieInspectionRequest.js.map +1 -1
  1651. package/lib/scene/inspection/formatAutoMovieInspectionRequest.mjs +13 -11
  1652. package/lib/scene/inspection/formatAutoMovieInspectionRequest.mjs.map +1 -1
  1653. package/lib/scene/inspection/formatAutoMovieInspectionView.d.ts +9 -10
  1654. package/lib/scene/inspection/formatAutoMovieInspectionView.js +9 -10
  1655. package/lib/scene/inspection/formatAutoMovieInspectionView.js.map +1 -1
  1656. package/lib/scene/inspection/formatAutoMovieInspectionView.mjs +9 -10
  1657. package/lib/scene/inspection/formatAutoMovieInspectionView.mjs.map +1 -1
  1658. package/lib/scene/inspection/index.d.ts +24 -1
  1659. package/lib/scene/inspection/index.js +22 -1
  1660. package/lib/scene/inspection/index.js.map +1 -1
  1661. package/lib/scene/inspection/index.mjs +21 -2
  1662. package/lib/scene/inspection/inspectAutoMovieNativePlacement.d.ts +22 -0
  1663. package/lib/scene/inspection/inspectAutoMovieNativePlacement.js +94 -0
  1664. package/lib/scene/inspection/inspectAutoMovieNativePlacement.js.map +1 -0
  1665. package/lib/scene/inspection/inspectAutoMovieNativePlacement.mjs +75 -0
  1666. package/lib/scene/inspection/inspectAutoMovieNativePlacement.mjs.map +1 -0
  1667. package/lib/scene/inspection/isAutoMovieAffineMatrix.d.ts +8 -0
  1668. package/lib/scene/inspection/isAutoMovieAffineMatrix.js +17 -0
  1669. package/lib/scene/inspection/isAutoMovieAffineMatrix.js.map +1 -0
  1670. package/lib/scene/inspection/isAutoMovieAffineMatrix.mjs +14 -0
  1671. package/lib/scene/inspection/isAutoMovieAffineMatrix.mjs.map +1 -0
  1672. package/lib/scene/inspection/isAutoMovieFloat32Point.d.ts +10 -0
  1673. package/lib/scene/inspection/isAutoMovieFloat32Point.js +16 -0
  1674. package/lib/scene/inspection/isAutoMovieFloat32Point.js.map +1 -0
  1675. package/lib/scene/inspection/isAutoMovieFloat32Point.mjs +20 -0
  1676. package/lib/scene/inspection/isAutoMovieFloat32Point.mjs.map +1 -0
  1677. package/lib/scene/inspection/legendAutoMovieInspectionMarks.d.ts +7 -10
  1678. package/lib/scene/inspection/legendAutoMovieInspectionMarks.js +7 -10
  1679. package/lib/scene/inspection/legendAutoMovieInspectionMarks.js.map +1 -1
  1680. package/lib/scene/inspection/legendAutoMovieInspectionMarks.mjs +7 -10
  1681. package/lib/scene/inspection/legendAutoMovieInspectionMarks.mjs.map +1 -1
  1682. package/lib/scene/inspection/listAutoMovieCameraSubjectMeshes.d.ts +19 -0
  1683. package/lib/scene/inspection/listAutoMovieCameraSubjectMeshes.js +69 -0
  1684. package/lib/scene/inspection/listAutoMovieCameraSubjectMeshes.js.map +1 -0
  1685. package/lib/scene/inspection/listAutoMovieCameraSubjectMeshes.mjs +54 -0
  1686. package/lib/scene/inspection/listAutoMovieCameraSubjectMeshes.mjs.map +1 -0
  1687. package/lib/scene/inspection/listAutoMovieInspectionKindOptions.d.ts +8 -0
  1688. package/lib/scene/inspection/listAutoMovieInspectionKindOptions.js +20 -0
  1689. package/lib/scene/inspection/listAutoMovieInspectionKindOptions.js.map +1 -0
  1690. package/lib/scene/inspection/listAutoMovieInspectionKindOptions.mjs +17 -0
  1691. package/lib/scene/inspection/listAutoMovieInspectionKindOptions.mjs.map +1 -0
  1692. package/lib/scene/inspection/listAutoMovieInspectionKinds.d.ts +11 -11
  1693. package/lib/scene/inspection/listAutoMovieInspectionKinds.js +11 -11
  1694. package/lib/scene/inspection/listAutoMovieInspectionKinds.mjs +11 -11
  1695. package/lib/scene/inspection/listAutoMovieInspectionKinds.mjs.map +1 -1
  1696. package/lib/scene/inspection/listAutoMovieInspectionPaths.d.ts +8 -11
  1697. package/lib/scene/inspection/listAutoMovieInspectionPaths.js +13 -49
  1698. package/lib/scene/inspection/listAutoMovieInspectionPaths.js.map +1 -1
  1699. package/lib/scene/inspection/listAutoMovieInspectionPaths.mjs +10 -13
  1700. package/lib/scene/inspection/listAutoMovieInspectionPaths.mjs.map +1 -1
  1701. package/lib/scene/inspection/markAutoMovieInspectionTrails.d.ts +13 -14
  1702. package/lib/scene/inspection/markAutoMovieInspectionTrails.js +13 -14
  1703. package/lib/scene/inspection/markAutoMovieInspectionTrails.js.map +1 -1
  1704. package/lib/scene/inspection/markAutoMovieInspectionTrails.mjs +13 -14
  1705. package/lib/scene/inspection/markAutoMovieInspectionTrails.mjs.map +1 -1
  1706. package/lib/scene/inspection/matchAutoMovieInspectionPath.d.ts +16 -17
  1707. package/lib/scene/inspection/matchAutoMovieInspectionPath.js +16 -17
  1708. package/lib/scene/inspection/matchAutoMovieInspectionPath.js.map +1 -1
  1709. package/lib/scene/inspection/matchAutoMovieInspectionPath.mjs +16 -17
  1710. package/lib/scene/inspection/matchAutoMovieInspectionPath.mjs.map +1 -1
  1711. package/lib/scene/inspection/measureAutoMovieCameraFrameEdge.d.ts +84 -0
  1712. package/lib/scene/inspection/measureAutoMovieCameraFrameEdge.js +132 -0
  1713. package/lib/scene/inspection/measureAutoMovieCameraFrameEdge.js.map +1 -0
  1714. package/lib/scene/inspection/measureAutoMovieCameraFrameEdge.mjs +130 -0
  1715. package/lib/scene/inspection/measureAutoMovieCameraFrameEdge.mjs.map +1 -0
  1716. package/lib/scene/inspection/measureAutoMovieCameraFrameEdgeSurface.d.ts +86 -0
  1717. package/lib/scene/inspection/measureAutoMovieCameraFrameEdgeSurface.js +189 -0
  1718. package/lib/scene/inspection/measureAutoMovieCameraFrameEdgeSurface.js.map +1 -0
  1719. package/lib/scene/inspection/measureAutoMovieCameraFrameEdgeSurface.mjs +158 -0
  1720. package/lib/scene/inspection/measureAutoMovieCameraFrameEdgeSurface.mjs.map +1 -0
  1721. package/lib/scene/inspection/measureAutoMovieCameraNearClip.d.ts +91 -0
  1722. package/lib/scene/inspection/measureAutoMovieCameraNearClip.js +200 -0
  1723. package/lib/scene/inspection/measureAutoMovieCameraNearClip.js.map +1 -0
  1724. package/lib/scene/inspection/measureAutoMovieCameraNearClip.mjs +175 -0
  1725. package/lib/scene/inspection/measureAutoMovieCameraNearClip.mjs.map +1 -0
  1726. package/lib/scene/inspection/measureAutoMovieCameraOcclusionPixels.d.ts +58 -0
  1727. package/lib/scene/inspection/measureAutoMovieCameraOcclusionPixels.js +292 -0
  1728. package/lib/scene/inspection/measureAutoMovieCameraOcclusionPixels.js.map +1 -0
  1729. package/lib/scene/inspection/measureAutoMovieCameraOcclusionPixels.mjs +186 -0
  1730. package/lib/scene/inspection/measureAutoMovieCameraOcclusionPixels.mjs.map +1 -0
  1731. package/lib/scene/inspection/measureAutoMovieInspectionBounds.d.ts +13 -11
  1732. package/lib/scene/inspection/measureAutoMovieInspectionBounds.js +23 -22
  1733. package/lib/scene/inspection/measureAutoMovieInspectionBounds.js.map +1 -1
  1734. package/lib/scene/inspection/measureAutoMovieInspectionBounds.mjs +22 -18
  1735. package/lib/scene/inspection/measureAutoMovieInspectionBounds.mjs.map +1 -1
  1736. package/lib/scene/inspection/measureAutoMovieInspectionDefects.d.ts +20 -12
  1737. package/lib/scene/inspection/measureAutoMovieInspectionDefects.js +22 -12
  1738. package/lib/scene/inspection/measureAutoMovieInspectionDefects.js.map +1 -1
  1739. package/lib/scene/inspection/measureAutoMovieInspectionDefects.mjs +21 -12
  1740. package/lib/scene/inspection/measureAutoMovieInspectionDefects.mjs.map +1 -1
  1741. package/lib/scene/inspection/measureAutoMovieInspectionEdges.d.ts +12 -11
  1742. package/lib/scene/inspection/measureAutoMovieInspectionEdges.js +21 -16
  1743. package/lib/scene/inspection/measureAutoMovieInspectionEdges.js.map +1 -1
  1744. package/lib/scene/inspection/measureAutoMovieInspectionEdges.mjs +21 -16
  1745. package/lib/scene/inspection/measureAutoMovieInspectionEdges.mjs.map +1 -1
  1746. package/lib/scene/inspection/measureAutoMovieInspectionMeshes.d.ts +9 -10
  1747. package/lib/scene/inspection/measureAutoMovieInspectionMeshes.js +12 -46
  1748. package/lib/scene/inspection/measureAutoMovieInspectionMeshes.js.map +1 -1
  1749. package/lib/scene/inspection/measureAutoMovieInspectionMeshes.mjs +11 -12
  1750. package/lib/scene/inspection/measureAutoMovieInspectionMeshes.mjs.map +1 -1
  1751. package/lib/scene/inspection/measureAutoMovieInspectionPaths.d.ts +9 -10
  1752. package/lib/scene/inspection/measureAutoMovieInspectionPaths.js +11 -11
  1753. package/lib/scene/inspection/measureAutoMovieInspectionPaths.js.map +1 -1
  1754. package/lib/scene/inspection/measureAutoMovieInspectionPaths.mjs +11 -11
  1755. package/lib/scene/inspection/measureAutoMovieInspectionPaths.mjs.map +1 -1
  1756. package/lib/scene/inspection/measureAutoMoviePlacedObligation.d.ts +22 -0
  1757. package/lib/scene/inspection/measureAutoMoviePlacedObligation.js +196 -0
  1758. package/lib/scene/inspection/measureAutoMoviePlacedObligation.js.map +1 -0
  1759. package/lib/scene/inspection/measureAutoMoviePlacedObligation.mjs +194 -0
  1760. package/lib/scene/inspection/measureAutoMoviePlacedObligation.mjs.map +1 -0
  1761. package/lib/scene/inspection/mergeAutoMovieInspectionLegends.d.ts +4 -10
  1762. package/lib/scene/inspection/mergeAutoMovieInspectionLegends.js +4 -10
  1763. package/lib/scene/inspection/mergeAutoMovieInspectionLegends.js.map +1 -1
  1764. package/lib/scene/inspection/mergeAutoMovieInspectionLegends.mjs +4 -10
  1765. package/lib/scene/inspection/mergeAutoMovieInspectionLegends.mjs.map +1 -1
  1766. package/lib/scene/inspection/observeAutoMovieCameraInspection.d.ts +25 -0
  1767. package/lib/scene/inspection/observeAutoMovieCameraInspection.js +103 -0
  1768. package/lib/scene/inspection/observeAutoMovieCameraInspection.js.map +1 -0
  1769. package/lib/scene/inspection/observeAutoMovieCameraInspection.mjs +73 -0
  1770. package/lib/scene/inspection/observeAutoMovieCameraInspection.mjs.map +1 -0
  1771. package/lib/scene/inspection/observeAutoMovieCollisionMotion.d.ts +71 -0
  1772. package/lib/scene/inspection/observeAutoMovieCollisionMotion.js +294 -0
  1773. package/lib/scene/inspection/observeAutoMovieCollisionMotion.js.map +1 -0
  1774. package/lib/scene/inspection/observeAutoMovieCollisionMotion.mjs +313 -0
  1775. package/lib/scene/inspection/observeAutoMovieCollisionMotion.mjs.map +1 -0
  1776. package/lib/scene/inspection/observeAutoMoviePlacedCamera.d.ts +43 -0
  1777. package/lib/scene/inspection/observeAutoMoviePlacedCamera.js +384 -0
  1778. package/lib/scene/inspection/observeAutoMoviePlacedCamera.js.map +1 -0
  1779. package/lib/scene/inspection/observeAutoMoviePlacedCamera.mjs +378 -0
  1780. package/lib/scene/inspection/observeAutoMoviePlacedCamera.mjs.map +1 -0
  1781. package/lib/scene/inspection/observeAutoMoviePlacedScene.d.ts +16 -0
  1782. package/lib/scene/inspection/observeAutoMoviePlacedScene.js +201 -0
  1783. package/lib/scene/inspection/observeAutoMoviePlacedScene.js.map +1 -0
  1784. package/lib/scene/inspection/observeAutoMoviePlacedScene.mjs +208 -0
  1785. package/lib/scene/inspection/observeAutoMoviePlacedScene.mjs.map +1 -0
  1786. package/lib/scene/inspection/observeAutoMovieSceneCollision.d.ts +66 -0
  1787. package/lib/scene/inspection/observeAutoMovieSceneCollision.js +149 -0
  1788. package/lib/scene/inspection/observeAutoMovieSceneCollision.js.map +1 -0
  1789. package/lib/scene/inspection/observeAutoMovieSceneCollision.mjs +136 -0
  1790. package/lib/scene/inspection/observeAutoMovieSceneCollision.mjs.map +1 -0
  1791. package/lib/scene/inspection/observeAutoMovieSweptCollision.d.ts +48 -0
  1792. package/lib/scene/inspection/observeAutoMovieSweptCollision.js +110 -0
  1793. package/lib/scene/inspection/observeAutoMovieSweptCollision.js.map +1 -0
  1794. package/lib/scene/inspection/observeAutoMovieSweptCollision.mjs +88 -0
  1795. package/lib/scene/inspection/observeAutoMovieSweptCollision.mjs.map +1 -0
  1796. package/lib/scene/inspection/parseAutoMovieInspectionRequest.d.ts +30 -27
  1797. package/lib/scene/inspection/parseAutoMovieInspectionRequest.js +76 -39
  1798. package/lib/scene/inspection/parseAutoMovieInspectionRequest.js.map +1 -1
  1799. package/lib/scene/inspection/parseAutoMovieInspectionRequest.mjs +72 -36
  1800. package/lib/scene/inspection/parseAutoMovieInspectionRequest.mjs.map +1 -1
  1801. package/lib/scene/inspection/parseAutoMovieInspectionView.d.ts +26 -22
  1802. package/lib/scene/inspection/parseAutoMovieInspectionView.js +64 -38
  1803. package/lib/scene/inspection/parseAutoMovieInspectionView.js.map +1 -1
  1804. package/lib/scene/inspection/parseAutoMovieInspectionView.mjs +65 -39
  1805. package/lib/scene/inspection/parseAutoMovieInspectionView.mjs.map +1 -1
  1806. package/lib/scene/inspection/placeAutoMovieInspectionLabels.d.ts +12 -10
  1807. package/lib/scene/inspection/placeAutoMovieInspectionLabels.js +14 -13
  1808. package/lib/scene/inspection/placeAutoMovieInspectionLabels.js.map +1 -1
  1809. package/lib/scene/inspection/placeAutoMovieInspectionLabels.mjs +14 -12
  1810. package/lib/scene/inspection/placeAutoMovieInspectionLabels.mjs.map +1 -1
  1811. package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.d.ts +25 -13
  1812. package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.js +27 -18
  1813. package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.js.map +1 -1
  1814. package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.mjs +27 -15
  1815. package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.mjs.map +1 -1
  1816. package/lib/scene/inspection/readAutoMovieCollisionCord.d.ts +22 -0
  1817. package/lib/scene/inspection/readAutoMovieCollisionCord.js +145 -0
  1818. package/lib/scene/inspection/readAutoMovieCollisionCord.js.map +1 -0
  1819. package/lib/scene/inspection/readAutoMovieCollisionCord.mjs +113 -0
  1820. package/lib/scene/inspection/readAutoMovieCollisionCord.mjs.map +1 -0
  1821. package/lib/scene/inspection/readAutoMovieCollisionInstances.d.ts +21 -0
  1822. package/lib/scene/inspection/readAutoMovieCollisionInstances.js +209 -0
  1823. package/lib/scene/inspection/readAutoMovieCollisionInstances.js.map +1 -0
  1824. package/lib/scene/inspection/readAutoMovieCollisionInstances.mjs +163 -0
  1825. package/lib/scene/inspection/readAutoMovieCollisionInstances.mjs.map +1 -0
  1826. package/lib/scene/inspection/readAutoMovieCollisionMesh.d.ts +30 -0
  1827. package/lib/scene/inspection/readAutoMovieCollisionMesh.js +131 -0
  1828. package/lib/scene/inspection/readAutoMovieCollisionMesh.js.map +1 -0
  1829. package/lib/scene/inspection/readAutoMovieCollisionMesh.mjs +98 -0
  1830. package/lib/scene/inspection/readAutoMovieCollisionMesh.mjs.map +1 -0
  1831. package/lib/scene/inspection/readAutoMovieCollisionMotion.d.ts +49 -0
  1832. package/lib/scene/inspection/readAutoMovieCollisionMotion.js +164 -0
  1833. package/lib/scene/inspection/readAutoMovieCollisionMotion.js.map +1 -0
  1834. package/lib/scene/inspection/readAutoMovieCollisionMotion.mjs +119 -0
  1835. package/lib/scene/inspection/readAutoMovieCollisionMotion.mjs.map +1 -0
  1836. package/lib/scene/inspection/readAutoMovieCollisionTopology.d.ts +53 -0
  1837. package/lib/scene/inspection/readAutoMovieCollisionTopology.js +210 -0
  1838. package/lib/scene/inspection/readAutoMovieCollisionTopology.js.map +1 -0
  1839. package/lib/scene/inspection/readAutoMovieCollisionTopology.mjs +143 -0
  1840. package/lib/scene/inspection/readAutoMovieCollisionTopology.mjs.map +1 -0
  1841. package/lib/scene/inspection/readAutoMovieDisplayedBox.d.ts +25 -0
  1842. package/lib/scene/inspection/readAutoMovieDisplayedBox.js +240 -0
  1843. package/lib/scene/inspection/readAutoMovieDisplayedBox.js.map +1 -0
  1844. package/lib/scene/inspection/readAutoMovieDisplayedBox.mjs +184 -0
  1845. package/lib/scene/inspection/readAutoMovieDisplayedBox.mjs.map +1 -0
  1846. package/lib/scene/inspection/readAutoMovieDrawnRanges.d.ts +25 -0
  1847. package/lib/scene/inspection/readAutoMovieDrawnRanges.js +35 -0
  1848. package/lib/scene/inspection/readAutoMovieDrawnRanges.js.map +1 -0
  1849. package/lib/scene/inspection/readAutoMovieDrawnRanges.mjs +40 -0
  1850. package/lib/scene/inspection/readAutoMovieDrawnRanges.mjs.map +1 -0
  1851. package/lib/scene/inspection/readAutoMovieNativeRigidFrame.d.ts +8 -0
  1852. package/lib/scene/inspection/readAutoMovieNativeRigidFrame.js +32 -0
  1853. package/lib/scene/inspection/readAutoMovieNativeRigidFrame.js.map +1 -0
  1854. package/lib/scene/inspection/readAutoMovieNativeRigidFrame.mjs +31 -0
  1855. package/lib/scene/inspection/readAutoMovieNativeRigidFrame.mjs.map +1 -0
  1856. package/lib/scene/inspection/reduceAutoMovieInspectionEpisodes.d.ts +16 -0
  1857. package/lib/scene/inspection/reduceAutoMovieInspectionEpisodes.js +180 -0
  1858. package/lib/scene/inspection/reduceAutoMovieInspectionEpisodes.js.map +1 -0
  1859. package/lib/scene/inspection/reduceAutoMovieInspectionEpisodes.mjs +148 -0
  1860. package/lib/scene/inspection/reduceAutoMovieInspectionEpisodes.mjs.map +1 -0
  1861. package/lib/scene/inspection/renderAutoMovieCameraOcclusionMasks.d.ts +77 -0
  1862. package/lib/scene/inspection/renderAutoMovieCameraOcclusionMasks.js +155 -0
  1863. package/lib/scene/inspection/renderAutoMovieCameraOcclusionMasks.js.map +1 -0
  1864. package/lib/scene/inspection/renderAutoMovieCameraOcclusionMasks.mjs +122 -0
  1865. package/lib/scene/inspection/renderAutoMovieCameraOcclusionMasks.mjs.map +1 -0
  1866. package/lib/scene/inspection/renderWithAutoMovieInspectionDiagnostics.d.ts +15 -0
  1867. package/lib/scene/inspection/renderWithAutoMovieInspectionDiagnostics.js +26 -0
  1868. package/lib/scene/inspection/renderWithAutoMovieInspectionDiagnostics.js.map +1 -0
  1869. package/lib/scene/inspection/renderWithAutoMovieInspectionDiagnostics.mjs +25 -0
  1870. package/lib/scene/inspection/renderWithAutoMovieInspectionDiagnostics.mjs.map +1 -0
  1871. package/lib/scene/inspection/resolveAutoMovieCollisionHit.d.ts +38 -0
  1872. package/lib/scene/inspection/resolveAutoMovieCollisionHit.js +64 -0
  1873. package/lib/scene/inspection/resolveAutoMovieCollisionHit.js.map +1 -0
  1874. package/lib/scene/inspection/resolveAutoMovieCollisionHit.mjs +54 -0
  1875. package/lib/scene/inspection/resolveAutoMovieCollisionHit.mjs.map +1 -0
  1876. package/lib/scene/inspection/resolveAutoMovieInspectionColors.d.ts +9 -10
  1877. package/lib/scene/inspection/resolveAutoMovieInspectionColors.js +9 -10
  1878. package/lib/scene/inspection/resolveAutoMovieInspectionColors.js.map +1 -1
  1879. package/lib/scene/inspection/resolveAutoMovieInspectionColors.mjs +9 -10
  1880. package/lib/scene/inspection/resolveAutoMovieInspectionColors.mjs.map +1 -1
  1881. package/lib/scene/inspection/resolveAutoMovieInspectionView.d.ts +30 -21
  1882. package/lib/scene/inspection/resolveAutoMovieInspectionView.js +47 -38
  1883. package/lib/scene/inspection/resolveAutoMovieInspectionView.js.map +1 -1
  1884. package/lib/scene/inspection/resolveAutoMovieInspectionView.mjs +45 -30
  1885. package/lib/scene/inspection/resolveAutoMovieInspectionView.mjs.map +1 -1
  1886. package/lib/scene/inspection/sameAutoMovieInspectionShotClock.d.ts +3 -0
  1887. package/lib/scene/inspection/sameAutoMovieInspectionShotClock.js +19 -0
  1888. package/lib/scene/inspection/sameAutoMovieInspectionShotClock.js.map +1 -0
  1889. package/lib/scene/inspection/sameAutoMovieInspectionShotClock.mjs +12 -0
  1890. package/lib/scene/inspection/sameAutoMovieInspectionShotClock.mjs.map +1 -0
  1891. package/lib/scene/inspection/sampleAutoMovieCameraOcclusion.d.ts +22 -0
  1892. package/lib/scene/inspection/sampleAutoMovieCameraOcclusion.js +188 -0
  1893. package/lib/scene/inspection/sampleAutoMovieCameraOcclusion.js.map +1 -0
  1894. package/lib/scene/inspection/sampleAutoMovieCameraOcclusion.mjs +130 -0
  1895. package/lib/scene/inspection/sampleAutoMovieCameraOcclusion.mjs.map +1 -0
  1896. package/lib/scene/inspection/sampleAutoMovieInspectionTrails.d.ts +32 -15
  1897. package/lib/scene/inspection/sampleAutoMovieInspectionTrails.js +33 -16
  1898. package/lib/scene/inspection/sampleAutoMovieInspectionTrails.js.map +1 -1
  1899. package/lib/scene/inspection/sampleAutoMovieInspectionTrails.mjs +33 -16
  1900. package/lib/scene/inspection/sampleAutoMovieInspectionTrails.mjs.map +1 -1
  1901. package/lib/scene/inspection/selectAutoMoviePlacedChecks.d.ts +25 -0
  1902. package/lib/scene/inspection/selectAutoMoviePlacedChecks.js +220 -0
  1903. package/lib/scene/inspection/selectAutoMoviePlacedChecks.js.map +1 -0
  1904. package/lib/scene/inspection/selectAutoMoviePlacedChecks.mjs +194 -0
  1905. package/lib/scene/inspection/selectAutoMoviePlacedChecks.mjs.map +1 -0
  1906. package/lib/scene/instanceSet/index.d.ts +4 -1
  1907. package/lib/scene/instanceSet/index.js +4 -1
  1908. package/lib/scene/instanceSet/index.js.map +1 -1
  1909. package/lib/scene/instancedModelParts.d.ts +3 -9
  1910. package/lib/scene/instancedModelParts.js +5 -10
  1911. package/lib/scene/instancedModelParts.js.map +1 -1
  1912. package/lib/scene/instancedModelParts.mjs +5 -10
  1913. package/lib/scene/instancedModelParts.mjs.map +1 -1
  1914. package/lib/scene/invalidateAutoMovieSceneShadowPrograms.d.ts +5 -9
  1915. package/lib/scene/invalidateAutoMovieSceneShadowPrograms.js +13 -14
  1916. package/lib/scene/invalidateAutoMovieSceneShadowPrograms.js.map +1 -1
  1917. package/lib/scene/invalidateAutoMovieSceneShadowPrograms.mjs +8 -12
  1918. package/lib/scene/invalidateAutoMovieSceneShadowPrograms.mjs.map +1 -1
  1919. package/lib/scene/invalidateAutoMovieSkinnedPose.d.ts +0 -8
  1920. package/lib/scene/invalidateAutoMovieSkinnedPose.js +3 -44
  1921. package/lib/scene/invalidateAutoMovieSkinnedPose.js.map +1 -1
  1922. package/lib/scene/invalidateAutoMovieSkinnedPose.mjs +3 -11
  1923. package/lib/scene/invalidateAutoMovieSkinnedPose.mjs.map +1 -1
  1924. package/lib/scene/isAutoMovieDisplayBlendWeight.d.ts +2 -0
  1925. package/lib/scene/isAutoMovieDisplayBlendWeight.js +8 -0
  1926. package/lib/scene/isAutoMovieDisplayBlendWeight.js.map +1 -0
  1927. package/lib/scene/isAutoMovieDisplayBlendWeight.mjs +8 -0
  1928. package/lib/scene/isAutoMovieDisplayBlendWeight.mjs.map +1 -0
  1929. package/lib/scene/isAutoMovieFormationCycleMaterial.d.ts +6 -0
  1930. package/lib/scene/isAutoMovieFormationCycleMaterial.js +13 -0
  1931. package/lib/scene/isAutoMovieFormationCycleMaterial.js.map +1 -0
  1932. package/lib/scene/isAutoMovieFormationCycleMaterial.mjs +13 -0
  1933. package/lib/scene/isAutoMovieFormationCycleMaterial.mjs.map +1 -0
  1934. package/lib/scene/mapImportedHumanoidBones.d.ts +4 -9
  1935. package/lib/scene/mapImportedHumanoidBones.js +4 -9
  1936. package/lib/scene/mapImportedHumanoidBones.js.map +1 -1
  1937. package/lib/scene/mapImportedHumanoidBones.mjs +4 -9
  1938. package/lib/scene/mapImportedHumanoidBones.mjs.map +1 -1
  1939. package/lib/scene/maskColor.d.ts +3 -9
  1940. package/lib/scene/maskColor.js +3 -9
  1941. package/lib/scene/maskColor.js.map +1 -1
  1942. package/lib/scene/maskColor.mjs +3 -9
  1943. package/lib/scene/maskColor.mjs.map +1 -1
  1944. package/lib/scene/matchesAutoMovieShadowTextureProfile.d.ts +4 -9
  1945. package/lib/scene/matchesAutoMovieShadowTextureProfile.js +4 -9
  1946. package/lib/scene/matchesAutoMovieShadowTextureProfile.js.map +1 -1
  1947. package/lib/scene/matchesAutoMovieShadowTextureProfile.mjs +4 -9
  1948. package/lib/scene/matchesAutoMovieShadowTextureProfile.mjs.map +1 -1
  1949. package/lib/scene/materialOverlayShading/IMaterialOverlayShading.d.ts +2 -9
  1950. package/lib/scene/materialOverlayShading/IMaterialOverlayShape.d.ts +2 -6
  1951. package/lib/scene/materialOverlayShading/applyMaterialOverlays.d.ts +10 -10
  1952. package/lib/scene/materialOverlayShading/applyMaterialOverlays.js +10 -10
  1953. package/lib/scene/materialOverlayShading/applyMaterialOverlays.js.map +1 -1
  1954. package/lib/scene/materialOverlayShading/applyMaterialOverlays.mjs +10 -10
  1955. package/lib/scene/materialOverlayShading/applyMaterialOverlays.mjs.map +1 -1
  1956. package/lib/scene/materialOverlayShading/getOverlayFlatNormal.d.ts +3 -8
  1957. package/lib/scene/materialOverlayShading/getOverlayFlatNormal.js +11 -19
  1958. package/lib/scene/materialOverlayShading/getOverlayFlatNormal.js.map +1 -1
  1959. package/lib/scene/materialOverlayShading/getOverlayFlatNormal.mjs +14 -21
  1960. package/lib/scene/materialOverlayShading/getOverlayFlatNormal.mjs.map +1 -1
  1961. package/lib/scene/materialOverlayShading/materialOverlayFragment.d.ts +1 -11
  1962. package/lib/scene/materialOverlayShading/materialOverlayFragment.js +1 -11
  1963. package/lib/scene/materialOverlayShading/materialOverlayFragment.js.map +1 -1
  1964. package/lib/scene/materialOverlayShading/materialOverlayFragment.mjs +1 -11
  1965. package/lib/scene/materialOverlayShading/materialOverlayFragment.mjs.map +1 -1
  1966. package/lib/scene/materialOverlayShading/materialOverlayVertex.d.ts +1 -11
  1967. package/lib/scene/materialOverlayShading/materialOverlayVertex.js +1 -11
  1968. package/lib/scene/materialOverlayShading/materialOverlayVertex.js.map +1 -1
  1969. package/lib/scene/materialOverlayShading/materialOverlayVertex.mjs +1 -11
  1970. package/lib/scene/materialOverlayShading/materialOverlayVertex.mjs.map +1 -1
  1971. package/lib/scene/materialTextureBindings.d.ts +3 -9
  1972. package/lib/scene/materialTextureBindings.js +11 -10
  1973. package/lib/scene/materialTextureBindings.js.map +1 -1
  1974. package/lib/scene/materialTextureBindings.mjs +11 -10
  1975. package/lib/scene/materialTextureBindings.mjs.map +1 -1
  1976. package/lib/scene/medium/AUTOMOVIE_SCENE_MEDIUM_KEY.d.ts +10 -0
  1977. package/lib/scene/medium/AUTOMOVIE_SCENE_MEDIUM_KEY.js +14 -0
  1978. package/lib/scene/medium/AUTOMOVIE_SCENE_MEDIUM_KEY.js.map +1 -0
  1979. package/lib/scene/medium/AUTOMOVIE_SCENE_MEDIUM_KEY.mjs +14 -0
  1980. package/lib/scene/medium/AUTOMOVIE_SCENE_MEDIUM_KEY.mjs.map +1 -0
  1981. package/lib/scene/medium/AutoMovieFilmMediumPass.d.ts +62 -0
  1982. package/lib/scene/medium/AutoMovieFilmMediumPass.js +202 -0
  1983. package/lib/scene/medium/AutoMovieFilmMediumPass.js.map +1 -0
  1984. package/lib/scene/medium/AutoMovieFilmMediumPass.mjs +148 -0
  1985. package/lib/scene/medium/AutoMovieFilmMediumPass.mjs.map +1 -0
  1986. package/lib/scene/medium/applySceneMedium.d.ts +14 -0
  1987. package/lib/scene/medium/applySceneMedium.js +28 -0
  1988. package/lib/scene/medium/applySceneMedium.js.map +1 -0
  1989. package/lib/scene/medium/applySceneMedium.mjs +27 -0
  1990. package/lib/scene/medium/applySceneMedium.mjs.map +1 -0
  1991. package/lib/scene/medium/buildAutoMovieMediumShader.d.ts +44 -0
  1992. package/lib/scene/medium/buildAutoMovieMediumShader.js +190 -0
  1993. package/lib/scene/medium/buildAutoMovieMediumShader.js.map +1 -0
  1994. package/lib/scene/medium/buildAutoMovieMediumShader.mjs +166 -0
  1995. package/lib/scene/medium/buildAutoMovieMediumShader.mjs.map +1 -0
  1996. package/lib/scene/medium/collectAutoMovieMediumLights.d.ts +63 -0
  1997. package/lib/scene/medium/collectAutoMovieMediumLights.js +163 -0
  1998. package/lib/scene/medium/collectAutoMovieMediumLights.js.map +1 -0
  1999. package/lib/scene/medium/collectAutoMovieMediumLights.mjs +106 -0
  2000. package/lib/scene/medium/collectAutoMovieMediumLights.mjs.map +1 -0
  2001. package/lib/scene/medium/index.d.ts +2 -0
  2002. package/lib/scene/medium/index.js +19 -0
  2003. package/lib/scene/medium/index.js.map +1 -0
  2004. package/lib/scene/medium/index.mjs +3 -0
  2005. package/lib/scene/medium/readAutoMovieSceneMedium.d.ts +7 -0
  2006. package/lib/scene/medium/readAutoMovieSceneMedium.js +11 -0
  2007. package/lib/scene/medium/readAutoMovieSceneMedium.js.map +1 -0
  2008. package/lib/scene/medium/readAutoMovieSceneMedium.mjs +10 -0
  2009. package/lib/scene/medium/readAutoMovieSceneMedium.mjs.map +1 -0
  2010. package/lib/scene/mixAutoMovieStraightAlpha.d.ts +21 -0
  2011. package/lib/scene/mixAutoMovieStraightAlpha.js +43 -0
  2012. package/lib/scene/mixAutoMovieStraightAlpha.js.map +1 -0
  2013. package/lib/scene/mixAutoMovieStraightAlpha.mjs +46 -0
  2014. package/lib/scene/mixAutoMovieStraightAlpha.mjs.map +1 -0
  2015. package/lib/scene/morphTargetDriversOf.d.ts +3 -11
  2016. package/lib/scene/morphTargetDriversOf.js +7 -12
  2017. package/lib/scene/morphTargetDriversOf.js.map +1 -1
  2018. package/lib/scene/morphTargetDriversOf.mjs +6 -12
  2019. package/lib/scene/morphTargetDriversOf.mjs.map +1 -1
  2020. package/lib/scene/objectTransform.d.ts +4 -9
  2021. package/lib/scene/objectTransform.js +4 -9
  2022. package/lib/scene/objectTransform.js.map +1 -1
  2023. package/lib/scene/objectTransform.mjs +4 -9
  2024. package/lib/scene/objectTransform.mjs.map +1 -1
  2025. package/lib/scene/observeAutoMovieRendererFrame.d.ts +11 -12
  2026. package/lib/scene/observeAutoMovieRendererFrame.js +9 -10
  2027. package/lib/scene/observeAutoMovieRendererFrame.js.map +1 -1
  2028. package/lib/scene/observeAutoMovieRendererFrame.mjs +9 -10
  2029. package/lib/scene/observeAutoMovieRendererFrame.mjs.map +1 -1
  2030. package/lib/scene/overrideAutoMovieRenderModeMaterials.d.ts +17 -10
  2031. package/lib/scene/overrideAutoMovieRenderModeMaterials.js +31 -16
  2032. package/lib/scene/overrideAutoMovieRenderModeMaterials.js.map +1 -1
  2033. package/lib/scene/overrideAutoMovieRenderModeMaterials.mjs +27 -15
  2034. package/lib/scene/overrideAutoMovieRenderModeMaterials.mjs.map +1 -1
  2035. package/lib/scene/planAutoMovieShadowTextureTarget.d.ts +10 -9
  2036. package/lib/scene/planAutoMovieShadowTextureTarget.js +10 -9
  2037. package/lib/scene/planAutoMovieShadowTextureTarget.js.map +1 -1
  2038. package/lib/scene/planAutoMovieShadowTextureTarget.mjs +10 -9
  2039. package/lib/scene/planAutoMovieShadowTextureTarget.mjs.map +1 -1
  2040. package/lib/scene/proceduralShading/AUTOMOVIE_PROCEDURAL_NOISE_GLSL.d.ts +15 -0
  2041. package/lib/scene/proceduralShading/AUTOMOVIE_PROCEDURAL_NOISE_GLSL.js +82 -0
  2042. package/lib/scene/proceduralShading/AUTOMOVIE_PROCEDURAL_NOISE_GLSL.js.map +1 -0
  2043. package/lib/scene/proceduralShading/AUTOMOVIE_PROCEDURAL_NOISE_GLSL.mjs +82 -0
  2044. package/lib/scene/proceduralShading/AUTOMOVIE_PROCEDURAL_NOISE_GLSL.mjs.map +1 -0
  2045. package/lib/scene/proceduralShading/applyProceduralSurface.d.ts +26 -0
  2046. package/lib/scene/proceduralShading/applyProceduralSurface.js +163 -0
  2047. package/lib/scene/proceduralShading/applyProceduralSurface.js.map +1 -0
  2048. package/lib/scene/proceduralShading/applyProceduralSurface.mjs +109 -0
  2049. package/lib/scene/proceduralShading/applyProceduralSurface.mjs.map +1 -0
  2050. package/lib/scene/proceduralShading/index.d.ts +3 -0
  2051. package/lib/scene/proceduralShading/index.js +20 -0
  2052. package/lib/scene/proceduralShading/index.js.map +1 -0
  2053. package/lib/scene/proceduralShading/index.mjs +4 -0
  2054. package/lib/scene/proceduralShading/proceduralPatternGlsl.d.ts +13 -0
  2055. package/lib/scene/proceduralShading/proceduralPatternGlsl.js +64 -0
  2056. package/lib/scene/proceduralShading/proceduralPatternGlsl.js.map +1 -0
  2057. package/lib/scene/proceduralShading/proceduralPatternGlsl.mjs +61 -0
  2058. package/lib/scene/proceduralShading/proceduralPatternGlsl.mjs.map +1 -0
  2059. package/lib/scene/propArticulation/index.d.ts +4 -1
  2060. package/lib/scene/propArticulation/index.js +4 -1
  2061. package/lib/scene/propArticulation/index.js.map +1 -1
  2062. package/lib/scene/readAutoMovieBufferAttribute.d.ts +12 -0
  2063. package/lib/scene/readAutoMovieBufferAttribute.js +22 -0
  2064. package/lib/scene/readAutoMovieBufferAttribute.js.map +1 -0
  2065. package/lib/scene/readAutoMovieBufferAttribute.mjs +20 -0
  2066. package/lib/scene/readAutoMovieBufferAttribute.mjs.map +1 -0
  2067. package/lib/scene/readAutoMovieCubeShadowDepth.d.ts +13 -10
  2068. package/lib/scene/readAutoMovieCubeShadowDepth.js +13 -10
  2069. package/lib/scene/readAutoMovieCubeShadowDepth.js.map +1 -1
  2070. package/lib/scene/readAutoMovieCubeShadowDepth.mjs +13 -10
  2071. package/lib/scene/readAutoMovieCubeShadowDepth.mjs.map +1 -1
  2072. package/lib/scene/readAutoMovieDeliveryCrop.d.ts +5 -13
  2073. package/lib/scene/readAutoMovieDeliveryCrop.js +5 -13
  2074. package/lib/scene/readAutoMovieDeliveryCrop.js.map +1 -1
  2075. package/lib/scene/readAutoMovieDeliveryCrop.mjs +5 -13
  2076. package/lib/scene/readAutoMovieDeliveryCrop.mjs.map +1 -1
  2077. package/lib/scene/readAutoMovieDisplayDestinationEncoding.d.ts +19 -9
  2078. package/lib/scene/readAutoMovieDisplayDestinationEncoding.js +26 -24
  2079. package/lib/scene/readAutoMovieDisplayDestinationEncoding.js.map +1 -1
  2080. package/lib/scene/readAutoMovieDisplayDestinationEncoding.mjs +26 -20
  2081. package/lib/scene/readAutoMovieDisplayDestinationEncoding.mjs.map +1 -1
  2082. package/lib/scene/readAutoMovieEnvironmentColorSpace.d.ts +6 -9
  2083. package/lib/scene/readAutoMovieEnvironmentColorSpace.js +6 -9
  2084. package/lib/scene/readAutoMovieEnvironmentColorSpace.js.map +1 -1
  2085. package/lib/scene/readAutoMovieEnvironmentColorSpace.mjs +6 -9
  2086. package/lib/scene/readAutoMovieEnvironmentColorSpace.mjs.map +1 -1
  2087. package/lib/scene/readAutoMovieMaterialTextureSources.d.ts +14 -9
  2088. package/lib/scene/readAutoMovieMaterialTextureSources.js +24 -30
  2089. package/lib/scene/readAutoMovieMaterialTextureSources.js.map +1 -1
  2090. package/lib/scene/readAutoMovieMaterialTextureSources.mjs +21 -20
  2091. package/lib/scene/readAutoMovieMaterialTextureSources.mjs.map +1 -1
  2092. package/lib/scene/readAutoMovieRenderTextureTarget.d.ts +9 -9
  2093. package/lib/scene/readAutoMovieRenderTextureTarget.js +13 -11
  2094. package/lib/scene/readAutoMovieRenderTextureTarget.js.map +1 -1
  2095. package/lib/scene/readAutoMovieRenderTextureTarget.mjs +12 -11
  2096. package/lib/scene/readAutoMovieRenderTextureTarget.mjs.map +1 -1
  2097. package/lib/scene/readAutoMovieShadowLightSource.d.ts +5 -9
  2098. package/lib/scene/readAutoMovieShadowLightSource.js +5 -9
  2099. package/lib/scene/readAutoMovieShadowLightSource.js.map +1 -1
  2100. package/lib/scene/readAutoMovieShadowLightSource.mjs +5 -9
  2101. package/lib/scene/readAutoMovieShadowLightSource.mjs.map +1 -1
  2102. package/lib/scene/readAutoMovieShadowTextureTargets.d.ts +10 -9
  2103. package/lib/scene/readAutoMovieShadowTextureTargets.js +17 -9
  2104. package/lib/scene/readAutoMovieShadowTextureTargets.js.map +1 -1
  2105. package/lib/scene/readAutoMovieShadowTextureTargets.mjs +12 -9
  2106. package/lib/scene/readAutoMovieShadowTextureTargets.mjs.map +1 -1
  2107. package/lib/scene/readAutoMovieTextureSource.d.ts +15 -13
  2108. package/lib/scene/readAutoMovieTextureSource.js +49 -81
  2109. package/lib/scene/readAutoMovieTextureSource.js.map +1 -1
  2110. package/lib/scene/readAutoMovieTextureSource.mjs +37 -55
  2111. package/lib/scene/readAutoMovieTextureSource.mjs.map +1 -1
  2112. package/lib/scene/readAutoMovieTextureUploadFormat.d.ts +5 -9
  2113. package/lib/scene/readAutoMovieTextureUploadFormat.js +5 -9
  2114. package/lib/scene/readAutoMovieTextureUploadFormat.js.map +1 -1
  2115. package/lib/scene/readAutoMovieTextureUploadFormat.mjs +5 -9
  2116. package/lib/scene/readAutoMovieTextureUploadFormat.mjs.map +1 -1
  2117. package/lib/scene/readAutoMovieTransmissionTextureTarget.d.ts +8 -9
  2118. package/lib/scene/readAutoMovieTransmissionTextureTarget.js +13 -23
  2119. package/lib/scene/readAutoMovieTransmissionTextureTarget.js.map +1 -1
  2120. package/lib/scene/readAutoMovieTransmissionTextureTarget.mjs +11 -12
  2121. package/lib/scene/readAutoMovieTransmissionTextureTarget.mjs.map +1 -1
  2122. package/lib/scene/readMaterialShaderPatches.d.ts +10 -0
  2123. package/lib/scene/readMaterialShaderPatches.js +15 -0
  2124. package/lib/scene/readMaterialShaderPatches.js.map +1 -0
  2125. package/lib/scene/readMaterialShaderPatches.mjs +14 -0
  2126. package/lib/scene/readMaterialShaderPatches.mjs.map +1 -0
  2127. package/lib/scene/regenerateFormationSlot.d.ts +7 -9
  2128. package/lib/scene/regenerateFormationSlot.js +7 -9
  2129. package/lib/scene/regenerateFormationSlot.js.map +1 -1
  2130. package/lib/scene/regenerateFormationSlot.mjs +7 -9
  2131. package/lib/scene/regenerateFormationSlot.mjs.map +1 -1
  2132. package/lib/scene/regenerateInstanceSlot.d.ts +12 -10
  2133. package/lib/scene/regenerateInstanceSlot.js +12 -10
  2134. package/lib/scene/regenerateInstanceSlot.js.map +1 -1
  2135. package/lib/scene/regenerateInstanceSlot.mjs +12 -10
  2136. package/lib/scene/regenerateInstanceSlot.mjs.map +1 -1
  2137. package/lib/scene/releaseViewerRenderer.d.ts +5 -9
  2138. package/lib/scene/releaseViewerRenderer.js +5 -17
  2139. package/lib/scene/releaseViewerRenderer.js.map +1 -1
  2140. package/lib/scene/releaseViewerRenderer.mjs +8 -22
  2141. package/lib/scene/releaseViewerRenderer.mjs.map +1 -1
  2142. package/lib/scene/reliefWeightShading/RELIEF_WEIGHT_TARGET.d.ts +3 -2
  2143. package/lib/scene/reliefWeightShading/RELIEF_WEIGHT_TARGET.js +3 -2
  2144. package/lib/scene/reliefWeightShading/RELIEF_WEIGHT_TARGET.js.map +1 -1
  2145. package/lib/scene/reliefWeightShading/RELIEF_WEIGHT_TARGET.mjs +3 -2
  2146. package/lib/scene/reliefWeightShading/RELIEF_WEIGHT_TARGET.mjs.map +1 -1
  2147. package/lib/scene/reliefWeightShading/applyReliefWeights.d.ts +6 -9
  2148. package/lib/scene/reliefWeightShading/applyReliefWeights.js +6 -9
  2149. package/lib/scene/reliefWeightShading/applyReliefWeights.js.map +1 -1
  2150. package/lib/scene/reliefWeightShading/applyReliefWeights.mjs +6 -9
  2151. package/lib/scene/reliefWeightShading/applyReliefWeights.mjs.map +1 -1
  2152. package/lib/scene/reliefWeightShading/createReliefWeightShaderPatch.d.ts +5 -11
  2153. package/lib/scene/reliefWeightShading/createReliefWeightShaderPatch.js +3 -9
  2154. package/lib/scene/reliefWeightShading/createReliefWeightShaderPatch.js.map +1 -1
  2155. package/lib/scene/reliefWeightShading/createReliefWeightShaderPatch.mjs +3 -9
  2156. package/lib/scene/reliefWeightShading/createReliefWeightShaderPatch.mjs.map +1 -1
  2157. package/lib/scene/reliefWeightShading/reliefWeightFragment.d.ts +3 -9
  2158. package/lib/scene/reliefWeightShading/reliefWeightFragment.js +3 -9
  2159. package/lib/scene/reliefWeightShading/reliefWeightFragment.js.map +1 -1
  2160. package/lib/scene/reliefWeightShading/reliefWeightFragment.mjs +3 -9
  2161. package/lib/scene/reliefWeightShading/reliefWeightFragment.mjs.map +1 -1
  2162. package/lib/scene/reliefWeightShading/reliefWeightVertex.d.ts +3 -9
  2163. package/lib/scene/reliefWeightShading/reliefWeightVertex.js +3 -9
  2164. package/lib/scene/reliefWeightShading/reliefWeightVertex.js.map +1 -1
  2165. package/lib/scene/reliefWeightShading/reliefWeightVertex.mjs +3 -9
  2166. package/lib/scene/reliefWeightShading/reliefWeightVertex.mjs.map +1 -1
  2167. package/lib/scene/renderAutoMovieFilmFrame.d.ts +26 -11
  2168. package/lib/scene/renderAutoMovieFilmFrame.js +16 -12
  2169. package/lib/scene/renderAutoMovieFilmFrame.js.map +1 -1
  2170. package/lib/scene/renderAutoMovieFilmFrame.mjs +16 -12
  2171. package/lib/scene/renderAutoMovieFilmFrame.mjs.map +1 -1
  2172. package/lib/scene/renderAutoMovieScenePass.d.ts +8 -10
  2173. package/lib/scene/renderAutoMovieScenePass.js +11 -9
  2174. package/lib/scene/renderAutoMovieScenePass.js.map +1 -1
  2175. package/lib/scene/renderAutoMovieScenePass.mjs +8 -9
  2176. package/lib/scene/renderAutoMovieScenePass.mjs.map +1 -1
  2177. package/lib/scene/renderCrossDissolve.d.ts +4 -10
  2178. package/lib/scene/renderCrossDissolve.js +6 -13
  2179. package/lib/scene/renderCrossDissolve.js.map +1 -1
  2180. package/lib/scene/renderCrossDissolve.mjs +3 -10
  2181. package/lib/scene/renderCrossDissolve.mjs.map +1 -1
  2182. package/lib/scene/renderCrossDissolveFrames.d.ts +16 -10
  2183. package/lib/scene/renderCrossDissolveFrames.js +19 -21
  2184. package/lib/scene/renderCrossDissolveFrames.js.map +1 -1
  2185. package/lib/scene/renderCrossDissolveFrames.mjs +19 -19
  2186. package/lib/scene/renderCrossDissolveFrames.mjs.map +1 -1
  2187. package/lib/scene/renderFadeToBlackFrame.d.ts +13 -9
  2188. package/lib/scene/renderFadeToBlackFrame.js +16 -20
  2189. package/lib/scene/renderFadeToBlackFrame.js.map +1 -1
  2190. package/lib/scene/renderFadeToBlackFrame.mjs +16 -18
  2191. package/lib/scene/renderFadeToBlackFrame.mjs.map +1 -1
  2192. package/lib/scene/reportAutoMovieResourceRetirement.d.ts +7 -9
  2193. package/lib/scene/reportAutoMovieResourceRetirement.js +12 -20
  2194. package/lib/scene/reportAutoMovieResourceRetirement.js.map +1 -1
  2195. package/lib/scene/reportAutoMovieResourceRetirement.mjs +8 -18
  2196. package/lib/scene/reportAutoMovieResourceRetirement.mjs.map +1 -1
  2197. package/lib/scene/resetAutoMovieSceneShadowTargets.d.ts +18 -10
  2198. package/lib/scene/resetAutoMovieSceneShadowTargets.js +21 -14
  2199. package/lib/scene/resetAutoMovieSceneShadowTargets.js.map +1 -1
  2200. package/lib/scene/resetAutoMovieSceneShadowTargets.mjs +18 -12
  2201. package/lib/scene/resetAutoMovieSceneShadowTargets.mjs.map +1 -1
  2202. package/lib/scene/resolveAutoMovieFilmBeautyComposition.d.ts +3 -9
  2203. package/lib/scene/resolveAutoMovieFilmBeautyComposition.js +7 -13
  2204. package/lib/scene/resolveAutoMovieFilmBeautyComposition.js.map +1 -1
  2205. package/lib/scene/resolveAutoMovieFilmBeautyComposition.mjs +7 -11
  2206. package/lib/scene/resolveAutoMovieFilmBeautyComposition.mjs.map +1 -1
  2207. package/lib/scene/resolveAutoMovieMaterialTexture.d.ts +7 -9
  2208. package/lib/scene/resolveAutoMovieMaterialTexture.js +7 -17
  2209. package/lib/scene/resolveAutoMovieMaterialTexture.js.map +1 -1
  2210. package/lib/scene/resolveAutoMovieMaterialTexture.mjs +8 -19
  2211. package/lib/scene/resolveAutoMovieMaterialTexture.mjs.map +1 -1
  2212. package/lib/scene/restoreAutoMovieRenderModeOnce.d.ts +3 -9
  2213. package/lib/scene/restoreAutoMovieRenderModeOnce.js +3 -9
  2214. package/lib/scene/restoreAutoMovieRenderModeOnce.js.map +1 -1
  2215. package/lib/scene/restoreAutoMovieRenderModeOnce.mjs +3 -9
  2216. package/lib/scene/restoreAutoMovieRenderModeOnce.mjs.map +1 -1
  2217. package/lib/scene/restoreAutoMovieRenderModeState.d.ts +3 -9
  2218. package/lib/scene/restoreAutoMovieRenderModeState.js +5 -12
  2219. package/lib/scene/restoreAutoMovieRenderModeState.js.map +1 -1
  2220. package/lib/scene/restoreAutoMovieRenderModeState.mjs +1 -7
  2221. package/lib/scene/restoreAutoMovieRenderModeState.mjs.map +1 -1
  2222. package/lib/scene/retireAutoMovieCubeShadowDepth.d.ts +8 -11
  2223. package/lib/scene/retireAutoMovieCubeShadowDepth.js +6 -9
  2224. package/lib/scene/retireAutoMovieCubeShadowDepth.js.map +1 -1
  2225. package/lib/scene/retireAutoMovieCubeShadowDepth.mjs +6 -9
  2226. package/lib/scene/retireAutoMovieCubeShadowDepth.mjs.map +1 -1
  2227. package/lib/scene/sampleFormationCycleMatrix.d.ts +6 -9
  2228. package/lib/scene/sampleFormationCycleMatrix.js +7 -12
  2229. package/lib/scene/sampleFormationCycleMatrix.js.map +1 -1
  2230. package/lib/scene/sampleFormationCycleMatrix.mjs +7 -10
  2231. package/lib/scene/sampleFormationCycleMatrix.mjs.map +1 -1
  2232. package/lib/scene/selectFormationShadowPalette.d.ts +11 -0
  2233. package/lib/scene/selectFormationShadowPalette.js +20 -0
  2234. package/lib/scene/selectFormationShadowPalette.js.map +1 -0
  2235. package/lib/scene/selectFormationShadowPalette.mjs +18 -0
  2236. package/lib/scene/selectFormationShadowPalette.mjs.map +1 -0
  2237. package/lib/scene/semanticMask/IAutoMovieSemanticMaskHandle.d.ts +7 -16
  2238. package/lib/scene/semanticMask/SCENE_MASK_KEY.d.ts +2 -2
  2239. package/lib/scene/semanticMask/SCENE_MASK_KEY.js +2 -2
  2240. package/lib/scene/semanticMask/SCENE_MASK_KEY.mjs +2 -2
  2241. package/lib/scene/semanticMask/SCENE_MASK_KEY.mjs.map +1 -1
  2242. package/lib/scene/semanticMask/applyAutoMovieSemanticMask.d.ts +16 -13
  2243. package/lib/scene/semanticMask/applyAutoMovieSemanticMask.js +26 -22
  2244. package/lib/scene/semanticMask/applyAutoMovieSemanticMask.js.map +1 -1
  2245. package/lib/scene/semanticMask/applyAutoMovieSemanticMask.mjs +24 -20
  2246. package/lib/scene/semanticMask/applyAutoMovieSemanticMask.mjs.map +1 -1
  2247. package/lib/scene/semanticMask/attachAutoMovieSemanticMask.d.ts +8 -9
  2248. package/lib/scene/semanticMask/attachAutoMovieSemanticMask.js +8 -9
  2249. package/lib/scene/semanticMask/attachAutoMovieSemanticMask.js.map +1 -1
  2250. package/lib/scene/semanticMask/attachAutoMovieSemanticMask.mjs +8 -9
  2251. package/lib/scene/semanticMask/attachAutoMovieSemanticMask.mjs.map +1 -1
  2252. package/lib/scene/semanticMask/auditAutoMovieSemanticMaskScene.d.ts +8 -9
  2253. package/lib/scene/semanticMask/auditAutoMovieSemanticMaskScene.js +11 -12
  2254. package/lib/scene/semanticMask/auditAutoMovieSemanticMaskScene.js.map +1 -1
  2255. package/lib/scene/semanticMask/auditAutoMovieSemanticMaskScene.mjs +11 -12
  2256. package/lib/scene/semanticMask/auditAutoMovieSemanticMaskScene.mjs.map +1 -1
  2257. package/lib/scene/semanticMask/autoMovieSemanticMaskOf.d.ts +1 -11
  2258. package/lib/scene/semanticMask/autoMovieSemanticMaskOf.js +5 -12
  2259. package/lib/scene/semanticMask/autoMovieSemanticMaskOf.js.map +1 -1
  2260. package/lib/scene/semanticMask/autoMovieSemanticMaskOf.mjs +4 -12
  2261. package/lib/scene/semanticMask/autoMovieSemanticMaskOf.mjs.map +1 -1
  2262. package/lib/scene/semanticMask/maskRoots.d.ts +5 -9
  2263. package/lib/scene/semanticMask/maskRoots.js +5 -9
  2264. package/lib/scene/semanticMask/maskRoots.js.map +1 -1
  2265. package/lib/scene/semanticMask/maskRoots.mjs +5 -9
  2266. package/lib/scene/semanticMask/maskRoots.mjs.map +1 -1
  2267. package/lib/scene/semanticMask/nearest.d.ts +3 -9
  2268. package/lib/scene/semanticMask/nearest.js +3 -9
  2269. package/lib/scene/semanticMask/nearest.js.map +1 -1
  2270. package/lib/scene/semanticMask/nearest.mjs +3 -9
  2271. package/lib/scene/semanticMask/nearest.mjs.map +1 -1
  2272. package/lib/scene/semanticMask/unresolvedOf.d.ts +4 -9
  2273. package/lib/scene/semanticMask/unresolvedOf.js +4 -9
  2274. package/lib/scene/semanticMask/unresolvedOf.js.map +1 -1
  2275. package/lib/scene/semanticMask/unresolvedOf.mjs +4 -9
  2276. package/lib/scene/semanticMask/unresolvedOf.mjs.map +1 -1
  2277. package/lib/scene/slotMatrix.d.ts +4 -9
  2278. package/lib/scene/slotMatrix.js +4 -9
  2279. package/lib/scene/slotMatrix.js.map +1 -1
  2280. package/lib/scene/slotMatrix.mjs +4 -9
  2281. package/lib/scene/slotMatrix.mjs.map +1 -1
  2282. package/lib/scene/softPropCordSurface.d.ts +2 -10
  2283. package/lib/scene/softPropCordSurface.js +9 -18
  2284. package/lib/scene/softPropCordSurface.js.map +1 -1
  2285. package/lib/scene/softPropCordSurface.mjs +9 -15
  2286. package/lib/scene/softPropCordSurface.mjs.map +1 -1
  2287. package/lib/scene/subjectViewpoint/AutoMovieViewerSubjectKind.d.ts +2 -6
  2288. package/lib/scene/subjectViewpoint/IAutoMovieViewerSubject.d.ts +8 -14
  2289. package/lib/scene/subjectViewpoint/IAutoMovieViewerSubjectBounds.d.ts +5 -12
  2290. package/lib/scene/subjectViewpoint/IAutoMovieViewerSubjectLens.d.ts +7 -10
  2291. package/lib/scene/subjectViewpoint/IAutoMovieViewerSubjectPose.d.ts +8 -21
  2292. package/lib/scene/subjectViewpoint/IAutoMovieViewerSubjectView.d.ts +14 -16
  2293. package/lib/scene/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.d.ts +14 -36
  2294. package/lib/scene/subjectViewpoint/IAutoMovieViewerTurntableOptions.d.ts +8 -13
  2295. package/lib/scene/subjectViewpoint/IAutoMovieViewerViewpoint.d.ts +10 -12
  2296. package/lib/scene/subjectViewpoint/applyAutoMovieViewerSubjectPose.d.ts +4 -9
  2297. package/lib/scene/subjectViewpoint/applyAutoMovieViewerSubjectPose.js +4 -9
  2298. package/lib/scene/subjectViewpoint/applyAutoMovieViewerSubjectPose.js.map +1 -1
  2299. package/lib/scene/subjectViewpoint/applyAutoMovieViewerSubjectPose.mjs +4 -9
  2300. package/lib/scene/subjectViewpoint/applyAutoMovieViewerSubjectPose.mjs.map +1 -1
  2301. package/lib/scene/subjectViewpoint/autoMovieViewerNamedViewpoints.d.ts +17 -21
  2302. package/lib/scene/subjectViewpoint/autoMovieViewerNamedViewpoints.js +18 -22
  2303. package/lib/scene/subjectViewpoint/autoMovieViewerNamedViewpoints.js.map +1 -1
  2304. package/lib/scene/subjectViewpoint/autoMovieViewerNamedViewpoints.mjs +18 -22
  2305. package/lib/scene/subjectViewpoint/autoMovieViewerNamedViewpoints.mjs.map +1 -1
  2306. package/lib/scene/subjectViewpoint/autoMovieViewerPoseFromHeading.d.ts +4 -9
  2307. package/lib/scene/subjectViewpoint/autoMovieViewerPoseFromHeading.js +4 -9
  2308. package/lib/scene/subjectViewpoint/autoMovieViewerPoseFromHeading.js.map +1 -1
  2309. package/lib/scene/subjectViewpoint/autoMovieViewerPoseFromHeading.mjs +4 -9
  2310. package/lib/scene/subjectViewpoint/autoMovieViewerPoseFromHeading.mjs.map +1 -1
  2311. package/lib/scene/subjectViewpoint/autoMovieViewerSubjectKey.d.ts +3 -9
  2312. package/lib/scene/subjectViewpoint/autoMovieViewerSubjectKey.js +3 -9
  2313. package/lib/scene/subjectViewpoint/autoMovieViewerSubjectKey.js.map +1 -1
  2314. package/lib/scene/subjectViewpoint/autoMovieViewerSubjectKey.mjs +3 -9
  2315. package/lib/scene/subjectViewpoint/autoMovieViewerSubjectKey.mjs.map +1 -1
  2316. package/lib/scene/subjectViewpoint/autoMovieViewerTurntableViewpoints.d.ts +4 -9
  2317. package/lib/scene/subjectViewpoint/autoMovieViewerTurntableViewpoints.js +5 -11
  2318. package/lib/scene/subjectViewpoint/autoMovieViewerTurntableViewpoints.js.map +1 -1
  2319. package/lib/scene/subjectViewpoint/autoMovieViewerTurntableViewpoints.mjs +5 -10
  2320. package/lib/scene/subjectViewpoint/autoMovieViewerTurntableViewpoints.mjs.map +1 -1
  2321. package/lib/scene/subjectViewpoint/captureAutoMovieViewerSubjectView.d.ts +4 -9
  2322. package/lib/scene/subjectViewpoint/captureAutoMovieViewerSubjectView.js +4 -9
  2323. package/lib/scene/subjectViewpoint/captureAutoMovieViewerSubjectView.js.map +1 -1
  2324. package/lib/scene/subjectViewpoint/captureAutoMovieViewerSubjectView.mjs +4 -9
  2325. package/lib/scene/subjectViewpoint/captureAutoMovieViewerSubjectView.mjs.map +1 -1
  2326. package/lib/scene/subjectViewpoint/frameAutoMovieViewerSubject.d.ts +5 -9
  2327. package/lib/scene/subjectViewpoint/frameAutoMovieViewerSubject.js +9 -10
  2328. package/lib/scene/subjectViewpoint/frameAutoMovieViewerSubject.js.map +1 -1
  2329. package/lib/scene/subjectViewpoint/frameAutoMovieViewerSubject.mjs +9 -10
  2330. package/lib/scene/subjectViewpoint/frameAutoMovieViewerSubject.mjs.map +1 -1
  2331. package/lib/scene/subjectViewpoint/parseAutoMovieViewerSubjectKey.d.ts +4 -9
  2332. package/lib/scene/subjectViewpoint/parseAutoMovieViewerSubjectKey.js +11 -17
  2333. package/lib/scene/subjectViewpoint/parseAutoMovieViewerSubjectKey.js.map +1 -1
  2334. package/lib/scene/subjectViewpoint/parseAutoMovieViewerSubjectKey.mjs +9 -13
  2335. package/lib/scene/subjectViewpoint/parseAutoMovieViewerSubjectKey.mjs.map +1 -1
  2336. package/lib/scene/subsurfaceShading/SUBSURFACE_TARGET.d.ts +6 -2
  2337. package/lib/scene/subsurfaceShading/SUBSURFACE_TARGET.js +6 -2
  2338. package/lib/scene/subsurfaceShading/SUBSURFACE_TARGET.js.map +1 -1
  2339. package/lib/scene/subsurfaceShading/SUBSURFACE_TARGET.mjs +6 -2
  2340. package/lib/scene/subsurfaceShading/SUBSURFACE_TARGET.mjs.map +1 -1
  2341. package/lib/scene/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.d.ts +4 -1
  2342. package/lib/scene/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.js +4 -1
  2343. package/lib/scene/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.js.map +1 -1
  2344. package/lib/scene/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.mjs +4 -1
  2345. package/lib/scene/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.mjs.map +1 -1
  2346. package/lib/scene/subsurfaceShading/applySubsurfaceShading.d.ts +5 -9
  2347. package/lib/scene/subsurfaceShading/applySubsurfaceShading.js +5 -9
  2348. package/lib/scene/subsurfaceShading/applySubsurfaceShading.js.map +1 -1
  2349. package/lib/scene/subsurfaceShading/applySubsurfaceShading.mjs +5 -9
  2350. package/lib/scene/subsurfaceShading/applySubsurfaceShading.mjs.map +1 -1
  2351. package/lib/scene/subsurfaceShading/getSubsurfaceTexture.d.ts +4 -8
  2352. package/lib/scene/subsurfaceShading/getSubsurfaceTexture.js +12 -18
  2353. package/lib/scene/subsurfaceShading/getSubsurfaceTexture.js.map +1 -1
  2354. package/lib/scene/subsurfaceShading/getSubsurfaceTexture.mjs +12 -17
  2355. package/lib/scene/subsurfaceShading/getSubsurfaceTexture.mjs.map +1 -1
  2356. package/lib/scene/subsurfaceShading/subsurfaceFragment.d.ts +4 -9
  2357. package/lib/scene/subsurfaceShading/subsurfaceFragment.js +4 -9
  2358. package/lib/scene/subsurfaceShading/subsurfaceFragment.js.map +1 -1
  2359. package/lib/scene/subsurfaceShading/subsurfaceFragment.mjs +4 -9
  2360. package/lib/scene/subsurfaceShading/subsurfaceFragment.mjs.map +1 -1
  2361. package/lib/scene/subsurfaceShading/subsurfacePhysicalChunk.d.ts +4 -9
  2362. package/lib/scene/subsurfaceShading/subsurfacePhysicalChunk.js +5 -10
  2363. package/lib/scene/subsurfaceShading/subsurfacePhysicalChunk.js.map +1 -1
  2364. package/lib/scene/subsurfaceShading/subsurfacePhysicalChunk.mjs +6 -11
  2365. package/lib/scene/subsurfaceShading/subsurfacePhysicalChunk.mjs.map +1 -1
  2366. package/lib/scene/subsurfaceShading/subsurfaceTable.d.ts +4 -9
  2367. package/lib/scene/subsurfaceShading/subsurfaceTable.js +4 -9
  2368. package/lib/scene/subsurfaceShading/subsurfaceTable.js.map +1 -1
  2369. package/lib/scene/subsurfaceShading/subsurfaceTable.mjs +4 -9
  2370. package/lib/scene/subsurfaceShading/subsurfaceTable.mjs.map +1 -1
  2371. package/lib/scene/surfaceGraphic/AUTOMOVIE_SURFACE_GRAPHIC_KEY.d.ts +9 -0
  2372. package/lib/scene/surfaceGraphic/AUTOMOVIE_SURFACE_GRAPHIC_KEY.js +13 -0
  2373. package/lib/scene/surfaceGraphic/AUTOMOVIE_SURFACE_GRAPHIC_KEY.js.map +1 -0
  2374. package/lib/scene/surfaceGraphic/AUTOMOVIE_SURFACE_GRAPHIC_KEY.mjs +13 -0
  2375. package/lib/scene/surfaceGraphic/AUTOMOVIE_SURFACE_GRAPHIC_KEY.mjs.map +1 -0
  2376. package/lib/scene/surfaceGraphic/IAutoMovieSurfaceGraphicsObject.d.ts +46 -0
  2377. package/lib/scene/surfaceGraphic/IAutoMovieSurfaceGraphicsObject.js +3 -0
  2378. package/lib/scene/surfaceGraphic/IAutoMovieSurfaceGraphicsObject.js.map +1 -0
  2379. package/lib/scene/surfaceGraphic/IAutoMovieSurfaceGraphicsObject.mjs +0 -0
  2380. package/lib/scene/surfaceGraphic/IPrepareAutoMovieSurfaceGraphicsProps.d.ts +34 -0
  2381. package/lib/scene/surfaceGraphic/IPrepareAutoMovieSurfaceGraphicsProps.js +3 -0
  2382. package/lib/scene/surfaceGraphic/IPrepareAutoMovieSurfaceGraphicsProps.js.map +1 -0
  2383. package/lib/scene/surfaceGraphic/IPrepareAutoMovieSurfaceGraphicsProps.mjs +0 -0
  2384. package/lib/scene/surfaceGraphic/applyAutoMovieGraphicsMode.d.ts +22 -0
  2385. package/lib/scene/surfaceGraphic/applyAutoMovieGraphicsMode.js +105 -0
  2386. package/lib/scene/surfaceGraphic/applyAutoMovieGraphicsMode.js.map +1 -0
  2387. package/lib/scene/surfaceGraphic/applyAutoMovieGraphicsMode.mjs +64 -0
  2388. package/lib/scene/surfaceGraphic/applyAutoMovieGraphicsMode.mjs.map +1 -0
  2389. package/lib/scene/surfaceGraphic/buildAutoMovieSurfaceGraphicKey.d.ts +71 -0
  2390. package/lib/scene/surfaceGraphic/buildAutoMovieSurfaceGraphicKey.js +227 -0
  2391. package/lib/scene/surfaceGraphic/buildAutoMovieSurfaceGraphicKey.js.map +1 -0
  2392. package/lib/scene/surfaceGraphic/buildAutoMovieSurfaceGraphicKey.mjs +189 -0
  2393. package/lib/scene/surfaceGraphic/buildAutoMovieSurfaceGraphicKey.mjs.map +1 -0
  2394. package/lib/scene/surfaceGraphic/clipAutoMovieSurfaceGraphicGeometry.d.ts +25 -0
  2395. package/lib/scene/surfaceGraphic/clipAutoMovieSurfaceGraphicGeometry.js +139 -0
  2396. package/lib/scene/surfaceGraphic/clipAutoMovieSurfaceGraphicGeometry.js.map +1 -0
  2397. package/lib/scene/surfaceGraphic/clipAutoMovieSurfaceGraphicGeometry.mjs +109 -0
  2398. package/lib/scene/surfaceGraphic/clipAutoMovieSurfaceGraphicGeometry.mjs.map +1 -0
  2399. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicMaterial.d.ts +18 -0
  2400. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicMaterial.js +66 -0
  2401. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicMaterial.js.map +1 -0
  2402. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicMaterial.mjs +31 -0
  2403. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicMaterial.mjs.map +1 -0
  2404. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicQuad.d.ts +26 -0
  2405. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicQuad.js +72 -0
  2406. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicQuad.js.map +1 -0
  2407. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicQuad.mjs +78 -0
  2408. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicQuad.mjs.map +1 -0
  2409. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicText.d.ts +20 -0
  2410. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicText.js +85 -0
  2411. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicText.js.map +1 -0
  2412. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicText.mjs +52 -0
  2413. package/lib/scene/surfaceGraphic/createAutoMovieSurfaceGraphicText.mjs.map +1 -0
  2414. package/lib/scene/surfaceGraphic/createAutoMovieSystemTextTexture.d.ts +17 -0
  2415. package/lib/scene/surfaceGraphic/createAutoMovieSystemTextTexture.js +122 -0
  2416. package/lib/scene/surfaceGraphic/createAutoMovieSystemTextTexture.js.map +1 -0
  2417. package/lib/scene/surfaceGraphic/createAutoMovieSystemTextTexture.mjs +84 -0
  2418. package/lib/scene/surfaceGraphic/createAutoMovieSystemTextTexture.mjs.map +1 -0
  2419. package/lib/scene/surfaceGraphic/hideAutoMovieSurfaceGraphics.d.ts +12 -0
  2420. package/lib/scene/surfaceGraphic/hideAutoMovieSurfaceGraphics.js +29 -0
  2421. package/lib/scene/surfaceGraphic/hideAutoMovieSurfaceGraphics.js.map +1 -0
  2422. package/lib/scene/surfaceGraphic/hideAutoMovieSurfaceGraphics.mjs +27 -0
  2423. package/lib/scene/surfaceGraphic/hideAutoMovieSurfaceGraphics.mjs.map +1 -0
  2424. package/lib/scene/surfaceGraphic/index.d.ts +5 -0
  2425. package/lib/scene/surfaceGraphic/index.js +22 -0
  2426. package/lib/scene/surfaceGraphic/index.js.map +1 -0
  2427. package/lib/scene/surfaceGraphic/index.mjs +4 -0
  2428. package/lib/scene/surfaceGraphic/prepareAutoMovieSurfaceGraphics.d.ts +28 -0
  2429. package/lib/scene/surfaceGraphic/prepareAutoMovieSurfaceGraphics.js +331 -0
  2430. package/lib/scene/surfaceGraphic/prepareAutoMovieSurfaceGraphics.js.map +1 -0
  2431. package/lib/scene/surfaceGraphic/prepareAutoMovieSurfaceGraphics.mjs +243 -0
  2432. package/lib/scene/surfaceGraphic/prepareAutoMovieSurfaceGraphics.mjs.map +1 -0
  2433. package/lib/scene/textureBindingAsset.d.ts +3 -9
  2434. package/lib/scene/textureBindingAsset.js +3 -9
  2435. package/lib/scene/textureBindingAsset.js.map +1 -1
  2436. package/lib/scene/textureBindingAsset.mjs +3 -9
  2437. package/lib/scene/textureBindingAsset.mjs.map +1 -1
  2438. package/lib/scene/updateAutoMovieComparisonCamera.d.ts +7 -15
  2439. package/lib/scene/updateAutoMovieComparisonCamera.js +13 -26
  2440. package/lib/scene/updateAutoMovieComparisonCamera.js.map +1 -1
  2441. package/lib/scene/updateAutoMovieComparisonCamera.mjs +10 -17
  2442. package/lib/scene/updateAutoMovieComparisonCamera.mjs.map +1 -1
  2443. package/lib/scene/vector.d.ts +2 -9
  2444. package/lib/scene/vector.js +2 -9
  2445. package/lib/scene/vector.js.map +1 -1
  2446. package/lib/scene/vector.mjs +2 -9
  2447. package/lib/scene/vector.mjs.map +1 -1
  2448. package/lib/scene/wearShading/applyMaterialWear.d.ts +34 -0
  2449. package/lib/scene/wearShading/applyMaterialWear.js +222 -0
  2450. package/lib/scene/wearShading/applyMaterialWear.js.map +1 -0
  2451. package/lib/scene/wearShading/applyMaterialWear.mjs +170 -0
  2452. package/lib/scene/wearShading/applyMaterialWear.mjs.map +1 -0
  2453. package/lib/scene/wearShading/index.d.ts +1 -0
  2454. package/lib/scene/wearShading/index.js +18 -0
  2455. package/lib/scene/wearShading/index.js.map +1 -0
  2456. package/lib/scene/wearShading/index.mjs +1 -0
  2457. package/lib/screenplay/renderScreenplay.d.ts +2 -10
  2458. package/lib/screenplay/renderScreenplay.js +2 -10
  2459. package/lib/screenplay/renderScreenplay.js.map +1 -1
  2460. package/lib/screenplay/renderScreenplay.mjs +2 -10
  2461. package/lib/screenplay/renderScreenplay.mjs.map +1 -1
  2462. package/lib/screenplay/screenplaySceneSlug.d.ts +0 -8
  2463. package/lib/screenplay/screenplaySceneSlug.js +0 -8
  2464. package/lib/screenplay/screenplaySceneSlug.js.map +1 -1
  2465. package/lib/screenplay/screenplaySceneSlug.mjs +0 -8
  2466. package/lib/screenplay/screenplaySceneSlug.mjs.map +1 -1
  2467. package/lib/shotBeat.d.ts +0 -8
  2468. package/lib/shotBeat.js +0 -8
  2469. package/lib/shotBeat.js.map +1 -1
  2470. package/lib/shotBeat.mjs +0 -8
  2471. package/lib/shotBeat.mjs.map +1 -1
  2472. package/lib/sliceCaptionSidecar.d.ts +11 -10
  2473. package/lib/sliceCaptionSidecar.js +13 -12
  2474. package/lib/sliceCaptionSidecar.js.map +1 -1
  2475. package/lib/sliceCaptionSidecar.mjs +13 -12
  2476. package/lib/sliceCaptionSidecar.mjs.map +1 -1
  2477. package/lib/typography/decodeAutoMovieFontSources.d.ts +34 -0
  2478. package/lib/typography/decodeAutoMovieFontSources.js +73 -0
  2479. package/lib/typography/decodeAutoMovieFontSources.js.map +1 -0
  2480. package/lib/typography/decodeAutoMovieFontSources.mjs +65 -0
  2481. package/lib/typography/decodeAutoMovieFontSources.mjs.map +1 -0
  2482. package/lib/typography/index.d.ts +1 -0
  2483. package/lib/typography/index.js +18 -0
  2484. package/lib/typography/index.js.map +1 -0
  2485. package/lib/typography/index.mjs +1 -0
  2486. package/package.json +14 -10
  2487. package/src/AUTOMOVIE_GUIDE_PASSES.ts +12 -3
  2488. package/src/AutoMovieFrameGrid.ts +7 -37
  2489. package/src/audio/admitAutoMovieFilmDialogue.ts +109 -0
  2490. package/src/audio/encodeAutoMovieWavPcm16.ts +6 -14
  2491. package/src/audio/index.ts +3 -1
  2492. package/src/audio/measureAutoMovieDialogueLipSync.ts +157 -0
  2493. package/src/audio/mixAutoMovieFilmSound.ts +197 -0
  2494. package/src/audio/planAutoMovieDialogueMouths.ts +95 -0
  2495. package/src/auditAutoMovieRenderObservation.ts +0 -10
  2496. package/src/caption/autoMovieCaptionLanguageComparisonKey.ts +2 -10
  2497. package/src/caption/beatCaptions.ts +0 -8
  2498. package/src/caption/canonicalProductionWebVtt.ts +9 -14
  2499. package/src/caption/canonicalizeAutoMovieCaptionText.ts +0 -8
  2500. package/src/caption/escapeWebVttText.ts +0 -8
  2501. package/src/caption/inspectAutoMovieCaptionReadabilityWithRuntime.ts +7 -15
  2502. package/src/caption/isAutoMovieWebVttIdentifier.ts +2 -10
  2503. package/src/caption/parseAutoMovieCaptionLanguage.ts +0 -8
  2504. package/src/caption/serializeAutoMovieWebVttCueText.ts +0 -8
  2505. package/src/caption/serializeAutoMovieWebVttIdentifier.ts +0 -8
  2506. package/src/caption/serializeAutoMovieWebVttSingleLineText.ts +0 -8
  2507. package/src/caption/webVttCaptionLanguage.ts +2 -10
  2508. package/src/caption/webVttTime.ts +3 -11
  2509. package/src/capture/AUTO_MOVIE_CAPTURE_PLAN_KEYS.ts +7 -2
  2510. package/src/capture/AutoMovieCaptureFolder.ts +62 -80
  2511. package/src/capture/compareAutoMovieCaptureRounds.ts +254 -50
  2512. package/src/capture/diffAutoMovieCaptureFindings.ts +479 -0
  2513. package/src/capture/formatAutoMovieCapturePlanRequest.ts +17 -12
  2514. package/src/capture/index.ts +2 -1
  2515. package/src/capture/markAutoMovieCaptureCell.ts +9 -11
  2516. package/src/capture/parseAutoMovieCapturePlanRequest.ts +65 -40
  2517. package/src/capture/planAutoMovieCapture.ts +40 -21
  2518. package/src/capture/planAutoMovieCaptureFrames.ts +31 -17
  2519. package/src/capture/planAutoMovieCaptureLayout.ts +33 -13
  2520. package/src/capture/planAutoMovieVideoFrames.ts +16 -13
  2521. package/src/capture/planAutoMovieVideoSceneCuts.ts +18 -18
  2522. package/src/capture/readAutoMovieCaptureArguments.ts +13 -12
  2523. package/src/capture/readAutoMovieVideoSceneCuts.ts +24 -17
  2524. package/src/capture/resolveAutoMovieCapturePatterns.ts +21 -14
  2525. package/src/capture/runAutoMovieCapture.ts +82 -16
  2526. package/src/capture/runAutoMovieVideoCapture.ts +22 -15
  2527. package/src/capture/scaleAutoMovieCaptureLabels.ts +8 -10
  2528. package/src/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.ts +4 -3
  2529. package/src/delivery/AUTOMOVIE_PRODUCTION_AAC_PROFILE.ts +14 -0
  2530. package/src/delivery/AutoMovieControlChannelWriter.ts +154 -0
  2531. package/src/delivery/admitAutoMovieControlPasses.ts +30 -0
  2532. package/src/delivery/assertAutoMovieCaptureClock.ts +1 -9
  2533. package/src/delivery/assertProductionAacProfile.ts +69 -0
  2534. package/src/delivery/assertProductionPngPicture.ts +0 -8
  2535. package/src/delivery/assertProductionVideoProfile.ts +1 -9
  2536. package/src/delivery/auditAutoMovieDecodedFrames.ts +7 -24
  2537. package/src/delivery/auditAutoMovieDeliveryContent.ts +437 -0
  2538. package/src/delivery/auditAutoMovieEncodedPresentation.ts +31 -36
  2539. package/src/delivery/autoMovieControlConvention.ts +51 -0
  2540. package/src/delivery/autoMovieVideoFrameRate.ts +97 -0
  2541. package/src/delivery/index.ts +6 -3
  2542. package/src/delivery/planAutoMovieAlphaWrap.ts +59 -0
  2543. package/src/delivery/planAutoMovieCaptureUrl.ts +4 -11
  2544. package/src/delivery/planAutoMovieDeliveredCut.ts +71 -0
  2545. package/src/delivery/planAutoMovieVideoEncoding.ts +45 -19
  2546. package/src/delivery/resolveProductionPngProfile.ts +5 -21
  2547. package/src/delivery/resolveProductionVideoProfile.ts +0 -8
  2548. package/src/draw/AUTO_MOVIE_DRAW_GLOBALS.ts +6 -2
  2549. package/src/draw/AutoMovieDialogueMouthRecorder.ts +86 -0
  2550. package/src/draw/AutoMovieDrawBeauty.ts +304 -0
  2551. package/src/draw/AutoMovieDrawFilm.ts +319 -0
  2552. package/src/draw/AutoMovieDrawPlacement.ts +209 -0
  2553. package/src/draw/AutoMovieDrawSession.ts +112 -89
  2554. package/src/draw/AutoMovieDrawSubjects.ts +13 -10
  2555. package/src/draw/IAutoMovieDrawFunction.ts +15 -27
  2556. package/src/draw/IAutoMovieDrawGlobal.ts +37 -0
  2557. package/src/draw/IAutoMovieDrawPage.ts +43 -56
  2558. package/src/draw/IAutoMovieDrawPageRequest.ts +52 -0
  2559. package/src/draw/IAutoMovieDrawProps.ts +9 -9
  2560. package/src/draw/IAutoMovieDrawScene.ts +231 -40
  2561. package/src/draw/IAutoMovieDrawSubject.ts +6 -18
  2562. package/src/draw/accumulateAutoMovieFilmSamples.ts +170 -0
  2563. package/src/draw/bindAutoMovieDrawSceneSoftProps.ts +34 -10
  2564. package/src/draw/decodeAutoMovieDrawPixels.ts +5 -10
  2565. package/src/draw/describeAutoMovieDrawScene.ts +15 -10
  2566. package/src/draw/encodeAutoMovieDrawPixels.ts +40 -26
  2567. package/src/draw/index.ts +11 -0
  2568. package/src/draw/installAutoMovieDraw.ts +255 -273
  2569. package/src/draw/isAutoMoviePlainBeautyRequest.ts +25 -0
  2570. package/src/draw/observeAutoMoviePlacedInspection.ts +86 -0
  2571. package/src/draw/placeAutoMovieDrawLayer.ts +86 -0
  2572. package/src/draw/planAutoMovieDrawCall.ts +21 -14
  2573. package/src/draw/planAutoMovieDrawLayers.ts +50 -0
  2574. package/src/draw/planAutoMovieDrawPicture.ts +60 -0
  2575. package/src/draw/readAutoMovieDrawResult.ts +129 -0
  2576. package/src/draw/renderAutoMovieDrawnVideo.ts +277 -23
  2577. package/src/draw/replaceAutoMovieDrawInspection.ts +9 -10
  2578. package/src/draw/selectAutoMovieDrawSubject.ts +5 -10
  2579. package/src/draw/stampAutoMovieDrawLegend.ts +18 -11
  2580. package/src/ffmpegArgs.ts +31 -25
  2581. package/src/film/assertSingleGuidePass.ts +5 -19
  2582. package/src/film/equalOrderedScalarRows.ts +24 -0
  2583. package/src/film/equalOrderedScalars.ts +17 -50
  2584. package/src/film/normalizeAudioAssets.ts +4 -15
  2585. package/src/film/normalizeRenderTier.ts +4 -15
  2586. package/src/film/planProductionRenderJob.ts +14 -23
  2587. package/src/film/productionVisualDeliveryOccurrence.ts +0 -8
  2588. package/src/film/resolveProductionRenderTierFrameFormat.ts +5 -12
  2589. package/src/film/validDigest.ts +0 -8
  2590. package/src/film/validWaveAudioIdentity.ts +4 -11
  2591. package/src/frameName.ts +5 -13
  2592. package/src/framePattern.ts +2 -10
  2593. package/src/frameTimes.ts +1 -15
  2594. package/src/guidePassFrameName.ts +8 -10
  2595. package/src/guidePassFramePattern.ts +2 -9
  2596. package/src/guidePassesInternal/passExtension.ts +2 -10
  2597. package/src/index.ts +8 -4
  2598. package/src/internal.ts +28 -0
  2599. package/src/isGuidePass.ts +1 -9
  2600. package/src/normalizeGuidePasses.ts +7 -10
  2601. package/src/picture/AutoMovieRasterSheet.ts +34 -63
  2602. package/src/picture/compareAutoMovieRasters.ts +1 -9
  2603. package/src/picture/crcAutoMoviePngChunk.ts +16 -21
  2604. package/src/picture/decodeAutoMovieRasterPng.ts +24 -13
  2605. package/src/picture/encodeAutoMovieRasterPng.ts +32 -21
  2606. package/src/picture/hashAutoMovieRasterImage.ts +11 -11
  2607. package/src/picture/stampAutoMovieRasterLabel.ts +1 -10
  2608. package/src/planCaptionSidecar.ts +25 -20
  2609. package/src/planChunkedSequenceRender.ts +27 -15
  2610. package/src/planGuidePassOutputs.ts +7 -11
  2611. package/src/planPoseKeypointSidecar.ts +34 -23
  2612. package/src/planSequenceRender.ts +11 -10
  2613. package/src/planViewerFrameTimes.ts +5 -14
  2614. package/src/renderAndSee.ts +4 -9
  2615. package/src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts +20 -14
  2616. package/src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts +14 -11
  2617. package/src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts +11 -11
  2618. package/src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts +0 -8
  2619. package/src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts +10 -11
  2620. package/src/renderBudgetPreflight/selectAutoMovieRenderBudget.ts +4 -11
  2621. package/src/renderCaptionSidecar.ts +2 -9
  2622. package/src/renderPathStem.ts +6 -14
  2623. package/src/renderPoseKeypointSidecar.ts +5 -10
  2624. package/src/renderSequenceAndSee.ts +2 -9
  2625. package/src/renderSequenceVideo.ts +4 -9
  2626. package/src/renderVideo.ts +6 -10
  2627. package/src/scene/AUTOMOVIE_EXPRESSION_PRESET_CHANNELS.ts +79 -0
  2628. package/src/scene/AUTOMOVIE_FLOAT32_MAX.ts +6 -0
  2629. package/src/scene/AUTOMOVIE_FORMATION_CYCLE_PATCH_KEY.ts +3 -0
  2630. package/src/scene/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.ts +6 -1
  2631. package/src/scene/AUTOMOVIE_HUMANOID_BONE_SLOTS.ts +65 -0
  2632. package/src/scene/AUTOMOVIE_MATRIX_ELEMENT_LIMIT.ts +11 -0
  2633. package/src/scene/AutoMovieDisplayCompositor.ts +37 -55
  2634. package/src/scene/AutoMovieEnvironmentTextureOwnership.ts +12 -242
  2635. package/src/scene/AutoMovieGeometryPhysicalVertices.ts +22 -73
  2636. package/src/scene/AutoMoviePlayer.ts +4 -29
  2637. package/src/scene/AutoMovieRenderModeMesh.ts +2 -6
  2638. package/src/scene/AutoMovieResourceRetirementScope.ts +9 -73
  2639. package/src/scene/AutoMovieSkinBlend.ts +15 -59
  2640. package/src/scene/AutoMovieSkinPose.ts +32 -72
  2641. package/src/scene/AutoMovieSkinnedMesh.ts +29 -112
  2642. package/src/scene/AutoMovieTextureCache.ts +72 -122
  2643. package/src/scene/AutoMovieThreeKind.ts +411 -0
  2644. package/src/scene/AutoMovieTransitionDisplays.ts +177 -0
  2645. package/src/scene/DEPTH_NORMALIZATION_RANGE.ts +5 -1
  2646. package/src/scene/EDGE_SHELL_NAME.ts +4 -1
  2647. package/src/scene/EDGE_WIDTH.ts +4 -1
  2648. package/src/scene/IApplyAutoMovieSectionPlanesProps.ts +7 -9
  2649. package/src/scene/IAutoMovieAnalysisOverlayObject.ts +4 -41
  2650. package/src/scene/IAutoMovieBuiltPropArticulation.ts +1 -16
  2651. package/src/scene/IAutoMovieDepthPrecisionRenderer.ts +16 -0
  2652. package/src/scene/IAutoMovieEffectViewerObject.ts +2 -19
  2653. package/src/scene/IAutoMovieEffectViewerStats.ts +1 -8
  2654. package/src/scene/IAutoMovieExpressionTarget.ts +2 -19
  2655. package/src/scene/IAutoMovieFluidSprayObject.ts +6 -37
  2656. package/src/scene/IAutoMovieFluidSurfaceObject.ts +5 -28
  2657. package/src/scene/IAutoMovieFormationCadence.ts +1 -8
  2658. package/src/scene/IAutoMovieFormationCycle.ts +1 -8
  2659. package/src/scene/IAutoMovieFormationCycleTake.ts +3 -8
  2660. package/src/scene/IAutoMovieFormationCycleUniforms.ts +1 -8
  2661. package/src/scene/IAutoMovieFormationViewerObject.ts +2 -35
  2662. package/src/scene/IAutoMovieFormationViewerStats.ts +3 -9
  2663. package/src/scene/IAutoMovieFramebufferContext.ts +20 -0
  2664. package/src/scene/IAutoMovieFramebufferRenderer.ts +27 -0
  2665. package/src/scene/IAutoMovieImportedModelOptions.ts +8 -20
  2666. package/src/scene/IAutoMovieInstanceSetViewerObject.ts +2 -27
  2667. package/src/scene/IAutoMovieInstanceSetViewerStats.ts +5 -9
  2668. package/src/scene/IAutoMovieInstancedGeometry.ts +4 -8
  2669. package/src/scene/IAutoMovieInstancedModelRepresentation.ts +4 -8
  2670. package/src/scene/IAutoMovieMaterialLibrary.ts +1 -24
  2671. package/src/scene/IAutoMovieModelObject.ts +3 -22
  2672. package/src/scene/IAutoMoviePlantingObject.ts +15 -20
  2673. package/src/scene/IAutoMovieRenderModeHandle.ts +22 -29
  2674. package/src/scene/IAutoMovieRendererEnvironmentHandle.ts +2 -19
  2675. package/src/scene/IAutoMovieRendererFrameCounters.ts +13 -0
  2676. package/src/scene/IAutoMovieSceneObject.ts +5 -9
  2677. package/src/scene/IAutoMovieScenePassRenderer.ts +16 -0
  2678. package/src/scene/IAutoMovieSceneSoftProps.ts +2 -27
  2679. package/src/scene/IAutoMovieSectionRenderer.ts +0 -5
  2680. package/src/scene/IAutoMovieShadowRetirementHost.ts +32 -0
  2681. package/src/scene/IAutoMovieShadowTextureHost.ts +5 -8
  2682. package/src/scene/IAutoMovieSoftBodyObject.ts +8 -26
  2683. package/src/scene/IAutoMovieSpringAxisSettlement.ts +2 -6
  2684. package/src/scene/IAutoMovieSpringConfig.ts +2 -11
  2685. package/src/scene/IAutoMovieTextureLoader.ts +3 -8
  2686. package/src/scene/IAutoMovieTextureResolver.ts +0 -5
  2687. package/src/scene/IAutoMovieViewerCameraDepthPrecisionReport.ts +1 -8
  2688. package/src/scene/IAutoMovieViewerFrame.ts +1 -8
  2689. package/src/scene/IAutoMovieViewerSnapshot.ts +1 -8
  2690. package/src/scene/IAutoMovieViewerSnapshotOptions.ts +1 -8
  2691. package/src/scene/IAutoMovieViewerSnapshotRenderer.ts +10 -18
  2692. package/src/scene/IBakeFormationCycleProps.ts +8 -12
  2693. package/src/scene/IBuildAutoMovieMaterialLibraryProps.ts +3 -7
  2694. package/src/scene/IBuildInstancedFormationProps.ts +3 -8
  2695. package/src/scene/IBuildInstancedInstanceSetProps.ts +5 -12
  2696. package/src/scene/IBuildPlantingObjectProps.ts +19 -10
  2697. package/src/scene/IBuildPropArticulationProps.ts +7 -12
  2698. package/src/scene/IBuildSoftBodyObjectProps.ts +1 -8
  2699. package/src/scene/IChunkObject.ts +15 -13
  2700. package/src/scene/IFormationTierRepresentation.ts +4 -8
  2701. package/src/scene/IMaterialShaderPatch.ts +6 -19
  2702. package/src/scene/IMaterialShaderSource.ts +14 -0
  2703. package/src/scene/ISlotException.ts +4 -9
  2704. package/src/scene/SPACE_GROUP_NAME.ts +13 -7
  2705. package/src/scene/addMaterialShaderPatch.ts +14 -18
  2706. package/src/scene/applyAutoMovieDeliveryCrop.ts +2 -9
  2707. package/src/scene/applyAutoMovieRigLocals.ts +24 -31
  2708. package/src/scene/applyAutoMovieSectionPlanes.ts +26 -32
  2709. package/src/scene/applyAutoMovieShadowParticipation.ts +23 -16
  2710. package/src/scene/applyDepthMode.ts +4 -11
  2711. package/src/scene/applyEdgeMode.ts +48 -31
  2712. package/src/scene/applyExpression.ts +37 -89
  2713. package/src/scene/applyFormationCycleCadence.ts +3 -11
  2714. package/src/scene/applyFormationCycleMaterial.ts +30 -34
  2715. package/src/scene/applyLightMotion.ts +0 -8
  2716. package/src/scene/applyLightState.ts +7 -11
  2717. package/src/scene/applyMaskMode.ts +0 -8
  2718. package/src/scene/applyMaterialShaderPatches.ts +3 -11
  2719. package/src/scene/applyObjectMotion.ts +11 -10
  2720. package/src/scene/applyObjectMotions.ts +5 -9
  2721. package/src/scene/applyPose.ts +5 -12
  2722. package/src/scene/applyPoseMode.ts +11 -18
  2723. package/src/scene/applyPracticalSurfaceMaterials.ts +7 -12
  2724. package/src/scene/applyRenderMode.ts +70 -26
  2725. package/src/scene/applyRendererEnvironment.ts +13 -9
  2726. package/src/scene/applySampledObjectMotion.ts +14 -11
  2727. package/src/scene/applySceneEnvironment.ts +17 -11
  2728. package/src/scene/applySceneFog.ts +0 -8
  2729. package/src/scene/applySemanticMaskMode.ts +3 -10
  2730. package/src/scene/applyTransform.ts +0 -8
  2731. package/src/scene/assertAutoMovieMetricRasterBudget.ts +11 -0
  2732. package/src/scene/assertAutoMovieSceneShadowProfile.ts +2 -10
  2733. package/src/scene/assertAutoMovieViewerCameraDepthPrecision.ts +2 -9
  2734. package/src/scene/autoMovieAnalysisRampColor.ts +0 -8
  2735. package/src/scene/autoMovieVisemeChannelWeights.ts +66 -0
  2736. package/src/scene/bakeFormationCycle.ts +13 -18
  2737. package/src/scene/bindFormationTierCycle.ts +7 -18
  2738. package/src/scene/buildAnalysisOverlayObject.ts +8 -16
  2739. package/src/scene/buildAutoMovieConstruction.ts +9 -35
  2740. package/src/scene/buildAutoMovieMaterialLibrary.ts +6 -14
  2741. package/src/scene/buildFluidSprayObject.ts +6 -10
  2742. package/src/scene/buildFluidSurfaceObject.ts +11 -11
  2743. package/src/scene/buildGeometry.ts +8 -14
  2744. package/src/scene/buildInstancedEffect.ts +2 -10
  2745. package/src/scene/buildInstancedFormation.ts +20 -10
  2746. package/src/scene/buildInstancedInstanceSet.ts +28 -29
  2747. package/src/scene/buildLight.ts +11 -12
  2748. package/src/scene/buildMaterial.ts +11 -15
  2749. package/src/scene/buildModel.ts +44 -28
  2750. package/src/scene/buildPlantingObject.ts +20 -12
  2751. package/src/scene/buildPropArticulation.ts +1 -11
  2752. package/src/scene/buildScene.ts +13 -15
  2753. package/src/scene/buildSceneSoftProps.ts +38 -8
  2754. package/src/scene/buildSoftBodyObject.ts +18 -15
  2755. package/src/scene/buildSpaceObject.ts +4 -12
  2756. package/src/scene/captureAutoMovieFramebufferRestore.ts +12 -18
  2757. package/src/scene/captureAutoMovieMetricFrame.ts +13 -37
  2758. package/src/scene/captureViewerSnapshot.ts +5 -9
  2759. package/src/scene/collectAutoMovieOwnedResources.ts +11 -28
  2760. package/src/scene/collectAutoMovieRenderModeMeshes.ts +4 -10
  2761. package/src/scene/constructAutoMovieOwnedResources.ts +4 -12
  2762. package/src/scene/createAutoMovieAlbedoMaterial.ts +72 -0
  2763. package/src/scene/createAutoMovieClosedSphereGeometry.ts +12 -38
  2764. package/src/scene/createAutoMovieMetricOrthographicCamera.ts +20 -37
  2765. package/src/scene/createAutoMoviePhysicalPoseAdapter.ts +10 -27
  2766. package/src/scene/createAutoMovieResourceRetirement.ts +6 -14
  2767. package/src/scene/createAutoMovieSurfaceAppearance.ts +58 -83
  2768. package/src/scene/createAutoMovieSurfaceVertexAdapter.ts +5 -10
  2769. package/src/scene/createFormationCycleShadowMaterials.ts +10 -17
  2770. package/src/scene/createFormationRepresentations.ts +2 -10
  2771. package/src/scene/createImportedModelObject.ts +9 -18
  2772. package/src/scene/decodeAutoMovieImage.ts +25 -15
  2773. package/src/scene/defaultMaterial.ts +2 -9
  2774. package/src/scene/describeFormationTextureSources.ts +5 -12
  2775. package/src/scene/detailNormalShading/DETAIL_NORMAL_TARGET.ts +2 -2
  2776. package/src/scene/detailNormalShading/applyDetailNormal.ts +2 -9
  2777. package/src/scene/detailNormalShading/createDetailNormalShaderPatch.ts +4 -11
  2778. package/src/scene/detailNormalShading/detailNormalFragment.ts +0 -8
  2779. package/src/scene/detailNormalShading/detailNormalVertex.ts +2 -10
  2780. package/src/scene/detailNormalShading/spliceTangentNormal.ts +4 -12
  2781. package/src/scene/disposeFormationRepresentations.ts +0 -8
  2782. package/src/scene/dualQuaternionSkinning/applyDualQuaternionSkinning.ts +0 -8
  2783. package/src/scene/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.ts +0 -8
  2784. package/src/scene/dualQuaternionSkinning/dualQuaternionSkinningOf.ts +0 -8
  2785. package/src/scene/dualQuaternionSkinning/dualQuaternionSkinningVertex.ts +10 -18
  2786. package/src/scene/evaluateAutoMovieViewerCameraDepthPrecision.ts +24 -31
  2787. package/src/scene/filmResponse/AUTOMOVIE_FILM_RESPONSE_SHADERS.ts +198 -0
  2788. package/src/scene/filmResponse/AutoMovieFilmAlpha.ts +24 -0
  2789. package/src/scene/filmResponse/AutoMovieFilmResponseStage.ts +469 -0
  2790. package/src/scene/filmResponse/AutoMovieFilmSampleSum.ts +192 -0
  2791. package/src/scene/filmResponse/IAutoMovieFilmResponseRenderer.ts +47 -0
  2792. package/src/scene/filmResponse/allocateAutoMovieFilmTargets.ts +103 -0
  2793. package/src/scene/filmResponse/collectAutoMovieFilmOverlays.ts +26 -0
  2794. package/src/scene/filmResponse/freeAutoMovieFilmOverlayLayer.ts +21 -0
  2795. package/src/scene/filmResponse/index.ts +5 -0
  2796. package/src/scene/filmResponse/planAutoMovieFilmGlare.ts +92 -0
  2797. package/src/scene/filmShading/AUTOMOVIE_FILM_OCCLUSION_SHADERS.ts +119 -0
  2798. package/src/scene/filmShading/AutoMovieFilmIndirectStage.ts +464 -0
  2799. package/src/scene/filmShading/IAutoMovieFilmIndirectRenderer.ts +39 -0
  2800. package/src/scene/filmShading/applyFilmIndirectPatch.ts +123 -0
  2801. package/src/scene/filmShading/bakeAutoMovieFilmProbes.ts +226 -0
  2802. package/src/scene/filmShading/index.ts +5 -0
  2803. package/src/scene/flame/IAutoMovieFlamesObject.ts +19 -0
  2804. package/src/scene/flame/IPrepareAutoMovieFlamesProps.ts +28 -0
  2805. package/src/scene/flame/createAutoMovieFlameMaterial.ts +59 -0
  2806. package/src/scene/flame/index.ts +3 -0
  2807. package/src/scene/flame/prepareAutoMovieFlames.ts +219 -0
  2808. package/src/scene/flattenInstancedModel.ts +14 -16
  2809. package/src/scene/flattenInstancedObject.ts +0 -8
  2810. package/src/scene/flattenRigidParts.ts +8 -15
  2811. package/src/scene/formationCycle/index.ts +8 -1
  2812. package/src/scene/formationCycleCadence.ts +3 -11
  2813. package/src/scene/formationCycleGait.ts +0 -8
  2814. package/src/scene/formationCycleOf.ts +8 -15
  2815. package/src/scene/formationCyclePosition.ts +0 -8
  2816. package/src/scene/formationCycleStride.ts +4 -12
  2817. package/src/scene/formationGeometry/index.ts +4 -1
  2818. package/src/scene/formationSpacingOffset.ts +0 -8
  2819. package/src/scene/guardAutoMovieRenderModeRetirement.ts +27 -20
  2820. package/src/scene/guardAutoMovieSceneShadowRetirement.ts +15 -23
  2821. package/src/scene/human-polygon/AutoMovieHumanCartoon.ts +2 -21
  2822. package/src/scene/human-polygon/AutoMovieHumanPolygon.ts +25 -80
  2823. package/src/scene/human-polygon/applyHumanPolygonPose.ts +0 -15
  2824. package/src/scene/human-polygon/buildHumanCartoonFace.ts +83 -93
  2825. package/src/scene/human-polygon/buildHumanPolygon.ts +64 -54
  2826. package/src/scene/human-polygon/buildHumanPolygonModule.ts +45 -59
  2827. package/src/scene/human-polygon/buildHumanPolygonParts.ts +8 -12
  2828. package/src/scene/human-polygon/buildPolygonShotActor.ts +12 -20
  2829. package/src/scene/human-polygon/createAutoMovieHumanPolygonFigure.ts +14 -22
  2830. package/src/scene/human-polygon/createHumanPolygonPalette.ts +31 -34
  2831. package/src/scene/human-polygon/humanPolygonTopology.ts +18 -56
  2832. package/src/scene/human-polygon/mountHumanCartoonFace.ts +11 -31
  2833. package/src/scene/human-polygon/prepareHumanPolygonPresentation.ts +15 -43
  2834. package/src/scene/index.ts +19 -3
  2835. package/src/scene/inspection/AUTOMOVIE_PLACED_FRAME_TOLERANCE.ts +6 -0
  2836. package/src/scene/inspection/AUTO_MOVIE_INSPECTION_DEPTH_LEAD.ts +7 -2
  2837. package/src/scene/inspection/AUTO_MOVIE_INSPECTION_KEYS.ts +5 -2
  2838. package/src/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.ts +17 -12
  2839. package/src/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.ts +23 -15
  2840. package/src/scene/inspection/AutoMovieCollisionSource.ts +166 -0
  2841. package/src/scene/inspection/IApplyAutoMovieInspectionProps.ts +16 -12
  2842. package/src/scene/inspection/IAutoMovieInspectionDiagnosticOverlay.ts +20 -0
  2843. package/src/scene/inspection/IAutoMovieInspectionHandle.ts +37 -56
  2844. package/src/scene/inspection/IAutoMovieInspectionMarkSet.ts +10 -8
  2845. package/src/scene/inspection/IAutoMovieInspectionMeasured.ts +9 -16
  2846. package/src/scene/inspection/IAutoMovieInspectionOverlay.ts +10 -36
  2847. package/src/scene/inspection/IAutoMovieInspectionPath.ts +4 -12
  2848. package/src/scene/inspection/IAutoMoviePlacedObligation.ts +19 -0
  2849. package/src/scene/inspection/IObserveAutoMoviePlacedScene.ts +128 -0
  2850. package/src/scene/inspection/IRenderAutoMovieInspectionDiagnosticsProps.ts +23 -0
  2851. package/src/scene/inspection/ISelectAutoMoviePlacedChecks.ts +208 -0
  2852. package/src/scene/inspection/admitAutoMovieInspectionPatterns.ts +84 -0
  2853. package/src/scene/inspection/applyAutoMovieInspection.ts +90 -111
  2854. package/src/scene/inspection/applyAutoMovieInspectionSection.ts +10 -15
  2855. package/src/scene/inspection/applyAutoMovieInspectionShade.ts +24 -14
  2856. package/src/scene/inspection/autoMovieInspectionEntityPathOf.ts +98 -0
  2857. package/src/scene/inspection/autoMovieInspectionPathOf.ts +7 -10
  2858. package/src/scene/inspection/boundAutoMovieCameraSubject.ts +47 -0
  2859. package/src/scene/inspection/buildAutoMovieInspectionMarks.ts +37 -24
  2860. package/src/scene/inspection/chooseAutoMovieInspectionMarks.ts +9 -11
  2861. package/src/scene/inspection/collectAutoMovieCollisionParts.ts +212 -0
  2862. package/src/scene/inspection/colorAutoMovieInspectionObjects.ts +8 -10
  2863. package/src/scene/inspection/compareAutoMovieInspectionFindings.ts +28 -0
  2864. package/src/scene/inspection/countAutoMovieCameraOcclusionPixels.ts +76 -0
  2865. package/src/scene/inspection/createAutoMovieCollisionFinding.ts +60 -0
  2866. package/src/scene/inspection/createAutoMovieInspectionDiagnosticOverlay.ts +227 -0
  2867. package/src/scene/inspection/createAutoMovieInspectionDots.ts +27 -23
  2868. package/src/scene/inspection/createAutoMovieInspectionStrokes.ts +34 -25
  2869. package/src/scene/inspection/crossesAutoMovieFrustumPlane.ts +30 -0
  2870. package/src/scene/inspection/expandAutoMovieInspectionSweep.ts +25 -19
  2871. package/src/scene/inspection/findAutoMovieCollisionWitness.ts +454 -0
  2872. package/src/scene/inspection/focusAutoMovieInspection.ts +6 -10
  2873. package/src/scene/inspection/followAutoMovieInspectionSource.ts +6 -10
  2874. package/src/scene/inspection/formatAutoMovieInspectionCameraView.ts +17 -11
  2875. package/src/scene/inspection/formatAutoMovieInspectionRequest.ts +13 -11
  2876. package/src/scene/inspection/formatAutoMovieInspectionView.ts +9 -10
  2877. package/src/scene/inspection/index.ts +24 -1
  2878. package/src/scene/inspection/inspectAutoMovieNativePlacement.ts +122 -0
  2879. package/src/scene/inspection/isAutoMovieAffineMatrix.ts +17 -0
  2880. package/src/scene/inspection/isAutoMovieFloat32Point.ts +17 -0
  2881. package/src/scene/inspection/legendAutoMovieInspectionMarks.ts +7 -10
  2882. package/src/scene/inspection/listAutoMovieCameraSubjectMeshes.ts +79 -0
  2883. package/src/scene/inspection/listAutoMovieInspectionKindOptions.ts +21 -0
  2884. package/src/scene/inspection/listAutoMovieInspectionKinds.ts +11 -11
  2885. package/src/scene/inspection/listAutoMovieInspectionPaths.ts +13 -15
  2886. package/src/scene/inspection/markAutoMovieInspectionTrails.ts +13 -14
  2887. package/src/scene/inspection/matchAutoMovieInspectionPath.ts +16 -17
  2888. package/src/scene/inspection/measureAutoMovieCameraFrameEdge.ts +248 -0
  2889. package/src/scene/inspection/measureAutoMovieCameraFrameEdgeSurface.ts +302 -0
  2890. package/src/scene/inspection/measureAutoMovieCameraNearClip.ts +335 -0
  2891. package/src/scene/inspection/measureAutoMovieCameraOcclusionPixels.ts +394 -0
  2892. package/src/scene/inspection/measureAutoMovieInspectionBounds.ts +26 -30
  2893. package/src/scene/inspection/measureAutoMovieInspectionDefects.ts +27 -16
  2894. package/src/scene/inspection/measureAutoMovieInspectionEdges.ts +22 -16
  2895. package/src/scene/inspection/measureAutoMovieInspectionMeshes.ts +12 -12
  2896. package/src/scene/inspection/measureAutoMovieInspectionPaths.ts +11 -11
  2897. package/src/scene/inspection/measureAutoMoviePlacedObligation.ts +260 -0
  2898. package/src/scene/inspection/mergeAutoMovieInspectionLegends.ts +4 -10
  2899. package/src/scene/inspection/observeAutoMovieCameraInspection.ts +168 -0
  2900. package/src/scene/inspection/observeAutoMovieCollisionMotion.ts +482 -0
  2901. package/src/scene/inspection/observeAutoMoviePlacedCamera.ts +494 -0
  2902. package/src/scene/inspection/observeAutoMoviePlacedScene.ts +268 -0
  2903. package/src/scene/inspection/observeAutoMovieSceneCollision.ts +275 -0
  2904. package/src/scene/inspection/observeAutoMovieSweptCollision.ts +189 -0
  2905. package/src/scene/inspection/parseAutoMovieInspectionRequest.ts +80 -37
  2906. package/src/scene/inspection/parseAutoMovieInspectionView.ts +68 -47
  2907. package/src/scene/inspection/placeAutoMovieInspectionLabels.ts +13 -12
  2908. package/src/scene/inspection/planAutoMovieInspectionTrailTimes.ts +27 -22
  2909. package/src/scene/inspection/readAutoMovieCollisionCord.ts +165 -0
  2910. package/src/scene/inspection/readAutoMovieCollisionInstances.ts +269 -0
  2911. package/src/scene/inspection/readAutoMovieCollisionMesh.ts +169 -0
  2912. package/src/scene/inspection/readAutoMovieCollisionMotion.ts +181 -0
  2913. package/src/scene/inspection/readAutoMovieCollisionTopology.ts +226 -0
  2914. package/src/scene/inspection/readAutoMovieDisplayedBox.ts +249 -0
  2915. package/src/scene/inspection/readAutoMovieDrawnRanges.ts +58 -0
  2916. package/src/scene/inspection/readAutoMovieNativeRigidFrame.ts +40 -0
  2917. package/src/scene/inspection/reduceAutoMovieInspectionEpisodes.ts +269 -0
  2918. package/src/scene/inspection/renderAutoMovieCameraOcclusionMasks.ts +236 -0
  2919. package/src/scene/inspection/renderWithAutoMovieInspectionDiagnostics.ts +29 -0
  2920. package/src/scene/inspection/resolveAutoMovieCollisionHit.ts +107 -0
  2921. package/src/scene/inspection/resolveAutoMovieInspectionColors.ts +9 -10
  2922. package/src/scene/inspection/resolveAutoMovieInspectionView.ts +51 -41
  2923. package/src/scene/inspection/sameAutoMovieInspectionShotClock.ts +26 -0
  2924. package/src/scene/inspection/sampleAutoMovieCameraOcclusion.ts +265 -0
  2925. package/src/scene/inspection/sampleAutoMovieInspectionTrails.ts +37 -17
  2926. package/src/scene/inspection/selectAutoMoviePlacedChecks.ts +294 -0
  2927. package/src/scene/instanceSet/index.ts +4 -1
  2928. package/src/scene/instancedModelParts.ts +6 -11
  2929. package/src/scene/invalidateAutoMovieSceneShadowPrograms.ts +16 -15
  2930. package/src/scene/invalidateAutoMovieSkinnedPose.ts +4 -10
  2931. package/src/scene/isAutoMovieDisplayBlendWeight.ts +4 -0
  2932. package/src/scene/isAutoMovieFormationCycleMaterial.ts +18 -0
  2933. package/src/scene/mapImportedHumanoidBones.ts +4 -9
  2934. package/src/scene/maskColor.ts +3 -9
  2935. package/src/scene/matchesAutoMovieShadowTextureProfile.ts +4 -9
  2936. package/src/scene/materialOverlayShading/IMaterialOverlayShading.ts +2 -9
  2937. package/src/scene/materialOverlayShading/IMaterialOverlayShape.ts +2 -6
  2938. package/src/scene/materialOverlayShading/applyMaterialOverlays.ts +12 -11
  2939. package/src/scene/materialOverlayShading/getOverlayFlatNormal.ts +15 -18
  2940. package/src/scene/materialOverlayShading/materialOverlayFragment.ts +1 -11
  2941. package/src/scene/materialOverlayShading/materialOverlayVertex.ts +1 -11
  2942. package/src/scene/materialTextureBindings.ts +19 -18
  2943. package/src/scene/medium/AUTOMOVIE_SCENE_MEDIUM_KEY.ts +10 -0
  2944. package/src/scene/medium/AutoMovieFilmMediumPass.ts +220 -0
  2945. package/src/scene/medium/applySceneMedium.ts +33 -0
  2946. package/src/scene/medium/buildAutoMovieMediumShader.ts +223 -0
  2947. package/src/scene/medium/collectAutoMovieMediumLights.ts +203 -0
  2948. package/src/scene/medium/index.ts +2 -0
  2949. package/src/scene/medium/readAutoMovieSceneMedium.ts +13 -0
  2950. package/src/scene/mixAutoMovieStraightAlpha.ts +45 -0
  2951. package/src/scene/morphTargetDriversOf.ts +8 -14
  2952. package/src/scene/objectTransform.ts +4 -9
  2953. package/src/scene/observeAutoMovieRendererFrame.ts +13 -13
  2954. package/src/scene/overrideAutoMovieRenderModeMaterials.ts +35 -15
  2955. package/src/scene/planAutoMovieShadowTextureTarget.ts +10 -9
  2956. package/src/scene/proceduralShading/AUTOMOVIE_PROCEDURAL_NOISE_GLSL.ts +78 -0
  2957. package/src/scene/proceduralShading/applyProceduralSurface.ts +175 -0
  2958. package/src/scene/proceduralShading/index.ts +3 -0
  2959. package/src/scene/proceduralShading/proceduralPatternGlsl.ts +66 -0
  2960. package/src/scene/propArticulation/index.ts +4 -1
  2961. package/src/scene/readAutoMovieBufferAttribute.ts +29 -0
  2962. package/src/scene/readAutoMovieCubeShadowDepth.ts +20 -16
  2963. package/src/scene/readAutoMovieDeliveryCrop.ts +5 -13
  2964. package/src/scene/readAutoMovieDisplayDestinationEncoding.ts +30 -44
  2965. package/src/scene/readAutoMovieEnvironmentColorSpace.ts +6 -9
  2966. package/src/scene/readAutoMovieMaterialTextureSources.ts +32 -52
  2967. package/src/scene/readAutoMovieRenderTextureTarget.ts +13 -11
  2968. package/src/scene/readAutoMovieShadowLightSource.ts +6 -18
  2969. package/src/scene/readAutoMovieShadowTextureTargets.ts +20 -12
  2970. package/src/scene/readAutoMovieTextureSource.ts +53 -95
  2971. package/src/scene/readAutoMovieTextureUploadFormat.ts +5 -9
  2972. package/src/scene/readAutoMovieTransmissionTextureTarget.ts +14 -26
  2973. package/src/scene/readMaterialShaderPatches.ts +18 -0
  2974. package/src/scene/regenerateFormationSlot.ts +7 -9
  2975. package/src/scene/regenerateInstanceSlot.ts +12 -10
  2976. package/src/scene/releaseViewerRenderer.ts +5 -17
  2977. package/src/scene/reliefWeightShading/RELIEF_WEIGHT_TARGET.ts +3 -2
  2978. package/src/scene/reliefWeightShading/applyReliefWeights.ts +6 -9
  2979. package/src/scene/reliefWeightShading/createReliefWeightShaderPatch.ts +7 -14
  2980. package/src/scene/reliefWeightShading/reliefWeightFragment.ts +3 -9
  2981. package/src/scene/reliefWeightShading/reliefWeightVertex.ts +3 -9
  2982. package/src/scene/renderAutoMovieFilmFrame.ts +33 -9
  2983. package/src/scene/renderAutoMovieScenePass.ts +16 -11
  2984. package/src/scene/renderCrossDissolve.ts +8 -11
  2985. package/src/scene/renderCrossDissolveFrames.ts +20 -17
  2986. package/src/scene/renderFadeToBlackFrame.ts +19 -16
  2987. package/src/scene/reportAutoMovieResourceRetirement.ts +13 -19
  2988. package/src/scene/resetAutoMovieSceneShadowTargets.ts +32 -18
  2989. package/src/scene/resolveAutoMovieFilmBeautyComposition.ts +8 -18
  2990. package/src/scene/resolveAutoMovieMaterialTexture.ts +7 -19
  2991. package/src/scene/restoreAutoMovieRenderModeOnce.ts +3 -9
  2992. package/src/scene/restoreAutoMovieRenderModeState.ts +12 -25
  2993. package/src/scene/retireAutoMovieCubeShadowDepth.ts +14 -15
  2994. package/src/scene/sampleFormationCycleMatrix.ts +7 -14
  2995. package/src/scene/selectFormationShadowPalette.ts +25 -0
  2996. package/src/scene/semanticMask/IAutoMovieSemanticMaskHandle.ts +7 -16
  2997. package/src/scene/semanticMask/SCENE_MASK_KEY.ts +2 -2
  2998. package/src/scene/semanticMask/applyAutoMovieSemanticMask.ts +27 -26
  2999. package/src/scene/semanticMask/attachAutoMovieSemanticMask.ts +8 -9
  3000. package/src/scene/semanticMask/auditAutoMovieSemanticMaskScene.ts +11 -12
  3001. package/src/scene/semanticMask/autoMovieSemanticMaskOf.ts +6 -15
  3002. package/src/scene/semanticMask/maskRoots.ts +5 -9
  3003. package/src/scene/semanticMask/nearest.ts +3 -9
  3004. package/src/scene/semanticMask/unresolvedOf.ts +4 -9
  3005. package/src/scene/slotMatrix.ts +4 -9
  3006. package/src/scene/softPropCordSurface.ts +9 -21
  3007. package/src/scene/subjectViewpoint/AutoMovieViewerSubjectKind.ts +2 -6
  3008. package/src/scene/subjectViewpoint/IAutoMovieViewerSubject.ts +8 -14
  3009. package/src/scene/subjectViewpoint/IAutoMovieViewerSubjectBounds.ts +5 -12
  3010. package/src/scene/subjectViewpoint/IAutoMovieViewerSubjectLens.ts +7 -10
  3011. package/src/scene/subjectViewpoint/IAutoMovieViewerSubjectPose.ts +8 -21
  3012. package/src/scene/subjectViewpoint/IAutoMovieViewerSubjectView.ts +14 -16
  3013. package/src/scene/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.ts +14 -36
  3014. package/src/scene/subjectViewpoint/IAutoMovieViewerTurntableOptions.ts +8 -13
  3015. package/src/scene/subjectViewpoint/IAutoMovieViewerViewpoint.ts +10 -12
  3016. package/src/scene/subjectViewpoint/applyAutoMovieViewerSubjectPose.ts +4 -9
  3017. package/src/scene/subjectViewpoint/autoMovieViewerNamedViewpoints.ts +18 -22
  3018. package/src/scene/subjectViewpoint/autoMovieViewerPoseFromHeading.ts +4 -9
  3019. package/src/scene/subjectViewpoint/autoMovieViewerSubjectKey.ts +3 -9
  3020. package/src/scene/subjectViewpoint/autoMovieViewerTurntableViewpoints.ts +5 -13
  3021. package/src/scene/subjectViewpoint/captureAutoMovieViewerSubjectView.ts +4 -9
  3022. package/src/scene/subjectViewpoint/frameAutoMovieViewerSubject.ts +9 -10
  3023. package/src/scene/subjectViewpoint/parseAutoMovieViewerSubjectKey.ts +13 -17
  3024. package/src/scene/subsurfaceShading/SUBSURFACE_TARGET.ts +6 -2
  3025. package/src/scene/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.ts +4 -1
  3026. package/src/scene/subsurfaceShading/applySubsurfaceShading.ts +7 -10
  3027. package/src/scene/subsurfaceShading/getSubsurfaceTexture.ts +13 -17
  3028. package/src/scene/subsurfaceShading/subsurfaceFragment.ts +4 -9
  3029. package/src/scene/subsurfaceShading/subsurfacePhysicalChunk.ts +5 -10
  3030. package/src/scene/subsurfaceShading/subsurfaceTable.ts +4 -9
  3031. package/src/scene/surfaceGraphic/AUTOMOVIE_SURFACE_GRAPHIC_KEY.ts +9 -0
  3032. package/src/scene/surfaceGraphic/IAutoMovieSurfaceGraphicsObject.ts +56 -0
  3033. package/src/scene/surfaceGraphic/IPrepareAutoMovieSurfaceGraphicsProps.ts +45 -0
  3034. package/src/scene/surfaceGraphic/applyAutoMovieGraphicsMode.ts +87 -0
  3035. package/src/scene/surfaceGraphic/buildAutoMovieSurfaceGraphicKey.ts +312 -0
  3036. package/src/scene/surfaceGraphic/clipAutoMovieSurfaceGraphicGeometry.ts +137 -0
  3037. package/src/scene/surfaceGraphic/createAutoMovieSurfaceGraphicMaterial.ts +44 -0
  3038. package/src/scene/surfaceGraphic/createAutoMovieSurfaceGraphicQuad.ts +58 -0
  3039. package/src/scene/surfaceGraphic/createAutoMovieSurfaceGraphicText.ts +60 -0
  3040. package/src/scene/surfaceGraphic/createAutoMovieSystemTextTexture.ts +117 -0
  3041. package/src/scene/surfaceGraphic/hideAutoMovieSurfaceGraphics.ts +29 -0
  3042. package/src/scene/surfaceGraphic/index.ts +5 -0
  3043. package/src/scene/surfaceGraphic/prepareAutoMovieSurfaceGraphics.ts +420 -0
  3044. package/src/scene/textureBindingAsset.ts +3 -9
  3045. package/src/scene/updateAutoMovieComparisonCamera.ts +17 -26
  3046. package/src/scene/vector.ts +2 -9
  3047. package/src/scene/wearShading/applyMaterialWear.ts +253 -0
  3048. package/src/scene/wearShading/index.ts +1 -0
  3049. package/src/screenplay/renderScreenplay.ts +2 -10
  3050. package/src/screenplay/screenplaySceneSlug.ts +0 -8
  3051. package/src/shotBeat.ts +0 -8
  3052. package/src/sliceCaptionSidecar.ts +13 -12
  3053. package/src/typography/decodeAutoMovieFontSources.ts +101 -0
  3054. package/src/typography/index.ts +1 -0
  3055. package/lib/audio/mixAutoMovieAudioPcm.d.ts +0 -27
  3056. package/lib/audio/mixAutoMovieAudioPcm.js +0 -86
  3057. package/lib/audio/mixAutoMovieAudioPcm.js.map +0 -1
  3058. package/lib/audio/mixAutoMovieAudioPcm.mjs +0 -77
  3059. package/lib/audio/mixAutoMovieAudioPcm.mjs.map +0 -1
  3060. package/lib/cache/createAutoMovieHttpArtifactStore.d.ts +0 -28
  3061. package/lib/cache/createAutoMovieHttpArtifactStore.js +0 -66
  3062. package/lib/cache/createAutoMovieHttpArtifactStore.js.map +0 -1
  3063. package/lib/cache/createAutoMovieHttpArtifactStore.mjs +0 -65
  3064. package/lib/cache/createAutoMovieHttpArtifactStore.mjs.map +0 -1
  3065. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.d.ts +0 -3
  3066. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.js +0 -19
  3067. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.js.map +0 -1
  3068. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.mjs +0 -19
  3069. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.mjs.map +0 -1
  3070. package/lib/delivery/assertProductionOpusProfile.d.ts +0 -23
  3071. package/lib/delivery/assertProductionOpusProfile.js +0 -160
  3072. package/lib/delivery/assertProductionOpusProfile.js.map +0 -1
  3073. package/lib/delivery/assertProductionOpusProfile.mjs +0 -175
  3074. package/lib/delivery/assertProductionOpusProfile.mjs.map +0 -1
  3075. package/lib/delivery/productionOpusDescription.d.ts +0 -37
  3076. package/lib/delivery/productionOpusDescription.js +0 -125
  3077. package/lib/delivery/productionOpusDescription.js.map +0 -1
  3078. package/lib/delivery/productionOpusDescription.mjs +0 -102
  3079. package/lib/delivery/productionOpusDescription.mjs.map +0 -1
  3080. package/lib/scene/AutoMovieDissolveCompositorState.d.ts +0 -4
  3081. package/lib/scene/AutoMovieDissolveCompositorState.js +0 -6
  3082. package/lib/scene/AutoMovieDissolveCompositorState.js.map +0 -1
  3083. package/lib/scene/AutoMovieDissolveCompositorState.mjs +0 -6
  3084. package/lib/scene/AutoMovieDissolveCompositorState.mjs.map +0 -1
  3085. package/lib/scene/AutoMovieFadeCompositorState.d.ts +0 -4
  3086. package/lib/scene/AutoMovieFadeCompositorState.js +0 -6
  3087. package/lib/scene/AutoMovieFadeCompositorState.js.map +0 -1
  3088. package/lib/scene/AutoMovieFadeCompositorState.mjs +0 -6
  3089. package/lib/scene/AutoMovieFadeCompositorState.mjs.map +0 -1
  3090. package/lib/scene/AutoMovieTextureCacheAllocationAuthority.d.ts +0 -217
  3091. package/lib/scene/AutoMovieTextureCacheAllocationAuthority.js +0 -421
  3092. package/lib/scene/AutoMovieTextureCacheAllocationAuthority.js.map +0 -1
  3093. package/lib/scene/AutoMovieTextureCacheAllocationAuthority.mjs +0 -381
  3094. package/lib/scene/AutoMovieTextureCacheAllocationAuthority.mjs.map +0 -1
  3095. package/lib/scene/disposeCrossDissolve.d.ts +0 -15
  3096. package/lib/scene/disposeCrossDissolve.js +0 -26
  3097. package/lib/scene/disposeCrossDissolve.js.map +0 -1
  3098. package/lib/scene/disposeCrossDissolve.mjs +0 -24
  3099. package/lib/scene/disposeCrossDissolve.mjs.map +0 -1
  3100. package/lib/scene/disposeFadeToBlack.d.ts +0 -15
  3101. package/lib/scene/disposeFadeToBlack.js +0 -26
  3102. package/lib/scene/disposeFadeToBlack.js.map +0 -1
  3103. package/lib/scene/disposeFadeToBlack.mjs +0 -24
  3104. package/lib/scene/disposeFadeToBlack.mjs.map +0 -1
  3105. package/lib/scene/readAutoMovieFilmDisplayTextureResidency.d.ts +0 -16
  3106. package/lib/scene/readAutoMovieFilmDisplayTextureResidency.js +0 -33
  3107. package/lib/scene/readAutoMovieFilmDisplayTextureResidency.js.map +0 -1
  3108. package/lib/scene/readAutoMovieFilmDisplayTextureResidency.mjs +0 -33
  3109. package/lib/scene/readAutoMovieFilmDisplayTextureResidency.mjs.map +0 -1
  3110. package/src/audio/mixAutoMovieAudioPcm.ts +0 -103
  3111. package/src/cache/createAutoMovieHttpArtifactStore.ts +0 -84
  3112. package/src/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.ts +0 -18
  3113. package/src/delivery/assertProductionOpusProfile.ts +0 -179
  3114. package/src/delivery/productionOpusDescription.ts +0 -167
  3115. package/src/scene/AutoMovieDissolveCompositorState.ts +0 -9
  3116. package/src/scene/AutoMovieFadeCompositorState.ts +0 -9
  3117. package/src/scene/AutoMovieTextureCacheAllocationAuthority.ts +0 -516
  3118. package/src/scene/disposeCrossDissolve.ts +0 -25
  3119. package/src/scene/disposeFadeToBlack.ts +0 -25
  3120. package/src/scene/readAutoMovieFilmDisplayTextureResidency.ts +0 -43
@@ -6,7 +6,10 @@ const crcAutoMoviePngChunk_js_1 = require("./crcAutoMoviePngChunk.js");
6
6
  const SIGNATURE = [
7
7
  0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
8
8
  ];
9
- /** Samples per pixel of each PNG colour type, with the bit depths the specification allows for it. */
9
+ /**
10
+ * Samples per pixel of each PNG colour type, with the bit depths the
11
+ * specification allows for it.
12
+ */
10
13
  const COLOUR_TYPES = {
11
14
  0: { channels: 1, depths: [1, 2, 4, 8, 16] },
12
15
  2: { channels: 3, depths: [8, 16] },
@@ -15,19 +18,24 @@ const COLOUR_TYPES = {
15
18
  6: { channels: 4, depths: [8, 16] },
16
19
  };
17
20
  /**
18
- * Decode a PNG file into the picture record the sheet, the comparison and the content hash take: 8-bit RGBA rows from the top.
19
- *
20
- * It reads every non-interlaced PNG the specification allows: grey, RGB, palette, grey with alpha and RGBA, at every bit depth of each, so a still this package encoded and a still FFmpeg wrote read alike. A sample of 16 bits keeps its high byte and a sample under 8 bits is scaled to the full byte. Alpha comes from an alpha channel when the file has one and is 255 otherwise; transparency chunks are ignored, because the picture record is opaque and no consumer reads alpha. The zlib stream is inflated by `DecompressionStream("deflate")`, a global of Node 22 and every current browser, so the call is asynchronous and imports no Node built-in.
21
+ * Decode a PNG file into the picture record the sheet, the comparison and the
22
+ * content hash take: 8-bit RGBA rows from the top.
21
23
  *
22
- * It rejects a file that is not a PNG, a chunk whose CRC disagrees, a missing header, palette or image data, an interlaced file, an unknown colour type, bit depth, compression, filter method or row filter, and image data that does not inflate to the size the header states, each with the reason; the caller adds the file's name.
24
+ * It reads every non-interlaced PNG the specification allows: grey, RGB,
25
+ * palette, grey with alpha and RGBA, at every bit depth of each, so a still
26
+ * this package encoded and a still FFmpeg wrote read alike. A sample of 16 bits
27
+ * keeps its high byte and a sample under 8 bits is scaled to the full byte.
28
+ * Alpha comes from an alpha channel when the file has one and is 255 otherwise;
29
+ * transparency chunks are ignored, because the picture record is opaque and no
30
+ * consumer reads alpha. The zlib stream is inflated by
31
+ * `DecompressionStream("deflate")`, a global of Node 22 and every current
32
+ * browser, so the call is asynchronous and imports no Node built-in.
23
33
  *
24
- * @evidence contracts/development/common.md#meaningful-documentation States the output layout, the colour types and depths read, how samples become bytes, what alpha holds and why transparency is ignored, where inflation comes from, and every refusal.
25
- * @evidence contracts/development/implementation.md#principled-implementation Chunk walking, CRC checking, the five row filters with the Paeth predictor and sample unpacking follow the PNG specification (sections 5, 7, 9 and 11); the Compression Streams `deflate` format is the zlib stream an IDAT sequence holds.
26
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Walk the chunks, inflate the joined image data, undo each row's filter, then expand each pixel to RGBA.
27
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Interlaced files are refused rather than read as if they were not; a corrupt or truncated file throws instead of yielding a partial picture.
28
- * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the file and the pixel count: one CRC pass per chunk, one inflation, one unfiltering pass and one expansion pass, reusing the previous row in place.
29
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The CRC table is shared with the encoder.
30
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds the joined image data, the inflated rows and the returned pixels until the call ends; only the returned picture outlives it.
34
+ * It rejects a file that is not a PNG, a chunk whose CRC disagrees, a missing
35
+ * header, palette or image data, an interlaced file, an unknown colour type,
36
+ * bit depth, compression, filter method or row filter, and image data that does
37
+ * not inflate to the size the header states, each with the reason; the caller
38
+ * adds the file's name.
31
39
  */
32
40
  async function decodeAutoMovieRasterPng(bytes) {
33
41
  if (bytes.length < 8 ||
@@ -168,7 +176,10 @@ async function decodeAutoMovieRasterPng(bytes) {
168
176
  }
169
177
  return { width, height, pixels };
170
178
  }
171
- /** The Paeth predictor of the PNG specification, section 9.4: the neighbour nearest to left + up - corner. */
179
+ /**
180
+ * The Paeth predictor of the PNG specification, section 9.4: the neighbour
181
+ * nearest to left + up - corner.
182
+ */
172
183
  function paeth(left, up, corner) {
173
184
  const estimate = left + up - corner;
174
185
  const toLeft = Math.abs(estimate - left);
@@ -1 +1 @@
1
- {"version":3,"file":"decodeAutoMovieRasterPng.js","sourceRoot":"","sources":["../../src/picture/decodeAutoMovieRasterPng.ts"],"names":[],"mappings":";;;AAEA,uEAAiE;AAEjE,kDAAkD;AAClD,MAAM,SAAS,GAAsB;IACnC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;CAC/C,CAAC;AAEF,sGAAsG;AACtG,MAAM,YAAY,GAEd;IACF,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE;IAC5C,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE;IACnC,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;IACxC,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE;IACnC,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE;CACpC,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACI,KAAK,mCACV,KAAiB;IAEjB,IACE,KAAK,CAAC,MAAM,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,EAAE,MAAM,EAAE,CAAC;AACnC,CAAC;AAED;;;GAGG;AACH,SAAS,KAAK,CAAC,IAAY,EAAE,EAAU,EAAE,MAAc;IACrD,MAAM,QAAQ,GAAW,IAAI,GAAG,EAAE,GAAG,MAAM,CAAC;IAC5C,MAAM,MAAM,GAAW,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC;IACjD,MAAM,IAAI,GAAW,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,EAAE,CAAC,CAAC;IAC7C,MAAM,QAAQ,GAAW,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,MAAM,CAAC,CAAC;IACrD,IAAI,MAAM,IAAI,IAAI,IAAI,MAAM,IAAI,QAAQ;QAAE,OAAO,IAAI,CAAC;IACtD,IAAI,IAAI,IAAI,QAAQ;QAAE,OAAO,EAAE,CAAC;IAChC,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -11,7 +11,10 @@ const SIGNATURE = [
11
11
  26,
12
12
  10
13
13
  ];
14
- /** Samples per pixel of each PNG colour type, with the bit depths the specification allows for it. */
14
+ /**
15
+ * Samples per pixel of each PNG colour type, with the bit depths the
16
+ * specification allows for it.
17
+ */
15
18
  const COLOUR_TYPES = {
16
19
  0: {
17
20
  channels: 1,
@@ -46,19 +49,24 @@ const COLOUR_TYPES = {
46
49
  }
47
50
  };
48
51
  /**
49
- * Decode a PNG file into the picture record the sheet, the comparison and the content hash take: 8-bit RGBA rows from the top.
50
- *
51
- * It reads every non-interlaced PNG the specification allows: grey, RGB, palette, grey with alpha and RGBA, at every bit depth of each, so a still this package encoded and a still FFmpeg wrote read alike. A sample of 16 bits keeps its high byte and a sample under 8 bits is scaled to the full byte. Alpha comes from an alpha channel when the file has one and is 255 otherwise; transparency chunks are ignored, because the picture record is opaque and no consumer reads alpha. The zlib stream is inflated by `DecompressionStream("deflate")`, a global of Node 22 and every current browser, so the call is asynchronous and imports no Node built-in.
52
+ * Decode a PNG file into the picture record the sheet, the comparison and the
53
+ * content hash take: 8-bit RGBA rows from the top.
52
54
  *
53
- * It rejects a file that is not a PNG, a chunk whose CRC disagrees, a missing header, palette or image data, an interlaced file, an unknown colour type, bit depth, compression, filter method or row filter, and image data that does not inflate to the size the header states, each with the reason; the caller adds the file's name.
55
+ * It reads every non-interlaced PNG the specification allows: grey, RGB,
56
+ * palette, grey with alpha and RGBA, at every bit depth of each, so a still
57
+ * this package encoded and a still FFmpeg wrote read alike. A sample of 16 bits
58
+ * keeps its high byte and a sample under 8 bits is scaled to the full byte.
59
+ * Alpha comes from an alpha channel when the file has one and is 255 otherwise;
60
+ * transparency chunks are ignored, because the picture record is opaque and no
61
+ * consumer reads alpha. The zlib stream is inflated by
62
+ * `DecompressionStream("deflate")`, a global of Node 22 and every current
63
+ * browser, so the call is asynchronous and imports no Node built-in.
54
64
  *
55
- * @evidence contracts/development/common.md#meaningful-documentation States the output layout, the colour types and depths read, how samples become bytes, what alpha holds and why transparency is ignored, where inflation comes from, and every refusal.
56
- * @evidence contracts/development/implementation.md#principled-implementation Chunk walking, CRC checking, the five row filters with the Paeth predictor and sample unpacking follow the PNG specification (sections 5, 7, 9 and 11); the Compression Streams `deflate` format is the zlib stream an IDAT sequence holds.
57
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Walk the chunks, inflate the joined image data, undo each row's filter, then expand each pixel to RGBA.
58
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Interlaced files are refused rather than read as if they were not; a corrupt or truncated file throws instead of yielding a partial picture.
59
- * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the file and the pixel count: one CRC pass per chunk, one inflation, one unfiltering pass and one expansion pass, reusing the previous row in place.
60
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The CRC table is shared with the encoder.
61
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds the joined image data, the inflated rows and the returned pixels until the call ends; only the returned picture outlives it.
65
+ * It rejects a file that is not a PNG, a chunk whose CRC disagrees, a missing
66
+ * header, palette or image data, an interlaced file, an unknown colour type,
67
+ * bit depth, compression, filter method or row filter, and image data that does
68
+ * not inflate to the size the header states, each with the reason; the caller
69
+ * adds the file's name.
62
70
  */
63
71
  async function decodeAutoMovieRasterPng(bytes) {
64
72
  if (bytes.length < 8 || !SIGNATURE.every((byte, index) => bytes[index] === byte)) throw new Error("The bytes are not a PNG file");
@@ -175,7 +183,10 @@ async function decodeAutoMovieRasterPng(bytes) {
175
183
  pixels
176
184
  };
177
185
  }
178
- /** The Paeth predictor of the PNG specification, section 9.4: the neighbour nearest to left + up - corner. */
186
+ /**
187
+ * The Paeth predictor of the PNG specification, section 9.4: the neighbour
188
+ * nearest to left + up - corner.
189
+ */
179
190
  function paeth(left, up, corner) {
180
191
  const estimate = left + up - corner;
181
192
  const toLeft = Math.abs(estimate - left);
@@ -1 +1 @@
1
- {"version":3,"file":"decodeAutoMovieRasterPng.mjs","names":[],"sources":["../../src/picture/decodeAutoMovieRasterPng.ts"],"sourcesContent":["import type { IAutoMovieRasterImage } from \"@automovie/interface\";\n\nimport { crcAutoMoviePngChunk } from \"./crcAutoMoviePngChunk.js\";\n\n/** The eight bytes every PNG file starts with. */\nconst SIGNATURE: readonly number[] = [\n 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,\n];\n\n/** Samples per pixel of each PNG colour type, with the bit depths the specification allows for it. */\nconst COLOUR_TYPES: Readonly<\n Record<number, { channels: number; depths: readonly number[] }>\n> = {\n 0: { channels: 1, depths: [1, 2, 4, 8, 16] },\n 2: { channels: 3, depths: [8, 16] },\n 3: { channels: 1, depths: [1, 2, 4, 8] },\n 4: { channels: 2, depths: [8, 16] },\n 6: { channels: 4, depths: [8, 16] },\n};\n\n/**\n * Decode a PNG file into the picture record the sheet, the comparison and the content hash take: 8-bit RGBA rows from the top.\n *\n * It reads every non-interlaced PNG the specification allows: grey, RGB, palette, grey with alpha and RGBA, at every bit depth of each, so a still this package encoded and a still FFmpeg wrote read alike. A sample of 16 bits keeps its high byte and a sample under 8 bits is scaled to the full byte. Alpha comes from an alpha channel when the file has one and is 255 otherwise; transparency chunks are ignored, because the picture record is opaque and no consumer reads alpha. The zlib stream is inflated by `DecompressionStream(\"deflate\")`, a global of Node 22 and every current browser, so the call is asynchronous and imports no Node built-in.\n *\n * It rejects a file that is not a PNG, a chunk whose CRC disagrees, a missing header, palette or image data, an interlaced file, an unknown colour type, bit depth, compression, filter method or row filter, and image data that does not inflate to the size the header states, each with the reason; the caller adds the file's name.\n *\n * @evidence contracts/development/common.md#meaningful-documentation States the output layout, the colour types and depths read, how samples become bytes, what alpha holds and why transparency is ignored, where inflation comes from, and every refusal.\n * @evidence contracts/development/implementation.md#principled-implementation Chunk walking, CRC checking, the five row filters with the Paeth predictor and sample unpacking follow the PNG specification (sections 5, 7, 9 and 11); the Compression Streams `deflate` format is the zlib stream an IDAT sequence holds.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure Walk the chunks, inflate the joined image data, undo each row's filter, then expand each pixel to RGBA.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Interlaced files are refused rather than read as if they were not; a corrupt or truncated file throws instead of yielding a partial picture.\n * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the file and the pixel count: one CRC pass per chunk, one inflation, one unfiltering pass and one expansion pass, reusing the previous row in place.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The CRC table is shared with the encoder.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds the joined image data, the inflated rows and the returned pixels until the call ends; only the returned picture outlives it.\n */\nexport async function decodeAutoMovieRasterPng(\n bytes: Uint8Array,\n): Promise<IAutoMovieRasterImage> {\n if (\n bytes.length < 8 ||\n !SIGNATURE.every(\n (byte: number, index: number): boolean => bytes[index] === byte,\n )\n )\n throw new Error(\"The bytes are not a PNG file\");\n\n // Walk the chunks, checking each CRC.\n const view: DataView = new DataView(\n bytes.buffer,\n bytes.byteOffset,\n bytes.byteLength,\n );\n let header: Uint8Array | null = null;\n let palette: Uint8Array | null = null;\n const data: Uint8Array[] = [];\n let ended: boolean = false;\n for (let at: number = 8; at < bytes.length && !ended; ) {\n if (at + 12 > bytes.length) throw new Error(\"A PNG chunk is truncated\");\n const length: number = view.getUint32(at);\n if (at + 12 + length > bytes.length)\n throw new Error(\"A PNG chunk is truncated\");\n const type: string = String.fromCharCode(...bytes.subarray(at + 4, at + 8));\n const body: Uint8Array = bytes.subarray(at + 8, at + 8 + length);\n if (\n crcAutoMoviePngChunk(bytes.subarray(at + 4, at + 8 + length)) !==\n view.getUint32(at + 8 + length)\n )\n throw new Error(`The PNG chunk ${type} fails its CRC`);\n if (type === \"IHDR\") header = body;\n else if (type === \"PLTE\") palette = body;\n else if (type === \"IDAT\") data.push(body);\n else if (type === \"IEND\") ended = true;\n at += 12 + length;\n }\n if (header === null || header.length !== 13)\n throw new Error(\"The PNG has no valid IHDR chunk\");\n if (data.length === 0) throw new Error(\"The PNG has no image data\");\n\n // Header fields.\n const fields: DataView = new DataView(\n header.buffer,\n header.byteOffset,\n header.byteLength,\n );\n const width: number = fields.getUint32(0);\n const height: number = fields.getUint32(4);\n const depth: number = header[8]!;\n const colour: number = header[9]!;\n const form: { channels: number; depths: readonly number[] } | undefined =\n COLOUR_TYPES[colour];\n if (width === 0 || height === 0)\n throw new Error(`The PNG's size ${width}x${height} is empty`);\n if (form === undefined)\n throw new Error(`PNG colour type ${colour} is unknown`);\n if (!form.depths.includes(depth))\n throw new Error(`PNG colour type ${colour} has no bit depth ${depth}`);\n if (header[10] !== 0 || header[11] !== 0)\n throw new Error(\"The PNG's compression or filter method is unknown\");\n if (header[12] !== 0) throw new Error(\"Interlaced PNG files are not read\");\n if (colour === 3 && (palette === null || palette.length % 3 !== 0))\n throw new Error(\"The palette PNG has no valid PLTE chunk\");\n\n // Inflate the joined image data.\n const joined: Uint8Array<ArrayBuffer> = new Uint8Array(\n data.reduce(\n (sum: number, part: Uint8Array): number => sum + part.length,\n 0,\n ),\n );\n let offset: number = 0;\n for (const part of data) {\n joined.set(part, offset);\n offset += part.length;\n }\n let rows: Uint8Array;\n try {\n rows = new Uint8Array(\n await new Response(\n new Blob([joined])\n .stream()\n .pipeThrough(new DecompressionStream(\"deflate\")),\n ).arrayBuffer(),\n );\n } catch (error) {\n throw new Error(\n `The PNG's image data does not inflate: ${error instanceof Error ? error.message : String(error)}`,\n { cause: error },\n );\n }\n const stride: number = Math.ceil((width * form.channels * depth) / 8);\n if (rows.length !== (stride + 1) * height)\n throw new Error(\n `The PNG's image data holds ${rows.length} bytes where its header asks for ${(stride + 1) * height}`,\n );\n\n // Undo each row's filter in place; `step` is the bytes of one whole pixel, at least one.\n const step: number = Math.max(1, (form.channels * depth) / 8);\n for (let y: number = 0; y < height; y++) {\n const start: number = y * (stride + 1) + 1;\n const filter: number = rows[start - 1]!;\n const above: number = start - (stride + 1);\n for (let x: number = 0; x < stride; x++) {\n const left: number = x >= step ? rows[start + x - step]! : 0;\n const up: number = y > 0 ? rows[above + x]! : 0;\n const corner: number = y > 0 && x >= step ? rows[above + x - step]! : 0;\n let predicted: number;\n if (filter === 0) predicted = 0;\n else if (filter === 1) predicted = left;\n else if (filter === 2) predicted = up;\n else if (filter === 3) predicted = Math.floor((left + up) / 2);\n else if (filter === 4) predicted = paeth(left, up, corner);\n else throw new Error(`PNG row ${y} has an unknown filter ${filter}`);\n rows[start + x] = (rows[start + x]! + predicted) & 0xff;\n }\n }\n\n // Expand every pixel to 8-bit RGBA.\n const colours: Uint8Array = palette ?? new Uint8Array(0);\n const pixels: Uint8ClampedArray = new Uint8ClampedArray(width * height * 4);\n const top: number = (1 << Math.min(depth, 8)) - 1;\n for (let y: number = 0; y < height; y++) {\n const start: number = y * (stride + 1) + 1;\n const sample: (index: number) => number = (index: number): number => {\n if (depth === 16) return rows[start + index * 2]!;\n if (depth === 8) return rows[start + index]!;\n const bit: number = index * depth;\n return (rows[start + (bit >> 3)]! >> (8 - depth - (bit & 7))) & top;\n };\n for (let x: number = 0; x < width; x++) {\n const target: number = (y * width + x) * 4;\n const first: number = x * form.channels;\n if (colour === 3) {\n const entry: number = sample(first) * 3;\n if (entry + 3 > colours.length)\n throw new Error(`PNG palette index ${entry / 3} is out of range`);\n pixels.set(\n [colours[entry]!, colours[entry + 1]!, colours[entry + 2]!, 255],\n target,\n );\n continue;\n }\n const scale: (value: number) => number = (value: number): number =>\n depth < 8 ? Math.round((value * 255) / top) : value;\n if (form.channels <= 2) {\n const grey: number = scale(sample(first));\n pixels.set(\n [grey, grey, grey, form.channels === 2 ? sample(first + 1) : 255],\n target,\n );\n } else\n pixels.set(\n [\n sample(first),\n sample(first + 1),\n sample(first + 2),\n form.channels === 4 ? sample(first + 3) : 255,\n ],\n target,\n );\n }\n }\n return { width, height, pixels };\n}\n\n/** The Paeth predictor of the PNG specification, section 9.4: the neighbour nearest to left + up - corner. */\nfunction paeth(left: number, up: number, corner: number): number {\n const estimate: number = left + up - corner;\n const toLeft: number = Math.abs(estimate - left);\n const toUp: number = Math.abs(estimate - up);\n const toCorner: number = Math.abs(estimate - corner);\n if (toLeft <= toUp && toLeft <= toCorner) return left;\n if (toUp <= toCorner) return up;\n return corner;\n}\n"],"mappings":";;;AAKA,MAAM,YAA+B;CACnC;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;AAC5C;;AAGA,MAAM,eAEF;CACF,GAAG;EAAE,UAAU;EAAG,QAAQ;GAAC;GAAG;GAAG;GAAG;GAAG;EAAE;CAAE;CAC3C,GAAG;EAAE,UAAU;EAAG,QAAQ,CAAC,GAAG,EAAE;CAAE;CAClC,GAAG;EAAE,UAAU;EAAG,QAAQ;GAAC;GAAG;GAAG;GAAG;EAAC;CAAE;CACvC,GAAG;EAAE,UAAU;EAAG,QAAQ,CAAC,GAAG,EAAE;CAAE;CAClC,GAAG;EAAE,UAAU;EAAG,QAAQ,CAAC,GAAG,EAAE;CAAE;AACpC;;;;;;;;;;;;;;;;AAiBA,eAAsB,yBACpB,OACgC;CAChC,IACE,MAAM,SAAS,KACf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AQ,KAAK;GACzC,MAAM,QAAgB,IAAI,KAAK;GAC/B,IAAI,WAAW,GAAG;IAChB,MAAM,QAAgB,OAAO,KAAK,IAAI;IACtC,IAAI,QAAQ,IAAI,QAAQ,QACtB,MAAM,IAAI,MAAM,qBAAqB,QAAQ,EAAE,iBAAiB;IAClE,OAAO,IACL;KAAC,QAAQ;KAAS,QAAQ,QAAQ;KAAK,QAAQ,QAAQ;KAAK;IAAG,GAC/D,MACF;IACA;GACF;GACA,MAAM,SAAoC,UACxC,QAAQ,IAAI,KAAK,MAAO,QAAQ,MAAO,GAAG,IAAI;GAChD,IAAI,KAAK,YAAY,GAAG;IACtB,MAAM,OAAe,MAAM,OAAO,KAAK,CAAC;IACxC,OAAO,IACL;KAAC;KAAM;KAAM;KAAM,KAAK,aAAa,IAAI,OAAO,QAAQ,CAAC,IAAI;IAAG,GAChE,MACF;GACF,OACE,OAAO,IACL;IACE,OAAO,KAAK;IACZ,OAAO,QAAQ,CAAC;IAChB,OAAO,QAAQ,CAAC;IAChB,KAAK,aAAa,IAAI,OAAO,QAAQ,CAAC,IAAI;GAC5C,GACA,MACF;EACJ;CACF;CACA,OAAO;EAAE;EAAO;EAAQ;CAAO;AACjC;;AAGA,SAAS,MAAM,MAAc,IAAY,QAAwB;CAC/D,MAAM,WAAmB,OAAO,KAAK;CACrC,MAAM,SAAiB,KAAK,IAAI,WAAW,IAAI;CAC/C,MAAM,OAAe,KAAK,IAAI,WAAW,EAAE;CAC3C,MAAM,WAAmB,KAAK,IAAI,WAAW,MAAM;CACnD,IAAI,UAAU,QAAQ,UAAU,UAAU,OAAO;CACjD,IAAI,QAAQ,UAAU,OAAO;CAC7B,OAAO;AACT"}
1
+ {"version":3,"file":"decodeAutoMovieRasterPng.mjs","names":[],"sources":["../../src/picture/decodeAutoMovieRasterPng.ts"],"sourcesContent":["import type { IAutoMovieRasterImage } from \"@automovie/interface\";\n\nimport { crcAutoMoviePngChunk } from \"./crcAutoMoviePngChunk.js\";\n\n/** The eight bytes every PNG file starts with. */\nconst SIGNATURE: readonly number[] = [\n 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,\n];\n\n/**\n * Samples per pixel of each PNG colour type, with the bit depths the\n * specification allows for it.\n */\nconst COLOUR_TYPES: Readonly<\n Record<number, { channels: number; depths: readonly number[] }>\n> = {\n 0: { channels: 1, depths: [1, 2, 4, 8, 16] },\n 2: { channels: 3, depths: [8, 16] },\n 3: { channels: 1, depths: [1, 2, 4, 8] },\n 4: { channels: 2, depths: [8, 16] },\n 6: { channels: 4, depths: [8, 16] },\n};\n\n/**\n * Decode a PNG file into the picture record the sheet, the comparison and the\n * content hash take: 8-bit RGBA rows from the top.\n *\n * It reads every non-interlaced PNG the specification allows: grey, RGB,\n * palette, grey with alpha and RGBA, at every bit depth of each, so a still\n * this package encoded and a still FFmpeg wrote read alike. A sample of 16 bits\n * keeps its high byte and a sample under 8 bits is scaled to the full byte.\n * Alpha comes from an alpha channel when the file has one and is 255 otherwise;\n * transparency chunks are ignored, because the picture record is opaque and no\n * consumer reads alpha. The zlib stream is inflated by\n * `DecompressionStream(\"deflate\")`, a global of Node 22 and every current\n * browser, so the call is asynchronous and imports no Node built-in.\n *\n * It rejects a file that is not a PNG, a chunk whose CRC disagrees, a missing\n * header, palette or image data, an interlaced file, an unknown colour type,\n * bit depth, compression, filter method or row filter, and image data that does\n * not inflate to the size the header states, each with the reason; the caller\n * adds the file's name.\n */\nexport async function decodeAutoMovieRasterPng(\n bytes: Uint8Array,\n): Promise<IAutoMovieRasterImage> {\n if (\n bytes.length < 8 ||\n !SIGNATURE.every(\n (byte: number, index: number): boolean => bytes[index] === byte,\n )\n )\n throw new Error(\"The bytes are not a PNG file\");\n\n // Walk the chunks, checking each CRC.\n const view: DataView = new DataView(\n bytes.buffer,\n bytes.byteOffset,\n bytes.byteLength,\n );\n let header: Uint8Array | null = null;\n let palette: Uint8Array | null = null;\n const data: Uint8Array[] = [];\n let ended: boolean = false;\n for (let at: number = 8; at < bytes.length && !ended; ) {\n if (at + 12 > bytes.length) throw new Error(\"A PNG chunk is truncated\");\n const length: number = view.getUint32(at);\n if (at + 12 + length > bytes.length)\n throw new Error(\"A PNG chunk is truncated\");\n const type: string = String.fromCharCode(...bytes.subarray(at + 4, at + 8));\n const body: Uint8Array = bytes.subarray(at + 8, at + 8 + length);\n if (\n crcAutoMoviePngChunk(bytes.subarray(at + 4, at + 8 + length)) !==\n view.getUint32(at + 8 + length)\n )\n throw new Error(`The PNG chunk ${type} fails its CRC`);\n if (type === \"IHDR\") header = body;\n else if (type === \"PLTE\") palette = body;\n else if (type === \"IDAT\") data.push(body);\n else if (type === \"IEND\") ended = true;\n at += 12 + length;\n }\n if (header === null || header.length !== 13)\n throw new Error(\"The PNG has no valid IHDR chunk\");\n if (data.length === 0) throw new Error(\"The PNG has no image data\");\n\n // Header fields.\n const fields: DataView = new DataView(\n header.buffer,\n header.byteOffset,\n header.byteLength,\n );\n const width: number = fields.getUint32(0);\n const height: number = fields.getUint32(4);\n const depth: number = header[8]!;\n const colour: number = header[9]!;\n const form: { channels: number; depths: readonly number[] } | undefined =\n COLOUR_TYPES[colour];\n if (width === 0 || height === 0)\n throw new Error(`The PNG's size ${width}x${height} is empty`);\n if (form === undefined)\n throw new Error(`PNG colour type ${colour} is unknown`);\n if (!form.depths.includes(depth))\n throw new Error(`PNG colour type ${colour} has no bit depth ${depth}`);\n if (header[10] !== 0 || header[11] !== 0)\n throw new Error(\"The PNG's compression or filter method is unknown\");\n if (header[12] !== 0) throw new Error(\"Interlaced PNG files are not read\");\n if (colour === 3 && (palette === null || palette.length % 3 !== 0))\n throw new Error(\"The palette PNG has no valid PLTE chunk\");\n\n // Inflate the joined image data.\n const joined: Uint8Array<ArrayBuffer> = new Uint8Array(\n data.reduce(\n (sum: number, part: Uint8Array): number => sum + part.length,\n 0,\n ),\n );\n let offset: number = 0;\n for (const part of data) {\n joined.set(part, offset);\n offset += part.length;\n }\n let rows: Uint8Array;\n try {\n rows = new Uint8Array(\n await new Response(\n new Blob([joined])\n .stream()\n .pipeThrough(new DecompressionStream(\"deflate\")),\n ).arrayBuffer(),\n );\n } catch (error) {\n throw new Error(\n `The PNG's image data does not inflate: ${error instanceof Error ? error.message : String(error)}`,\n { cause: error },\n );\n }\n const stride: number = Math.ceil((width * form.channels * depth) / 8);\n if (rows.length !== (stride + 1) * height)\n throw new Error(\n `The PNG's image data holds ${rows.length} bytes where its header asks for ${(stride + 1) * height}`,\n );\n\n // Undo each row's filter in place; `step` is the bytes of one whole pixel, at least one.\n const step: number = Math.max(1, (form.channels * depth) / 8);\n for (let y: number = 0; y < height; y++) {\n const start: number = y * (stride + 1) + 1;\n const filter: number = rows[start - 1]!;\n const above: number = start - (stride + 1);\n for (let x: number = 0; x < stride; x++) {\n const left: number = x >= step ? rows[start + x - step]! : 0;\n const up: number = y > 0 ? rows[above + x]! : 0;\n const corner: number = y > 0 && x >= step ? rows[above + x - step]! : 0;\n let predicted: number;\n if (filter === 0) predicted = 0;\n else if (filter === 1) predicted = left;\n else if (filter === 2) predicted = up;\n else if (filter === 3) predicted = Math.floor((left + up) / 2);\n else if (filter === 4) predicted = paeth(left, up, corner);\n else throw new Error(`PNG row ${y} has an unknown filter ${filter}`);\n rows[start + x] = (rows[start + x]! + predicted) & 0xff;\n }\n }\n\n // Expand every pixel to 8-bit RGBA.\n const colours: Uint8Array = palette ?? new Uint8Array(0);\n const pixels: Uint8ClampedArray = new Uint8ClampedArray(width * height * 4);\n const top: number = (1 << Math.min(depth, 8)) - 1;\n for (let y: number = 0; y < height; y++) {\n const start: number = y * (stride + 1) + 1;\n const sample: (index: number) => number = (index: number): number => {\n if (depth === 16) return rows[start + index * 2]!;\n if (depth === 8) return rows[start + index]!;\n const bit: number = index * depth;\n return (rows[start + (bit >> 3)]! >> (8 - depth - (bit & 7))) & top;\n };\n for (let x: number = 0; x < width; x++) {\n const target: number = (y * width + x) * 4;\n const first: number = x * form.channels;\n if (colour === 3) {\n const entry: number = sample(first) * 3;\n if (entry + 3 > colours.length)\n throw new Error(`PNG palette index ${entry / 3} is out of range`);\n pixels.set(\n [colours[entry]!, colours[entry + 1]!, colours[entry + 2]!, 255],\n target,\n );\n continue;\n }\n const scale: (value: number) => number = (value: number): number =>\n depth < 8 ? Math.round((value * 255) / top) : value;\n if (form.channels <= 2) {\n const grey: number = scale(sample(first));\n pixels.set(\n [grey, grey, grey, form.channels === 2 ? sample(first + 1) : 255],\n target,\n );\n } else\n pixels.set(\n [\n sample(first),\n sample(first + 1),\n sample(first + 2),\n form.channels === 4 ? sample(first + 3) : 255,\n ],\n target,\n );\n }\n }\n return { width, height, pixels };\n}\n\n/**\n * The Paeth predictor of the PNG specification, section 9.4: the neighbour\n * nearest to left + up - corner.\n */\nfunction paeth(left: number, up: number, corner: number): number {\n const estimate: number = left + up - corner;\n const toLeft: number = Math.abs(estimate - left);\n const toUp: number = Math.abs(estimate - up);\n const toCorner: number = Math.abs(estimate - corner);\n if (toLeft <= toUp && toLeft <= toCorner) return left;\n if (toUp <= toCorner) return up;\n return corner;\n}\n"],"mappings":";;;AAKA,MAAM,YAA+B;CACnC;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;AAC5C;;;;;AAMA,MAAM,eAEF;CACF,GAAG;EAAE,UAAU;EAAG,QAAQ;GAAC;GAAG;GAAG;GAAG;GAAG;EAAE;CAAE;CAC3C,GAAG;EAAE,UAAU;EAAG,QAAQ,CAAC,GAAG,EAAE;CAAE;CAClC,GAAG;EAAE,UAAU;EAAG,QAAQ;GAAC;GAAG;GAAG;GAAG;EAAC;CAAE;CACvC,GAAG;EAAE,UAAU;EAAG,QAAQ,CAAC,GAAG,EAAE;CAAE;CAClC,GAAG;EAAE,UAAU;EAAG,QAAQ,CAAC,GAAG,EAAE;CAAE;AACpC;;;;;;;;;;;;;;;;;;;;;AAsBA,eAAsB,yBACpB,OACgC;CAChC,IACE,MAAM,SAAS,KACf,CAAC,UAAU,OACR,MAAc,UAA2B,MAAM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KAAK;GAC/B,IAAI,WAAW,GAAG;IAChB,MAAM,QAAgB,OAAO,KAAK,IAAI;IACtC,IAAI,QAAQ,IAAI,QAAQ,QACtB,MAAM,IAAI,MAAM,qBAAqB,QAAQ,EAAE,iBAAiB;IAClE,OAAO,IACL;KAAC,QAAQ;KAAS,QAAQ,QAAQ;KAAK,QAAQ,QAAQ;KAAK;IAAG,GAC/D,MACF;IACA;GACF;GACA,MAAM,SAAoC,UACxC,QAAQ,IAAI,KAAK,MAAO,QAAQ,MAAO,GAAG,IAAI;GAChD,IAAI,KAAK,YAAY,GAAG;IACtB,MAAM,OAAe,MAAM,OAAO,KAAK,CAAC;IACxC,OAAO,IACL;KAAC;KAAM;KAAM;KAAM,KAAK,aAAa,IAAI,OAAO,QAAQ,CAAC,IAAI;IAAG,GAChE,MACF;GACF,OACE,OAAO,IACL;IACE,OAAO,KAAK;IACZ,OAAO,QAAQ,CAAC;IAChB,OAAO,QAAQ,CAAC;IAChB,KAAK,aAAa,IAAI,OAAO,QAAQ,CAAC,IAAI;GAC5C,GACA,MACF;EACJ;CACF;CACA,OAAO;EAAE;EAAO;EAAQ;CAAO;AACjC;;;;;AAMA,SAAS,MAAM,MAAc,IAAY,QAAwB;CAC/D,MAAM,WAAmB,OAAO,KAAK;CACrC,MAAM,SAAiB,KAAK,IAAI,WAAW,IAAI;CAC/C,MAAM,OAAe,KAAK,IAAI,WAAW,EAAE;CAC3C,MAAM,WAAmB,KAAK,IAAI,WAAW,MAAM;CACnD,IAAI,UAAU,QAAQ,UAAU,UAAU,OAAO;CACjD,IAAI,QAAQ,UAAU,OAAO;CAC7B,OAAO;AACT"}
@@ -1,21 +1,32 @@
1
1
  import type { IAutoMovieRasterImage } from "@automovie/interface";
2
2
  /**
3
- * Encode a picture, such as a drawn still, a contact sheet or a difference image, as a lossless 8-bit RGB PNG.
3
+ * Encode a picture, such as a drawn still, a contact sheet or a difference
4
+ * image, as a lossless 8-bit RGB PNG, or with `alpha` as an 8-bit RGBA PNG.
4
5
  *
5
- * The picture is opaque, so alpha is dropped. Rows use filter type 0 and one zlib stream made by `CompressionStream("deflate")`, which Node 22 and every current browser provide as a global, so this module imports no Node built-in and runs in a page as in a Node host. Encoding is therefore asynchronous. `decodeAutoMovieRasterPng` and every PNG reader decode the result.
6
+ * By default the picture is opaque, so alpha is dropped. With `alpha` the
7
+ * raster's straight alpha is kept as the fourth channel, the PNG colour type 6
8
+ * whose colour is not premultiplied (PNG specification, section 3.3), so a
9
+ * transparent render's frame files carry its coverage. Rows use filter type 0
10
+ * and one zlib stream made by `CompressionStream("deflate")`, which Node 22 and
11
+ * every current browser provide as a global, so this module imports no Node
12
+ * built-in and runs in a page as in a Node host. Encoding is therefore
13
+ * asynchronous. `decodeAutoMovieRasterPng` and every PNG reader decode the
14
+ * result.
6
15
  *
7
- * It rejects a size that is not a positive whole number of pixels and a pixel buffer whose length disagrees with the size.
16
+ * It rejects a size that is not a positive whole number of pixels and a pixel
17
+ * buffer whose length disagrees with the size.
8
18
  *
9
19
  * ```ts
10
- * await storage.writeFile(`${root}/still.png`, await encodeAutoMovieRasterPng(picture));
20
+ * await storage.writeFile(
21
+ * `${root}/still.png`,
22
+ * await encodeAutoMovieRasterPng(picture),
23
+ * );
11
24
  * ```
12
- *
13
- * @evidence contracts/development/common.md#meaningful-documentation States the format, the dropped alpha, the row filter, where compression comes from and why the call is asynchronous, who can read the result, and both refusals.
14
- * @evidence contracts/development/implementation.md#principled-implementation The chunk layout, big-endian lengths and CRC-32 over type and data follow the PNG specification; the Compression Streams standard's `deflate` format is the zlib stream (RFC 1950) an IDAT chunk requires.
15
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Rows are packed once, compressed once and wrapped in the three required chunks.
16
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A buffer that disagrees with the size throws instead of writing a truncated image, and a zero-sized picture, which PNG forbids, is refused.
17
- * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the pixel count: one packing pass, one compression stream and one copy into the file.
18
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The CRC table is shared with the decoder.
19
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds the packed rows and the compressed stream until the file is assembled; the stream ends with the call and nothing is retained.
20
25
  */
21
- export declare function encodeAutoMovieRasterPng(raster: IAutoMovieRasterImage): Promise<Uint8Array>;
26
+ export declare function encodeAutoMovieRasterPng(raster: IAutoMovieRasterImage, options?: {
27
+ /**
28
+ * Keep the raster's straight alpha as an RGBA PNG; absent or false writes
29
+ * RGB.
30
+ */
31
+ alpha?: boolean;
32
+ }): Promise<Uint8Array>;
@@ -7,49 +7,56 @@ const SIGNATURE = [
7
7
  0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
8
8
  ];
9
9
  /**
10
- * Encode a picture, such as a drawn still, a contact sheet or a difference image, as a lossless 8-bit RGB PNG.
10
+ * Encode a picture, such as a drawn still, a contact sheet or a difference
11
+ * image, as a lossless 8-bit RGB PNG, or with `alpha` as an 8-bit RGBA PNG.
11
12
  *
12
- * The picture is opaque, so alpha is dropped. Rows use filter type 0 and one zlib stream made by `CompressionStream("deflate")`, which Node 22 and every current browser provide as a global, so this module imports no Node built-in and runs in a page as in a Node host. Encoding is therefore asynchronous. `decodeAutoMovieRasterPng` and every PNG reader decode the result.
13
+ * By default the picture is opaque, so alpha is dropped. With `alpha` the
14
+ * raster's straight alpha is kept as the fourth channel, the PNG colour type 6
15
+ * whose colour is not premultiplied (PNG specification, section 3.3), so a
16
+ * transparent render's frame files carry its coverage. Rows use filter type 0
17
+ * and one zlib stream made by `CompressionStream("deflate")`, which Node 22 and
18
+ * every current browser provide as a global, so this module imports no Node
19
+ * built-in and runs in a page as in a Node host. Encoding is therefore
20
+ * asynchronous. `decodeAutoMovieRasterPng` and every PNG reader decode the
21
+ * result.
13
22
  *
14
- * It rejects a size that is not a positive whole number of pixels and a pixel buffer whose length disagrees with the size.
23
+ * It rejects a size that is not a positive whole number of pixels and a pixel
24
+ * buffer whose length disagrees with the size.
15
25
  *
16
26
  * ```ts
17
- * await storage.writeFile(`${root}/still.png`, await encodeAutoMovieRasterPng(picture));
27
+ * await storage.writeFile(
28
+ * `${root}/still.png`,
29
+ * await encodeAutoMovieRasterPng(picture),
30
+ * );
18
31
  * ```
19
- *
20
- * @evidence contracts/development/common.md#meaningful-documentation States the format, the dropped alpha, the row filter, where compression comes from and why the call is asynchronous, who can read the result, and both refusals.
21
- * @evidence contracts/development/implementation.md#principled-implementation The chunk layout, big-endian lengths and CRC-32 over type and data follow the PNG specification; the Compression Streams standard's `deflate` format is the zlib stream (RFC 1950) an IDAT chunk requires.
22
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Rows are packed once, compressed once and wrapped in the three required chunks.
23
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A buffer that disagrees with the size throws instead of writing a truncated image, and a zero-sized picture, which PNG forbids, is refused.
24
- * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the pixel count: one packing pass, one compression stream and one copy into the file.
25
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The CRC table is shared with the decoder.
26
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds the packed rows and the compressed stream until the file is assembled; the stream ends with the call and nothing is retained.
27
32
  */
28
- async function encodeAutoMovieRasterPng(raster) {
33
+ async function encodeAutoMovieRasterPng(raster, options) {
29
34
  const { width, height, pixels } = raster;
30
- if (!(Number.isSafeInteger(width) && width > 0) ||
31
- !(Number.isSafeInteger(height) && height > 0))
35
+ if (!(width > 0) || !(height > 0))
32
36
  throw new Error(`A PNG of ${width}x${height} pixels cannot be written`);
33
37
  if (pixels.length !== width * height * 4)
34
38
  throw new Error("Raster pixels do not match its size");
35
- // Each row is a filter byte 0 and its RGB triples.
36
- const stride = width * 3 + 1;
39
+ // Each row is a filter byte 0 and its RGB triples, or RGBA quadruples.
40
+ const channels = options?.alpha === true ? 4 : 3;
41
+ const stride = width * channels + 1;
37
42
  const rows = new Uint8Array(stride * height);
38
43
  for (let y = 0; y < height; y++)
39
44
  for (let x = 0; x < width; x++) {
40
45
  const from = (y * width + x) * 4;
41
- const to = y * stride + 1 + x * 3;
46
+ const to = y * stride + 1 + x * channels;
42
47
  rows[to] = pixels[from];
43
48
  rows[to + 1] = pixels[from + 1];
44
49
  rows[to + 2] = pixels[from + 2];
50
+ if (channels === 4)
51
+ rows[to + 3] = pixels[from + 3];
45
52
  }
46
53
  const compressed = new Uint8Array(await new Response(new Blob([rows]).stream().pipeThrough(new CompressionStream("deflate"))).arrayBuffer());
47
- // IHDR: size, bit depth 8, colour type 2 (RGB), deflate, filter method 0, no interlace.
54
+ // IHDR: size, bit depth 8, colour type 2 (RGB) or 6 (RGBA), deflate, filter method 0, no interlace.
48
55
  const header = new Uint8Array(13);
49
56
  const view = new DataView(header.buffer);
50
57
  view.setUint32(0, width);
51
58
  view.setUint32(4, height);
52
- header.set([8, 2, 0, 0, 0], 8);
59
+ header.set([8, channels === 4 ? 6 : 2, 0, 0, 0], 8);
53
60
  const parts = [
54
61
  Uint8Array.from(SIGNATURE),
55
62
  chunk("IHDR", header),
@@ -1 +1 @@
1
- {"version":3,"file":"encodeAutoMovieRasterPng.js","sourceRoot":"","sources":["../../src/picture/encodeAutoMovieRasterPng.ts"],"names":[],"mappings":";;;AAEA,uEAAiE;AAEjE,kDAAkD;AAClD,MAAM,SAAS,GAAsB;IACnC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;CAC/C,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACI,KAAK,mCACV,MAA6B;IAE7B,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IACzC,IACE,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC;QAC3C,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC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AS,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,IAAI,KAAK,GAAW,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,EAAE;QAC5C,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAC1C,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACjB,IAAI,CAAC,SAAS,CACZ,CAAC,GAAG,IAAI,CAAC,MAAM,EACf,IAAA,8CAAoB,EAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CACvD,CAAC;IACF,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -12,36 +12,43 @@ const SIGNATURE = [
12
12
  10
13
13
  ];
14
14
  /**
15
- * Encode a picture, such as a drawn still, a contact sheet or a difference image, as a lossless 8-bit RGB PNG.
15
+ * Encode a picture, such as a drawn still, a contact sheet or a difference
16
+ * image, as a lossless 8-bit RGB PNG, or with `alpha` as an 8-bit RGBA PNG.
16
17
  *
17
- * The picture is opaque, so alpha is dropped. Rows use filter type 0 and one zlib stream made by `CompressionStream("deflate")`, which Node 22 and every current browser provide as a global, so this module imports no Node built-in and runs in a page as in a Node host. Encoding is therefore asynchronous. `decodeAutoMovieRasterPng` and every PNG reader decode the result.
18
+ * By default the picture is opaque, so alpha is dropped. With `alpha` the
19
+ * raster's straight alpha is kept as the fourth channel, the PNG colour type 6
20
+ * whose colour is not premultiplied (PNG specification, section 3.3), so a
21
+ * transparent render's frame files carry its coverage. Rows use filter type 0
22
+ * and one zlib stream made by `CompressionStream("deflate")`, which Node 22 and
23
+ * every current browser provide as a global, so this module imports no Node
24
+ * built-in and runs in a page as in a Node host. Encoding is therefore
25
+ * asynchronous. `decodeAutoMovieRasterPng` and every PNG reader decode the
26
+ * result.
18
27
  *
19
- * It rejects a size that is not a positive whole number of pixels and a pixel buffer whose length disagrees with the size.
28
+ * It rejects a size that is not a positive whole number of pixels and a pixel
29
+ * buffer whose length disagrees with the size.
20
30
  *
21
31
  * ```ts
22
- * await storage.writeFile(`${root}/still.png`, await encodeAutoMovieRasterPng(picture));
32
+ * await storage.writeFile(
33
+ * `${root}/still.png`,
34
+ * await encodeAutoMovieRasterPng(picture),
35
+ * );
23
36
  * ```
24
- *
25
- * @evidence contracts/development/common.md#meaningful-documentation States the format, the dropped alpha, the row filter, where compression comes from and why the call is asynchronous, who can read the result, and both refusals.
26
- * @evidence contracts/development/implementation.md#principled-implementation The chunk layout, big-endian lengths and CRC-32 over type and data follow the PNG specification; the Compression Streams standard's `deflate` format is the zlib stream (RFC 1950) an IDAT chunk requires.
27
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Rows are packed once, compressed once and wrapped in the three required chunks.
28
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A buffer that disagrees with the size throws instead of writing a truncated image, and a zero-sized picture, which PNG forbids, is refused.
29
- * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the pixel count: one packing pass, one compression stream and one copy into the file.
30
- * @evidence contracts/development/implementation.md#reuse-equivalent-work The CRC table is shared with the decoder.
31
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds the packed rows and the compressed stream until the file is assembled; the stream ends with the call and nothing is retained.
32
37
  */
33
- async function encodeAutoMovieRasterPng(raster) {
38
+ async function encodeAutoMovieRasterPng(raster, options) {
34
39
  const { width, height, pixels } = raster;
35
- if (!(Number.isSafeInteger(width) && width > 0) || !(Number.isSafeInteger(height) && height > 0)) throw new Error(`A PNG of ${width}x${height} pixels cannot be written`);
40
+ if (!(width > 0) || !(height > 0)) throw new Error(`A PNG of ${width}x${height} pixels cannot be written`);
36
41
  if (pixels.length !== width * height * 4) throw new Error("Raster pixels do not match its size");
37
- const stride = width * 3 + 1;
42
+ const channels = options?.alpha === true ? 4 : 3;
43
+ const stride = width * channels + 1;
38
44
  const rows = new Uint8Array(stride * height);
39
45
  for (let y = 0; y < height; y++) for (let x = 0; x < width; x++) {
40
46
  const from = (y * width + x) * 4;
41
- const to = y * stride + 1 + x * 3;
47
+ const to = y * stride + 1 + x * channels;
42
48
  rows[to] = pixels[from];
43
49
  rows[to + 1] = pixels[from + 1];
44
50
  rows[to + 2] = pixels[from + 2];
51
+ if (channels === 4) rows[to + 3] = pixels[from + 3];
45
52
  }
46
53
  const compressed = new Uint8Array(await new Response(new Blob([rows]).stream().pipeThrough(new CompressionStream("deflate"))).arrayBuffer());
47
54
  const header = /* @__PURE__ */ new Uint8Array(13);
@@ -50,7 +57,7 @@ async function encodeAutoMovieRasterPng(raster) {
50
57
  view.setUint32(4, height);
51
58
  header.set([
52
59
  8,
53
- 2,
60
+ channels === 4 ? 6 : 2,
54
61
  0,
55
62
  0,
56
63
  0
@@ -1 +1 @@
1
- {"version":3,"file":"encodeAutoMovieRasterPng.mjs","names":[],"sources":["../../src/picture/encodeAutoMovieRasterPng.ts"],"sourcesContent":["import type { IAutoMovieRasterImage } from \"@automovie/interface\";\n\nimport { crcAutoMoviePngChunk } from \"./crcAutoMoviePngChunk.js\";\n\n/** The eight bytes every PNG file starts with. */\nconst SIGNATURE: readonly number[] = [\n 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,\n];\n\n/**\n * Encode a picture, such as a drawn still, a contact sheet or a difference image, as a lossless 8-bit RGB PNG.\n *\n * The picture is opaque, so alpha is dropped. Rows use filter type 0 and one zlib stream made by `CompressionStream(\"deflate\")`, which Node 22 and every current browser provide as a global, so this module imports no Node built-in and runs in a page as in a Node host. Encoding is therefore asynchronous. `decodeAutoMovieRasterPng` and every PNG reader decode the result.\n *\n * It rejects a size that is not a positive whole number of pixels and a pixel buffer whose length disagrees with the size.\n *\n * ```ts\n * await storage.writeFile(`${root}/still.png`, await encodeAutoMovieRasterPng(picture));\n * ```\n *\n * @evidence contracts/development/common.md#meaningful-documentation States the format, the dropped alpha, the row filter, where compression comes from and why the call is asynchronous, who can read the result, and both refusals.\n * @evidence contracts/development/implementation.md#principled-implementation The chunk layout, big-endian lengths and CRC-32 over type and data follow the PNG specification; the Compression Streams standard's `deflate` format is the zlib stream (RFC 1950) an IDAT chunk requires.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure Rows are packed once, compressed once and wrapped in the three required chunks.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A buffer that disagrees with the size throws instead of writing a truncated image, and a zero-sized picture, which PNG forbids, is refused.\n * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the pixel count: one packing pass, one compression stream and one copy into the file.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The CRC table is shared with the decoder.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds the packed rows and the compressed stream until the file is assembled; the stream ends with the call and nothing is retained.\n */\nexport async function encodeAutoMovieRasterPng(\n raster: IAutoMovieRasterImage,\n): Promise<Uint8Array> {\n const { width, height, pixels } = raster;\n if (\n !(Number.isSafeInteger(width) && width > 0) ||\n !(Number.isSafeInteger(height) && height > 0)\n )\n throw new Error(`A PNG of ${width}x${height} pixels cannot be written`);\n if (pixels.length !== width * height * 4)\n throw new Error(\"Raster pixels do not match its size\");\n\n // Each row is a filter byte 0 and its RGB triples.\n const stride: number = width * 3 + 1;\n const rows: Uint8Array<ArrayBuffer> = new Uint8Array(stride * height);\n for (let y: number = 0; y < height; y++)\n for (let x: number = 0; x < width; x++) {\n const from: number = (y * width + x) * 4;\n const to: number = y * stride + 1 + x * 3;\n rows[to] = pixels[from]!;\n rows[to + 1] = pixels[from + 1]!;\n rows[to + 2] = pixels[from + 2]!;\n }\n const compressed: Uint8Array = new Uint8Array(\n await new Response(\n new Blob([rows]).stream().pipeThrough(new CompressionStream(\"deflate\")),\n ).arrayBuffer(),\n );\n\n // IHDR: size, bit depth 8, colour type 2 (RGB), deflate, filter method 0, no interlace.\n const header: Uint8Array = new Uint8Array(13);\n const view: DataView = new DataView(header.buffer);\n view.setUint32(0, width);\n view.setUint32(4, height);\n header.set([8, 2, 0, 0, 0], 8);\n const parts: Uint8Array[] = [\n Uint8Array.from(SIGNATURE),\n chunk(\"IHDR\", header),\n chunk(\"IDAT\", compressed),\n chunk(\"IEND\", new Uint8Array(0)),\n ];\n const file: Uint8Array = new Uint8Array(\n parts.reduce(\n (sum: number, part: Uint8Array): number => sum + part.length,\n 0,\n ),\n );\n let offset: number = 0;\n for (const part of parts) {\n file.set(part, offset);\n offset += part.length;\n }\n return file;\n}\n\n/** One PNG chunk: length, type, data and CRC-32 of type and data. */\nfunction chunk(type: string, data: Uint8Array): Uint8Array {\n const out: Uint8Array = new Uint8Array(12 + data.length);\n const view: DataView = new DataView(out.buffer);\n view.setUint32(0, data.length);\n for (let index: number = 0; index < 4; index++)\n out[4 + index] = type.charCodeAt(index);\n out.set(data, 8);\n view.setUint32(\n 8 + data.length,\n crcAutoMoviePngChunk(out.subarray(4, 8 + data.length)),\n );\n return out;\n}\n"],"mappings":";;;AAKA,MAAM,YAA+B;CACnC;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;AAC5C;;;;;;;;;;;;;;;;;;;;AAqBA,eAAsB,yBACpB,QACqB;CACrB,MAAM,EAAE,OAAO,QAAQ,WAAW;CAClC,IACE,EAAE,OAAO,cAAc,KAAK,KAAK,QAAQ,MACzC,EAAE,OAAO,cAAc,MAAM,KAAK,SAAS,IAE3C,MAAM,IAAI,MAAM,YAAY,MAAM,GAAG,OAAO,0BAA0B;CACxE,IAAI,OAAO,WAAW,QAAQ,SAAS,GACrC,MAAM,IAAI,MAAM,qCAAqC;CAGvD,MAAM,SAAiB,QAAQ,IAAI;CACnC,MAAM,OAAgC,IAAI,WAAW,SAAS,MAAM;CACpE,KAAK,IAAI,IAAY,GAAG,IAAI,QAAQ,KAClC,KAAK,IAAI,IAAY,GAAG,IAAI,OAAO,KAAK;EACtC,MAAM,QAAgB,IAAI,QAAQ,KAAK;EACvC,MAAM,KAAa,IAAI,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ACT"}
1
+ {"version":3,"file":"encodeAutoMovieRasterPng.mjs","names":[],"sources":["../../src/picture/encodeAutoMovieRasterPng.ts"],"sourcesContent":["import type { IAutoMovieRasterImage } from \"@automovie/interface\";\n\nimport { crcAutoMoviePngChunk } from \"./crcAutoMoviePngChunk.js\";\n\n/** The eight bytes every PNG file starts with. */\nconst SIGNATURE: readonly number[] = [\n 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,\n];\n\n/**\n * Encode a picture, such as a drawn still, a contact sheet or a difference\n * image, as a lossless 8-bit RGB PNG, or with `alpha` as an 8-bit RGBA PNG.\n *\n * By default the picture is opaque, so alpha is dropped. With `alpha` the\n * raster's straight alpha is kept as the fourth channel, the PNG colour type 6\n * whose colour is not premultiplied (PNG specification, section 3.3), so a\n * transparent render's frame files carry its coverage. Rows use filter type 0\n * and one zlib stream made by `CompressionStream(\"deflate\")`, which Node 22 and\n * every current browser provide as a global, so this module imports no Node\n * built-in and runs in a page as in a Node host. Encoding is therefore\n * asynchronous. `decodeAutoMovieRasterPng` and every PNG reader decode the\n * result.\n *\n * It rejects a size that is not a positive whole number of pixels and a pixel\n * buffer whose length disagrees with the size.\n *\n * ```ts\n * await storage.writeFile(\n * `${root}/still.png`,\n * await encodeAutoMovieRasterPng(picture),\n * );\n * ```\n */\nexport async function encodeAutoMovieRasterPng(\n raster: IAutoMovieRasterImage,\n options?: {\n /**\n * Keep the raster's straight alpha as an RGBA PNG; absent or false writes\n * RGB.\n */\n alpha?: boolean;\n },\n): Promise<Uint8Array> {\n const { width, height, pixels } = raster;\n if (!(width > 0) || !(height > 0))\n throw new Error(`A PNG of ${width}x${height} pixels cannot be written`);\n if (pixels.length !== width * height * 4)\n throw new Error(\"Raster pixels do not match its size\");\n\n // Each row is a filter byte 0 and its RGB triples, or RGBA quadruples.\n const channels: number = options?.alpha === true ? 4 : 3;\n const stride: number = width * channels + 1;\n const rows: Uint8Array<ArrayBuffer> = new Uint8Array(stride * height);\n for (let y: number = 0; y < height; y++)\n for (let x: number = 0; x < width; x++) {\n const from: number = (y * width + x) * 4;\n const to: number = y * stride + 1 + x * channels;\n rows[to] = pixels[from]!;\n rows[to + 1] = pixels[from + 1]!;\n rows[to + 2] = pixels[from + 2]!;\n if (channels === 4) rows[to + 3] = pixels[from + 3]!;\n }\n const compressed: Uint8Array = new Uint8Array(\n await new Response(\n new Blob([rows]).stream().pipeThrough(new CompressionStream(\"deflate\")),\n ).arrayBuffer(),\n );\n\n // IHDR: size, bit depth 8, colour type 2 (RGB) or 6 (RGBA), deflate, filter method 0, no interlace.\n const header: Uint8Array = new Uint8Array(13);\n const view: DataView = new DataView(header.buffer);\n view.setUint32(0, width);\n view.setUint32(4, height);\n header.set([8, channels === 4 ? 6 : 2, 0, 0, 0], 8);\n const parts: Uint8Array[] = [\n Uint8Array.from(SIGNATURE),\n chunk(\"IHDR\", header),\n chunk(\"IDAT\", compressed),\n chunk(\"IEND\", new Uint8Array(0)),\n ];\n const file: Uint8Array = new Uint8Array(\n parts.reduce(\n (sum: number, part: Uint8Array): number => sum + part.length,\n 0,\n ),\n );\n let offset: number = 0;\n for (const part of parts) {\n file.set(part, offset);\n offset += part.length;\n }\n return file;\n}\n\n/** One PNG chunk: length, type, data and CRC-32 of type and data. */\nfunction chunk(type: string, data: Uint8Array): Uint8Array {\n const out: Uint8Array = new Uint8Array(12 + data.length);\n const view: DataView = new DataView(out.buffer);\n view.setUint32(0, data.length);\n for (let index: number = 0; index < 4; index++)\n out[4 + index] = type.charCodeAt(index);\n out.set(data, 8);\n view.setUint32(\n 8 + data.length,\n crcAutoMoviePngChunk(out.subarray(4, 8 + data.length)),\n );\n return out;\n}\n"],"mappings":";;;AAKA,MAAM,YAA+B;CACnC;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;CAAM;AAC5C;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,eAAsB,yBACpB,QACA,SAOqB;CACrB,MAAM,EAAE,OAAO,QAAQ,WAAW;CAClC,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,CACF,CACF;CACA,IAAI,SAAiB;CACrB,KAAK,MAAM,QAAQ,OAAO;EACxB,KAAK,IAAI,MAAM,MAAM;EACrB,UAAU,KAAK;CACjB;CACA,OAAO;AACT;;AAGA,SAAS,MAAM,MAAc,MAA8B;CACzD,MAAM,MAAkB,IAAI,WAAW,KAAK,KAAK,MAAM;CACvD,MAAM,OAAiB,IAAI,SAAS,IAAI,MAAM;CAC9C,KAAK,UAAU,GAAG,KAAK,MAAM;CAC7B,KAAK,IAAI,QAAgB,GAAG,QAAQ,GAAG,SACrC,IAAI,IAAI,SAAS,KAAK,WAAW,KAAK;CACxC,IAAI,IAAI,MAAM,CAAC;CACf,KAAK,UACH,IAAI,KAAK,QACT,qBAAqB,IAAI,SAAS,GAAG,IAAI,KAAK,MAAM,CAAC,CACvD;CACA,OAAO;AACT"}
@@ -1,17 +1,17 @@
1
1
  import type { IAutoMovieRasterImage } from "@automovie/interface";
2
2
  /**
3
- * The content hash a capture records for a still: `sha256:` and 64 lowercase hex digits over the picture's width and height, each a big-endian 32-bit integer, followed by its red, green and blue bytes row by row.
3
+ * The content hash a capture records for a still: `sha256:` and 64 lowercase
4
+ * hex digits over the picture's width and height, each a big-endian 32-bit
5
+ * integer, followed by its red, green and blue bytes row by row.
4
6
  *
5
- * The hash covers the colours the PNG file stores and nothing of how they were compressed, so two stills with equal pixels hash alike whatever encoder wrote them, and a still decoded from its file hashes as it did when it was drawn. Alpha is left out because the file drops it. Equal hashes establish that nothing changed, not that the picture is right.
7
+ * The hash covers the colours the PNG file stores and nothing of how they were
8
+ * compressed, so two stills with equal pixels hash alike whatever encoder wrote
9
+ * them, and a still decoded from its file hashes as it did when it was drawn.
10
+ * Alpha is left out because the file drops it. Equal hashes establish that
11
+ * nothing changed, not that the picture is right.
6
12
  *
7
- * SHA-256 is written out in TypeScript: `node:crypto` would tie the capture core to Node, and `SubtleCrypto` is absent from a page outside a secure context, while this runs in either.
8
- *
9
- * @evidence contracts/development/common.md#meaningful-documentation States the output form, the exact bytes hashed, why compression and alpha are excluded, what equality establishes, and why the digest is written out.
10
- * @evidence contracts/development/implementation.md#principled-implementation FIPS 180-4 SHA-256: 512-bit blocks, the 64-word message schedule, the round constants of section 4.2.2, and padding with a 0x80 byte and the 64-bit big-endian message length, all in unsigned 32-bit arithmetic.
11
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Lay out the hashed bytes once, then one compression loop over the padded message.
12
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The constants are the standard's; the size is part of the hashed bytes, so two pictures with the same bytes in different shapes differ.
13
- * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the pixel count: one copy of the RGB bytes and 64 rounds per 64-byte block, with the schedule array reused across blocks.
14
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each still is hashed once by the capture that records it.
15
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds one padded copy of the hashed bytes for the call; only the digest string escapes.
13
+ * SHA-256 is written out in TypeScript: `node:crypto` would tie the capture
14
+ * core to Node, and `SubtleCrypto` is absent from a page outside a secure
15
+ * context, while this runs in either.
16
16
  */
17
17
  export declare function hashAutoMovieRasterImage(image: IAutoMovieRasterImage): string;
@@ -16,19 +16,19 @@ const K = Uint32Array.from([
16
16
  0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2,
17
17
  ]);
18
18
  /**
19
- * The content hash a capture records for a still: `sha256:` and 64 lowercase hex digits over the picture's width and height, each a big-endian 32-bit integer, followed by its red, green and blue bytes row by row.
19
+ * The content hash a capture records for a still: `sha256:` and 64 lowercase
20
+ * hex digits over the picture's width and height, each a big-endian 32-bit
21
+ * integer, followed by its red, green and blue bytes row by row.
20
22
  *
21
- * The hash covers the colours the PNG file stores and nothing of how they were compressed, so two stills with equal pixels hash alike whatever encoder wrote them, and a still decoded from its file hashes as it did when it was drawn. Alpha is left out because the file drops it. Equal hashes establish that nothing changed, not that the picture is right.
23
+ * The hash covers the colours the PNG file stores and nothing of how they were
24
+ * compressed, so two stills with equal pixels hash alike whatever encoder wrote
25
+ * them, and a still decoded from its file hashes as it did when it was drawn.
26
+ * Alpha is left out because the file drops it. Equal hashes establish that
27
+ * nothing changed, not that the picture is right.
22
28
  *
23
- * SHA-256 is written out in TypeScript: `node:crypto` would tie the capture core to Node, and `SubtleCrypto` is absent from a page outside a secure context, while this runs in either.
24
- *
25
- * @evidence contracts/development/common.md#meaningful-documentation States the output form, the exact bytes hashed, why compression and alpha are excluded, what equality establishes, and why the digest is written out.
26
- * @evidence contracts/development/implementation.md#principled-implementation FIPS 180-4 SHA-256: 512-bit blocks, the 64-word message schedule, the round constants of section 4.2.2, and padding with a 0x80 byte and the 64-bit big-endian message length, all in unsigned 32-bit arithmetic.
27
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Lay out the hashed bytes once, then one compression loop over the padded message.
28
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The constants are the standard's; the size is part of the hashed bytes, so two pictures with the same bytes in different shapes differ.
29
- * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the pixel count: one copy of the RGB bytes and 64 rounds per 64-byte block, with the schedule array reused across blocks.
30
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each still is hashed once by the capture that records it.
31
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds one padded copy of the hashed bytes for the call; only the digest string escapes.
29
+ * SHA-256 is written out in TypeScript: `node:crypto` would tie the capture
30
+ * core to Node, and `SubtleCrypto` is absent from a page outside a secure
31
+ * context, while this runs in either.
32
32
  */
33
33
  function hashAutoMovieRasterImage(image) {
34
34
  const count = image.width * image.height;
@@ -67,19 +67,19 @@ const K = Uint32Array.from([
67
67
  3329325298
68
68
  ]);
69
69
  /**
70
- * The content hash a capture records for a still: `sha256:` and 64 lowercase hex digits over the picture's width and height, each a big-endian 32-bit integer, followed by its red, green and blue bytes row by row.
70
+ * The content hash a capture records for a still: `sha256:` and 64 lowercase
71
+ * hex digits over the picture's width and height, each a big-endian 32-bit
72
+ * integer, followed by its red, green and blue bytes row by row.
71
73
  *
72
- * The hash covers the colours the PNG file stores and nothing of how they were compressed, so two stills with equal pixels hash alike whatever encoder wrote them, and a still decoded from its file hashes as it did when it was drawn. Alpha is left out because the file drops it. Equal hashes establish that nothing changed, not that the picture is right.
74
+ * The hash covers the colours the PNG file stores and nothing of how they were
75
+ * compressed, so two stills with equal pixels hash alike whatever encoder wrote
76
+ * them, and a still decoded from its file hashes as it did when it was drawn.
77
+ * Alpha is left out because the file drops it. Equal hashes establish that
78
+ * nothing changed, not that the picture is right.
73
79
  *
74
- * SHA-256 is written out in TypeScript: `node:crypto` would tie the capture core to Node, and `SubtleCrypto` is absent from a page outside a secure context, while this runs in either.
75
- *
76
- * @evidence contracts/development/common.md#meaningful-documentation States the output form, the exact bytes hashed, why compression and alpha are excluded, what equality establishes, and why the digest is written out.
77
- * @evidence contracts/development/implementation.md#principled-implementation FIPS 180-4 SHA-256: 512-bit blocks, the 64-word message schedule, the round constants of section 4.2.2, and padding with a 0x80 byte and the 64-bit big-endian message length, all in unsigned 32-bit arithmetic.
78
- * @evidence contracts/development/implementation.md#clear-and-simple-structure Lay out the hashed bytes once, then one compression loop over the padded message.
79
- * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The constants are the standard's; the size is part of the hashed bytes, so two pictures with the same bytes in different shapes differ.
80
- * @evidence contracts/development/implementation.md#efficient-algorithms Linear in the pixel count: one copy of the RGB bytes and 64 rounds per 64-byte block, with the schedule array reused across blocks.
81
- * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each still is hashed once by the capture that records it.
82
- * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds one padded copy of the hashed bytes for the call; only the digest string escapes.
80
+ * SHA-256 is written out in TypeScript: `node:crypto` would tie the capture
81
+ * core to Node, and `SubtleCrypto` is absent from a page outside a secure
82
+ * context, while this runs in either.
83
83
  */
84
84
  function hashAutoMovieRasterImage(image) {
85
85
  const count = image.width * image.height;