@splinetool/runtime 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/hana-ui.js +122 -42
- package/build/hana-ui.js.br +0 -0
- package/build/hana-ui.js.gz +0 -0
- package/build/hana-ui.wasm +0 -0
- package/build/hana-ui.wasm.br +0 -0
- package/build/hana-ui.wasm.gz +0 -0
- package/build/{runtime-chunk-PDASWDVC.js → runtime-chunk-4LKRNVPP.js} +1 -1
- package/build/{runtime-chunk-PDASWDVC.js.br → runtime-chunk-4LKRNVPP.js.br} +0 -0
- package/build/runtime-chunk-4LKRNVPP.js.gz +0 -0
- package/build/{runtime-chunk-DK66VKWP.js → runtime-chunk-7FDJ7IIR.js} +1 -1
- package/build/runtime-chunk-7FDJ7IIR.js.br +0 -0
- package/build/runtime-chunk-7FDJ7IIR.js.gz +0 -0
- package/build/{runtime-chunk-23QXG35G.js → runtime-chunk-BLFFIB2B.js} +1 -1
- package/build/runtime-chunk-BLFFIB2B.js.br +0 -0
- package/build/runtime-chunk-BLFFIB2B.js.gz +0 -0
- package/build/{runtime-chunk-DHWGP6NU.js → runtime-chunk-CDR3AZNB.js} +1 -1
- package/build/runtime-chunk-CDR3AZNB.js.br +0 -0
- package/build/runtime-chunk-CDR3AZNB.js.gz +0 -0
- package/build/{runtime-chunk-HZ6FL5GH.js → runtime-chunk-CDYE22J6.js} +1 -1
- package/build/runtime-chunk-CDYE22J6.js.br +0 -0
- package/build/runtime-chunk-CDYE22J6.js.gz +0 -0
- package/build/runtime-chunk-DZIH7EMN.js +1 -0
- package/build/runtime-chunk-DZIH7EMN.js.br +0 -0
- package/build/runtime-chunk-DZIH7EMN.js.gz +0 -0
- package/build/{runtime-chunk-TAY7IXEZ.js → runtime-chunk-FN2C54JM.js} +1 -1
- package/build/runtime-chunk-FN2C54JM.js.br +0 -0
- package/build/runtime-chunk-FN2C54JM.js.gz +0 -0
- package/build/runtime-chunk-I6B5A36U.js +1 -0
- package/build/runtime-chunk-I6B5A36U.js.br +0 -0
- package/build/runtime-chunk-I6B5A36U.js.gz +0 -0
- package/build/{runtime-chunk-E3IEBR27.js → runtime-chunk-JSRKKIOS.js} +1 -1
- package/build/runtime-chunk-JSRKKIOS.js.br +0 -0
- package/build/runtime-chunk-JSRKKIOS.js.gz +0 -0
- package/build/{runtime-chunk-BMA5KYBS.js → runtime-chunk-KKDM5MC5.js} +1 -1
- package/build/runtime-chunk-KKDM5MC5.js.br +0 -0
- package/build/runtime-chunk-KKDM5MC5.js.gz +0 -0
- package/build/{runtime-chunk-3GRN37GY.js → runtime-chunk-L2C7JGYG.js} +1 -1
- package/build/runtime-chunk-L2C7JGYG.js.br +0 -0
- package/build/runtime-chunk-L2C7JGYG.js.gz +0 -0
- package/build/{runtime-chunk-GZ7C2GJM.js → runtime-chunk-LQL2PJVX.js} +1 -1
- package/build/runtime-chunk-LQL2PJVX.js.br +0 -0
- package/build/runtime-chunk-LQL2PJVX.js.gz +0 -0
- package/build/{runtime-chunk-EJJZJ5MV.js → runtime-chunk-M4BPCY7K.js} +1 -1
- package/build/runtime-chunk-M4BPCY7K.js.br +0 -0
- package/build/runtime-chunk-M4BPCY7K.js.gz +0 -0
- package/build/{runtime-chunk-CKT62HES.js → runtime-chunk-MOZWC42D.js} +1 -1
- package/build/runtime-chunk-MOZWC42D.js.br +0 -0
- package/build/runtime-chunk-MOZWC42D.js.gz +0 -0
- package/build/{runtime-chunk-RLYG5YBB.js → runtime-chunk-MVJAFW5H.js} +1 -1
- package/build/runtime-chunk-MVJAFW5H.js.br +1 -0
- package/build/runtime-chunk-MVJAFW5H.js.gz +0 -0
- package/build/{runtime-chunk-USGQ26QU.js → runtime-chunk-QSJVWNNM.js} +1 -1
- package/build/runtime-chunk-QSJVWNNM.js.br +0 -0
- package/build/runtime-chunk-QSJVWNNM.js.gz +0 -0
- package/build/{runtime-chunk-F3ZACLZW.js → runtime-chunk-RTRWO43P.js} +1 -1
- package/build/runtime-chunk-RTRWO43P.js.br +0 -0
- package/build/runtime-chunk-RTRWO43P.js.gz +0 -0
- package/build/{runtime-chunk-HK23JJVH.js → runtime-chunk-RX3SW5K2.js} +1 -1
- package/build/runtime-chunk-RX3SW5K2.js.br +0 -0
- package/build/runtime-chunk-RX3SW5K2.js.gz +0 -0
- package/build/{runtime-chunk-5RXW5MNJ.js → runtime-chunk-UHCXLQHA.js} +1 -1
- package/build/runtime-chunk-UHCXLQHA.js.br +0 -0
- package/build/runtime-chunk-UHCXLQHA.js.gz +0 -0
- package/build/{runtime-chunk-AELTGHV2.js → runtime-chunk-VNO2DW74.js} +1 -1
- package/build/{runtime-chunk-AELTGHV2.js.br → runtime-chunk-VNO2DW74.js.br} +0 -0
- package/build/runtime-chunk-VNO2DW74.js.gz +0 -0
- package/build/{runtime-chunk-UIM3XKIT.js → runtime-chunk-WQ2NXI3U.js} +1 -1
- package/build/runtime-chunk-WQ2NXI3U.js.br +0 -0
- package/build/runtime-chunk-WQ2NXI3U.js.gz +0 -0
- package/build/{runtime-chunk-557KVSJL.js → runtime-chunk-YO3XFDZF.js} +1 -1
- package/build/runtime-chunk-YO3XFDZF.js.br +0 -0
- package/build/runtime-chunk-YO3XFDZF.js.gz +0 -0
- package/build/{runtime-chunk-32KZP4YN.js → runtime-chunk-YS7K3AW3.js} +1 -1
- package/build/runtime-chunk-YS7K3AW3.js.br +0 -0
- package/build/runtime-chunk-YS7K3AW3.js.gz +0 -0
- package/build/{runtime-chunk-YULW5JRE.js → runtime-chunk-ZASM3KKC.js} +1 -1
- package/build/runtime-chunk-ZASM3KKC.js.br +0 -0
- package/build/runtime-chunk-ZASM3KKC.js.gz +0 -0
- package/build/{runtime-chunk-OUXEWX5Z.js → runtime-chunk-ZLOMOV3N.js} +1 -1
- package/build/runtime-chunk-ZLOMOV3N.js.br +0 -0
- package/build/runtime-chunk-ZLOMOV3N.js.gz +0 -0
- package/build/{runtime-chunk-5JEZ42OM.js → runtime-chunk-ZM7N5SZG.js} +1 -1
- package/build/runtime-chunk-ZM7N5SZG.js.br +0 -0
- package/build/runtime-chunk-ZM7N5SZG.js.gz +0 -0
- package/build/{runtime-classicRuntime-U672GAGM.js → runtime-classicRuntime-A3DEJ3YH.js} +1 -1
- package/build/runtime-classicRuntime-A3DEJ3YH.js.br +0 -0
- package/build/runtime-classicRuntime-A3DEJ3YH.js.gz +0 -0
- package/build/{runtime-cloners-2AC7OZRC.js → runtime-cloners-UFF7A36S.js} +1 -1
- package/build/runtime-cloners-UFF7A36S.js.br +1 -0
- package/build/runtime-cloners-UFF7A36S.js.gz +0 -0
- package/build/{runtime-components-L63NUGAO.js → runtime-components-EESAIEPO.js} +1 -1
- package/build/runtime-components-EESAIEPO.js.br +0 -0
- package/build/runtime-components-EESAIEPO.js.gz +0 -0
- package/build/{runtime-createDestroy-QHHQ6LYS.js → runtime-createDestroy-WBIIVRMC.js} +1 -1
- package/build/runtime-createDestroy-WBIIVRMC.js.br +0 -0
- package/build/runtime-createDestroy-WBIIVRMC.js.gz +0 -0
- package/build/{runtime-dragDrop-YBSWK3ET.js → runtime-dragDrop-D45J5GQ5.js} +1 -1
- package/build/runtime-dragDrop-D45J5GQ5.js.br +0 -0
- package/build/runtime-dragDrop-D45J5GQ5.js.gz +0 -0
- package/build/{runtime-gameControls-DSJRSTW5.js → runtime-gameControls-GNLQ3FT6.js} +1 -1
- package/build/runtime-gameControls-GNLQ3FT6.js.br +0 -0
- package/build/runtime-gameControls-GNLQ3FT6.js.gz +0 -0
- package/build/{runtime-hair-V4RTCES2.js → runtime-hair-55OFZZFY.js} +1 -1
- package/build/runtime-hair-55OFZZFY.js.br +1 -0
- package/build/runtime-hair-55OFZZFY.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-VXENKMD4.js → runtime-mergeStaticGeometries-NLUOSGZB.js} +1 -1
- package/build/runtime-mergeStaticGeometries-NLUOSGZB.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-NLUOSGZB.js.gz +0 -0
- package/build/{runtime-miscActions-RPUPHHGJ.js → runtime-miscActions-5YY5ARQT.js} +1 -1
- package/build/runtime-miscActions-5YY5ARQT.js.br +0 -0
- package/build/runtime-miscActions-5YY5ARQT.js.gz +0 -0
- package/build/{runtime-mouseHover-HG6AHA2L.js → runtime-mouseHover-MTTJI6DT.js} +1 -1
- package/build/runtime-mouseHover-MTTJI6DT.js.br +0 -0
- package/build/runtime-mouseHover-MTTJI6DT.js.gz +0 -0
- package/build/{runtime-particles-ZHE2MC33.js → runtime-particles-VZVZJ35I.js} +1 -1
- package/build/runtime-particles-VZVZJ35I.js.br +0 -0
- package/build/runtime-particles-VZVZJ35I.js.gz +0 -0
- package/build/{runtime-paths-GN6E6ZYL.js → runtime-paths-4UDUBYZN.js} +1 -1
- package/build/runtime-paths-4UDUBYZN.js.br +0 -0
- package/build/runtime-paths-4UDUBYZN.js.gz +0 -0
- package/build/{runtime-resize-LACR4RFK.js → runtime-resize-QYCZUOPF.js} +1 -1
- package/build/runtime-resize-QYCZUOPF.js.br +0 -0
- package/build/runtime-resize-QYCZUOPF.js.gz +0 -0
- package/build/{runtime-sceneTransition-QLPFYHHY.js → runtime-sceneTransition-FC5TQNCH.js} +1 -1
- package/build/runtime-sceneTransition-FC5TQNCH.js.br +0 -0
- package/build/runtime-sceneTransition-FC5TQNCH.js.gz +0 -0
- package/build/{runtime-scroll-WZZBT2XR.js → runtime-scroll-VKMCDMAZ.js} +1 -1
- package/build/runtime-scroll-VKMCDMAZ.js.br +0 -0
- package/build/runtime-scroll-VKMCDMAZ.js.gz +0 -0
- package/build/runtime-shapeBlends-3QLNRN2O.js +1 -0
- package/build/runtime-shapeBlends-3QLNRN2O.js.br +4 -0
- package/build/runtime-shapeBlends-3QLNRN2O.js.gz +0 -0
- package/build/{runtime-text-UADJSRL4.js → runtime-text-IYCY3PFB.js} +1 -1
- package/build/runtime-text-IYCY3PFB.js.br +0 -0
- package/build/runtime-text-IYCY3PFB.js.gz +0 -0
- package/build/{runtime-textInputs-7U3TTJ4X.js → runtime-textInputs-LFDWIRLC.js} +1 -1
- package/build/runtime-textInputs-LFDWIRLC.js.br +0 -0
- package/build/runtime-textInputs-LFDWIRLC.js.gz +0 -0
- package/build/runtime-timeline-WNUPRRKW.js +1 -0
- package/build/runtime-timeline-WNUPRRKW.js.br +0 -0
- package/build/runtime-timeline-WNUPRRKW.js.gz +0 -0
- package/build/{runtime-tracking-MC74576T.js → runtime-tracking-HMTCBZ7J.js} +1 -1
- package/build/runtime-tracking-HMTCBZ7J.js.br +0 -0
- package/build/runtime-tracking-HMTCBZ7J.js.gz +0 -0
- package/build/{runtime-transitions-S22YS7E6.js → runtime-transitions-NPD3CNKU.js} +1 -1
- package/build/runtime-transitions-NPD3CNKU.js.br +0 -0
- package/build/runtime-transitions-NPD3CNKU.js.gz +0 -0
- package/build/{runtime-ui2d-EX3RBXPP.js → runtime-ui2d-NZTQW5UJ.js} +1 -1
- package/build/runtime-ui2d-NZTQW5UJ.js.br +0 -0
- package/build/runtime-ui2d-NZTQW5UJ.js.gz +0 -0
- package/build/{runtime-vectorShapes-J5Y3LMND.js → runtime-vectorShapes-26IDV3ZL.js} +1 -1
- package/build/runtime-vectorShapes-26IDV3ZL.js.br +0 -0
- package/build/runtime-vectorShapes-26IDV3ZL.js.gz +0 -0
- package/build/{runtime-webgpu-LDZ3N2D5.js → runtime-webgpu-CDBERG7X.js} +1 -1
- package/build/runtime-webgpu-CDBERG7X.js.br +0 -0
- package/build/runtime-webgpu-CDBERG7X.js.gz +0 -0
- package/build/runtime.cjs +5 -5
- package/build/runtime.js +1 -1
- package/build/runtime.js.br +0 -0
- package/build/runtime.js.gz +0 -0
- package/build/runtime.standalone.js +1 -1
- package/build/runtime.standalone.js.br +0 -0
- package/build/runtime.standalone.js.gz +0 -0
- package/build/runtime.standalone.webgl.js +1 -1
- package/build/runtime.standalone.webgl.js.br +0 -0
- package/build/runtime.standalone.webgl.js.gz +0 -0
- package/build/runtime.standalone.webgpu.js +1 -1
- package/build/runtime.standalone.webgpu.js.br +0 -0
- package/build/runtime.standalone.webgpu.js.gz +0 -0
- package/build/runtime.standalone.webgpu.micro.js +1 -1
- package/build/runtime.standalone.webgpu.micro.js.br +0 -0
- package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
- package/build/runtime.standalone.webgpu.min.js +1 -1
- package/build/runtime.standalone.webgpu.min.js.br +0 -0
- package/build/runtime.standalone.webgpu.min.js.gz +0 -0
- package/build/snippets/hana-82e9eb82a79dead4/js-imports.js +204 -77
- package/package.json +1 -1
- package/build/runtime-chunk-23QXG35G.js.br +0 -0
- package/build/runtime-chunk-23QXG35G.js.gz +0 -0
- package/build/runtime-chunk-32KZP4YN.js.br +0 -0
- package/build/runtime-chunk-32KZP4YN.js.gz +0 -0
- package/build/runtime-chunk-3GRN37GY.js.br +0 -0
- package/build/runtime-chunk-3GRN37GY.js.gz +0 -0
- package/build/runtime-chunk-557KVSJL.js.br +0 -0
- package/build/runtime-chunk-557KVSJL.js.gz +0 -0
- package/build/runtime-chunk-5JEZ42OM.js.br +0 -0
- package/build/runtime-chunk-5JEZ42OM.js.gz +0 -0
- package/build/runtime-chunk-5RXW5MNJ.js.br +0 -0
- package/build/runtime-chunk-5RXW5MNJ.js.gz +0 -0
- package/build/runtime-chunk-AELTGHV2.js.gz +0 -0
- package/build/runtime-chunk-BMA5KYBS.js.br +0 -0
- package/build/runtime-chunk-BMA5KYBS.js.gz +0 -0
- package/build/runtime-chunk-CKT62HES.js.br +0 -0
- package/build/runtime-chunk-CKT62HES.js.gz +0 -0
- package/build/runtime-chunk-DHWGP6NU.js.br +0 -0
- package/build/runtime-chunk-DHWGP6NU.js.gz +0 -0
- package/build/runtime-chunk-DK66VKWP.js.br +0 -0
- package/build/runtime-chunk-DK66VKWP.js.gz +0 -0
- package/build/runtime-chunk-E3IEBR27.js.br +0 -0
- package/build/runtime-chunk-E3IEBR27.js.gz +0 -0
- package/build/runtime-chunk-EJJZJ5MV.js.br +0 -0
- package/build/runtime-chunk-EJJZJ5MV.js.gz +0 -0
- package/build/runtime-chunk-F3ZACLZW.js.br +0 -0
- package/build/runtime-chunk-F3ZACLZW.js.gz +0 -0
- package/build/runtime-chunk-GZ7C2GJM.js.br +0 -0
- package/build/runtime-chunk-GZ7C2GJM.js.gz +0 -0
- package/build/runtime-chunk-HK23JJVH.js.br +0 -0
- package/build/runtime-chunk-HK23JJVH.js.gz +0 -0
- package/build/runtime-chunk-HZ6FL5GH.js.br +0 -0
- package/build/runtime-chunk-HZ6FL5GH.js.gz +0 -0
- package/build/runtime-chunk-KE6HNYUL.js +0 -1
- package/build/runtime-chunk-KE6HNYUL.js.br +0 -0
- package/build/runtime-chunk-KE6HNYUL.js.gz +0 -0
- package/build/runtime-chunk-KNL33WN7.js +0 -1
- package/build/runtime-chunk-KNL33WN7.js.br +0 -0
- package/build/runtime-chunk-KNL33WN7.js.gz +0 -0
- package/build/runtime-chunk-OUXEWX5Z.js.br +0 -0
- package/build/runtime-chunk-OUXEWX5Z.js.gz +0 -0
- package/build/runtime-chunk-PDASWDVC.js.gz +0 -0
- package/build/runtime-chunk-RLYG5YBB.js.br +0 -1
- package/build/runtime-chunk-RLYG5YBB.js.gz +0 -0
- package/build/runtime-chunk-TAY7IXEZ.js.br +0 -0
- package/build/runtime-chunk-TAY7IXEZ.js.gz +0 -0
- package/build/runtime-chunk-UIM3XKIT.js.br +0 -0
- package/build/runtime-chunk-UIM3XKIT.js.gz +0 -0
- package/build/runtime-chunk-USGQ26QU.js.br +0 -0
- package/build/runtime-chunk-USGQ26QU.js.gz +0 -0
- package/build/runtime-chunk-YULW5JRE.js.br +0 -0
- package/build/runtime-chunk-YULW5JRE.js.gz +0 -0
- package/build/runtime-classicRuntime-U672GAGM.js.br +0 -0
- package/build/runtime-classicRuntime-U672GAGM.js.gz +0 -0
- package/build/runtime-cloners-2AC7OZRC.js.br +0 -0
- package/build/runtime-cloners-2AC7OZRC.js.gz +0 -0
- package/build/runtime-components-L63NUGAO.js.br +0 -0
- package/build/runtime-components-L63NUGAO.js.gz +0 -0
- package/build/runtime-createDestroy-QHHQ6LYS.js.br +0 -0
- package/build/runtime-createDestroy-QHHQ6LYS.js.gz +0 -0
- package/build/runtime-dragDrop-YBSWK3ET.js.br +0 -0
- package/build/runtime-dragDrop-YBSWK3ET.js.gz +0 -0
- package/build/runtime-gameControls-DSJRSTW5.js.br +0 -0
- package/build/runtime-gameControls-DSJRSTW5.js.gz +0 -0
- package/build/runtime-hair-V4RTCES2.js.br +0 -2
- package/build/runtime-hair-V4RTCES2.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-VXENKMD4.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-VXENKMD4.js.gz +0 -0
- package/build/runtime-miscActions-RPUPHHGJ.js.br +0 -0
- package/build/runtime-miscActions-RPUPHHGJ.js.gz +0 -0
- package/build/runtime-mouseHover-HG6AHA2L.js.br +0 -0
- package/build/runtime-mouseHover-HG6AHA2L.js.gz +0 -0
- package/build/runtime-particles-ZHE2MC33.js.br +0 -0
- package/build/runtime-particles-ZHE2MC33.js.gz +0 -0
- package/build/runtime-paths-GN6E6ZYL.js.br +0 -0
- package/build/runtime-paths-GN6E6ZYL.js.gz +0 -0
- package/build/runtime-resize-LACR4RFK.js.br +0 -0
- package/build/runtime-resize-LACR4RFK.js.gz +0 -0
- package/build/runtime-sceneTransition-QLPFYHHY.js.br +0 -0
- package/build/runtime-sceneTransition-QLPFYHHY.js.gz +0 -0
- package/build/runtime-scroll-WZZBT2XR.js.br +0 -0
- package/build/runtime-scroll-WZZBT2XR.js.gz +0 -0
- package/build/runtime-shapeBlends-O6ATLCCA.js +0 -1
- package/build/runtime-shapeBlends-O6ATLCCA.js.br +0 -0
- package/build/runtime-shapeBlends-O6ATLCCA.js.gz +0 -0
- package/build/runtime-text-UADJSRL4.js.br +0 -0
- package/build/runtime-text-UADJSRL4.js.gz +0 -0
- package/build/runtime-textInputs-7U3TTJ4X.js.br +0 -0
- package/build/runtime-textInputs-7U3TTJ4X.js.gz +0 -0
- package/build/runtime-timeline-JXKHKUAC.js +0 -1
- package/build/runtime-timeline-JXKHKUAC.js.br +0 -0
- package/build/runtime-timeline-JXKHKUAC.js.gz +0 -0
- package/build/runtime-tracking-MC74576T.js.br +0 -0
- package/build/runtime-tracking-MC74576T.js.gz +0 -0
- package/build/runtime-transitions-S22YS7E6.js.br +0 -0
- package/build/runtime-transitions-S22YS7E6.js.gz +0 -0
- package/build/runtime-ui2d-EX3RBXPP.js.br +0 -0
- package/build/runtime-ui2d-EX3RBXPP.js.gz +0 -0
- package/build/runtime-vectorShapes-J5Y3LMND.js.br +0 -0
- package/build/runtime-vectorShapes-J5Y3LMND.js.gz +0 -0
- package/build/runtime-webgpu-LDZ3N2D5.js.br +0 -0
- package/build/runtime-webgpu-LDZ3N2D5.js.gz +0 -0
package/build/hana-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* @ts-self-types="./hana.d.ts" */
|
|
2
|
-
import { loadImageFromBytes, loadImageFromUrl, loadVideoFromBytes, loadVideoFromUrl } from './snippets/hana-82e9eb82a79dead4/js-imports.js';
|
|
2
|
+
import { disposeVideo, loadImageFromBytes, loadImageFromUrl, loadVideoFromBytes, loadVideoFromUrl, videoFrameToken } from './snippets/hana-82e9eb82a79dead4/js-imports.js';
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DeviceLostPromise {
|
|
@@ -331,6 +331,22 @@ export class SceneController {
|
|
|
331
331
|
const ret = wasm.scenecontroller_centerVectorData(this.__wbg_ptr);
|
|
332
332
|
return takeObject(ret);
|
|
333
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* Drop the export-time frame override for one video asset (see
|
|
336
|
+
* `setVideoExportFrame`): the renderer resumes sampling its `<video>`
|
|
337
|
+
* element and `seekVideos` drives it again. The export loop's per-video
|
|
338
|
+
* fallback for a WebCodecs source that stopped delivering mid-export.
|
|
339
|
+
* @param {ID} id
|
|
340
|
+
*/
|
|
341
|
+
clearVideoExportFrame(id) {
|
|
342
|
+
wasm.scenecontroller_clearVideoExportFrame(this.__wbg_ptr, addHeapObject(id));
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Drop every export-time video frame override (see `setVideoExportFrame`).
|
|
346
|
+
*/
|
|
347
|
+
clearVideoExportFrames() {
|
|
348
|
+
wasm.scenecontroller_clearVideoExportFrames(this.__wbg_ptr);
|
|
349
|
+
}
|
|
334
350
|
/**
|
|
335
351
|
* @param {any} network
|
|
336
352
|
* @param {Float2} size
|
|
@@ -898,8 +914,11 @@ export class SceneController {
|
|
|
898
914
|
return takeObject(ret);
|
|
899
915
|
}
|
|
900
916
|
/**
|
|
917
|
+
* Resolves to whether any video seeked backward (wrapped across its
|
|
918
|
+
* loop point) — the export loop renders throwaway frames after a wrap
|
|
919
|
+
* to keep cold-path video→RGB conversion transients off captured frames.
|
|
901
920
|
* @param {number} dt
|
|
902
|
-
* @returns {Promise<
|
|
921
|
+
* @returns {Promise<boolean>}
|
|
903
922
|
*/
|
|
904
923
|
seekVideos(dt) {
|
|
905
924
|
const ret = wasm.scenecontroller_seekVideos(this.__wbg_ptr, dt);
|
|
@@ -983,6 +1002,20 @@ export class SceneController {
|
|
|
983
1002
|
setVectorTool(tool) {
|
|
984
1003
|
wasm.scenecontroller_setVectorTool(this.__wbg_ptr, addHeapObject(tool));
|
|
985
1004
|
}
|
|
1005
|
+
/**
|
|
1006
|
+
* Register an export-time frame override for a video asset: the renderer
|
|
1007
|
+
* uploads this WebCodecs frame instead of sampling the `<video>` element,
|
|
1008
|
+
* and `seekVideos` leaves the element alone. The caller keeps ownership
|
|
1009
|
+
* of the frame — it must stay unclosed until the override is replaced or
|
|
1010
|
+
* cleared, and `clearVideoExportFrames` must run before anything renders
|
|
1011
|
+
* outside the export loop. WebGPU backend only (`isWebgpu`); the WebGL
|
|
1012
|
+
* path still samples the element.
|
|
1013
|
+
* @param {ID} id
|
|
1014
|
+
* @param {VideoFrame} frame
|
|
1015
|
+
*/
|
|
1016
|
+
setVideoExportFrame(id, frame) {
|
|
1017
|
+
wasm.scenecontroller_setVideoExportFrame(this.__wbg_ptr, addHeapObject(id), addHeapObject(frame));
|
|
1018
|
+
}
|
|
986
1019
|
/**
|
|
987
1020
|
* Snap a world-space resize handle position against other (non-selected) vertices.
|
|
988
1021
|
* `snap_x`/`snap_y` indicate which axes may snap. Returns the snapped world position.
|
|
@@ -1191,6 +1224,27 @@ export class SceneController {
|
|
|
1191
1224
|
vectorStopContinueSubpath() {
|
|
1192
1225
|
wasm.scenecontroller_vectorStopContinueSubpath(this.__wbg_ptr);
|
|
1193
1226
|
}
|
|
1227
|
+
/**
|
|
1228
|
+
* The video fills the export loop should decode with WebCodecs, as
|
|
1229
|
+
* `{ id, src }` objects (`src` is the loaded `<video>` element's source:
|
|
1230
|
+
* the asset's own URL for streamed loads, a `blob:` URL for byte-loaded
|
|
1231
|
+
* ones — either way the same URL the element itself fetched). Enumerated from the start events' video actions — the exact set
|
|
1232
|
+
* `seekVideos` drives — so the WebCodecs path animates precisely the
|
|
1233
|
+
* fills the element path would: a fill without a play action stays a
|
|
1234
|
+
* static frame on both paths and both backends. Scoped to actions
|
|
1235
|
+
* targeting `frame_id`'s subtree on purpose: enumerating the whole
|
|
1236
|
+
* document put a live decoder behind every video in the file (74 in one
|
|
1237
|
+
* real doc), turning a 5s export into 74 decode streams. Videos still
|
|
1238
|
+
* loading are omitted, and videos outside the subtree stay on the
|
|
1239
|
+
* seek-driven element path — both remain correct, just less
|
|
1240
|
+
* stable/deterministic.
|
|
1241
|
+
* @param {ID} frame_id
|
|
1242
|
+
* @returns {Array<any>}
|
|
1243
|
+
*/
|
|
1244
|
+
videoFillSources(frame_id) {
|
|
1245
|
+
const ret = wasm.scenecontroller_videoFillSources(this.__wbg_ptr, addHeapObject(frame_id));
|
|
1246
|
+
return takeObject(ret);
|
|
1247
|
+
}
|
|
1194
1248
|
/**
|
|
1195
1249
|
* @param {Float2} pos
|
|
1196
1250
|
* @returns {Float2}
|
|
@@ -1764,6 +1818,17 @@ function __wbg_get_imports() {
|
|
|
1764
1818
|
__wbg_dispatchWorkgroups_afb2344298c62227: function(arg0, arg1, arg2, arg3) {
|
|
1765
1819
|
getObject(arg0).dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
1766
1820
|
},
|
|
1821
|
+
__wbg_displayHeight_465673c1823a1db3: function(arg0) {
|
|
1822
|
+
const ret = getObject(arg0).displayHeight;
|
|
1823
|
+
return ret;
|
|
1824
|
+
},
|
|
1825
|
+
__wbg_displayWidth_73729fd8eb965076: function(arg0) {
|
|
1826
|
+
const ret = getObject(arg0).displayWidth;
|
|
1827
|
+
return ret;
|
|
1828
|
+
},
|
|
1829
|
+
__wbg_disposeVideo_c94c1ccd57a63f68: function(arg0) {
|
|
1830
|
+
disposeVideo(getObject(arg0));
|
|
1831
|
+
},
|
|
1767
1832
|
__wbg_document_aceb08cd6489baf5: function(arg0) {
|
|
1768
1833
|
const ret = getObject(arg0).document;
|
|
1769
1834
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
@@ -2410,7 +2475,7 @@ function __wbg_get_imports() {
|
|
|
2410
2475
|
const a = state0.a;
|
|
2411
2476
|
state0.a = 0;
|
|
2412
2477
|
try {
|
|
2413
|
-
return
|
|
2478
|
+
return __wasm_bindgen_func_elem_14186(a, state0.b, arg0, arg1);
|
|
2414
2479
|
} finally {
|
|
2415
2480
|
state0.a = a;
|
|
2416
2481
|
}
|
|
@@ -2456,7 +2521,7 @@ function __wbg_get_imports() {
|
|
|
2456
2521
|
const a = state0.a;
|
|
2457
2522
|
state0.a = 0;
|
|
2458
2523
|
try {
|
|
2459
|
-
return
|
|
2524
|
+
return __wasm_bindgen_func_elem_14186(a, state0.b, arg0, arg1);
|
|
2460
2525
|
} finally {
|
|
2461
2526
|
state0.a = a;
|
|
2462
2527
|
}
|
|
@@ -2583,6 +2648,10 @@ function __wbg_get_imports() {
|
|
|
2583
2648
|
__wbg_readPixels_d00c1cae608273d8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2584
2649
|
getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
2585
2650
|
}, arguments); },
|
|
2651
|
+
__wbg_readyState_77b1b1db1b8c2a5f: function(arg0) {
|
|
2652
|
+
const ret = getObject(arg0).readyState;
|
|
2653
|
+
return ret;
|
|
2654
|
+
},
|
|
2586
2655
|
__wbg_reason_b02cd587d1a09948: function(arg0) {
|
|
2587
2656
|
const ret = getObject(arg0).reason;
|
|
2588
2657
|
return (__wbindgen_enum_GpuDeviceLostReason.indexOf(ret) + 1 || 3) - 1;
|
|
@@ -3313,6 +3382,13 @@ function __wbg_get_imports() {
|
|
|
3313
3382
|
const ret = getObject(arg0).size;
|
|
3314
3383
|
return ret;
|
|
3315
3384
|
},
|
|
3385
|
+
__wbg_src_f0e9281991fbd919: function(arg0, arg1) {
|
|
3386
|
+
const ret = getObject(arg1).src;
|
|
3387
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
3388
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3389
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3390
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3391
|
+
},
|
|
3316
3392
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
3317
3393
|
const ret = getObject(arg1).stack;
|
|
3318
3394
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -3531,6 +3607,10 @@ function __wbg_get_imports() {
|
|
|
3531
3607
|
__wbg_vertexAttribPointer_3bc50c0431082f73: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3532
3608
|
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
3533
3609
|
},
|
|
3610
|
+
__wbg_videoFrameToken_6f05524e85fa2b75: function(arg0) {
|
|
3611
|
+
const ret = videoFrameToken(getObject(arg0));
|
|
3612
|
+
return ret;
|
|
3613
|
+
},
|
|
3534
3614
|
__wbg_videoHeight_e267fd1e74bb1b06: function(arg0) {
|
|
3535
3615
|
const ret = getObject(arg0).videoHeight;
|
|
3536
3616
|
return ret;
|
|
@@ -3556,48 +3636,48 @@ function __wbg_get_imports() {
|
|
|
3556
3636
|
getObject(arg0).writeTexture(getObject(arg1), getArrayU8FromWasm0(arg2, arg3), getObject(arg4), getObject(arg5));
|
|
3557
3637
|
}, arguments); },
|
|
3558
3638
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3559
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3560
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3639
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1054, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3640
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_14184);
|
|
3561
3641
|
return addHeapObject(ret);
|
|
3562
3642
|
},
|
|
3563
3643
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3564
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
3565
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3644
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 34, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3645
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5119);
|
|
3566
3646
|
return addHeapObject(ret);
|
|
3567
3647
|
},
|
|
3568
3648
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3569
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUComputePipeline")], shim_idx:
|
|
3570
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3649
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUComputePipeline")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3650
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11140);
|
|
3571
3651
|
return addHeapObject(ret);
|
|
3572
3652
|
},
|
|
3573
3653
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3574
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx:
|
|
3575
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3654
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3655
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11140_3);
|
|
3576
3656
|
return addHeapObject(ret);
|
|
3577
3657
|
},
|
|
3578
3658
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
3579
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx:
|
|
3580
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3659
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 930, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3660
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11141);
|
|
3581
3661
|
return addHeapObject(ret);
|
|
3582
3662
|
},
|
|
3583
3663
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
3584
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPURenderPipeline")], shim_idx:
|
|
3585
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3664
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPURenderPipeline")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3665
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11140_5);
|
|
3586
3666
|
return addHeapObject(ret);
|
|
3587
3667
|
},
|
|
3588
3668
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
3589
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx:
|
|
3590
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3669
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3670
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11140_6);
|
|
3591
3671
|
return addHeapObject(ret);
|
|
3592
3672
|
},
|
|
3593
3673
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
3594
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx:
|
|
3595
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3674
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 929, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3675
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_11140_7);
|
|
3596
3676
|
return addHeapObject(ret);
|
|
3597
3677
|
},
|
|
3598
3678
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
3599
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
3600
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3679
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1037, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3680
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12547);
|
|
3601
3681
|
return addHeapObject(ret);
|
|
3602
3682
|
},
|
|
3603
3683
|
__wbindgen_cast_000000000000000a: function(arg0) {
|
|
@@ -3671,22 +3751,22 @@ function __wbg_get_imports() {
|
|
|
3671
3751
|
};
|
|
3672
3752
|
}
|
|
3673
3753
|
|
|
3674
|
-
function
|
|
3675
|
-
wasm.
|
|
3754
|
+
function __wasm_bindgen_func_elem_12547(arg0, arg1) {
|
|
3755
|
+
wasm.__wasm_bindgen_func_elem_12547(arg0, arg1);
|
|
3676
3756
|
}
|
|
3677
3757
|
|
|
3678
|
-
function
|
|
3679
|
-
wasm.
|
|
3758
|
+
function __wasm_bindgen_func_elem_5119(arg0, arg1, arg2) {
|
|
3759
|
+
wasm.__wasm_bindgen_func_elem_5119(arg0, arg1, addHeapObject(arg2));
|
|
3680
3760
|
}
|
|
3681
3761
|
|
|
3682
|
-
function
|
|
3683
|
-
wasm.
|
|
3762
|
+
function __wasm_bindgen_func_elem_11141(arg0, arg1, arg2) {
|
|
3763
|
+
wasm.__wasm_bindgen_func_elem_11141(arg0, arg1, addHeapObject(arg2));
|
|
3684
3764
|
}
|
|
3685
3765
|
|
|
3686
|
-
function
|
|
3766
|
+
function __wasm_bindgen_func_elem_14184(arg0, arg1, arg2) {
|
|
3687
3767
|
try {
|
|
3688
3768
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3689
|
-
wasm.
|
|
3769
|
+
wasm.__wasm_bindgen_func_elem_14184(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3690
3770
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3691
3771
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3692
3772
|
if (r1) {
|
|
@@ -3697,10 +3777,10 @@ function __wasm_bindgen_func_elem_14110(arg0, arg1, arg2) {
|
|
|
3697
3777
|
}
|
|
3698
3778
|
}
|
|
3699
3779
|
|
|
3700
|
-
function
|
|
3780
|
+
function __wasm_bindgen_func_elem_11140(arg0, arg1, arg2) {
|
|
3701
3781
|
try {
|
|
3702
3782
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3703
|
-
wasm.
|
|
3783
|
+
wasm.__wasm_bindgen_func_elem_11140(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3704
3784
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3705
3785
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3706
3786
|
if (r1) {
|
|
@@ -3711,10 +3791,10 @@ function __wasm_bindgen_func_elem_11070(arg0, arg1, arg2) {
|
|
|
3711
3791
|
}
|
|
3712
3792
|
}
|
|
3713
3793
|
|
|
3714
|
-
function
|
|
3794
|
+
function __wasm_bindgen_func_elem_11140_3(arg0, arg1, arg2) {
|
|
3715
3795
|
try {
|
|
3716
3796
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3717
|
-
wasm.
|
|
3797
|
+
wasm.__wasm_bindgen_func_elem_11140_3(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3718
3798
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3719
3799
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3720
3800
|
if (r1) {
|
|
@@ -3725,10 +3805,10 @@ function __wasm_bindgen_func_elem_11070_3(arg0, arg1, arg2) {
|
|
|
3725
3805
|
}
|
|
3726
3806
|
}
|
|
3727
3807
|
|
|
3728
|
-
function
|
|
3808
|
+
function __wasm_bindgen_func_elem_11140_5(arg0, arg1, arg2) {
|
|
3729
3809
|
try {
|
|
3730
3810
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3731
|
-
wasm.
|
|
3811
|
+
wasm.__wasm_bindgen_func_elem_11140_5(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3732
3812
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3733
3813
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3734
3814
|
if (r1) {
|
|
@@ -3739,10 +3819,10 @@ function __wasm_bindgen_func_elem_11070_5(arg0, arg1, arg2) {
|
|
|
3739
3819
|
}
|
|
3740
3820
|
}
|
|
3741
3821
|
|
|
3742
|
-
function
|
|
3822
|
+
function __wasm_bindgen_func_elem_11140_6(arg0, arg1, arg2) {
|
|
3743
3823
|
try {
|
|
3744
3824
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3745
|
-
wasm.
|
|
3825
|
+
wasm.__wasm_bindgen_func_elem_11140_6(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3746
3826
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3747
3827
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3748
3828
|
if (r1) {
|
|
@@ -3753,10 +3833,10 @@ function __wasm_bindgen_func_elem_11070_6(arg0, arg1, arg2) {
|
|
|
3753
3833
|
}
|
|
3754
3834
|
}
|
|
3755
3835
|
|
|
3756
|
-
function
|
|
3836
|
+
function __wasm_bindgen_func_elem_11140_7(arg0, arg1, arg2) {
|
|
3757
3837
|
try {
|
|
3758
3838
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3759
|
-
wasm.
|
|
3839
|
+
wasm.__wasm_bindgen_func_elem_11140_7(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3760
3840
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3761
3841
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3762
3842
|
if (r1) {
|
|
@@ -3767,8 +3847,8 @@ function __wasm_bindgen_func_elem_11070_7(arg0, arg1, arg2) {
|
|
|
3767
3847
|
}
|
|
3768
3848
|
}
|
|
3769
3849
|
|
|
3770
|
-
function
|
|
3771
|
-
wasm.
|
|
3850
|
+
function __wasm_bindgen_func_elem_14186(arg0, arg1, arg2, arg3) {
|
|
3851
|
+
wasm.__wasm_bindgen_func_elem_14186(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
3772
3852
|
}
|
|
3773
3853
|
|
|
3774
3854
|
|
package/build/hana-ui.js.br
CHANGED
|
Binary file
|
package/build/hana-ui.js.gz
CHANGED
|
Binary file
|
package/build/hana-ui.wasm
CHANGED
|
Binary file
|
package/build/hana-ui.wasm.br
CHANGED
|
Binary file
|
package/build/hana-ui.wasm.gz
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ea as t}from"./runtime-chunk-
|
|
1
|
+
import{ea as t}from"./runtime-chunk-7FDJ7IIR.js";import{Fc as e,Oc as r,jd as i}from"./runtime-chunk-VGN7YHB7.js";var s=new e,n=new r,a=new i,h=class extends t{constructor(t,e,r){super(t,e,r),this.data=e}get textGeometry(){return this.geometry}get charWidths(){return this.textGeometry.charWidths}get charCoords(){return this.textGeometry.charCoords}get wrappedText(){return this.textGeometry.wrappedText}get font(){return this.textGeometry.font}get initialOffsetY(){let t=this.dataPatched;return this.font?.getLineInitialOffsetY(this.lineHeight,this.wrappedText.length,"number"==typeof t.geometry.height?t.geometry.height:1,this.fontScale,t.geometry.verticalAlign)??0}get fontScale(){let t=this.dataPatched;return this.font?t.geometry.fontSize/this.font.unitsPerEm:1}get AD(){return Math.abs(this.ascender-this.descender)}get ascender(){return(this.font?.ascender??1)*this.fontScale}get descender(){return(this.font?.descender??1)*this.fontScale}get lineHeight(){let t=this.dataPatched;return t.geometry.fontSize*t.geometry.lineHeight}raycast(t,e){let{matrixWorld:r}=this;if(!isNaN(t.ray.origin.x)&&0!==this.scale.x&&0!==this.scale.y&&0!==this.scale.z&&(n.copy(r).invert(),a.copy(t.ray).applyMatrix4(n),a.intersectBox(this.singleBBox,s))){let i=s.applyMatrix4(r),n=t.ray.origin.distanceTo(i);e.push({distance:n,point:i.clone(),object:this})}}};export{h as a};
|
|
Binary file
|
|
Binary file
|