MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / getCamera

Method getCamera

src/mapboxgl/overlay/ThreeLayer.js:143–145  ·  view source on GitHub ↗

* @function ThreeLayer.prototype.getCamera * @description 获取 threejs 相机。 * @returns {THREE.Camera} threejs 相机。

()

Source from the content-addressed store, hash-verified

141 * @returns {THREE.Camera} threejs 相机。
142 */
143 getCamera() {
144 return this.renderer.camera;
145 }
146
147 /**
148 * @function ThreeLayer.prototype.getThreeRenderer

Callers 1

ThreeLayerSpec.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected