unreal.CustomCalculationBasedFloat

class unreal.CustomCalculationBasedFloat

Bases: unreal.StructBase

Structure to encapsulate magnitudes that are calculated via custom calculation

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayEffect.h

Editor Properties: (see get_editor_property/set_editor_property)

  • calculation_class_magnitude (type(Class)): [Read-Write] Calculation Class Magnitude

  • coefficient (ScalableFloat): [Read-Write] Coefficient: Coefficient to the custom calculation

  • final_lookup_curve (CurveTableRowHandle): [Read-Write] Final Lookup Curve: 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.

  • post_multiply_additive_value (ScalableFloat): [Read-Write] Post Multiply Additive Value: Additive value to the attribute calculation, added in after the coefficient applies

  • pre_multiply_additive_value (ScalableFloat): [Read-Write] Pre Multiply Additive Value: Additive value to the attribute calculation, added in before the coefficient applies