Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AlphaBlend.h |
Include |
#include "AlphaBlend.h" |
struct FAlphaBlend
Alpha Blend class that supports different blend options as well as custom curves
Name | Description | |
---|---|---|
|
FAlphaBlend ( |
Constructor |
|
FAlphaBlend ( |
Constructor |
Name | Description | ||
---|---|---|---|
|
float |
AlphaToBlendOption ( |
Converts InAlpha from a linear 0...1 value into the output alpha described by InBlendOption |
|
float |
GetAlpha() |
Gets the current 0..1 alpha value. Changed to AlphaLerp to match with SetAlpha function |
|
float |
GetBeginValue() |
Get the current begin value |
|
float |
GetBlendedValue() |
Gets the current blended value |
|
EAlphaBlendO... |
GetBlendOption() |
|
|
float |
GetBlendTime() |
Getters |
|
float |
GetBlendTimeRemaining() |
|
|
UCurveFloat ... |
GetCustomCurve() |
|
|
float |
GetDesiredValue() |
Get the current desired value |
|
IsComplete() |
Gets whether or not the blend is complete |
|
|
Reset() |
Reset functions - |
|
|
SetAlpha ( |
Sets the Lerp alpha value directly. |
|
|
SetBlendOption ( |
Setters - need to refresh cached value |
|
|
SetBlendTime ( |
Update transition blend time. This new value will be applied in the next Update. |
|
|
SetCustomCurve ( |
||
|
SetDesiredValue ( |
Sets the final desired value for the blended value |
|
|
SetValueRange ( |
Sets the range of values to map to the interpolation |
|
|
float |
Update ( |
Update interpolation, has to be called once every frame. |