UActorFactory::ValidateSpawnActorLevel

Validates the input params for SpawnActor and returns the appropriate level to use depending on whether InLevel and/or InSpawnParams.OverrideLevel is passed :

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/ActorFactories/ActorFactory.h

Include

#include "ActorFactories/ActorFactory.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Factories/ActorFactory.cpp

Syntax

ULevel * ValidateSpawnActorLevel
(
    ULevel * InLevel,
    const FActorSpawnParameters & InSpawnParams
) const

Remarks

Validates the input params for SpawnActor and returns the appropriate level to use depending on whether InLevel and/or InSpawnParams.OverrideLevel is passed :

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss