Falloff
Intro
Falloffs can be used to isolate the strength of most Behaviours and Fields. By default, a Falloff outputs a value of 1 at its centre which falls off to 0 at its edges. This value is used as a multiplier for the Strength of the Behaviour(s) it is connected to and the Graph can be used to determine the speed the values fall off at.
UI
Strength - A multiplier for the Falloff Graph attribute.
Shape Type:
- Circle - The Falloff Graph is sampled radially.
- Rectangle - The Falloff Graph is sampled in x and y.
- Linear - The Falloff Graph is sampled in 1 dimension.
- Sweep - The Falloff Graph is sampled in a similar way to a sweep gradient. Use the Falloff's Rotation to create radar like effects.
- Shape - The Falloff Graph is sampled using a custom Shape(s).
Size - When the Shape Type is set to Circle, Rectangle or Linear, set the size of the Falloff.
Repetitions - When the Shape Type is set to Sweep, set the number of times the sweep is repeated within the Angles.
Angles - When the Shape Type is set to Sweep, set a start and end angle for the Falloff.
Input Shapes - When the Shape Type is set to Shape, connect the Shapes to be used as the Falloff.
Path Mode - When the Shape Type is set to Shape, determine how the Shape is
- Filled Path - Any 'point' within the Input Shapes' is considered to be at full strength.
- Path Edges - The distance from the Input Shapes' edge is used to calculate the Falloff's strength.
Distance - When the Shape Type is set to Shape, set distance from the Input Shapes that the Falloff Graph is sampled across. A distance of 0 means only the points inside the Shapes will be considered 'on'.
Falloff Graph - See Graph Attribute.
Probability - The Falloff's value is used to produce a 1 or 0 (true or false) value. For example, a Falloff value of 0.5 would give you a 50% chance of getting a 1.
Seed - Changing this value will affect Probability.
Custom Color - When checked the Falloff will use the value set in Color. When unchecked the Label Color is used (the color used in the Scene Window).
Color - Set a color for the Falloff.
Enabled - When unchecked, the Falloff will output a value of 1 (the result being the same as if the Falloff wasn't there).
A Falloff can also be Enabled/Disabled in the Scene Window by selecting it and choosing Enable/Disable Falloff(s) in the right click contextual menu.
See Common Attributes (Falloff tab) for using Layer Modes with Behaviours.