Navigation
API > API/Plugins > API/Plugins/StructUtilsEditor
Inheritance Hierarchy
- IDetailCustomNodeBuilder
- TSharedFromThis< FInstancedStructDataDetails >
- FInstancedStructDataDetails
- FPropertyBagInstanceDataDetails
References
| Module | StructUtilsEditor |
| Header | /Engine/Plugins/Experimental/StructUtils/Source/StructUtilsEditor/Public/PropertyBagDetails.h |
| Include | #include "PropertyBagDetails.h" |
Syntax
class FPropertyBagInstanceDataDetails : public FInstancedStructDataDetails
Remarks
Node builder for FInstancedPropertyBag children.
- ValueProperty is FInstancedStruct of the FInstancedPropertyBag
- StructProperty is FInstancedPropertyBag Can be used in a implementation of a IPropertyTypeCustomization CustomizeChildren() to display editable FInstancedPropertyBag contents. Use FPropertyBagDetails::MakeAddPropertyWidget() to create the add property widget. OnChildRowAdded() is called right after each property is added, which allows the property row to be customizable.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< IPropertyHandle > | BagStructProperty | ||
| bool | bAllowArrays | ||
| bool | bFixedLayout | ||
| TSharedPtr< IPropertyUtilities > | PropUtils |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPropertyBagInstanceDataDetails
(
TSharedPtr< IPropertyHandle > InStructProperty, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EnumeratePropertyBags
(
TSharedPtr< IPropertyHandle > PropertyBagHandle, |
Called to enumerate each property bag on the property handle. | |
| bool | Method that is called to determine if a derived class has property override logic implemented. | ||
| bool | IsDefaultValue
(
TSharedPtr< IPropertyHandle > ChildPropertyHandle |
||
| EPropertyOverrideState | IsPropertyOverridden
(
TSharedPtr< IPropertyHandle > ChildPropertyHandle |
||
| TSharedRef< SWidget > | OnPropertyNameContent
(
TSharedPtr< IPropertyHandle > ChildPropertyHandle, |
||
| void | Called after property override is changed. | ||
| void | Called before property override is changed. | ||
| void | ResetToDefault
(
TSharedPtr< IPropertyHandle > ChildPropertyHandle |
Called to reset the child property to default value. | |
| void | SetPropertyOverride
(
TSharedPtr< IPropertyHandle > ChildPropertyHandle, |
Called to set the override state of specified child property. |
Overridden from FInstancedStructDataDetails
| Type | Name | Description | |
|---|---|---|---|
| void | OnChildRowAdded
(
IDetailPropertyRow& ChildRow |
Called when a child is added, override to customize a child row. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| IPropertyBagOverrideProvider | Interface to allow to modify override status of a specific parameter. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EPropertyOverrideState | Enum describing if a property is overridden, or undetermined (e.g. multiselection) |
Typedefs
| Name | Description |
|---|---|
| EnumeratePropertyBagFuncRef | Callback function for EnumeratePropertyBags. |