FScriptSetHelper::FindElementIndex

Finds the index of an element in a set

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Syntax

int32 FindElementIndex
(
    const void * ElementToFind,
    int32 IndexHint
) const

Remarks

Finds the index of an element in a set

Returns

The index of an element found in SetHelper, or -1 if none was found.

Parameters

Parameter

Description

ElementToFind

The address of an element to search for.

IndexHint

The index to start searching from.

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