MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / remove

Method remove

src/common/overlay/levelRenderer/Animation.js:96–101  ·  view source on GitHub ↗

* @function LevelRenderer.Animation.prototype.remove * @description 删除动画片段。 * @param {LevelRenderer.Animation.Clip} clip - 动画片段。

(clip)

Source from the content-addressed store, hash-verified

94 * @param {LevelRenderer.Animation.Clip} clip - 动画片段。
95 */
96 remove(clip) {
97 var idx = new Util().indexOf(this._clips, clip);
98 if (idx >= 0) {
99 this._clips.splice(idx, 1);
100 }
101 }
102
103
104 /**

Callers 1

stopMethod · 0.45

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected