FVariant::GetValue

Gets the stored value.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/Variant.h"

Syntax

template<typename T>
T GetValue() const

Remarks

Gets the stored value.

This template function does not provide any automatic conversion between convertible types. The exact type of the value to be extracted must be known.

Returns

The value.

See Also

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