UDestructibleComponent::ApplyDamage

Take damage.

Windows
MacOS
Linux

Override Hierarchy

IDestructibleInterface::ApplyDamage()

UDestructibleComponent::ApplyDamage()

References

Module

ApexDestruction

Header

/Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Public/DestructibleComponent.h

Include

#include "DestructibleComponent.h"

Source

/Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Private/DestructibleComponent.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Components|Destructible")
virtual void ApplyDamage
(
    float DamageAmount,
    const FVector & HitLocation,
    const FVector & ImpulseDir,
    float ImpulseStrength
)

Remarks

Take damage.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss