/Engine/Source/Runtime/Engine/Classes/Engine/World.h
Templated version of SpawnActor that allows you to specify whole Transform class type via parameter while the return type is a parent class of that type
template<class T> T * SpawnActor ( [UClass](API\Runtime\CoreUObject\UObject\UClass) * Class, FTransform const & Transform, const [FActorSpawnParameters](API\Runtime\Engine\Engine\FActorSpawnParameters) & SpawnParameters )