MakeOptionalNamedAttribute

Helper function to construct a [TOptionalNamedAttribute](API\Runtime\Core\Serialization\TOptionalNamedAttribute), deducing the value type.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/StructuredArchive.h

Include

#include "Serialization/StructuredArchive.h"

Syntax

template<typename T>
TOptionalNamedAttribute< T > MakeOptionalNamedAttribute
(
    FArchiveFieldName Name,
    T & Value,
    const typename TIdentity< T >::Type & Default
)

Remarks

Helper function to construct a TOptionalNamedAttribute, deducing the value type.

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