Navigation
API > API/Runtime > API/Runtime/Foliage
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- AStaticMeshActor
- AInteractiveFoliageActor
References
| Module | Foliage |
| Header | /Engine/Source/Runtime/Foliage/Public/InteractiveFoliageActor.h |
| Include | #include "InteractiveFoliageActor.h" |
Syntax
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 |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| void | Called when an actor is done spawning into the world (from UWorld::SpawnActor), both in the editor and during gameplay For actors with a root component, the location and rotation will have already been set. | ||
| float | TakeDamage
(
float DamageAmount, |
Apply damage to this actor. | |
| void | Tick
(
float DeltaSeconds |
Function called every frame on this Actor. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |