This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
如何擴展編輯器功能
嵌入式节点类型
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

基于画笔的对象放置

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 是一种方便的工具,用于直接在场景中将烘焙到 Mesh Clusters 的网格基于笔刷放置。它允许编辑现有的 Mesh Clusters 并创建新的。

Cluster Editor is available when the Cluster Paint Mode is selected on the toolbar.集群编辑器在选择 Cluster Paint Mode 时可用工具栏

注意
To learn how to use the tool, watch this video tutorial.要了解如何使用该工具,请观看此视频教程

Switching to Cluster Paint Mode opens the Active Tool window:切换到此模式会打开 Active Tool 窗口:

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:Objects 部分,有一个世界上所有可用的 Mesh Cluster 对象的列表。与 World Hierarchy 窗口类似,您可以组织节点:

  • 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.切换 Spawn When Drawing 标志。

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.要编辑所需的 Mesh Clusters(一个或多个),请在 Objects 部分或 World Hierarchy 窗口中选择它们并指定对象设置.

For convenience, the Create New Cluster button, a shortcut to manual creation of Mesh Clusters, is available right in the Active Tool window.为方便起见, Create New Cluster 按钮,一个快捷方式手动创建 Mesh Clusters , 在 Active Tool 窗口中可用。

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:只要您至少有一个启用了 Spawn When Drawing 标志的 Mesh Cluster,就可以在Editor Viewport中使用画笔绘画。选择需要的工具,直接在场景中开始编辑集群:

Available tools:可用工具:

  • Replace Density — replace meshes within the Brush Radius with new ones spawned in accordance with the current density values. Replace Density — 将Brush Radius内的网格替换为根据当前密度值生成的新网格。
  • Single Object — place a single mesh at the desired point. Single Object — 在所需点放置一个网格。
  • Erase — remove meshes. Erase - 移除网格。
注意
要在表面或对象上绘画,请确保它具有 Intersection 标志和任何位交叉口遮罩启用。在 Mesh Cluster 对象上绘画不可用。

Brush Settings画笔设置#

Radius Size of the brush. The size change is non-linear - the standard increment changes depending on the current brush value:
  • 0.01 for values in range from 0.1 to 1.0
  • 0.1 for values in range from 1.0 to 10.0
  • 1.0 for values in range from 10.0 to 100.0
  • etc.
You can also control the current step by holding hotkeys while scrolling the mouse wheel: the Shift key increases the step 10 times, while the Ctrl key enables a 10-fold decrease.
画笔的大小。
Density Multiplier Global multiplier for density. The value can be increased above 1. Allows specifying the type of object on which you can paint. You can select multiple values, but some of them cannot be combined (see details below). The following values are available:
  • Mesh Static
  • Mesh Skinned
  • Mesh Dynamic
  • Mesh Cluster
    注意
    Painting over a Mesh Cluster object is available only if the Spawn When Drawing flag is disabled for it.
  • Mesh Clutter
  • Terrain
  • Water
  • Clouds

In addition, there are 2 filters that can only be used in combination with one or more object type filters listed above:

  • Draw Only On Immovable Nodes, i.e. on nodes that have the Immovable flag enabled. This filter can be used only with the Mesh Static and/or Mesh Cluster filters.
  • Draw Only On Surfaces With Intersection, i.e. on surfaces that have the Intersection flag and any bit of the Intersection Mask enabled.
注意
The filters aren't applied for the Erase tool.
全局乘数密度.

Controls控件#

  • To draw with a brush, click LMB and drag the mouse.要使用画笔绘制,请单击 LMB 并拖动鼠标。
  • To change the brush radius, use the mouse wheel.更换画笔半径,使用鼠标滚轮
  • To switch to the Replace Density tool, press B.要切换到 Replace Density 工具,请按 B
  • To switch to the Erase tool, press E.要切换到 Erase 工具,请按 E
注意
You can adjust the controls in the Cluster Paint Mode tab of the Editor Hotkeys settings.您可以在 Editor Hotkeys 设置的 Cluster Paint Mode 选项卡中调整控件。

Objects Settings对象设置#

The following settings are saved for each Mesh Cluster in the scene:为场景中的每个 Mesh Cluster 保存以下设置:

Spawn When Drawing

Flag indicating if the Mesh Cluster is editable.

注意
You should disable this flag to paint over the Mesh Cluster object.
指示 Mesh Cluster 是否受画笔绘制影响的标志。

Seed

Pseudo-random seed that defines the distribution of spawned meshes. Click the Randomize button to generate a new Seed.定义生成网格分布的伪随机种子。单击 Randomize 按钮生成一个新的 Seed

注意
If the same Seed value is set for several Mesh Clusters, their new meshes will spawn at the same points during one stroke.如果为多个 Mesh Clusters 设置相同的 Seed 值,则它们的新网格将在一次笔划期间在相同点生成。
Density The target density of meshes of the Mesh Cluster.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.Uniform — 网格沿所有轴均匀缩放。
  • Nonuniform — scale is random along each axis.Nonuniform — 沿每个轴的比例是随机的。

Video Tutorial视频教程#

Watch the video below to learn the basics of mesh placement with the Cluster Brush Editor.观看下面的视频,了解使用集群画笔编辑器放置网格的基础知识。

最新更新: 2022-12-16
Build: ()