Navigation
API > API/Editor > API/Editor/UnrealEd
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
| Type | Name | Description | |
|---|---|---|---|
| Default constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Default destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UEditorWorldExtension * | AddExtension
(
TSubclassOf< UEditorWorldExtension > EditorExtensionClass |
Checks if the passed extension already exists and creates one if it doesn't. | |
| void | AddExtension
(
UEditorWorldExtension* EditorExtension |
Adds an extension to the collection | |
| UEditorWorldExtension * | FindExtension
(
TSubclassOf< UEditorWorldExtension > EditorExtensionClass |
Find an extension based on the class | |
| UWorld * | Gets the last editor world, will only be non-null when current world is a play world. | ||
| UWorld * | GetWorld () |
Gets the world from the world context | |
| bool | InputAxis
(
FEditorViewportClient* InViewportClient, |
Notifies all extensions of axis movement | |
| bool | InputKey
(
FEditorViewportClient* InViewportClient, |
Notifies all extensions of keyboard input | |
| void | RemoveExtension
(
UEditorWorldExtension* EditorExtension |
Removes an extension from the collection and calls Shutdown() on the extension | |
| void | ShowAllActors
(
const bool bShow |
Show or hide all the actors of extensions that belong to this collection. | |
| void | Tick
(
float DeltaSeconds |
Ticks all extensions |
Typedefs
| Name | Description |
|---|---|
| FEditorExtensionTuple | List of extensions along with their reference count. |