GRADE Fog Spline
On this page
Fog puffs placed along a spline, all with the same look, with Expand / Contract / Move Along Spline animations.
C++: AGradeFogSpline. Manual: GRADE Fog Spline.
Parameters
Fog along a spline.
| Parameter | Values | Default | Description |
|---|---|---|---|
| Fog Enabled | on/off, keyable | on | Shows the fog. |
Spline
| Parameter | Values | Default | Description |
|---|---|---|---|
| Spacing | >= 25 (slider to 5000) | 400 | Distance between puffs along the spline (cm). Small values spawn many puffs (GPU cost): raise Puff Size first. |
| Puff Size | vector (X, Y, Z), keyable | (700, 700, 400) | Size of each puff (cm) before the spline point scale. |
| Use Spline Rotation | on/off | off | Align the puffs with the spline direction (else they keep the actor's rotation). |
| Closed Loop | on/off | off | Connect the last spline point to the first one. |
| Scale At Spline Points | on/off | off | Use the scale of the spline points (select a point and use the scale tool) to size the puffs along the spline. |
| Max Puffs | 1..512, integer | 128 | Upper bound of puffs (safety against a tiny spacing on a long spline). |
Animation
| Parameter | Values | Default | Description |
|---|---|---|---|
| Animation | EGradeFogSplineAnimation | Off | Built-in animation. |
| Trigger | EGradeFogSplineTrigger | Begin Play | When the animation starts. (Editable when Animation != E Grade Fog Spline Animation::Off is on.) |
| Animation Speed | >= 1 (slider to 5000) | 200 | Speed of the animation front along the spline (cm/s). (Editable when Animation != E Grade Fog Spline Animation::Off is on.) |
| Loop Animation | on/off | off | Restart at the end (Move Along Spline loops forever; Expand / Contract replay from the start). (Editable when Animation != E Grade Fog Spline Animation::Off is on.) |
| Front Softness | 0.01..1 | 0.15 | Softness of the Expand / Contract front as a fraction of the spline length. (Editable when Animation != E Grade Fog Spline Animation::Off is on.) |
| Animation Progress | 0..1, keyable | 1 | Animation progress 0..1 (key it in Sequencer to scrub the animation; set by the animation while playing). 1 in the editor shows the finished state; BeginPlay resets it to 0 when an animation is set. |
Presets
| Parameter | Values | Default | Description |
|---|---|---|---|
| Preset | UGradeFogPreset | Preset asset applied by "Apply Preset". | |
| Builtin Preset | name | NAME_None | Built-in preset applied by "Apply Preset" when no asset is set. |
Advanced
| Parameter | Values | Default | Description |
|---|---|---|---|
| Material Override | MaterialInterface asset | Optional material replacing M_GRADE_FogVolume. |
Nested settings: Fog (FGradeFogSettings): Look of every puff (Ellipsoid shape recommended). Keyable in Sequencer.
Enumerations
Fog Spline Animation (EGradeFogSplineAnimation)
Built-in spline animation.
| Value | Meaning |
|---|---|
| Off | Every puff is always visible. |
| Expand | The fog fills the spline from its start and stays (gas flooding a corridor). |
| Contract | The fog retreats along the spline towards its end. |
| Move Along Spline | A single puff travels along the spline. |
Fog Spline Trigger (EGradeFogSplineTrigger)
When the animation starts.
| Value | Meaning |
|---|---|
| Begin Play | Plays on BeginPlay. |
| Manual | Waits for StartAnimation() (Blueprint, level script, gameplay event). |
Generated from the GRADE C++ headers. Back to the reference index.