Navigation
API > API/Runtime > API/Runtime/Foliage
Inheritance Hierarchy
- AStaticMeshActor
- AInteractiveFoliageActor
References
| Module | Foliage |
| Header | /Engine/Source/Runtime/Foliage/Public/InteractiveFoliageActor.h |
| Include | #include "InteractiveFoliageActor.h" |
Syntax
UCLASS (MinimalAPI)
class AInteractiveFoliageActor : public AStaticMeshActor
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | FoliageDamageImpulseScale | Scales forces applied from damage events. | |
| float | FoliageDamping | Determines the amount of energy lost by the spring as it oscillates. | |
| float | FoliageStiffness | Determines how strong the force that pushes toward the spring's center will be. | |
| float | FoliageStiffnessQuadratic | Same as FoliageStiffness, but the strength of this force increases with the square of the distance to the spring's center. | |
| float | FoliageTouchImpulseScale | Scales forces applied from touch events. | |
| float | Mass | ||
| float | MaxDamageImpulse | Clamps the magnitude of each damage force applied. | |
| float | MaxForce | Clamps the magnitude of combined forces applied each update. | |
| float | MaxTouchImpulse | Clamps the magnitude of each touch force applied. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
AInteractiveFoliageActor
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CapsuleTouched
(
UPrimitiveComponent* OverlappedComp, |
Called when capsule is touched | |
| void | |||
| void | PostLoad () |
||
| void | |||
| float | TakeDamage
(
float DamageAmount, |
||
| void | Tick
(
float DeltaSeconds |