FLevelEditorActionCallbacks::AddActorFromClass

Called when the AddActor command is executed and a class is selected in the actor browser

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 [AActor](API\Runtime\Engine\GameFramework\AActor) * AddActorFromClass
(
    [UClass](API\Runtime\CoreUObject\UObject\UClass) * ActorClass
)

Remarks

Called when the AddActor command is executed and a class is selected in the actor browser

Parameters

Name Description
ActorClass The class of the actor to add

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library