TVariant::Get

Get a reference to the held value.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/TVariant.h

Include

#include "Misc/TVariant.h"

Syntax

template<typename U>
const U & Get() const

Remarks

Get a reference to the held value. Bad things can happen if this is called on a variant that does not hold the type asked for

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