FResetToDefaultOverride

Structure describing the delegates needed to override the behavior of reset to default in detail properties

Windows
MacOS
Linux

References

Module

PropertyEditor

Header

/Engine/Source/Editor/PropertyEditor/Public/IDetailPropertyRow.h

Include

#include "IDetailPropertyRow.h"

Syntax

class FResetToDefaultOverride

Remarks

Structure describing the delegates needed to override the behavior of reset to default in detail properties

Functions

Name Description

Public function Static

FResetToDefa...

 

Create

(
    FResetToDefaultHandler InResetToDef...,
    const bool InPropagateToChildren
)

Creates a FResetToDefaultOverride in which the the reset to default is always visible

Public function Static

FResetToDefa...

 

Create

(
    FIsResetToDefaultVisible InIsResetT...,
    FResetToDefaultHandler InResetToDef...,
    const bool InPropagateToChildren
)

Creates a FResetToDefaultOverride from visibility and click handler callback delegates

Public function Static

FResetToDefa...

 

Hide

(
    const bool InPropagateToChildren
)

Creates a FResetToDefaultOverride in which reset to default is never visible

Public function Const

bool

 

IsResetToDefaultVisible

(
    TSharedPtr< IPropertyHandle > Prope...
)

Called by the UI to show/hide the reset widgets

Public function Const

FResetToDefa...

 

OnResetToDefaultClicked()

Called by the property editor to actually reset the property to default

Public function Const

bool

 

PropagatesToChildren()

Called by properties to determine whether this override should set on their children

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss