Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
| Include | #include "GameplayEffect.h" |
Syntax
USTRUCT&40;&41;
struct FCustomCalculationBasedFloat
Remarks
Structure to encapsulate magnitudes that are calculated via custom calculation
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< UGameplayModMagnitudeCalculation > | CalculationClassMagnitude | ||
| FScalableFloat | Coefficient | Coefficient to the custom calculation | |
| FCurveTableRowHandle | 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. | |
| FScalableFloat | PostMultiplyAdditiveValue | Additive value to the attribute calculation, added in after the coefficient applies | |
| FScalableFloat | PreMultiplyAdditiveValue | Additive value to the attribute calculation, added in before the coefficient applies |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | CalculateMagnitude
(
const FGameplayEffectSpec& InRelevantSpec |
Calculate and return the magnitude of the float given the specified gameplay effect spec. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FCustomCalculationBasedFloat& Other |
||
| bool | operator==
(
const FCustomCalculationBasedFloat& Other |
Equality/Inequality operators |