Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
Include | #include "GameFramework/Actor.h" |
Source | /Engine/Source/Runtime/Engine/Private/Actor.cpp |
bool Destroy
(
bool bNetForce,
bool bShouldModifyLevel
)
Remarks
Destroy this actor. Returns true the actor is destroyed or already marked for destruction, false if indestructible. Destruction is latent. It occurs at the end of the tick. true if destroyed or already marked for destruction, false if indestructible.
Parameters
Name | Description |
---|---|
bNetForce | [opt] Ignored unless called during play. Default is false. |
bShouldModifyLevel | [opt] If true, Modify() the level before removing the actor. Default is true. |