UFoliageInstancedStaticMeshComponent::ReceiveComponentDamage

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

Choose your operating system:

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