This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

添加点对象

警告
本文介绍的功能在 Community SDK 版本中不可用。
您应该升级到 Engineering / Sim SDK版本才能使用它。

The Points object type in Sandworm is designed to place houses, landmarks, and other such objects at specific points of the terrain based on the vector source data.Sandworm 中的 Points 对象类型旨在根据矢量源数据将房屋、地标和其他此类对象放置在地形的特定点上。

See Also另请参阅#

观看这段视频,来自Sandworm地形生成系列视频教程:

Preparing a Primary Object准备一个主要对象#

A primary object to be used for the generation should be a *.node file (Node Reference) containing a single root node with any hierarchy.主要对象用于一代应该是*.node文件(Node Reference)包含一个根节点的层次结构。

Let's use the sw_georeferenced/nodes/gsm_tower/gsm_tower.node.让我们用sw_georeferenced/nodes/gsm_tower/gsm_tower.node

Setting the Point Object添加点对象#

  1. Create the object: in the Objects panel, click + for Points.创建对象:在Objects面板中,单击 Points+

  2. In the Parameters tab, add a source: click the Add Source(s) button, select Assets and set the path to the sw_georeferenced\vector\unique_buildings\unique_buildings.shp file.Parameters 选项卡中,添加源:单击 Add Source(s) 按钮,选择 Assets 并将路径设置为 sw_georeferenced\vector\unique_buildings\unique_buildings.shp 文件。

    As the source is added, we can click the Preview button below to see the point data preview on the map.添加源以后,我们可以单击Preview按钮下面看到地图上的点数据预览。

  3. Set the prepared primary object as Node and keep other settings as they are.将准备好的 primary object 选择为 Node 并保持其他设置不变。

  4. Click the Create Point Object button.单击Create Point Object按钮。

Generated Point Objects生成的点对象#

The generated points will look as follows:生成的点如下所示:

Generated point objects生成的点对象

What Else还有什么#

最新更新: 2023-04-13
Build: ()