UActorFactory::CreateActor

Called to actual create an actor with the supplied transform (scale is ignored), using the properties in the ActorFactory

Windows
MacOS
Linux

Deprecated

  • This function has been deprecated in favor of the other version that takes a FActorSpawnParameters in parameter

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

AActor * CreateActor
(
    UObject * Asset,
    ULevel * InLevel,
    const FTransform & Transform,
    EObjectFlags InObjectFlags,
    const FName InName
)

Remarks

Called to actual create an actor with the supplied transform (scale is ignored), using the properties in the ActorFactory

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