UFoliageInstancedStaticMeshComponent::ReceiveComponentDamage

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

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::ReceiveComponentDamage()

UFoliageInstancedStaticMeshComponent::ReceiveComponentDamage()

References

Module

Foliage

Header

/Engine/Source/Runtime/Foliage/Public/FoliageInstancedStaticMeshComponent.h

Include

#include "FoliageInstancedStaticMeshComponent.h"

Source

/Engine/Source/Runtime/Foliage/Private/InstancedFoliage.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