TUnion::SetSubtype

Replaces the value of the union with a value of the given subtype.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Union.h

Include

#include "Containers/Union.h"

Syntax

template<typename Subtype>
Subtype * SetSubtype
(
    typename TCallTraits< Subtype >::ParamType NewValue
)

Remarks

Replaces the value of the union with a value of the given subtype.

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