@shopware-ag/dive 2.0.1-beta.6 → 2.0.1-beta.7
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/chunks/{AssetExporter-ClYQ4gnb.mjs → AssetExporter-QnOue3VT.mjs} +19 -19
- package/build/chunks/{AssetExporter-CAqADFbL.cjs → AssetExporter-TzKB2FHh.cjs} +4 -4
- package/build/chunks/AssetLoader-DCBiLwef.cjs +4 -0
- package/build/chunks/{AssetLoader-BewzFwHi.mjs → AssetLoader-Dqrg0Re8.mjs} +38 -35
- package/build/chunks/FileTypes-Ca8pkRlQ.cjs +30 -0
- package/build/chunks/FileTypes-CpKiTXEY.mjs +1109 -0
- package/build/chunks/MathUtils-CBW56ZuG.cjs +1 -0
- package/build/chunks/MathUtils-CFGjHuVF.mjs +159 -0
- package/build/chunks/OrbitController-D-WNei2f.mjs +940 -0
- package/build/chunks/OrbitController-rMX8EHvJ.cjs +1 -0
- package/build/chunks/PerspectiveCamera-CONx93im.cjs +1 -0
- package/build/chunks/PerspectiveCamera-DUiWJJIj.mjs +38 -0
- package/build/chunks/PovSchema-Co9FznEz.cjs +1 -0
- package/build/chunks/PovSchema-DWWvr_ED.mjs +10 -0
- package/build/chunks/SelectTool-BizqI7_a.cjs +1 -0
- package/build/chunks/{SelectTool-DLXheZay.mjs → SelectTool-DVFL7BtX.mjs} +10 -10
- package/build/chunks/network-error-CHvryg-4.mjs +18 -0
- package/build/chunks/network-error-D_pq8VU6.cjs +1 -0
- package/build/chunks/package-CeZyVg2G.mjs +39 -0
- package/build/chunks/package-D_hIrGNz.cjs +1 -0
- package/build/dive.cjs +1 -30
- package/build/dive.mjs +617 -1089
- package/build/plugins/animation/index.cjs +1 -0
- package/build/plugins/animation/index.d.ts +2 -0
- package/build/plugins/animation/index.mjs +126 -0
- package/build/plugins/ar/index.cjs +1 -0
- package/build/plugins/ar/index.d.ts +2 -0
- package/build/{chunks/ARSystem-D27w7Pck.mjs → plugins/ar/index.mjs} +38 -44
- package/build/plugins/assetconverter/index.d.ts +2 -0
- package/build/plugins/assetexporter/index.cjs +1 -0
- package/build/plugins/assetexporter/index.d.ts +2 -0
- package/build/plugins/assetexporter/index.mjs +4 -0
- package/build/plugins/assetloader/index.cjs +1 -0
- package/build/plugins/assetloader/index.d.ts +2 -0
- package/build/plugins/assetloader/index.mjs +6 -0
- package/build/plugins/axiscamera/index.cjs +1 -0
- package/build/plugins/axiscamera/index.d.ts +2 -0
- package/build/plugins/axiscamera/index.mjs +4 -0
- package/build/plugins/mediacreator/index.cjs +1 -0
- package/build/plugins/mediacreator/index.d.ts +2 -0
- package/build/{chunks/MediaCreator-psLAAyJA.mjs → plugins/mediacreator/index.mjs} +1 -1
- package/build/{modules/controller → plugins/orbitcontroller}/index.cjs +1 -1
- package/build/plugins/orbitcontroller/index.d.ts +2 -0
- package/build/plugins/orbitcontroller/index.mjs +5 -0
- package/build/plugins/state/index.cjs +27 -0
- package/build/plugins/state/index.d.ts +2 -0
- package/build/plugins/state/index.mjs +4265 -0
- package/build/plugins/systeminfo/index.cjs +1 -0
- package/build/plugins/systeminfo/index.d.ts +2 -0
- package/build/{modules → plugins}/systeminfo/index.mjs +24 -23
- package/build/plugins/toolbox/index.cjs +1 -0
- package/build/plugins/toolbox/index.d.ts +2 -0
- package/build/{chunks/Toolbox-DKuyL8n5.mjs → plugins/toolbox/index.mjs} +8 -2
- package/build/src/components/gizmo/Gizmo.d.ts +1 -1
- package/build/src/components/gizmo/handles/AxisHandle.d.ts +1 -1
- package/build/src/components/gizmo/handles/RadialHandle.d.ts +1 -1
- package/build/src/components/gizmo/handles/ScaleHandle.d.ts +1 -1
- package/build/src/components/gizmo/rotate/RotateGizmo.d.ts +2 -2
- package/build/src/components/gizmo/scale/ScaleGizmo.d.ts +2 -2
- package/build/src/components/gizmo/translate/TranslateGizmo.d.ts +2 -2
- package/build/src/components/model/Model.d.ts +2 -2
- package/build/src/components/primitive/Primitive.d.ts +3 -3
- package/build/src/components/root/Root.d.ts +5 -7
- package/build/src/core/Dive.d.ts +1 -1
- package/build/src/engine/clock/Clock.d.ts +1 -0
- package/build/src/index.d.ts +2 -1
- package/build/src/interfaces/Draggable.d.ts +1 -1
- package/build/src/plugins/animation/index.d.ts +2 -0
- package/build/src/{modules/animation → plugins/animation/src}/animator/Animator.d.ts +2 -3
- package/build/src/plugins/animation/src/index.d.ts +3 -0
- package/build/src/plugins/animation/src/system/AnimationSystem.d.ts +23 -0
- package/build/src/plugins/ar/index.d.ts +4 -0
- package/build/src/{modules/ar → plugins/ar/src}/ARSystem.d.ts +0 -27
- package/build/src/{modules/ar → plugins/ar/src}/webxr/WebXR.d.ts +2 -2
- package/build/src/{modules/ar → plugins/ar/src}/webxr/controller/WebXRController.d.ts +2 -2
- package/build/src/{modules/ar → plugins/ar/src}/webxr/origin/WebXROrigin.d.ts +1 -1
- package/build/src/{modules/ar → plugins/ar/src}/webxr/raycaster/WebXRRaycaster.d.ts +3 -3
- package/build/src/{modules/ar → plugins/ar/src}/webxr/raycaster/ar/WebXRRaycasterAR.d.ts +1 -1
- package/build/src/{modules/ar → plugins/ar/src}/webxr/raycaster/three/WebXRRaycasterTHREE.d.ts +2 -2
- package/build/src/{modules/ar → plugins/ar/src}/webxr/touchscreencontrols/WebXRTouchscreenControls.d.ts +1 -1
- package/build/src/plugins/assetconverter/index.d.ts +1 -0
- package/build/src/plugins/assetconverter/src/AssetConverter.d.ts +13 -0
- package/build/src/plugins/assetexporter/index.d.ts +1 -0
- package/build/src/{modules/assetexporter → plugins/assetexporter/src}/AssetExporter.d.ts +1 -18
- package/build/src/plugins/assetloader/index.d.ts +3 -0
- package/build/src/plugins/assetloader/src/loader/AssetLoader.d.ts +8 -0
- package/build/src/plugins/axiscamera/index.d.ts +1 -0
- package/build/src/{modules/axiscamera → plugins/axiscamera/src}/AxisCamera.d.ts +1 -4
- package/build/src/plugins/mediacreator/index.d.ts +1 -0
- package/build/src/plugins/mediacreator/src/MediaCreator.d.ts +15 -0
- package/build/src/plugins/orbitcontroller/index.d.ts +1 -0
- package/build/src/{modules/controller/orbit → plugins/orbitcontroller/src}/OrbitController.d.ts +3 -3
- package/build/src/plugins/state/index.d.ts +4 -0
- package/build/src/{modules/state → plugins/state/src}/State.d.ts +4 -27
- package/build/src/{modules/state → plugins/state/src}/actions/action.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/ar/launchar.d.ts +2 -2
- package/build/src/{modules/state → plugins/state/src}/actions/camera/computeencompassingview.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/camera/getcameratransform.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/camera/lockcamera.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/camera/movecamera.d.ts +3 -3
- package/build/src/{modules/state → plugins/state/src}/actions/camera/setcameralayer.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/camera/setcameratransform.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/camera/zoomcamera.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/media/generatemedia.d.ts +1 -1
- package/build/src/plugins/state/src/actions/object/addobject.d.ts +9 -0
- package/build/src/plugins/state/src/actions/object/deleteobject.d.ts +13 -0
- package/build/src/plugins/state/src/actions/object/deselectobject.d.ts +13 -0
- package/build/src/{modules/state → plugins/state/src}/actions/object/dropit.d.ts +3 -3
- package/build/src/{modules/state → plugins/state/src}/actions/object/getallobjects.d.ts +3 -2
- package/build/src/plugins/state/src/actions/object/getobjects.d.ts +13 -0
- package/build/src/{modules/state → plugins/state/src}/actions/object/modelloaded.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/object/placeonfloor.d.ts +3 -3
- package/build/src/plugins/state/src/actions/object/selectobject.d.ts +13 -0
- package/build/src/plugins/state/src/actions/object/setparent.d.ts +23 -0
- package/build/src/plugins/state/src/actions/object/updateobject.d.ts +13 -0
- package/build/src/{modules/state → plugins/state/src}/actions/renderer/startrender.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/scene/exportscene.d.ts +4 -4
- package/build/src/plugins/state/src/actions/scene/getallscenedata.d.ts +9 -0
- package/build/src/{modules/state → plugins/state/src}/actions/scene/setbackground.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/scene/updatescene.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/toolbox/setgizmomode.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/toolbox/setgizmoscalelinked.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/toolbox/setgizmovisible.d.ts +1 -1
- package/build/src/{modules/state → plugins/state/src}/actions/toolbox/usetool.d.ts +2 -2
- package/build/src/{modules → plugins}/state/types/ActionTypes.d.ts +8 -9
- package/build/src/{types/SceneType.d.ts → plugins/state/types/StateExportFileType.d.ts} +1 -1
- package/build/src/plugins/state/types/StateSceneData.d.ts +19 -0
- package/build/src/plugins/state/types/index.d.ts +1 -0
- package/build/src/plugins/systeminfo/index.d.ts +2 -0
- package/build/src/{modules/systeminfo → plugins/systeminfo/src}/SystemInfo.d.ts +1 -32
- package/build/src/plugins/toolbox/index.d.ts +4 -0
- package/build/src/{modules/toolbox → plugins/toolbox/src}/BaseTool.d.ts +2 -4
- package/build/src/{modules/toolbox → plugins/toolbox/src}/Toolbox.d.ts +2 -11
- package/build/src/{modules/toolbox → plugins/toolbox/src}/select/SelectTool.d.ts +2 -3
- package/build/src/{modules/toolbox → plugins/toolbox/src}/transform/TransformTool.d.ts +2 -3
- package/build/src/types/components/DIVELight.d.ts +4 -0
- package/build/src/types/components/DIVESceneObject.d.ts +6 -0
- package/build/src/types/components/index.d.ts +2 -0
- package/build/src/types/index.d.ts +2 -5
- package/build/src/types/schema/BaseEntitySchema.d.ts +8 -0
- package/build/src/types/schema/EntitySchema.d.ts +11 -0
- package/build/src/types/schema/EntityTypeSchema.d.ts +1 -0
- package/build/src/types/schema/GeometrySchema.d.ts +7 -0
- package/build/src/types/schema/GeometryTypeSchema.d.ts +1 -0
- package/build/src/types/schema/GroupSchema.d.ts +11 -0
- package/build/src/types/schema/LightSchema.d.ts +28 -0
- package/build/src/{modules/state/types/COMMaterial.d.ts → types/schema/MaterialSchema.d.ts} +1 -1
- package/build/src/types/schema/ModelSchema.d.ts +14 -0
- package/build/src/types/schema/PovSchema.d.ts +10 -0
- package/build/src/types/schema/PrimitiveSchema.d.ts +14 -0
- package/build/src/types/schema/index.d.ts +11 -0
- package/package.json +41 -41
- package/build/chunks/ARSystem-_0cLAxyG.cjs +0 -1
- package/build/chunks/AnimationSystem-Bf-xhqRe.mjs +0 -101
- package/build/chunks/AnimationSystem-DFUYMNpj.cjs +0 -1
- package/build/chunks/AssetLoader-Bq-Ekxil.cjs +0 -4
- package/build/chunks/AxisCamera-CUb3g8WX.cjs +0 -1
- package/build/chunks/AxisCamera-lXJLIPLK.mjs +0 -39
- package/build/chunks/AxisHelperColors-BrGqktN5.cjs +0 -1
- package/build/chunks/AxisHelperColors-JLBHYQDi.mjs +0 -9
- package/build/chunks/FileTypes-DuVGjbcR.mjs +0 -36
- package/build/chunks/FileTypes-DzVpDu_p.cjs +0 -1
- package/build/chunks/MediaCreator-CEWeS42n.cjs +0 -1
- package/build/chunks/ModuleRegistry-CBfx1EVd.mjs +0 -13
- package/build/chunks/ModuleRegistry-CDIxOzgZ.cjs +0 -1
- package/build/chunks/OrbitController-B8VkQV1e.cjs +0 -1
- package/build/chunks/OrbitController-CXu1ko6E.mjs +0 -462
- package/build/chunks/PerspectiveCamera-BByyG5R4.cjs +0 -1
- package/build/chunks/PerspectiveCamera-PMJPzAn3.mjs +0 -34
- package/build/chunks/SelectTool-9eiKZXT4.cjs +0 -1
- package/build/chunks/State-BNgqNPrs.mjs +0 -4296
- package/build/chunks/State-Mvu0hG-n.cjs +0 -27
- package/build/chunks/Toolbox-qFN47t2F.cjs +0 -1
- package/build/chunks/VisibilityLayerMask-BI7jPKdx.cjs +0 -1
- package/build/chunks/VisibilityLayerMask-CXgt1fJc.mjs +0 -8
- package/build/chunks/index-C_uFFwT2.mjs +0 -5
- package/build/chunks/index-DAwIH9xh.cjs +0 -1
- package/build/chunks/package-CHgGmFCa.cjs +0 -1
- package/build/chunks/package-CIkS9WF6.mjs +0 -39
- package/build/modules/animation/index.cjs +0 -1
- package/build/modules/animation/index.d.ts +0 -2
- package/build/modules/animation/index.mjs +0 -5
- package/build/modules/ar/index.cjs +0 -1
- package/build/modules/ar/index.d.ts +0 -2
- package/build/modules/ar/index.mjs +0 -11
- package/build/modules/assetconverter/index.cjs +0 -1
- package/build/modules/assetconverter/index.d.ts +0 -2
- package/build/modules/assetconverter/index.mjs +0 -4
- package/build/modules/assetexporter/index.cjs +0 -1
- package/build/modules/assetexporter/index.d.ts +0 -2
- package/build/modules/assetexporter/index.mjs +0 -4
- package/build/modules/assetloader/index.cjs +0 -1
- package/build/modules/assetloader/index.d.ts +0 -2
- package/build/modules/assetloader/index.mjs +0 -4
- package/build/modules/axiscamera/index.cjs +0 -1
- package/build/modules/axiscamera/index.d.ts +0 -2
- package/build/modules/axiscamera/index.mjs +0 -4
- package/build/modules/controller/index.d.ts +0 -2
- package/build/modules/controller/index.mjs +0 -5
- package/build/modules/mediacreator/index.cjs +0 -1
- package/build/modules/mediacreator/index.d.ts +0 -2
- package/build/modules/mediacreator/index.mjs +0 -4
- package/build/modules/state/index.cjs +0 -1
- package/build/modules/state/index.d.ts +0 -2
- package/build/modules/state/index.mjs +0 -39
- package/build/modules/systeminfo/index.cjs +0 -1
- package/build/modules/systeminfo/index.d.ts +0 -2
- package/build/modules/toolbox/index.cjs +0 -1
- package/build/modules/toolbox/index.d.ts +0 -2
- package/build/modules/toolbox/index.mjs +0 -10
- package/build/src/modules/ModuleRegistry.d.ts +0 -19
- package/build/src/modules/animation/AnimationSystem.d.ts +0 -36
- package/build/src/modules/animation/index.d.ts +0 -2
- package/build/src/modules/ar/index.d.ts +0 -4
- package/build/src/modules/assetconverter/AssetConverter.d.ts +0 -30
- package/build/src/modules/assetconverter/index.d.ts +0 -1
- package/build/src/modules/assetexporter/index.d.ts +0 -1
- package/build/src/modules/assetloader/AssetLoader.d.ts +0 -29
- package/build/src/modules/assetloader/index.d.ts +0 -1
- package/build/src/modules/axiscamera/index.d.ts +0 -1
- package/build/src/modules/controller/index.d.ts +0 -1
- package/build/src/modules/mediacreator/MediaCreator.d.ts +0 -44
- package/build/src/modules/mediacreator/index.d.ts +0 -1
- package/build/src/modules/state/actions/object/addobject.d.ts +0 -8
- package/build/src/modules/state/actions/object/deleteobject.d.ts +0 -12
- package/build/src/modules/state/actions/object/deselectobject.d.ts +0 -12
- package/build/src/modules/state/actions/object/getobjects.d.ts +0 -12
- package/build/src/modules/state/actions/object/selectobject.d.ts +0 -12
- package/build/src/modules/state/actions/object/setparent.d.ts +0 -22
- package/build/src/modules/state/actions/object/updateobject.d.ts +0 -12
- package/build/src/modules/state/actions/scene/getallscenedata.d.ts +0 -9
- package/build/src/modules/state/index.d.ts +0 -4
- package/build/src/modules/state/types/COMBaseEntity.d.ts +0 -8
- package/build/src/modules/state/types/COMEntity.d.ts +0 -11
- package/build/src/modules/state/types/COMEntityType.d.ts +0 -1
- package/build/src/modules/state/types/COMGeometry.d.ts +0 -7
- package/build/src/modules/state/types/COMGeometryType.d.ts +0 -1
- package/build/src/modules/state/types/COMGroup.d.ts +0 -11
- package/build/src/modules/state/types/COMLight.d.ts +0 -28
- package/build/src/modules/state/types/COMModel.d.ts +0 -14
- package/build/src/modules/state/types/COMPov.d.ts +0 -10
- package/build/src/modules/state/types/COMPrimitive.d.ts +0 -14
- package/build/src/modules/state/types/index.d.ts +0 -11
- package/build/src/modules/systeminfo/index.d.ts +0 -1
- package/build/src/modules/toolbox/index.d.ts +0 -4
- package/build/src/types/SceneData.d.ts +0 -19
- package/build/src/types/SceneObjects.d.ts +0 -9
- package/build/src/types/UUID.d.ts +0 -1
- /package/build/{chunks/AssetConverter-BTAb23e8.cjs → plugins/assetconverter/index.cjs} +0 -0
- /package/build/{chunks/AssetConverter-D-qOTLs1.mjs → plugins/assetconverter/index.mjs} +0 -0
- /package/build/src/{modules/animation → plugins/animation/src}/types/AnimatorParameters.d.ts +0 -0
- /package/build/src/{modules/ar → plugins/ar/src}/arquicklook/ARQuickLook.d.ts +0 -0
- /package/build/src/{modules/ar → plugins/ar/src}/error/ar-errors.d.ts +0 -0
- /package/build/src/{modules/ar → plugins/ar/src}/sceneviewer/SceneViewer.d.ts +0 -0
- /package/build/src/{modules/ar → plugins/ar/src}/webxr/crosshair/WebXRCrosshair.d.ts +0 -0
- /package/build/src/{modules/ar → plugins/ar/src}/webxr/overlay/Overlay.d.ts +0 -0
- /package/build/src/{modules/assetloader → plugins/assetloader/src}/draco/DracoLoader.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/ActionRegistry.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/actions/ar/index.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/actions/camera/index.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/actions/index.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/actions/media/index.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/actions/object/index.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/actions/renderer/index.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/actions/scene/index.d.ts +0 -0
- /package/build/src/{modules/state → plugins/state/src}/actions/toolbox/index.d.ts +0 -0
- /package/build/src/{types/info → plugins/systeminfo/types}/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var u=Object.defineProperty;var h=(n,e,t)=>e in n?u(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var a=(n,e,t)=>h(n,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("@tweenjs/tween.js"),c=require("../../chunks/MathUtils-CBW56ZuG.cjs");function _(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,s.get?s:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const d=_(f);class g{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});const s=this._listeners;s[e]===void 0&&(s[e]=[]),s[e].indexOf(t)===-1&&s[e].push(t)}hasEventListener(e,t){if(this._listeners===void 0)return!1;const s=this._listeners;return s[e]!==void 0&&s[e].indexOf(t)!==-1}removeEventListener(e,t){if(this._listeners===void 0)return;const r=this._listeners[e];if(r!==void 0){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}}dispatchEvent(e){if(this._listeners===void 0)return;const s=this._listeners[e.type];if(s!==void 0){e.target=this;const r=s.slice(0);for(let i=0,l=r.length;i<l;i++)r[i].call(this,e);e.target=null}}}class p extends g{constructor(t,s,r,i){super();a(this,"_uuid",c.MathUtils.generateUUID());a(this,"_playing",!1);a(this,"_stopped",!1);a(this,"_completed",!1);this.object=t,this.to=s,this.duration=r,this.options=i}get uuid(){return this._uuid}get playing(){return this._playing}get stopped(){return this._stopped}get completed(){return this._completed}dispose(){this._playing=!1,this._stopped=!1,this._completed=!1}play(){return this._playing=!0,this._stopped=!1,this.dispatchEvent({type:"play",target:this}),this}stop(){return this._playing=!1,this._stopped=!0,this.dispatchEvent({type:"stop",target:this}),this}}class E{constructor(){a(this,"uuid",c.MathUtils.generateUUID());a(this,"TWEEN",d);a(this,"_callbackMap",new Map);a(this,"_tweens",new Map)}animate(e,t,s,r){var l,o;const i=new p(e,t,s,r);return this._callbackMap.set(i.uuid,{onUpdate:((l=i.options)==null?void 0:l.onUpdate)??(()=>{}),onComplete:((o=i.options)==null?void 0:o.onComplete)??(()=>{})}),this._createTween(i),i}remove(e){if(!this._callbackMap.has(e)){console.warn(`Animator with uuid ${e} not found`);return}this._callbackMap.delete(e),this._tweens.delete(e)}dispose(){this._callbackMap.clear(),this._tweens.clear()}tick(){this.TWEEN.update()}_createTween(e){var s;const t=new this.TWEEN.Tween(e.object).to(e.to,e.duration).easing(((s=e.options)==null?void 0:s.easing)??this.TWEEN.Easing.Quadratic.Out).onUpdate((r,i)=>{var l;(l=this._callbackMap.get(e.uuid))==null||l.onUpdate(r,i)}).onComplete(r=>{var i;(i=this._callbackMap.get(e.uuid))==null||i.onComplete(r)});e.addEventListener("play",()=>{t.start()}),e.addEventListener("stop",()=>{t.stop()}),this._tweens.set(e.uuid,t)}}exports.TWEEN=d;exports.AnimationSystem=E;exports.Animator=p;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var h = (r, e, t) => e in r ? d(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var a = (r, e, t) => h(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import * as c from "@tweenjs/tween.js";
|
|
5
|
+
import { M as p } from "../../chunks/MathUtils-CFGjHuVF.mjs";
|
|
6
|
+
class u {
|
|
7
|
+
addEventListener(e, t) {
|
|
8
|
+
this._listeners === void 0 && (this._listeners = {});
|
|
9
|
+
const i = this._listeners;
|
|
10
|
+
i[e] === void 0 && (i[e] = []), i[e].indexOf(t) === -1 && i[e].push(t);
|
|
11
|
+
}
|
|
12
|
+
hasEventListener(e, t) {
|
|
13
|
+
if (this._listeners === void 0) return !1;
|
|
14
|
+
const i = this._listeners;
|
|
15
|
+
return i[e] !== void 0 && i[e].indexOf(t) !== -1;
|
|
16
|
+
}
|
|
17
|
+
removeEventListener(e, t) {
|
|
18
|
+
if (this._listeners === void 0) return;
|
|
19
|
+
const n = this._listeners[e];
|
|
20
|
+
if (n !== void 0) {
|
|
21
|
+
const s = n.indexOf(t);
|
|
22
|
+
s !== -1 && n.splice(s, 1);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
dispatchEvent(e) {
|
|
26
|
+
if (this._listeners === void 0) return;
|
|
27
|
+
const i = this._listeners[e.type];
|
|
28
|
+
if (i !== void 0) {
|
|
29
|
+
e.target = this;
|
|
30
|
+
const n = i.slice(0);
|
|
31
|
+
for (let s = 0, l = n.length; s < l; s++)
|
|
32
|
+
n[s].call(this, e);
|
|
33
|
+
e.target = null;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
class _ extends u {
|
|
38
|
+
constructor(t, i, n, s) {
|
|
39
|
+
super();
|
|
40
|
+
a(this, "_uuid", p.generateUUID());
|
|
41
|
+
a(this, "_playing", !1);
|
|
42
|
+
a(this, "_stopped", !1);
|
|
43
|
+
a(this, "_completed", !1);
|
|
44
|
+
this.object = t, this.to = i, this.duration = n, this.options = s;
|
|
45
|
+
}
|
|
46
|
+
get uuid() {
|
|
47
|
+
return this._uuid;
|
|
48
|
+
}
|
|
49
|
+
get playing() {
|
|
50
|
+
return this._playing;
|
|
51
|
+
}
|
|
52
|
+
get stopped() {
|
|
53
|
+
return this._stopped;
|
|
54
|
+
}
|
|
55
|
+
get completed() {
|
|
56
|
+
return this._completed;
|
|
57
|
+
}
|
|
58
|
+
dispose() {
|
|
59
|
+
this._playing = !1, this._stopped = !1, this._completed = !1;
|
|
60
|
+
}
|
|
61
|
+
play() {
|
|
62
|
+
return this._playing = !0, this._stopped = !1, this.dispatchEvent({ type: "play", target: this }), this;
|
|
63
|
+
}
|
|
64
|
+
stop() {
|
|
65
|
+
return this._playing = !1, this._stopped = !0, this.dispatchEvent({ type: "stop", target: this }), this;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
class E {
|
|
69
|
+
constructor() {
|
|
70
|
+
a(this, "uuid", p.generateUUID());
|
|
71
|
+
a(this, "TWEEN", c);
|
|
72
|
+
a(this, "_callbackMap", /* @__PURE__ */ new Map());
|
|
73
|
+
a(this, "_tweens", /* @__PURE__ */ new Map());
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Creates a new animator and registers it.
|
|
77
|
+
* @param object - The object to animate.
|
|
78
|
+
* @param to - The target value.
|
|
79
|
+
* @param duration - The duration of the animation in milliseconds.
|
|
80
|
+
* @param options - The options for the animation.
|
|
81
|
+
* @returns The animator.
|
|
82
|
+
*/
|
|
83
|
+
animate(e, t, i, n) {
|
|
84
|
+
var l, o;
|
|
85
|
+
const s = new _(e, t, i, n);
|
|
86
|
+
return this._callbackMap.set(s.uuid, {
|
|
87
|
+
onUpdate: ((l = s.options) == null ? void 0 : l.onUpdate) ?? (() => {
|
|
88
|
+
}),
|
|
89
|
+
onComplete: ((o = s.options) == null ? void 0 : o.onComplete) ?? (() => {
|
|
90
|
+
})
|
|
91
|
+
}), this._createTween(s), s;
|
|
92
|
+
}
|
|
93
|
+
remove(e) {
|
|
94
|
+
if (!this._callbackMap.has(e)) {
|
|
95
|
+
console.warn(`Animator with uuid ${e} not found`);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
this._callbackMap.delete(e), this._tweens.delete(e);
|
|
99
|
+
}
|
|
100
|
+
dispose() {
|
|
101
|
+
this._callbackMap.clear(), this._tweens.clear();
|
|
102
|
+
}
|
|
103
|
+
tick() {
|
|
104
|
+
this.TWEEN.update();
|
|
105
|
+
}
|
|
106
|
+
_createTween(e) {
|
|
107
|
+
var i;
|
|
108
|
+
const t = new this.TWEEN.Tween(e.object).to(e.to, e.duration).easing(((i = e.options) == null ? void 0 : i.easing) ?? this.TWEEN.Easing.Quadratic.Out).onUpdate((n, s) => {
|
|
109
|
+
var l;
|
|
110
|
+
(l = this._callbackMap.get(e.uuid)) == null || l.onUpdate(n, s);
|
|
111
|
+
}).onComplete((n) => {
|
|
112
|
+
var s;
|
|
113
|
+
(s = this._callbackMap.get(e.uuid)) == null || s.onComplete(n);
|
|
114
|
+
});
|
|
115
|
+
e.addEventListener("play", () => {
|
|
116
|
+
t.start();
|
|
117
|
+
}), e.addEventListener("stop", () => {
|
|
118
|
+
t.stop();
|
|
119
|
+
}), this._tweens.set(e.uuid, t);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export {
|
|
123
|
+
E as AnimationSystem,
|
|
124
|
+
_ as Animator,
|
|
125
|
+
c as TWEEN
|
|
126
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var h=Object.defineProperty;var w=(o,e,r)=>e in o?h(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r;var l=(o,e,r)=>w(o,typeof e!="symbol"?e+"":e,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../systeminfo/index.cjs"),R=require("../assetconverter/index.cjs"),A=require("../../chunks/AssetLoader-DCBiLwef.cjs"),y=require("../../chunks/AssetExporter-TzKB2FHh.cjs");class a extends Error{constructor(r,t){super(r);l(this,"type");this.name=this.constructor.name,this.type=t,Object.setPrototypeOf(this,new.target.prototype)}}class m extends a{constructor(){super("AR features are not supported on desktop platforms.","ar-desktop-platform-error")}}class d extends a{constructor(){super("ARQuickLook on iOS is only available in Safari.","ar-not-safari-on-ios-error")}}class p extends a{constructor(e,r){super(`ARQuickLook requires iOS version ${r} or later. Current version: ${e}.`,"ar-ios-version-too-low-error"),this.currentVersion=e,this.requiredVersion=r}}class u extends a{constructor(){super("An unknown ARQuickLook compatibility error occurred.","ar-quicklook-unknown-error")}}const k=12;class S{constructor(){l(this,"converter",new R.AssetConverter(new A.AssetLoader,new y.AssetExporter))}async launch(e,r){if(c.SystemInfo.getBrowser()!==c.EBrowser.SAFARI)return Promise.reject(new d);const t=c.SystemInfo.getIOSVersion();if(t&&t.major<k)return Promise.reject(new p(t.full,k));if(!t)return Promise.reject(new u);if(!c.SystemInfo.getSupportsARQuickLook())return Promise.reject(new u);const n=await this.convertToUSDZ(e,r);return this.launchARQuickLook(n,r)}async convertToUSDZ(e,r){const t=await this.converter.convert(e).to("usdz",{quickLookCompatible:!0,ar:{anchoring:{type:"plane"},planeAnchoring:{alignment:(r==null?void 0:r.arPlacement)==="vertical"?"vertical":"horizontal"}}}),n=new Blob([t],{type:"model/vnd.usdz+zip"});return URL.createObjectURL(n)}launchARQuickLook(e,r){return new Promise(t=>{(r==null?void 0:r.arScale)==="fixed"&&(e=e.concat("#allowsContentScaling=0"));const n=document.createElement("a");n.innerHTML="<picture></picture>",n.rel="ar",n.href=e,n.download="scene.usdz",t(),n.click()})}}class f{launch(e,r){const t=self.location.toString(),n=document.createElement("a"),s=this._createParams(t,e,r),i=this._createIntent(t,e,s);n.setAttribute("href",i),n.click()}_createParams(e,r,t){const n=new URL(r,e),s=new URLSearchParams(n.search);return s.set("mode","ar_preferred"),this._applyScaleOption(s,t),this._applyPlacementOption(s,t),this._applySoundOption(s,e),this._applyLinkOption(s,e),s}_applyScaleOption(e,r){(r==null?void 0:r.arScale)==="fixed"&&e.set("resizable","false")}_applyPlacementOption(e,r){(r==null?void 0:r.arPlacement)==="vertical"&&e.set("enable_vertical_placement","true")}_applySoundOption(e,r){if(e.has("sound")){const t=new URL(e.get("sound"),r);e.set("sound",t.toString())}}_applyLinkOption(e,r){if(e.has("link")){const t=new URL(e.get("link"),r);e.set("link",t.toString())}}_createIntent(e,r,t){const n=new URL(e),s=new URL(r,e),i="#model-viewer-no-ar-fallback";return n.hash=i,`intent://arvr.google.com/scene-viewer/1.2?${t.toString()+"&file="+s.toString()}#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=${encodeURIComponent(n.toString())};end;`}}class g{async launch(e,r){const t=c.SystemInfo.getSystem();return t===c.ESystem.IOS?new S().launch(e,r):t===c.ESystem.ANDROID?new f().launch(e,r):Promise.reject(new m)}}exports.ARDesktopPlatformError=m;exports.ARError=a;exports.ARQuickLook=S;exports.ARQuickLookNotSafariError=d;exports.ARQuickLookUnknownError=u;exports.ARQuickLookVersionMismatchError=p;exports.ARSystem=g;exports.SceneViewer=f;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var l = (o, e, r) =>
|
|
4
|
-
import { SystemInfo as s, EBrowser as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
class c extends Error {
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
|
+
var d = (o, e, r) => e in o ? p(o, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : o[e] = r;
|
|
3
|
+
var l = (o, e, r) => d(o, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
+
import { SystemInfo as s, EBrowser as h, ESystem as u } from "../systeminfo/index.mjs";
|
|
5
|
+
import { AssetConverter as f } from "../assetconverter/index.mjs";
|
|
6
|
+
import { A as w } from "../../chunks/AssetLoader-Dqrg0Re8.mjs";
|
|
7
|
+
import { A as S } from "../../chunks/AssetExporter-QnOue3VT.mjs";
|
|
8
|
+
class a extends Error {
|
|
10
9
|
constructor(r, t) {
|
|
11
10
|
super(r);
|
|
12
11
|
l(this, "type");
|
|
13
12
|
this.name = this.constructor.name, this.type = t, Object.setPrototypeOf(this, new.target.prototype);
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
|
-
class R extends
|
|
15
|
+
class R extends a {
|
|
17
16
|
constructor() {
|
|
18
17
|
super(
|
|
19
18
|
"AR features are not supported on desktop platforms.",
|
|
@@ -21,7 +20,7 @@ class R extends c {
|
|
|
21
20
|
);
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
|
-
class
|
|
23
|
+
class A extends a {
|
|
25
24
|
constructor() {
|
|
26
25
|
super(
|
|
27
26
|
"ARQuickLook on iOS is only available in Safari.",
|
|
@@ -29,7 +28,7 @@ class g extends c {
|
|
|
29
28
|
);
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
|
-
class
|
|
31
|
+
class g extends a {
|
|
33
32
|
constructor(e, r) {
|
|
34
33
|
super(
|
|
35
34
|
`ARQuickLook requires iOS version ${r} or later. Current version: ${e}.`,
|
|
@@ -37,7 +36,7 @@ class y extends c {
|
|
|
37
36
|
), this.currentVersion = e, this.requiredVersion = r;
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
|
-
class m extends
|
|
39
|
+
class m extends a {
|
|
41
40
|
constructor() {
|
|
42
41
|
super(
|
|
43
42
|
"An unknown ARQuickLook compatibility error occurred.",
|
|
@@ -46,12 +45,12 @@ class m extends c {
|
|
|
46
45
|
);
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
|
-
const
|
|
50
|
-
class
|
|
48
|
+
const k = 12;
|
|
49
|
+
class y {
|
|
51
50
|
constructor() {
|
|
52
|
-
l(this, "converter", new
|
|
53
|
-
new
|
|
54
|
-
new
|
|
51
|
+
l(this, "converter", new f(
|
|
52
|
+
new w(),
|
|
53
|
+
new S()
|
|
55
54
|
));
|
|
56
55
|
}
|
|
57
56
|
/**
|
|
@@ -63,14 +62,14 @@ class A {
|
|
|
63
62
|
* @throws Error if ARQuickLook is not supported on the device
|
|
64
63
|
*/
|
|
65
64
|
async launch(e, r) {
|
|
66
|
-
if (s.getBrowser() !==
|
|
67
|
-
return Promise.reject(new
|
|
65
|
+
if (s.getBrowser() !== h.SAFARI)
|
|
66
|
+
return Promise.reject(new A());
|
|
68
67
|
const t = s.getIOSVersion();
|
|
69
|
-
if (t && t.major <
|
|
68
|
+
if (t && t.major < k)
|
|
70
69
|
return Promise.reject(
|
|
71
|
-
new
|
|
70
|
+
new g(
|
|
72
71
|
t.full,
|
|
73
|
-
|
|
72
|
+
k
|
|
74
73
|
)
|
|
75
74
|
);
|
|
76
75
|
if (!t)
|
|
@@ -100,7 +99,7 @@ class A {
|
|
|
100
99
|
});
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
|
-
class
|
|
102
|
+
class L {
|
|
104
103
|
/**
|
|
105
104
|
* Launches AR using SceneViewer (Android-specific implementation)
|
|
106
105
|
* Note: SceneViewer is supported on all Android devices. If ARCore is not installed,
|
|
@@ -112,7 +111,7 @@ class _ {
|
|
|
112
111
|
* @throws Error if there's an issue launching SceneViewer
|
|
113
112
|
*/
|
|
114
113
|
launch(e, r) {
|
|
115
|
-
const t = self.location.toString(), n = document.createElement("a"),
|
|
114
|
+
const t = self.location.toString(), n = document.createElement("a"), c = this._createParams(t, e, r), i = this._createIntent(t, e, c);
|
|
116
115
|
n.setAttribute("href", i), n.click();
|
|
117
116
|
}
|
|
118
117
|
/**
|
|
@@ -121,8 +120,8 @@ class _ {
|
|
|
121
120
|
* @returns URLSearchParams with base configuration
|
|
122
121
|
*/
|
|
123
122
|
_createParams(e, r, t) {
|
|
124
|
-
const n = new URL(r, e),
|
|
125
|
-
return
|
|
123
|
+
const n = new URL(r, e), c = new URLSearchParams(n.search);
|
|
124
|
+
return c.set("mode", "ar_preferred"), this._applyScaleOption(c, t), this._applyPlacementOption(c, t), this._applySoundOption(c, e), this._applyLinkOption(c, e), c;
|
|
126
125
|
}
|
|
127
126
|
/**
|
|
128
127
|
* Applies the scale option to the parameters
|
|
@@ -171,13 +170,13 @@ class _ {
|
|
|
171
170
|
* @returns The complete Intent URL
|
|
172
171
|
*/
|
|
173
172
|
_createIntent(e, r, t) {
|
|
174
|
-
const n = new URL(e),
|
|
175
|
-
return n.hash = i, `intent://arvr.google.com/scene-viewer/1.2?${t.toString() + "&file=" +
|
|
173
|
+
const n = new URL(e), c = new URL(r, e), i = "#model-viewer-no-ar-fallback";
|
|
174
|
+
return n.hash = i, `intent://arvr.google.com/scene-viewer/1.2?${t.toString() + "&file=" + c.toString()}#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=${encodeURIComponent(
|
|
176
175
|
n.toString()
|
|
177
176
|
)};end;`;
|
|
178
177
|
}
|
|
179
178
|
}
|
|
180
|
-
class
|
|
179
|
+
class P {
|
|
181
180
|
/**
|
|
182
181
|
* Launches an AR experience using the appropriate platform-specific implementation
|
|
183
182
|
*
|
|
@@ -188,21 +187,16 @@ class L {
|
|
|
188
187
|
*/
|
|
189
188
|
async launch(e, r) {
|
|
190
189
|
const t = s.getSystem();
|
|
191
|
-
return t === u.IOS ? new
|
|
190
|
+
return t === u.IOS ? new y().launch(e, r) : t === u.ANDROID ? new L().launch(e, r) : Promise.reject(new R());
|
|
192
191
|
}
|
|
193
192
|
}
|
|
194
|
-
const I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
195
|
-
__proto__: null,
|
|
196
|
-
ARSystem: L
|
|
197
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
198
193
|
export {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
g as
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
I as g
|
|
194
|
+
R as ARDesktopPlatformError,
|
|
195
|
+
a as ARError,
|
|
196
|
+
y as ARQuickLook,
|
|
197
|
+
A as ARQuickLookNotSafariError,
|
|
198
|
+
m as ARQuickLookUnknownError,
|
|
199
|
+
g as ARQuickLookVersionMismatchError,
|
|
200
|
+
P as ARSystem,
|
|
201
|
+
L as SceneViewer
|
|
208
202
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/AssetExporter-TzKB2FHh.cjs");exports.AssetExporter=e.AssetExporter;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/AssetLoader-DCBiLwef.cjs");exports.AssetLoader=e.AssetLoader;exports.DRACOWorker=e.DRACOWorker;exports.DracoLoader=e.DracoLoader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/FileTypes-Ca8pkRlQ.cjs");exports.DIVEAxisCamera=e.DIVEAxisCamera;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var _=Object.defineProperty;var d=(t,e,r)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var n=(t,e,r)=>d(t,typeof e!="symbol"?e+"":e,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../chunks/PerspectiveCamera-CONx93im.cjs");class h{constructor(e,r,o){n(this,"_renderer");n(this,"_scene");n(this,"_controller");this._renderer=e,this._scene=r,this._controller=o}generateMedia(e,r,o,s){const c=this._controller.object.position.clone(),l=this._controller.object.quaternion.clone();this._renderer.onResize(o,s),this._controller.object.onResize(o,s),this._controller.object.position.copy(e),this._controller.target.copy(r),this._controller.update();const a=this.drawCanvas().toDataURL();return this._controller.object.position.copy(c),this._controller.object.quaternion.copy(l),a}drawCanvas(e){const r=this._renderer.webglrenderer.domElement;e&&(this._renderer.webglrenderer.domElement=e),this._controller.object.layers.mask=i.DIVEPerspectiveCamera.LIVE_VIEW_LAYER_MASK,this._renderer.webglrenderer.render(this._scene,this._controller.object),this._controller.object.layers.mask=i.DIVEPerspectiveCamera.EDITOR_VIEW_LAYER_MASK;const o=this._renderer.webglrenderer.domElement;return e&&(this._renderer.webglrenderer.domElement=r),o}}exports.MediaCreator=h;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
2
|
var d = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var n = (t, e, r) => d(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { D as i } from "
|
|
4
|
+
import { D as i } from "../../chunks/PerspectiveCamera-DUiWJJIj.mjs";
|
|
5
5
|
class m {
|
|
6
6
|
constructor(e, r, o) {
|
|
7
7
|
n(this, "_renderer");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/OrbitController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../chunks/OrbitController-rMX8EHvJ.cjs");exports.OrbitController=t.OrbitController;exports.OrbitControllerDefaultSettings=t.OrbitControllerDefaultSettings;
|