FPropertySelection::ShouldSerializeProperty

Checks whether the given property should be serialized.

Windows
MacOS
Linux

References

Module

LevelSnapshots

Header

/Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/Data/PropertySelection.h

Include

#include "Data/PropertySelection.h"

Source

/Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Private/Data/PropertySelection.cpp

Syntax

bool ShouldSerializeProperty
(
    const FArchiveSerializedPropertyChain * ContainerChain,
    const FProperty * LeafProperty
) const

Remarks

Checks whether the given property should be serialized. It should be serialized if:

As performance optimisation, we assume this function is called by FArchive::ShouldSkipProperty, i.e. ShouldSerializeProperty would return true on the elements of ContainerChain.

Parameters

Parameter

Description

ContainerChain

The chain of properties to the most nested owning struct: See FArchive::GetSerializedPropertyChain.

LeafProperty

The leaf property in the struct

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