/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h
Returns the WorldSettings for the World the actor is in If you'd like to know whatUWorldthis placed actor (not dynamic spawned actor) belong to, useGetTypedOuter()
[AWorldSettings](API\Runtime\Engine\GameFramework\AWorldSettings) * GetWorldSettings() const