Navigation
API > API/Runtime > API/Runtime/Foliage
| Name | AInteractiveFoliageActor |
| Type | class |
| Header File | /Engine/Source/Runtime/Foliage/Public/InteractiveFoliageActor.h |
| Include Path | #include "InteractiveFoliageActor.h" |
Syntax
UCLASS (MinimalAPI)
class AInteractiveFoliageActor : public AStaticMeshActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → AStaticMeshActor → AInteractiveFoliageActor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AInteractiveFoliageActor
(
const FObjectInitializer& ObjectInitializer |
InteractiveFoliageActor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FoliageDamageImpulseScale | float | Scales forces applied from damage events. | InteractiveFoliageActor.h |
|
| FoliageDamping | float | Determines the amount of energy lost by the spring as it oscillates. | InteractiveFoliageActor.h |
|
| FoliageStiffness | float | Determines how strong the force that pushes toward the spring's center will be. | InteractiveFoliageActor.h |
|
| FoliageStiffnessQuadratic | float | Same as FoliageStiffness, but the strength of this force increases with the square of the distance to the spring's center. | InteractiveFoliageActor.h |
|
| FoliageTouchImpulseScale | float | Scales forces applied from touch events. | InteractiveFoliageActor.h |
|
| Mass | float | InteractiveFoliageActor.h | ||
| MaxDamageImpulse | float | Clamps the magnitude of each damage force applied. | InteractiveFoliageActor.h |
|
| MaxForce | float | Clamps the magnitude of combined forces applied each update. | InteractiveFoliageActor.h |
|
| MaxTouchImpulse | float | Clamps the magnitude of each touch force applied. | InteractiveFoliageActor.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CapsuleComponent | TObjectPtr< class UCapsuleComponent > | Collision cylinder | InteractiveFoliageActor.h | |
| FoliageForce | FVector | InteractiveFoliageActor.h |
|
|
| FoliagePosition | FVector | InteractiveFoliageActor.h |
|
|
| FoliageVelocity | FVector | Simulated physics state | InteractiveFoliageActor.h |
|
| TouchingActorEntryPosition | FVector | Position of the last actor to enter the collision cylinder. | InteractiveFoliageActor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostActorCreated() |
InteractiveFoliageActor.h | ||
virtual void PostLoad() |
InteractiveFoliageActor.h | ||
virtual float TakeDamage
(
float DamageAmount, |
InteractiveFoliageActor.h | ||
virtual void Tick
(
float DeltaSeconds |
InteractiveFoliageActor.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CapsuleTouched
(
UPrimitiveComponent* OverlappedComp, |
Called when capsule is touched | InteractiveFoliageActor.h | |
void SetupCollisionCylinder() |
InteractiveFoliageActor.h |