Navigation
API > API/Editor > API/Editor/PropertyEditor
Inheritance Hierarchy
References
| Module | PropertyEditor |
| Header | /Engine/Source/Editor/PropertyEditor/Public/IDetailsView.h |
| Include | #include "IDetailsView.h" |
Syntax
class IDetailsView : public SCompoundWidget
Remarks
Interface class for all detail views
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearSearch () |
Clears any search terms in the current filter | |
| int32 | CountRows () |
Returns the number of rows in the underlying TableView | |
| void | ForceRefresh () |
Force refresh | |
| TSharedPtr< IDetailPropertyExtensionHandler > | |||
| TSharedPtr< SWidget > | Returns the search area widget used to display search and view options so it can be placed in a custom location. | ||
| FOnGetDetailCustomizationInstance & | |||
| TSharedPtr< FUICommandList > | Returns the command list of the hosting toolkit (can be nullptr if the widget that contains the details panel didn't route a command list in) | ||
| TSharedPtr< FTabManager > | Returns the tab manager of the hosting toolkit (can be nullptr if the details panel is not hosted within a tab) | ||
| FName | |||
| FIsCustomRowReadOnly & | |||
| FIsCustomRowVisible & | |||
| FIsPropertyEditingEnabled & | |||
| FIsPropertyReadOnly & | |||
| FIsPropertyVisible & | |||
| TSharedPtr< IDetailKeyframeHandler > | |||
| TSharedPtr< SWidget > | Returns the name area widget used to display object naming functionality so it can be placed in a custom location. | ||
| int32 | |||
| FOnDisplayedPropertiesChanged & | |||
| FSlateRect | GetPaintSpacePropertyBounds
(
const TSharedRef< FDetailTreeNode >& InDetailTreeNode, |
Returns the boundary (in paint space) of a detail tree node if it's currently visible Otherwise return an invalid boundary | |
| TArray< FPropertyPath > | Returns a list of all the properties displayed (via full path), order in list corresponds to draw order: | ||
| TArray< TPair< int32, FPropertyPath > > | Returns the row number in the underlying TableView for each property being displayed. | ||
| const FSelectedActorInfo & | |||
| const TArray< TWeakObjectPtr< AActor > > & | |||
| const TArray< TWeakObjectPtr< UObject > > & | List of all selected objects we are inspecting | ||
| FSlateRect | GetTickSpacePropertyBounds
(
const TSharedRef< FDetailTreeNode >& InDetailTreeNode, |
Returns the boundary (in tick space) of a detail tree node if it's currently visible Otherwise return an invalid boundary | |
| bool | |||
| bool | |||
| void | HideFilterArea
(
bool bIsVisible |
Sets the visible state of the filter box/property grid area | |
| void | HighlightProperty
(
const FPropertyPath& Property |
Creates a box around the treenode corresponding to Property and scrolls the treenode into view | |
| void | Invalidates any cached state without necessarily doing a complete rebuild. | ||
| bool | IsAncestorCollapsed
(
const TSharedRef< IDetailTreeNode >& Node |
Returns true if the provided detail tree node is part of a collapsed/hidden subsection of the details panel | |
| bool | IsLocked () |
Returns true if the details view is locked and cant have its observed objects changed | |
| bool | |||
| bool | IsUpdatable () |
||
| FOnFinishedChangingProperties & | A delegate which is called after properties have been edited and PostEditChange has been called on all objects. | ||
| void | Refreshes the visibility of root objects in this details view. | ||
| void | RegisterInstancedCustomPropertyLayout
(
UStruct* Class, |
Registers a custom detail layout delegate for a specific class in this instance of the details view only | |
| void | RegisterInstancedCustomPropertyTypeLayout
(
FName PropertyTypeName, |
||
| void | Removes all invalid objects being observed by this details panel | ||
| void | SetClassViewerFilters
(
const TArray< TSharedRef< IClassViewerFilter >>& InFilters |
Sets the custom filter(s) to be used when selecting values for class properties in this view. | |
| void | SetCustomFilterDelegate
(
FSimpleDelegate InDelegate |
Allows other systems to add a custom filter in the details panel | |
| void | SetCustomFilterLabel
(
FText InText |
||
| void | SetCustomValidatePropertyNodesFunction
(
FOnValidateDetailsViewPropertyNodes InCustomValidatePropertyNodesFunction |
Use this function to set a callback for SDetailsView that will skip the EnsureDataIsValid call in Tick. | |
| void | SetDisableCustomDetailLayouts
(
bool bInDisableCustomDetailLayouts |
Disables or enables customization of the details view: | |
| void | SetExtensionHandler
(
TSharedPtr< IDetailPropertyExtensionHandler > InExtensionHandler |
||
| void | SetGenericLayoutDetailsDelegate
(
FOnGetDetailCustomizationInstance OnGetGenericDetails |
Sets a delegate to call to layout generic details not specific to an object being viewed | |
| void | SetHostTabManager
(
TSharedPtr< FTabManager > InTabManager |
Sets the tab manager of the hosting toolkit (can be nullptr if the details panel is not hosted within a tab) | |
| void | SetIsCustomRowReadOnlyDelegate
(
FIsCustomRowReadOnly InIsCustomRowVisible |
Sets a delegate to call to determine if a specific custom row should be visible in this instance of the details view | |
| void | SetIsCustomRowVisibleDelegate
(
FIsCustomRowVisible InIsCustomRowVisible |
Sets a delegate to call to determine if a specific custom row should be visible in this instance of the details view | |
| void | SetIsPropertyEditingEnabledDelegate
(
FIsPropertyEditingEnabled IsPropertyEditingEnabled |
Sets a delegate to call to determine if the properties editing is enabled | |
| void | SetIsPropertyReadOnlyDelegate
(
FIsPropertyReadOnly InIsPropertyReadOnly |
Sets a delegate to call to determine if a specific property should be read-only in this instance of the details view | |
| void | SetIsPropertyVisibleDelegate
(
FIsPropertyVisible InIsPropertyVisible |
Sets a delegate to call to determine if a specific property should be visible in this instance of the details view | |
| void | SetKeyframeHandler
(
TSharedPtr< IDetailKeyframeHandler > InKeyframeHandler |
||
| void | SetNameAreaCustomContent
(
TSharedRef< SWidget >& InCustomContent |
Optionally add custom tools into the NameArea | |
| void | Sets a single object that details view is viewing | ||
| void | SetObjectFilter
(
TSharedPtr< FDetailsViewObjectFilter > InFilter |
Sets an optional object filter to use for more complex handling of what a details panel is viewing. | |
| void | SetObjectPackageOverrides
(
const TMap< TWeakObjectPtr< UObject >, TWeakObjectPtr< UPackage >>& InMapping |
Set overrides that should be used when looking for packages that contain the given object (used when editing a transient copy of an object, but you need access to th real package) | |
| void | SetObjects
(
const TArray< UObject* >& InObjects, |
Sets the objects this details view is viewing | |
| void | SetObjects
(
const TArray< TWeakObjectPtr< UObject > >& InObjects, |
||
| void | SetOnDisplayedPropertiesChanged
(
FOnDisplayedPropertiesChanged InOnDisplayedPropertiesChangedDelegate |
Assigns delegate called when view is filtered, useful for updating external control logic: | |
| void | SetOnObjectArrayChanged
(
FOnObjectArrayChanged OnObjectArrayChangedDelegate |
Sets the callback for when the property view changes | |
| void | SetRightColumnMinWidth
(
float InMinWidth |
Sets the minimum width of the detail panel's right column. | |
| void | SetRootObjectCustomizationInstance
(
TSharedPtr< IDetailRootObjectCustomization > InRootObjectCustomization |
Registers a customization that will be used only if this details panel contains multiple top level objects. | |
| void | Forces all advanced property sections to be in expanded state: | ||
| void | UnregisterInstancedCustomPropertyLayout
(
UStruct* Class |
Unregisters a custom detail layout delegate for a specific class in this instance of the details view only | |
| void | UnregisterInstancedCustomPropertyTypeLayout
(
FName PropertyTypeName, |
||
| void | UpdatePropertyAllowList
(
const TSet< FPropertyPath >& InAllowedProperties |
Sets the set of properties that are considered differing, used when filtering out identical properties |