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

Method clearAll

src/mapboxgl/overlay/ThreeLayer.js:172–175  ·  view source on GitHub ↗

* @function ThreeLayer.prototype.clearAll * @description 清除所有 threejs 对象。 * @param {boolean} clearCamera - 是否清除相机。 * @returns {ThreeLayer} ThreeLayer的实例对象。

(clearCamera)

Source from the content-addressed store, hash-verified

170 * @returns {ThreeLayer} ThreeLayer的实例对象。
171 */
172 clearAll(clearCamera) {
173 this.renderer.clearAll(clearCamera);
174 return this;
175 }
176
177 /**
178 * @function ThreeLayer.prototype.setPosition

Callers 11

ThreeLayerSpec.jsFile · 0.45
clearMethod · 0.45
clearMethod · 0.45
GraphThemeLayer.jsFile · 0.45
clearMethod · 0.45
clearMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected