Navigation
API > API/Runtime > API/Runtime/Foliage > API/Runtime/Foliage/UFoliageInstancedStaticMeshCompo-
- 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 |
virtual void ReceiveComponentDamage
&40;
float DamageAmount,
FDamageEvent const & DamageEvent,
AController &42; EventInstigator,
AActor &42; DamageCauser
&41;
Remarks
Event called when a component is 'damaged', allowing for component class specific behaviour