AFunctionalTest::RegisterAutoDestroyActor

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

Unreal Engine C++ API Reference > Developer > FunctionalTesting > AFunctionalTest

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalTest.h
Include #include "FunctionalTest.h"
Source /Engine/Source/Developer/FunctionalTesting/Private/FunctionalTest.cpp
virtual void RegisterAutoDestroyActor
(
    [AActor](API\Runtime\Engine\GameFramework\AActor) * ActorToAutoDestroy
)

Remarks

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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library