This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
UnigineEditor
界面概述
资产工作流程
设置和首选项
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm
Extending Editor Functionality
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
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
创建内容
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Cluster Editor

Cluster Editor is a convenient tool for brush-based placement of meshes baked into Mesh Clusters directly in the scene. It allows editing the existing Mesh Clusters and creating new ones.

Cluster Editor is available when the Cluster Paint Mode is selected on the toolbar:

Switching to this mode opens the Active Tool window:

In the Objects section, there is a list of all Mesh Cluster objects available in the world. Similarly to the World Hierarchy window, you can organize the nodes:

  • Select one or several nodes;
  • Toggle the nodes on and off;
  • Filter nodes by name;
  • Rename a node by double-clicking on it;
  • Toggle the Spawn When Drawing flag.

To edit the required Mesh Clusters (one or many), select them either in the Objects section or in the World Hierarchy window and specify the Objects settings.

For convenience, the Create New Cluster button, a shortcut to manual creation of Mesh Clusters, is available right in the Active Tool window.

See Also#

Editing Mesh Clusters with Cluster Editor#

As soon as you have at least one Mesh Cluster with the Spawn When Drawing flag enabled, brush painting is available in the Editor Viewport. Select the required tool and start editing the cluster directly in the scene:

Available tools:

  • Replace Density — replace meshes within the Brush Radius with new ones spawned in accordance with the current density values.
  • Single Object — place a single mesh at the desired point.
  • Erase — remove meshes.
Notice
To paint over a surface or an object, make sure it has the Intersection flag and any bit of the Intersection Mask enabled. Painting over Mesh Cluster objects is not available.

Brush Settings#

Radius Size of the brush.
Density Multiplier Global multiplier for density.

Controls#

  • To draw with a brush, click LMB and drag the mouse.
  • To change the brush radius, use the mouse wheel.
  • To switch to the Replace Density tool, press B.
  • To switch to the Erase tool, press E.
Notice
You can adjust the controls in the Cluster Paint Mode tab of the Editor Hotkeys settings.

Objects Settings#

The following settings are saved for each Mesh Cluster in the scene:

Spawn When Drawing

Flag indicating if the Mesh Cluster is affected by brush painting.

Seed

Pseudo-random seed that defines the distribution of spawned meshes. Click the Randomize button to generate a new Seed.

Notice
If the same Seed value is set for several Mesh Clusters, their new meshes will spawn at the same points during one stroke.
Density The target density of meshes of the Mesh Cluster.
Normal Orientation Flag indicating whether new meshes should orient along the normals of surfaces under the brush.
Local Offset Minimum and maximum offset values for new meshes with regard to normal orientation.
World Offset Minimum and maximum offset for new meshes in world coordinates.
Local Rotation Minimum and maximum rotation values for new meshes with regard to normal orientation.
World Rotation Minimum and maximum rotation values for new meshes in world coordinates.
Scale Minimum and maximum scale values for new meshes. Click the gear icon to choose the scale mode:
  • Uniform — meshes are scaled uniformly along all axes.
  • Nonuniform — scale is random along each axis.
Last update: 2021-12-13
Build: ()