Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
Include |
#include "GameplayEffect.h" |
USTRUCT()
struct FCustomCalculationBasedFloat
Structure to encapsulate magnitudes that are calculated via custom calculation
Name | Description | ||
---|---|---|---|
|
TSubclassOf< UG... |
CalculationClassMagnitude |
|
|
Coefficient |
Coefficient to the custom calculation |
|
|
FinalLookupCurve |
If a curve table entry is specified, the OUTPUT of this custom class magnitude (including the pre and post additive values) lookup into the curve instead of using the attribute directly. |
|
|
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 |
Name | Description | |
---|---|---|
|
FCustomCalculationBasedFloat() |
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 |