Navigation
API > API/Editor > API/Editor/LevelEditor > API/Editor/LevelEditor/FLevelEditorActionCallbacks
References
| Module | LevelEditor |
| Header | /Engine/Source/Editor/LevelEditor/Public/LevelEditorActions.h |
| Include | #include "LevelEditorActions.h" |
| Source | /Engine/Source/Editor/LevelEditor/Private/LevelEditorActions.cpp |
static AActor &42; AddActor
&40;
UActorFactory &42; ActorFactory,
const FAssetData & AssetData,
const FTransform &42; ActorLocation
&41;
Remarks
Called when the AddActor command is executed
Parameters
| Name | 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. |