跳转到内容

Falloff

Falloffs 可用于隔离大多数 BehavioursFields 的强度。默认情况下,Falloff 在其中心输出值为 1,并向边缘衰减到 0。此值用作其连接的 Behaviour 的 Strength 倍增器,Graph 可用于确定值衰减的速度。

Common Attributes +

Strength - Falloff Graph 属性的倍增器。

Shape Type

  • Circle - Falloff Graph 以径向方式采样。
  • Rectangle - Falloff Graph 在 x 和 y 方向上采样。
  • Linear - Falloff Graph 在 1 个维度上采样。
  • Sweep - Falloff Graph 以类似扫描渐变的方式采样。使用 Falloff 的 Rotation 创建雷达效果。
  • Shape - 使用自定义 Shape 采样 Falloff Graph

Size - 当 Shape Type 设为 CircleRectangleLinear 时,设置 Falloff 的大小。

Repetitions - 当 Shape Type 设为 Sweep 时,设置扫描在 Angles 内重复的次数。

Angles - 当 Shape Type 设为 Sweep 时,设置 Falloff 的起始和结束角度。

Input Shapes - 当 Shape Type 设为 Shape 时,连接要用作 Falloff 的 Shape。

Path Mode - 当 Shape Type 设为 Shape 时,确定 Shape 的方式:

  • Filled Path - Input Shapes 内的任何”点”被视为满强度。
  • Path Edges - 从 Input Shapes 边缘的距离用于计算 Falloff 的强度。

Distance - 当 Shape Type 设为 Shape 时,设置从 Input Shapes 开始采样 Falloff Graph 的距离。距离为 0 意味着只有 Shape 内的点被视为”开启”。

Falloff Graph - 参见 Graph Attribute

Probability - Falloff 的值用于产生 1 或 0(真或假)值。例如,Falloff 值为 0.5 将给你 50% 的机会得到 1

Seed - 更改此值将影响 Probability

Custom Color - 勾选时 Falloff 将使用 Color 中设置的值。取消勾选时使用 Label ColorScene Window 中使用的颜色)。

Color - 设置 Falloff 的颜色。

Enabled - 取消勾选时,Falloff 将输出值 1(结果与没有 Falloff 时相同)。

也可以通过在 Scene Window 中选择 Falloff 并右键菜单中选 Enable/Disable Falloff(s)启用/禁用 Falloff

参见 Common Attributes(Falloff 选项卡),了解如何将 Layer Modes 用于 Behaviours