Navigation
API > API/Plugins > API/Plugins/StructUtilsEditor
Inheritance Hierarchy
- IDetailCustomNodeBuilder
- FSelfRegisteringEditorUndoClient
- TSharedFromThis
- FInstancedStructDataDetails
- FPropertyBagInstanceDataDetails
References
| Module | StructUtilsEditor |
| Header | /Engine/Plugins/Experimental/StructUtils/Source/StructUtilsEditor/Public/InstancedStructDetails.h |
| Include | #include "InstancedStructDetails.h" |
Syntax
class FInstancedStructDataDetails :
public IDetailCustomNodeBuilder,
public FSelfRegisteringEditorUndoClient,
public TSharedFromThis< FInstancedStructDataDetails >
Remarks
Node builder for FInstancedStruct children. Expects property handle holding FInstancedStruct as input. Can be used in a implementation of a IPropertyTypeCustomizationCustomizeChildren() to display editable FInstancedStruct contents. OnChildRowAdded() is called right after each property is added, which allows the property row to be customizable.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FInstancedStructDataDetails
(
TSharedPtr< IPropertyHandle > InStructProperty |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnChildRowAdded
(
IDetailPropertyRow& ChildRow |
Called when a child is added, override to customize a child row. |
Overridden from IDetailCustomNodeBuilder
| Type | Name | Description | |
|---|---|---|---|
| void | GenerateChildContent
(
IDetailChildrenBuilder& ChildrenBuilder |
Called to generate child content of this node | |
| void | GenerateHeaderRowContent
(
FDetailWidgetRow& NodeRow |
Called to generate content in the header of this node ( the actual node content ). | |
| FName | GetName () |
||
| bool | |||
| bool | RequiresTick () |
||
| void | SetOnRebuildChildren
(
FSimpleDelegate InOnRegenerateChildren |
Sets a delegate that should be used when the custom node needs to rebuild children | |
| void | Tick
(
float DeltaTime |
Called each tick if RequiresTick is true |
Overridden from FEditorUndoClient
| Type | Name | Description | |
|---|---|---|---|
| void | PostRedo
(
bool bSuccess |
Signal that client should run any PostRedo code | |
| void | PostUndo
(
bool bSuccess |
FEditorUndoClient interface |