跳到內容

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