TUnion::GetCurrentSubtypeIndex

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Union.h"

Syntax

uint8 GetCurrentSubtypeIndex() const

Returns

The index corresponding to the type currently stored in this union; useful for writing switches and indexing into tables.

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