UEditorWorldExtensionCollection::AddExtension

Checks if the passed extension already exists and creates one if it doesn't.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorWorldExtension.h

Include

#include "EditorWorldExtension.h"

Source

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

Syntax

UEditorWorldExtension * AddExtension
(
    TSubclassOf< UEditorWorldExtension > EditorExtensionClass
)

Remarks

Checks if the passed extension already exists and creates one if it doesn't.

Parameters

Parameter

Description

EditorExtensionClass

the subclass of an extension to create if necessary and add.

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