Setting Up Materials
Setting Up Properties
Landscape Tool
Sandworm (Experimental)
Extending Editor Functionality
Usage Examples
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
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


Some parameters have non-linear dependence. For example, some parameters of the Particle System (position, direction, angle, radius, color, etc.) may require to be changed over time to create a more natural behavior. Color correction requires input colors to be mapped to output values arbitrarily. To make such changes possible, the values for these parameters are set as curves.一些参数具有非线性依赖性。例如,粒子系统的某些参数(位置,方向,角度,半径,颜色等)可能需要随时间更改以创建更自然的行为。颜色校正要求将输入颜色任意映射到输出值。为了使这种更改成为可能,将这些参数的值设置为曲线。

Curve Editor allows adjusting these curves.曲线编辑器允许调整这些曲线。

Curve The parameter value changes over input value (e.g. time) based on the curve defined in Curve Editor.
Between Curve There are two curves that define the limits, and a random value is taken at every moment of time within these limits. The parameter value changes over time based on this randomly generated set of values.

To open Curve Editor, click on the curve preview widget.要打开“曲线编辑器”,请单击“曲线预览”小部件。

A separate Curve Editor window opens for each parameter. The previously opened windows are not closed.每个参数将打开一个单独的Curve Editor窗口。先前打开的窗口未关闭。

Navigating in Curve Editor在曲线编辑器中导航#

The horizontal axis represents the input value, such as life time. The values are normalized and depend on the Life Time value of the node.横轴表示输入值,例如寿命。这些值已标准化,并取决于节点的生存时间值。

The vertical axis represents the range of available parameter values. The scale is controlled by Max Value.垂直轴表示可用参数值的范围。比例尺由Max Value控制。

The curve view can be zoomed in and out by using the scroll wheel.使用滚轮可以放大缩小曲线视图。

The curve view can be panned by dragging mouse while holding the middle button pressed or holding the Ctrl button and using the cursor keys.按住中间按钮或按住Ctrl按钮并使用光标键,同时拖动鼠标可以平移曲线视图。

If a parameter is adjusted via multiple curves, you can hide some of them via the corresponding checkboxes with color coding.如果参数是通过多条曲线调整的,则可以通过相应的带有颜色编码的复选框隐藏

Curves are edited via keys (points on the curve) by changing their position and manipulating their tangents.通过键(曲线上的点)通过更改曲线的位置和操纵其切线来编辑曲线。

Adding and Editing Keys添加和编辑密钥#

To add a key, right-click on the curve at the point where the key should be placed and select Add key.添加关键点,请在曲线上的应放置关键点的位置上单击鼠标右键,然后选择Add key

Removing a key can be performed by right-clicking on it and selecting Remove key.删除,可以通过右键单击并选择Remove key来执行。

The key position can be changed:关键位置可以更改

  • by dragging the key around with the mouse通过用鼠标拖动键
  • by changing the values in the Key Parameters section on the right通过更改右侧“关键参数”部分中的值

Multiple keys can be selected by either of the following ways:可以通过以下两种方式之一选择多个键

  • Press down Ctrl and click the required keys.按下Ctrl并单击所需的键。
  • Click on an empty spot and drag to make the rectangular selection.单击一个空白点并拖动以进行矩形选择。

These two ways can be combined: for example, select keys using a rectangle, then press down Ctrl and click on the keys you want to add.这两种方式可以组合使用:例如,使用矩形选择键,然后按下Ctrl并单击要添加的键。

Unselecting keys from a rectangle is also done by clicking on them with the Ctrl key hold down.还可以通过按住Ctrl键单击来从矩形中取消选择键。

To move all selected keys, press down the left mouse button on one of the keys and drag them around.要移动所有选定的键,请在其中一个键上按下鼠标左键并将其拖动。

To deselect all keys, just click anywhere.要取消选择所有键,只需单击任意位置。

Editing Tangents编辑切线#

Each key has two tangents to control the curve shape to the left and to the right of the key.每个关键点都有两个切线,以控制关键点左右两侧的曲线形状。

To edit a tangent, select a key, then select a tangent and drag it around.要编辑切线,请选择一个关键点,然后选择一个切线并将其拖动。

When multiple keys are selected, you can also modify every single tangents.选择多个关键点时,您也可以修改每个切线。

Curve Parameters曲线参数#

To select the whole curve, click on it anywhere between the first and the last key.选择整个曲线,请在第一个和最后一个关键点之间的任意位置单击它。

When selected, the whole curve can be moved around. 选择后,整个曲线可以移动。

To deselect a curve, click anywhere except for this curve and its keys.取消选择一条曲线,请单击除该曲线及其键以外的任何位置。

For the curve, the following parameters are available:对于曲线,可以使用以下参数:

  • Pre Infinity — the behaviour of the curve prior to the first (leftmost) key.Pre Infinity —第一个(最左侧)关键点之前的曲线的行为。
  • Post Infinity — the behaviour of the curve after the first (rightmost) key.Post Infinity —第一个(最右边)键后曲线的行为。

These parameters can be used to create loops, i.e. repeat the effect that you created before and after the explicit range defined by the keys.这些参数可用于创建循环,即重复在按键定义的显式范围之前和之后创建的效果。

For these parameters, the following options can be applied:对于这些参数,可以应用以下选项:

Clamp The value of the start or the end key is retained. Use this option if you don't want any changes before or after the effect created by the curve.
Loop The curve is tiled. The created effect is repeated. If the values of the first and the last key are different, the transition between the curves will be abrupt.
PingPong Every next curve section is a reflection of the previous curve section. The created effect is repeated in the forward-and-backward manner.

The number of curves varies depending on the type of the controlled parameter: for example, angle has a single component (angle value), while direction has three (X, Y, and Z axes), a color may have up to four components (RGBA channels).


最新更新: 2020-11-11