Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | UEditorWorldExtension |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorWorldExtension.h |
| Include Path | #include "EditorWorldExtension.h" |
Syntax
UCLASS (MinimalAPI)
class UEditorWorldExtension : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEditorWorldExtension
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UEditorWorldExtension() |
Default constructor | EditorWorldExtension.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UEditorWorldExtension() |
Default destructor | EditorWorldExtension.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bActive | bool | If this extension is currently being ticked | EditorWorldExtension.h | |
| ExtensionActors | TArray< FEditorWorldExtensionActorData > | EditorWorldExtension.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DestroyTransientActor
(
AActor* Actor |
Destroys a transient actor we created earlier | EditorWorldExtension.h | |
bool ExecCommand
(
const FString& InCommand |
Executes command | EditorWorldExtension.h | |
virtual UWorld * GetLastEditorWorld() |
Gets the world owning this extension's non-PIE valid actors when current world is a play world | EditorWorldExtension.h | |
UEditorWorldExtensionCollection * GetOwningCollection() |
Get the owning collection of extensions | EditorWorldExtension.h | |
virtual UWorld * GetWorld() |
Gets the world owning this extension | EditorWorldExtension.h | |
virtual void Init() |
Initialize extension | EditorWorldExtension.h | |
virtual bool InputAxis
(
FEditorViewportClient* InViewportClient, |
EditorWorldExtension.h | ||
virtual bool InputKey
(
FEditorViewportClient* InViewportClient, |
EditorWorldExtension.h | ||
bool IsActive() |
If this extension is currently being ticked. | EditorWorldExtension.h | |
void SetActive
(
const bool bInActive |
Sets if this extension should be ticked. | EditorWorldExtension.h | |
virtual void Shutdown() |
Shut down extension when world is destroyed | EditorWorldExtension.h | |
T * SpawnTransientSceneActor
(
const FString& ActorName, |
Spawns a transient actor that we can use in the current world of this extension (templated for convenience) | EditorWorldExtension.h | |
AActor * SpawnTransientSceneActor
(
TSubclassOf< AActor > ActorClass, |
Spawns a transient actor that we can use in the current world of this extension | EditorWorldExtension.h | |
virtual void Tick
(
float DeltaSeconds |
Give base class the chance to tick | EditorWorldExtension.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EnteredSimulateInEditor() |
Give child class a chance to act on entering simulate mode | EditorWorldExtension.h | |
virtual void LeftSimulateInEditor
(
UWorld* SimulateWorld |
Give child class a chance to act on leaving simulate mode | EditorWorldExtension.h | |
virtual void TransitionWorld
(
UWorld* NewWorld, |
Reparent actors to a new world | EditorWorldExtension.h |