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

Function getCurrentInterval

packages/engine/Source/Scene/TimeDynamicPointCloud.js:324–332  ·  view source on GitHub ↗
(that)

Source from the content-addressed store, hash-verified

322}
323
324function getCurrentInterval(that) {
325 const intervals = that._intervals;
326 const clock = that._clock;
327 const time = clock.currentTime;
328 const index = intervals.indexOf(time);
329
330 // Returns undefined if not in range
331 return intervals.get(index);
332}
333
334function reachedInterval(that, currentInterval, nextInterval) {
335 const multiplier = getClockMultiplier(that);

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…