Navigation
Unreal Engine C++ API Reference > 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 void AddActor_Clicked ( [UActorFactory](API\Editor\UnrealEd\ActorFactories\UActorFactory) * ActorFactory, [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) AssetData )
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. |