UGBAAttributeSetBlueprintBase::​

ClampAttributeValue#

  • Declared in "Abilities/GBAAttributeSetBlueprintBase.h"
public:
UFUNCTION(
BlueprintCallable, Category = "Blueprint Attributes")
virtual void ClampAttributeValue(
const FGameplayAttribute Attribute,
float MinValue,
float MaxValue
)

Clamps the Attribute from MinValue to MaxValue

Parameters#

  • const FGameplayAttribute Attribute

    Gameplay Attribute to clamp the value

  • float MinValue

    The lower bound float to clamp the value within

  • float MaxValue

    The higher bound float to clamp the value within