Navigation
API > API/Editor > API/Editor/PropertyEditor
| Name | FPropertyEditorModule |
| Type | class |
| Header File | /Engine/Source/Editor/PropertyEditor/Public/PropertyEditorModule.h |
| Include Path | #include "PropertyEditorModule.h" |
Syntax
class FPropertyEditorModule : public IModuleInterface
Implements Interfaces
Classes
| Name | Remarks |
|---|---|
| FPropertyEditorOpenedEvent |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllDetailViews | TArray< TWeakPtr< class SDetailsView > > | All created detail views | PropertyEditorModule.h | |
| AllSinglePropertyViews | TArray< TWeakPtr< class SSingleProperty > > | All created single property views | PropertyEditorModule.h | |
| bCanUsePropertyMatrixOverride | bool | Override for if the Property Matrix is availabe | PropertyEditorModule.h | |
| ClassNameToDetailLayoutNameMap | FCustomDetailLayoutNameMap | A mapping of class names to detail layout delegates, called when querying for custom detail layouts | PropertyEditorModule.h | |
| ClassSectionMappings | TMap< FName, TSharedPtr< FClassSectionMapping > > | A mapping of class names to section mappings. | PropertyEditorModule.h | |
| GlobalPropertyTypeToLayoutMap | FCustomPropertyTypeLayoutMap | A mapping of property names to property type layout delegates, called when querying for custom property layouts | PropertyEditorModule.h | |
| GlobalThumbnailPool | TSharedPtr< class FAssetThumbnailPool > | Shared thumbnail pool used by property row generators | PropertyEditorModule.h | |
| OnGenerateGlobalRowExtension | FOnGenerateGlobalRowExtension | Delegate called to extend the name column widget on a property row. | PropertyEditorModule.h | |
| PropertyEditorOpened | FPropertyEditorOpenedEvent | Event to be called when a property editor is opened | PropertyEditorModule.h | |
| PropertyHandleLayoutOverrides | TMultiMap< FName, FPropertyHandleLayoutOverride > | Registered list of override callbacks. | PropertyEditorModule.h | |
| RegisteredStructToProxyMap | TMap< FName, FStructProperty * > | Mapping of registered floating UStructs to their struct proxy so they show correctly in the details panel | PropertyEditorModule.h | |
| StructOnScopePropertyOwner | UStruct * | Container for ScopeOnStruct FStructProperty objects | PropertyEditorModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< class IDetailsView > CreateDetailView
(
const FDetailsViewArgs& DetailsViewArgs |
Creates a new detail view | PropertyEditorModule.h | |
virtual TSharedRef< SWindow > CreateFloatingDetailsView
(
const TArray< UObject* >& InObjects, |
Convenience method for creating a new floating details window (a details view with its own top level window) | PropertyEditorModule.h | |
virtual TSharedRef< class IPropertyChangeListener > CreatePropertyChangeListener() |
Creates a property change listener that notifies users via a delegate when a property on an object changes | PropertyEditorModule.h | |
virtual TSharedRef< FAssetEditorToolkit > CreatePropertyEditorToolkit
(
const TSharedPtr< IToolkitHost >& InitToolkitHost, |
PropertyEditorModule.h | ||
virtual TSharedRef< FAssetEditorToolkit > CreatePropertyEditorToolkit
(
const TSharedPtr< class IToolkitHost >& InitToolkitHost, |
PropertyEditorModule.h | ||
virtual TSharedRef< FAssetEditorToolkit > CreatePropertyEditorToolkit
(
const TSharedPtr< IToolkitHost >& InitToolkitHost, |
PropertyEditorModule.h | ||
virtual TSharedRef< class IPropertyRowGenerator > CreatePropertyRowGenerator
(
const FPropertyRowGeneratorArgs& InArgs |
PropertyEditorModule.h | ||
virtual TSharedRef< class IPropertyTable > CreatePropertyTable() |
PropertyEditorModule.h | ||
virtual TSharedRef< SWidget > CreatePropertyTableWidget
(
const TSharedRef< class IPropertyTable >& PropertyTable, |
PropertyEditorModule.h | ||
virtual TSharedRef< SWidget > CreatePropertyTableWidget
(
const TSharedRef< class IPropertyTable >& PropertyTable |
PropertyEditorModule.h | ||
virtual TSharedRef< class IPropertyTableWidgetHandle > CreatePropertyTableWidgetHandle
(
const TSharedRef< IPropertyTable >& PropertyTable, |
PropertyEditorModule.h | ||
virtual TSharedRef< class IPropertyTableWidgetHandle > CreatePropertyTableWidgetHandle
(
const TSharedRef< IPropertyTable >& PropertyTable |
PropertyEditorModule.h | ||
virtual TSharedPtr< class ISinglePropertyView > CreateSingleProperty
(
const TSharedPtr< class IStructureDataProvider >& InStruct, |
Creates a standalone widget for a single struct property | PropertyEditorModule.h | |
virtual TSharedPtr< class ISinglePropertyView > CreateSingleProperty
(
UObject* InObject, |
Creates a standalone widget for a single object property | PropertyEditorModule.h | |
virtual TSharedRef< class IStructureDetailsView > CreateStructureDetailView
(
const FDetailsViewArgs& DetailsViewArgs, |
PropertyEditorModule.h | ||
virtual TSharedRef< class IStructureDetailsView > CreateStructureProviderDetailView
(
const FDetailsViewArgs& DetailsViewArgs, |
PropertyEditorModule.h | ||
virtual TSharedRef< IPropertyTableCellPresenter > CreateTextPropertyCellPresenter
(
const TSharedRef< class FPropertyNode >& InPropertyNode, |
PropertyEditorModule.h | ||
virtual TSharedPtr< class IDetailsView > FindDetailView
(
const FName ViewIdentifier |
Find an existing detail view | PropertyEditorModule.h | |
virtual TSharedRef< FPropertySection > FindOrCreateSection
(
FName ClassName, |
Find an existing section or create a section for a class. | PropertyEditorModule.h | |
FPropertyTypeLayoutCallback FindPropertyTypeLayoutCallback
(
FName PropertyTypeName, |
PropertyEditorModule.h | ||
virtual TArray< TSharedPtr< FPropertySection > > FindSectionsForCategory
(
const UStruct* Struct, |
Find the section that the given category in the given struct should be a part of. | PropertyEditorModule.h | |
virtual void GetAllSections
(
const UStruct* Struct, |
Get all registered sections for the given struct (including the default section). | PropertyEditorModule.h | |
const bool GetCanUsePropertyMatrix() |
PropertyEditorModule.h | ||
const FCustomDetailLayoutNameMap & GetClassNameToDetailLayoutNameMap() |
PropertyEditorModule.h | ||
FOnGenerateGlobalRowExtension & GetGlobalRowExtensionDelegate() |
Get the global row extension generators. | PropertyEditorModule.h | |
FPropertyTypeLayoutCallback GetPropertyTypeCustomization
(
const FProperty* InProperty, |
PropertyEditorModule.h | ||
virtual bool HasUnlockedDetailViews() |
Returns true if there is an unlocked detail view | PropertyEditorModule.h | |
bool IsCustomizedStruct
(
const UStruct* Struct, |
PropertyEditorModule.h | ||
virtual void NotifyCustomizationModuleChanged () |
Customization modules should call this when that module has been unloaded, loaded, etc... | PropertyEditorModule.h | |
virtual FPropertyEditorOpenedEvent & OnPropertyEditorOpened() |
PropertyEditorModule.h | ||
virtual void RegisterCustomClassLayout
(
FName ClassName, |
Registers a custom detail layout delegate for a specific class | PropertyEditorModule.h | |
virtual void RegisterCustomPropertyTypeLayout
(
FName PropertyTypeName, |
Registers a property type customization A property type is a specific FProperty type, a struct, or enum type | PropertyEditorModule.h | |
virtual FDelegateHandle RegisterPropertyHandleLayoutOverride
(
FName PropertyTypeName, |
Registers a property layout override callback | PropertyEditorModule.h | |
virtual FStructProperty * RegisterStructProperty
(
const UStruct* StructClass |
Register a floating struct so that the details panel may use it as a property | PropertyEditorModule.h | |
| Removes deleted objects from property views that are observing them | PropertyEditorModule.h | ||
| Remove a given section from the given class. | PropertyEditorModule.h | ||
| Replaces objects being viewed by open property views with new objects | PropertyEditorModule.h | ||
void SetCanUsePropertyMatrix
(
const bool bInCanUsePropertyMatrix |
PropertyEditorModule.h | ||
virtual void UnregisterCustomClassLayout
(
FName ClassName |
Unregisters a custom detail layout delegate for a specific class name | PropertyEditorModule.h | |
virtual void UnregisterCustomPropertyTypeLayout
(
FName PropertyTypeName, |
Unregisters a custom detail layout for a property type | PropertyEditorModule.h | |
virtual void UnregisterPropertyHandleLayoutOverride
(
FDelegateHandle DelegateHandle |
Unregisters a property layout override callback | PropertyEditorModule.h | |
| Refreshes property windows with a new list of objects to view | PropertyEditorModule.h |
Overridden from IModuleInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ShutdownModule() |
Called by the module manager right before this module is unloaded | PropertyEditorModule.h | |
virtual void StartupModule() |
Called right after the module has been loaded | PropertyEditorModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void PopulateRowContextMenu
(
UToolMenu* InToolMenu |
PropertyEditorModule.h |