UPrimitiveComponent::ReceiveComponentDamage

Event called when a component is 'damaged', allowing for component class specific behaviour

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp

Syntax

virtual void ReceiveComponentDamage
(
    float DamageAmount,
    FDamageEvent const & DamageEvent,
    AController * EventInstigator,
    AActor * DamageCauser
)

Remarks

Event called when a component is 'damaged', allowing for component class specific behaviour

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