TUnion::GetSubtype

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Union.h"

Syntax

template<typename Subtype>
const Subtype & GetSubtype() const

Returns

A reference to the union's value of the given subtype. May only be called if the union's HasSubtype()==true for 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