FLevelEditorActionCallbacks::AddActor_Clicked

Called when the AddActor command is executed

Windows
MacOS
Linux

References

Module

LevelEditor

Header

/Engine/Source/Editor/LevelEditor/Public/LevelEditorActions.h

Include

#include "LevelEditorActions.h"

Source

/Engine/Source/Editor/LevelEditor/Private/LevelEditorActions.cpp

Syntax

static void AddActor_Clicked
(
    UActorFactory * ActorFactory,
    FAssetData AssetData
)

Remarks

Called when the AddActor command is executed

Parameters

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.

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