MCPcopy
hub / github.com/CesiumGS/cesium / destroyMorphHandler

Function destroyMorphHandler

packages/engine/Source/Scene/SceneTransitioner.js:354–362  ·  view source on GitHub ↗
(transitioner)

Source from the content-addressed store, hash-verified

352}
353
354function destroyMorphHandler(transitioner) {
355 const tweens = transitioner._currentTweens;
356 for (let i = 0; i < tweens.length; ++i) {
357 tweens[i].cancelTween();
358 }
359 transitioner._currentTweens.length = 0;
360 transitioner._morphHandler =
361 transitioner._morphHandler && transitioner._morphHandler.destroy();
362}
363
364const scratchCVTo3DCartographic = new Cartographic();
365const scratchCVTo3DSurfacePoint = new Cartesian3();

Callers 4

complete3DCallbackFunction · 0.85
complete2DCallbackFunction · 0.85

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…