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