FSimpleAssetEditor

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Toolkits/SimpleAssetEditor.h

Include

#include "Toolkits/SimpleAssetEditor.h"

Syntax

class FSimpleAssetEditor : public FAssetEditorToolkit

Destructors

Name Description

Public function Virtual

~FSimpleAssetEditor()

Destructor

Functions

Name Description

Public function Static

TSharedRef< ...

 

CreateEditor

(
    const EToolkitMode::Type Mode,
    const TSharedPtr< IToolkitHost >& ...,
    UObject* ObjectToEdit,
    FGetDetailsViewObjects GetDetailsVi...
)

Public function Static

TSharedRef< ...

 

CreateEditor

(
    const EToolkitMode::Type Mode,
    const TSharedPtr< IToolkitHost >& ...,
    const TArray< UObject* >& Obj...,
    FGetDetailsViewObjects GetDetailsVi...
)

Public function

void

 

InitEditor

(
    const EToolkitMode::Type Mode,
    const TSharedPtr< class IToolkitHos...,
    const TArray< UObject* >& Obj...,
    FGetDetailsViewObjects GetDetailsVi...
)

Edits the specified asset object

Public function

void

 

SetPropertyEditingEnabledDelegate

(
    FIsPropertyEditingEnabled InPropert...
)

Can be used to disable the details view making it read-only

Public function

void

 

SetPropertyVisibilityDelegate

(
    FIsPropertyVisible InVisibilityDele...
)

Used to show or hide certain properties

Overridden from FAssetEditorToolkit

Overridden from IAssetEditorInstance

Name Description

Public function Virtual Const

bool

 

IsPrimaryEditor()

Overridden from IToolkit

Name Description

Public function Virtual Const

FText

 

GetBaseToolkitName()

Returns the localized name of this toolkit type (typically just " editor")

Public function Virtual Const

FName

 

GetToolkitFName()

IToolkit interface

Public function Virtual Const

FText

 

GetToolkitName()

Returns the localized name of this toolkit

Public function Virtual Const

FText

 

GetToolkitToolTipText()

Returns the localized tooltip text of this toolkit

Public function Virtual Const

FLinearColor

 

GetWorldCentricTabColorScale()

Public function Virtual Const

FString

 

GetWorldCentricTabPrefix()

Returns the localize prefix string to use for tab labels in world-centric mode.

Public function Virtual Const

bool

 

IsSimpleAssetEditor()

Returns true if this is the default generic asset editor used by multiple classes

Public function Virtual

void

 

RegisterTabSpawners

(
    const TSharedRef< class FTabManager...
)

IToolkit interface

Public function Virtual

void

 

UnregisterTabSpawners

(
    const TSharedRef< class FTabManager...
)

Unregister tabs that this toolkit can spawn

Typedefs

Name

Description

FGetDetailsViewObjects

Delegate that, given an array of assets, returns an array of objects to use in the details view of an FSimpleAssetEditor

Constants

Name

Description

PropertiesTabId

The tab ids for all the tabs used

SimpleEditorAppIdentifier

App Identifier.

ToolkitFName

The name given to all instances of this type of editor

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss