This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 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

粒子偏转面

Particles Deflector is a surface field that has no visual representation, but physically interacts with Particle Systems (other objects are not affected) blocking the way for particles and making them bounce off the deflector's surface. Depending on the specified size, it can be either rectangular or square, plus it can be arbitrarily positioned or rotated to cover the necessary area.Particles Deflector 是一个表面场,没有视觉表示,但物理上与粒子系统(其他对象不受影响)相互作用,阻挡粒子的道路,使它们从偏转面的表面反弹。根据指定的尺寸,它可以是矩形或正方形,并且可以任意放置或旋转以覆盖必要的区域。

Deflectors are one-sided, meaning the particles can only interact with one side (e.g., when falling on a deflector from above, while freely passing through them from the opposite side).偏转面是单边,这意味着粒子只能与一侧相互作用(例如,当从上方落在偏转面上时,而从相反的一侧自由通过它们)。

See also
另请参阅#

Adding Particles Deflector
添加粒子偏转面#

To add a Particles Deflector to the world via UnigineEditor, do the following:要通过UnigineEditor添加一个Particles Deflector到世界,请执行以下操作:

  1. In the Main Menu, choose Create -> Particle System -> Particles Deflector.在主菜单中,选择Create -> Particle System -> Particles Deflector

  2. Place the Particles Deflector in the world to cover the area where particles are to be cut out:Particles Deflector放置在世界中以覆盖要切割颗粒的区域。

    注意
    Make sure that the Spacer interaction flag is set for materials applied to grass or water.确保为应用于草或水的材质设置了Spacer interaction标志。

Editing Particles Deflector
编辑粒子偏转面#

In the Particles Field Deflector section (Parameters window -> Node tab), the following parameters of the Particles Deflector can be adjusted:Particles Field Deflector部分(Parameters窗口→Node选项卡)中,Particles Deflector的以下参数可以调整:

Adjusting Deflector Form
调整导流板形状#

Size Size of the deflector's plane surface.偏转面平面的尺寸
Restitution

Restitution coefficient of the Particles Field Deflector. This coefficient defines the value of the bouncing impulse a particle will receive on a contact with the deflector (how fast a particle shall bounce from the deflector):Particles Field Deflector的恢复系数。该系数定义了粒子在与偏转面接触时接收到的弹跳脉冲的值(粒子从偏转面弹跳的速度):

  • The minimum value of 0 means the particles do not bounce off, but rather slide along deflector surface.最小值为 0 表示粒子不反弹,而是沿着偏转面滑动。
  • The maximum value of 1 makes the angle of bouncing equal to the angle at which the particles fall.最大值为 1 使弹跳的角度等于粒子下落的角度。
Roughness

Roughness coefficient of the Particles Field Deflector. This coefficient defines roughness of the deflector surface the particles collide with, and the range of angles at which particles shall bounce from the deflector:Particles Field Deflector 的粗糙度系数。该系数定义了粒子与偏转面碰撞表面的粗糙度,以及粒子从偏转面反弹的角度范围:

  • The minimum value of 0 means the surface is smooth and bouncing particles are scattered in a uniform direction.最小值为 0 表示表面光滑,弹跳粒子均匀分散。
  • The maximum value of 1 means the surface is uneven and bouncing particles are scattered in different directions.最大值为 1 表示表面不平整,弹跳粒子向不同方向分散。
Interaction Particle Mode

Interaction mode for the Particles Field Deflector. Interaction can be triggered on a contact of the deflector either with particle's center position or with its bounding box (this can be useful in case of length particles, for example).Particles Field Deflector交互模式。交互可以触发一个联系人的偏转与粒子的中心位置或与其边界框(例如,这可能是有用的在长度的情况下粒子)。

Setting Bit Masks
设置位掩码#

The bit masks listed below enable you to fine tune interactions and functionality of a Particles Field to achieve the desired effect and optimize performance.下面列出的位掩码使您能够微调 Particles Field 的相互作用和功能,以达到预期的效果和优化性能。

Particles Field Mask Bit mask enabling you to control interactions of the Particles Deflector with particles. The Deflector will affect particles generated by a Particle System only if they both have matching masks.位掩码使您能够控制Particles Deflector与粒子的相互作用。只有当粒子系统生成的粒子都具有匹配掩码时,Deflector才会影响它们。
Viewport Mask A Viewport mask. A bit mask for rendering the Particles Deflector in the current viewport. For the Particles Deflector to be rendered into the viewport, its mask should match the camera Viewport mask (at least one bit). This can be used to selectively disable Deflector functionality for a certain camera view without disabling the Deflector itself (e.g. it is not necessary to cut out rain or snow inside a car, when the car is viewed from above).Viewport 掩码。 用于在当前视口中渲染 Particles Deflector 的位掩码。 对于要渲染到视口中的 Particles Deflector,其掩码应与相机 Viewport 掩码相匹配 (至少一位)。 这可用于有选择地禁用特定摄像机视图的 Deflector 功能,而无需禁用 Deflector 本身(例如,当 汽车是从上面看的)。
最新更新: 2024-12-13
Build: ()