UEditorWorldExtension::SpawnTransientSceneActor

Spawns a transient actor that we can use in the current world of this extension

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorWorldExtension.h

Include

#include "EditorWorldExtension.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorWorldExtension.cpp

Syntax

AActor * SpawnTransientSceneActor
(
    TSubclassOf< AActor > ActorClass,
    const FString & ActorName,
    const bool bWithSceneComponent,
    const EObjectFlags InObjectFlags,
    const bool bValidForPIE
)

Remarks

Spawns a transient actor that we can use in the current world of this extension

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