Module |
|
Header |
/Engine/Source/Editor/LevelEditor/Public/LevelEditorActions.h |
Include |
#include "LevelEditorActions.h" |
Source |
/Engine/Source/Editor/LevelEditor/Private/LevelEditorActions.cpp |
static AActor * AddActor
(
UActorFactory * ActorFactory,
const FAssetData & AssetData,
const FTransform * ActorLocation
)
Called when the AddActor command is executed
Parameter |
Description |
---|---|
ActorFactory |
The actor factory to use when adding the actor |
bUsePlacement |
Whether to use the placement editor. If not, the actor will be placed at the last click. |
ActorLocation |
[opt] If NULL, positions the actor at the mouse location, otherwise the location specified. Default is true. |