UEditorWorldExtensionCollection

Holds a collection of UEditorExtension

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UEditorWorldExtensionCollection

References

Module

UnrealEd

Header

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

Include

#include "EditorWorldExtension.h"

Syntax

class UEditorWorldExtensionCollection : public UObject

Remarks

Holds a collection of UEditorExtension

Constructors

Name Description

Public function

UEditorWorldExtensionCollection()

Default constructor

Destructors

Name Description

Public function Virtual

~UEditorWorldExtensionCollection()

Default destructor

Functions

Name Description

Public function

UEditorWorld...

 

AddExtension

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

Public function

void

 

AddExtension

(
    UEditorWorldExtension* EditorE...
)

Adds an extension to the collection

Public function

UEditorWorld...

 

FindExtension

Find an extension based on the class

Public function Const

UWorld *

 

GetLastEditorWorld()

Gets the last editor world, will only be non-null when current world is a play world.

Public function Virtual Const

UWorld *

 

GetWorld()

Gets the world from the world context

Public function

bool

 

InputAxis

(
    FEditorViewportClient* InViewp...,
    FViewport* Viewport,
    int32 ControllerId,
    FKey Key,
    float Delta,
    float DeltaTime
)

Notifies all extensions of axis movement

Public function

bool

 

InputKey

(
    FEditorViewportClient* InViewp...,
    FViewport* Viewport,
    FKey Key,
    EInputEvent Event
)

Notifies all extensions of keyboard input

Public function

void

 

RemoveExtension

(
    UEditorWorldExtension* EditorE...
)

Removes an extension from the collection and calls Shutdown() on the extension

Public function

void

 

ShowAllActors

(
    const bool bShow
)

Show or hide all the actors of extensions that belong to this collection.

Public function

void

 

Tick

(
    float DeltaSeconds
)

Ticks all extensions

Typedefs

Name

Description

FEditorExtensionTuple

List of extensions along with their reference count.