Where is the implementation of 'SpawnActor'?

I found the following code in World.h


AActor* SpawnActor( UClass* Class, FVector const* Location=NULL, FRotator const* Rotation=NULL, const FActorSpawnParameters& SpawnParameters = FActorSpawnParameters() );

But this is only the declaration and I am unable to find the implementation.

Also UWorld doesn’t seem to be inherited by any other class

Does anyone know where it is actually defined?

Found it, it is defined in LevelActor.cpp

1 Like