This is a summary of a setup and workflows for developers who want to work with the Cesium for Unreal plugin. Such a setup consists of three main components:
cesium-native
: A collection of engine-independent libraries for 3D Tiles, geospatial, etc. Most of the functionality of Cesium for Unreal is built based on these libraries.cesium-unreal
: The source code of the actual Cesium for Unreal plugin.cesium-unreal-samples
as an example here, to get started quickly. It contains sample levels for different use cases, and can therefore be used to quickly check for possible regressions of feature changes.Note: It is generally possible to work with
cesium-native
independent ofcesium-unreal
. But any modification incesium-native
will have to be checked carefully for possible breaking changes in the API or the build process. So the following describes the developer setup from the perspective of someone who wants to work withcesium-native
mainly in the context ofcesium-unreal
.
There are detailed instructions for setting up a Cesium for Unreal development environment on each platform. But if you're already used to doing this sort of thing, you can probably use whatever workflow you like as long as you follow some important principles:
Plugins/cesium-unreal/Source/ThirdParty
.CMakeLists.txt
found in the cesium-unreal/extern
directory, not the one in the cesium-unreal/extern/cesium-native
directory. When installing from this directory, the default install path will put cesium-native where Cesium for Unreal expects to find it.npm ci
to install node modules, then npm run format
.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。