AFunctionalTest::RegisterAutoDestroyActor

ACtors registered this way will be automatically destroyed (by limiting their lifespan) on test finish

Windows
MacOS
Linux

References

Module

FunctionalTesting

Header

/Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h

Include

#include "FunctionalTest.h"

Source

/Engine/Source/Developer/FunctionalTesting/Private/FunctionalTest.cpp

Syntax

virtual void RegisterAutoDestroyActor
(
    AActor * ActorToAutoDestroy
)

Remarks

ACtors registered this way will be automatically destroyed (by limiting their lifespan) on test finish

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss