FScriptSetHelper::FindElementIndex

Finds the index of an element in a set

Choose your operating system:

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.