Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
Include |
#include "GameplayEffect.h" |
USTRUCT()
struct FAttributeBasedFloat
Struct representing a float whose magnitude is dictated by a backing attribute and a calculation policy, follows basic form of: (Coefficient * (PreMultiplyAdditiveValue + [Eval'd Attribute Value According to Policy])) + PostMultiplyAdditiveValue
Name | Description | ||
---|---|---|---|
|
AttributeCalculationType |
Calculation policy in regards to the attribute |
|
|
AttributeCurve |
If a curve table entry is specified, the attribute will be used as a lookup into the curve instead of using the attribute directly. |
|
|
BackingAttribute |
Attribute backing the calculation |
|
|
Coefficient |
Coefficient to the attribute calculation |
|
|
FinalChannel |
Channel to terminate evaluation on when using AttributeEvaluatedUpToChannel calculation type |
|
|
PostMultiplyAdditiveValue |
Additive value to the attribute calculation, added in after the coefficient applies |
|
|
PreMultiplyAdditiveValue |
Additive value to the attribute calculation, added in before the coefficient applies |
|
|
SourceTagFilter |
Filter to use on source tags; If specified, only modifiers applied with all of these tags will factor into the calculation |
|
|
TargetTagFilter |
Filter to use on target tags; If specified, only modifiers applied with all of these tags will factor into the calculation |
Name | Description | |
---|---|---|
|
FAttributeBasedFloat() |
Constructor |
Name | Description | ||
---|---|---|---|
|
float |
CalculateMagnitude ( |
Calculate and return the magnitude of the float given the specified gameplay effect spec. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
operator== ( |
Equality/Inequality operators |