@cesium-china/cesium-three-plugin
v1.0.0
Published
`cesium-three-plugin` is a bridge plugin that cleverly connects [Cesium](https://cesium.com/) with [Three.js](https://threejs.org/).
Readme
cesium-three-plugin
cesium-three-plugin is a bridge plugin that cleverly connects Cesium with Three.js.
Install
npm install @cesium-china/cesium-three-plugin
----------------------------------------
yarn add @cesium-china/cesium-three-pluginQuickly Start
cesium-three-plugin depends on three, please make sure three is installed before using it.
import * as Cesium from 'cesium';
import { ViewerScene } from '@cesium-china/cesium-three-plugin'
const viewer = new Cesium.CesiumWidget('viewer-container', {
creditContainer: document.createElement('div'),
});
const viewerScene = new ViewerScene(viewer)