Structure for passing pre and post edit change events
更多...
#include <UnrealType.h>
|
|
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.
|
| |
|
| FProperty * | MemberProperty |
| | The member property of the object that PostEditChange is being called on. 更多...
|
| |
|
FProperty * | Property |
| | The actual property that changed
|
| |
◆ 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
- 参数
-
| Index | The 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
该结构体的文档由以下文件生成: