Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include |
#include "Engine/World.h" |
template<class T>
T * SpawnActor
(
UClass * Class,
const FActorSpawnParameters & SpawnParameters
)
Templated version of SpawnActor that allows you to specify the class type via parameter while the return type is a parent class of that type