Navigation
API > API/Editor > API/Editor/PropertyEditor
References
| Module | PropertyEditor |
| Header | /Engine/Source/Editor/PropertyEditor/Public/DetailCategoryBuilder.h |
| Include | #include "DetailCategoryBuilder.h" |
Syntax
class IDetailCategoryBuilder
Remarks
Represents a category for the a details view
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< TSharedPtr< IPropertyHandle > > | AddAllExternalStructureProperties
(
TSharedPtr< IStructureDataProvider > StructProvider, |
||
| TArray< TSharedPtr< IPropertyHandle > > | AddAllExternalStructureProperties
(
TSharedRef< FStructOnScope > StructData, |
Adds all properties for the specified external structure to this category | |
| void | AddCustomBuilder
(
TSharedRef< IDetailCustomNodeBuilder > InCustomBuilder, |
Adds a custom builder to the category (for more complicated layouts) | |
| FDetailWidgetRow & | AddCustomRow
(
const FText& FilterString, |
Adds a custom widget row to the category | |
| IDetailPropertyRow * | AddExternalObjectProperty
(
const TArray< UObject* >& Objects, |
Adds an external object property that is not a property on the object(s) being customized | |
| IDetailPropertyRow * | AddExternalObjects
(
const TArray< UObject* >& Objects, |
Adds an entire external object to this category. | |
| IDetailPropertyRow * | AddExternalStructure
(
TSharedPtr< FStructOnScope > StructData, |
Adds an external standalone structure to this details panel | |
| IDetailPropertyRow * | AddExternalStructureProperty
(
TSharedPtr< IStructureDataProvider > StructData, |
||
| IDetailPropertyRow * | AddExternalStructureProperty
(
TSharedPtr< FStructOnScope > StructData, |
Adds an external property, that is contained within a UStruct, that is not a property on the object(s) being customized | |
| IDetailGroup & | AddGroup
(
FName GroupName, |
Adds a group to the category | |
| IDetailPropertyRow & | AddProperty
(
TSharedPtr< IPropertyHandle > PropertyHandle, |
Adds a property, shown in the default way to the category | |
| IDetailPropertyRow & | AddProperty
(
FName PropertyPath, |
Adds a property, shown in the default way to the category | |
| void | AddPropertyDisableInstancedReference
(
TSharedPtr< IPropertyHandle > PropertyHandle |
Add a property, but force it to behave as a normal, peer reference regardless of CPF_InstancedReference | |
| void | GetDefaultProperties
(
TArray< TSharedRef< IPropertyHandle > >& OutAllProperties, |
Gets the default propeties of this category | |
| const FText & | |||
| IDetailLayoutBuilder & | |||
| int32 | GetSortOrder () |
Gets the current sort order of the category | |
| const TOptional< FText > & | GetToolTip () |
Gets the localized tooltip for this category. | |
| IDetailCategoryBuilder & | HeaderContent
(
TSharedRef< SWidget > InHeaderContent, |
Adds header content to the category | |
| IDetailCategoryBuilder & | InitiallyCollapsed
(
bool bShouldBeInitiallyCollapsed |
Whether or not the category should be initially collapsed | |
| bool | IsEmpty () |
If true, this Category should have no UProperty data associated with it, and will be shown as an empty stub with no expansion arrow | |
| bool | |||
| IDetailCategoryBuilder & | OnExpansionChanged
(
FOnBooleanValueChanged InOnExpansionChanged |
Adds a delegate to the category which is called when the category expansion state changes | |
| TSharedPtr< FOnPasteFromText > | Optional PasteFromText delegate for this category | ||
| IDetailCategoryBuilder & | RestoreExpansionState
(
bool bRestore |
Sets whether or not the expansion state should be restored between sessions | |
| void | SetCategoryVisibility
(
bool bVisible |
Sets whether or not this category is hidden or shown This is designed to be used for dynamic category visibility after construction of the category | |
| void | SetDisplayName
(
const FText& DisplayName |
Set a new display name for this category. | |
| void | SetIsEmpty
(
bool bInIsEmpty |
Sets whether this Category is "Empty" ~ that is, should have no UProperty data associated with it, and will be shown as an empty stub with no expansion arrow | |
| void | SetShowAdvanced
(
bool bShowAdvanced |
Sets whether or not this category should show its advanced properties. | |
| void | SetSortOrder
(
int32 InSortOrder |
Sets the sort order of the category | |
| void | SetToolTip
(
const FText& ToolTip |
Sets the localized tooltip for this category. |