Navigation
API > API/Plugins > API/Plugins/AvalancheEditorCore
Inheritance Hierarchy
- IAvaTypeCastable
- TSharedFromThis< IAvaEditorExtension >
- IAvaEditorExtension
- FAvaEditorExtension
References
| Module | AvalancheEditorCore |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheEditorCore/Public/IAvaEditorExtension.h |
| Include | #include "IAvaEditorExtension.h" |
Syntax
class IAvaEditorExtension :
public IAvaTypeCastable ,
public TSharedFromThis< IAvaEditorExtension >
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Activate () |
Called when the Ava Editor is fully active (e.g. Toolkit and Scene have been set). | |
| void | BindCommands
(
const TSharedRef< FUICommandList >& InCommandList |
||
| void | Cleanup () |
Called when destroying the object containing the Scene Object for the Extension | |
| void | Construct
(
const TSharedRef< IAvaEditor >& InEditor |
Called as soon as this Editor Extension is created. | |
| void | Deactivate () |
Called when deactivating the Scene. | |
| void | ExtendLevelEditorLayout
(
FLayoutExtender& InExtender |
Extend the Level Editor Layout (only called when instancing for Level Editor) | |
| void | ExtendSettingsCategory
(
IDetailCategoryBuilder& InCategoryBuilder |
Extend the Settings Category by adding External Objects or Properties. | |
| void | ExtendToolbarMenu
(
UToolMenu& InMenu |
Opportunity for an Extension to extend the Editor Toolbar | |
| FName | Name of the category this Extension belongs in. Used in places like Setting Details Category | ||
| TSharedPtr< IAvaEditor > | GetEditor () |
||
| FEditorModeTools * | |||
| InSceneObjectType * | |||
| FAvaTypeId | |||
| TSharedPtr< IToolkitHost > | |||
| UWorld * | GetWorld () |
||
| bool | |||
| void | Load () |
||
| void | NotifyOnSelectionChanged
(
const FAvaEditorSelection& InSelection |
Called when a USelection relevant to the Toolkit Mode Tools has changed | |
| void | OnCopyActors
(
FString& OutCopyData, |
Called when Actors are about to be copied and opportunity for Extension to add to the Copied String | |
| void | OnPasteActors
(
FStringView InPastedData, |
Called when pasting new actors to give opportunity for Extension to handle Pasted Data and its Actors | |
| void | OnSceneObjectChanged
(
UObject* InOldSceneObject, |
||
| void | Called after Activate and after all the Extension Tabs have been invoked | ||
| void | PostPasteActors
(
bool bInPasteSucceeded |
Called after pasting the actors regardless if it successfully completes or not | |
| void | Called prior to pasting the actors. Give opportunity for Extension to prepare for pasting | ||
| void | RegisterTabSpawners
(
const TSharedRef< IAvaEditor >& InEditor |
||
| void | Save () |
Overridden from IAvaTypeCastable
| Type | Name | Description | |
|---|---|---|---|
| const void * | CastTo_Impl
(
FAvaTypeId InCastToType |
||
| FAvaTypeId | GetTypeId () |
Typedefs
| Name | Description |
|---|---|
| FAvaInherits |
Constants
| Name | Description |
|---|---|
| DefaultSectionName | Name of the Default Section Name used to add or as reference when Extending the Toolbar Menu |