Class FZagalaSpecFeatureEditorToolkit#

Inheritance Relationships#

Base Types#

  • public FAssetEditorToolkit

  • public FNotifyHook

  • public FSelfRegisteringEditorUndoClient

Class Documentation#

class FZagalaSpecFeatureEditorToolkit : public FAssetEditorToolkit, public FNotifyHook, public FSelfRegisteringEditorUndoClient#

The asset editor of a feature.

It opens the tabs of FZagalaSpecFeatureEditorTabRegistry (by default the document on the left and the details of the selected row on the right) and keeps them in sync with the feature: the document is rebuilt after a property of the feature (or of an object inside it) changes, and after undo and redo. Works with any object that implements IZagalaSpecFeature.

FAssetEditorToolkit interface

virtual FName GetToolkitFName() const override#
virtual FText GetBaseToolkitName() const override#
virtual FString GetWorldCentricTabPrefix() const override#
virtual FLinearColor GetWorldCentricTabColorScale() const override#
virtual void RegisterTabSpawners(const TSharedRef<FTabManager> &InTabManager) override#
virtual void UnregisterTabSpawners(const TSharedRef<FTabManager> &InTabManager) override#

FNotifyHook interface

virtual void NotifyPostChange(const FPropertyChangedEvent &PropertyChangedEvent, FProperty *PropertyThatChanged) override#

FEditorUndoClient interface

virtual void PostUndo(bool bSuccess) override#
virtual void PostRedo(bool bSuccess) override#

Public Functions

~FZagalaSpecFeatureEditorToolkit()#
void InitFeatureEditor(const EToolkitMode::Type Mode, const TSharedPtr<IToolkitHost> &InitToolkitHost, UObject *InFeature)#

Opens the editor for a feature.

Parameters:
  • Mode – Standalone or world centric.

  • InitToolkitHost – The host of a world centric editor; null for a standalone editor.

  • InFeature – The feature (an object implementing IZagalaSpecFeature) to edit.