UKismetNodeHelperLibrary::GetValidValue

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetNodeHelperLibrary.h

Include

#include "Kismet/KismetNodeHelperLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetNodeHelperLibrary.cpp

Syntax

static uint8 GetValidValue
(
    const UEnum * Enum,
    uint8 EnumeratorValue
)

Returns

  • if EnumeratorIndex is valid return EnumeratorIndex, otherwise return MAX value of Enum

Parameters

Parameter

Description

Enum

Enumeration

EnumeratorIndex

Input value

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