UEditorEngine::GetFirstSelectedClass

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp

Syntax

const UClass * GetFirstSelectedClass
(
    const UClass *const RequiredParentClass
) const

Returns

The first selected class (either a UClass type itself, or the UClass generated by a blueprint), or null if there are no class or blueprint types selected

Parameters

Parameter

Description

RequiredParentClass

The parent class this type must implement, or null to accept anything

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