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
Materials and Shaders
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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
创建内容
内容优化
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Mask Parameters

Warning
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to Engineering / Sim SDK edition to use it.

Mask is landcover data based on which natural features of the terrain are generated: details, grass, trees, etc.

Masks are added the same way as Elevation and Imagery, both online and offline data sources can be used. The data contained in a mask source can be filtered to fine-tune the use of the mask for a specific purpose.

An example of creating a Mask is given here.

Filters#

Filters select specific data from the data source for each type of the generated landcover object. There are three types of filters:

Indexed

Select a particular color index from the list of available ones in the source raster image. You can also specify the color range by indices (from color to color).

Single Channel

Select a channel of the source raster image.

Color

Set a particular color taken from the source raster image and adjust the Range for it, thus defining the suitable deviation from the specified color within the range [0, 255].

Click on the color to open the color settings:

Select the color from available, use HSV or RGBA values, or click Pick Screen Color to select the color from the image in the Preview panel:

Notice
Screen color on the Map preview may be affected, if Export Area is already set. If this is the case, enable the Block Export Area to Changes option to avoid any color changes.

Range — threshold value for the color that defines a range of colors to be used for the filter. 0 means that only the selected color is used as mask, increasing the Range value makes the filter include the specified number of neighboring colors.

Copy filters
Copy Filters Button

Opens the window to copy all filters from the current source to the selected sources:

Copy Filters Window

If you change anything in filters that you have already copied, and want these changes to be applied to other sources, you need to copy the filters once again. All filters of the selected sources will be replaced with the filters of the current source.

Delete all filters
Delete Filters Button
Deletes all added filters.
Add
Add Filter Button
Adds one more filter.
Last update: 2022-10-10
Build: ()