engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FPropertyChangedEvent结构体 参考

Structure for passing pre and post edit change events 更多...

#include <UnrealType.h>

+ 类 FPropertyChangedEvent 继承关系图:

Public 成员函数

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
 
int32 GetNumObjectsBeingEdited () const
 
const UObject * GetObjectBeingEdited (int32 Index) const
 Gets an object being edited by this change event. 更多...
 
FName GetPropertyName () const
 Simple utility to get the name of the property and takes care of the possible null property.
 
bool HasArchetypeInstanceChanged (UObject *InInstance) const
 Test whether an archetype instance was modified. 更多...
 
void SetArrayIndexPerObject (TArrayView< const TMap< FString, int32 > > InArrayIndices)
 Saves off map of array indices per object being set.
 
template<typename T >
void SetInstancesChanged (T &&InInstancesChanged)
 Specify the set of archetype instances that were modified by the property change.
 

Public 属性

FProperty * MemberProperty
 The member property of the object that PostEditChange is being called on. 更多...
 
FProperty * Property
 The actual property that changed
 

详细描述

Structure for passing pre and post edit change events

示例
/github/workspace/Engine/Source/Runtime/UMG/Public/Components/Widget.h.

成员函数说明

◆ GetNumObjectsBeingEdited()

int32 FPropertyChangedEvent::GetNumObjectsBeingEdited ( ) const
inline
返回
The number of objects being edited during this change event

◆ GetObjectBeingEdited()

const UObject * FPropertyChangedEvent::GetObjectBeingEdited ( int32  Index) const
inline

Gets an object being edited by this change event.

Multiple objects could be edited at once

参数
IndexThe index of the object being edited. Assumes index is valid. Call GetNumObjectsBeingEdited first to check if there are valid objects
返回
The object being edited or nullptr if no object was found

◆ HasArchetypeInstanceChanged()

bool FPropertyChangedEvent::HasArchetypeInstanceChanged ( UObject *  InInstance) const
inline

Test whether an archetype instance was modified.

InInstance - The instance we want to know the status.

类成员变量说明

◆ MemberProperty

FProperty* FPropertyChangedEvent::MemberProperty

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


For example if the property that changed is inside a struct on the object, this property is the struct property


该结构体的文档由以下文件生成: