Navigation
API > API/Plugins > API/Plugins/LevelSnapshots
Holds all properties that should be restored for an object.
| Name | FPropertySelection |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/Filtering/PropertySelection.h |
| Include Path | #include "Filtering/PropertySelection.h" |
Syntax
struct FPropertySelection
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Filtering/PropertySelection.h | |||
FPropertySelection
(
const FProperty* SingleProperty |
Filtering/PropertySelection.h | ||
FPropertySelection
(
const TSet< const FProperty* >& Properties |
Note: all properties must be root properties (i.e. not within structs or collections). | Filtering/PropertySelection.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasCustomSerializedSubobjects | bool | Whether some ICustomObjectSnapshotSerializer has changed subobjects | Filtering/PropertySelection.h | |
| SelectedLeafProperties | TArray< TFieldPath< FProperty > > | Duplicate version of SelectedProperties with the struct-path leading to the property left out. | Filtering/PropertySelection.h | |
| SelectedProperties | TArray< FLevelSnapshotPropertyChain > | These are the properies that need to be restored. | Filtering/PropertySelection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddProperty
(
const FLevelSnapshotPropertyChain& SelectedProperty |
Filtering/PropertySelection.h | ||
const TArray< TFieldPath< FProperty > > & GetSelectedLeafProperties () |
Gets a flat list of all selected properties. | Filtering/PropertySelection.h | |
const TArray< FLevelSnapshotPropertyChain > & GetSelectedProperties() |
Filtering/PropertySelection.h | ||
bool HasCustomSerializedSubobjects() |
Filtering/PropertySelection.h | ||
bool IsEmpty() |
Filtering/PropertySelection.h | ||
bool IsPropertySelected
(
const FArchiveSerializedPropertyChain* ContainerChain, |
Checks whether the given property is in this selection. | Filtering/PropertySelection.h | |
void RemoveProperty
(
FArchiveSerializedPropertyChain* ContainerChain |
Filtering/PropertySelection.h | ||
void RemoveProperty
(
const FArchiveSerializedPropertyChain* ContainerChain, |
Filtering/PropertySelection.h | ||
void SetHasCustomSerializedSubobjects
(
bool bValue |
Filtering/PropertySelection.h | ||
bool ShouldSerializeProperty
(
const FArchiveSerializedPropertyChain* ContainerChain, |
Checks whether the given property should be serialized. | Filtering/PropertySelection.h |