FPropertyChangedEvent

Structure for passing pre and post edit change events

Windows
MacOS
Linux

Inheritance Hierarchy

FPropertyChangedEvent

FPropertyChangedChainEvent

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Syntax

struct FPropertyChangedEvent

Remarks

Structure for passing pre and post edit change events

Variables

Name Description

Public variable

EPropertyChange...

 

ChangeType

The kind of change event that occurred.

Public variable

FProperty *

 

MemberProperty

The member property of the object that PostEditChange is being called on.

Public variable

int32

 

ObjectIteratorIndex

Used by the param system to say which object is receiving the event in the case of multi-select.

Public variable

FProperty *

 

Property

The actual property that changed

Constructors

Name Description

Public function

FPropertyChangedEvent

(
    FProperty* InProperty,
    EPropertyChangeType::Type InChangeT...,
    TArrayView< const UObject*cons...
)

Public function

FPropertyChangedEvent

(
    FProperty* InProperty,
    EPropertyChangeType::Type InChangeT...,
    const TArray< const UObject* >...
)

The FPropertyChangedEvent constructor taking a TArray* is deprecated. Use the version taking a TArrayView instead.

Functions

Name Description

Public function

int32

 

GetArrayIndex

(
    const FString& InName
)

Gets the Array Index of the "current object" based on a particular name InName - Name of the property to find the array index for

Public function Const

int32

 

GetNumObjectsBeingEdited()

Public function Const

const UObjec...

 

GetObjectBeingEdited

(
    int32 Index
)

Gets an object being edited by this change event. Multiple objects could be edited at once

Public function Const

FName

 

GetPropertyName()

Simple utility to get the name of the property and takes care of the possible null property.

Public function Const

bool

 

HasArchetypeInstanceChanged

(
    UObject* InInstance
)

Test whether an archetype instance was modified.

Public function

void

 

SetActiveMemberProperty

(
    FProperty* InActiveMemberPrope...
)

Public function

void

 

SetArrayIndexPerObject

(
    TArrayView< const TMap< FString, in...
)

Saves off map of array indices per object being set.

Public function

void

 

SetInstancesChanged

(
    T&& InInstancesChanged
)

Specify the set of archetype instances that were modified by the property change.

Deprecated Functions

Name Description

Public function

 

FPropertyChangedEvent

(
    FProperty* InProperty,
    EPropertyChangeType::Type InChangeT...,
    const TArray< const UObject* >...
)

The FPropertyChangedEvent constructor taking a TArray* is deprecated. Use the version taking a TArrayView instead.

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