Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include |
#include "Editor/EditorEngine.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp |
virtual AActor * AddActor
(
ULevel * InLevel,
UClass * Class,
const FTransform & Transform,
bool bSilent,
EObjectFlags ObjectFlags
)
Adds an actor to the world at the specified location.
A pointer to the newly added actor, or NULL if add failed.
Parameter |
Description |
---|---|
InLevel |
Level in which to add the actor |
Class |
A non-abstract, non-transient, placeable class. Must be non-NULL. |
Transform |
The world-space transform to spawn the actor with. |
bSilent |
If true, suppress logging (optional, defaults to false). |
ObjectFlags |
The object flags to place on the spawned actor. |