TArrayAttribute::IndexOfByPredicate

Finds an item by predicate.

Choose your operating system:

Windows

macOS

Linux

References

Module

MeshDescription

Header

/Engine/Source/Runtime/MeshDescription/Public/AttributeArrayContainer.h

Include

#include "AttributeArrayContainer.h"

Syntax

template<typename Predicate>
int32 IndexOfByPredicate
(
    Predicate Pred
) const

Remarks

Finds an item by predicate.

Returns

Index to the first matching element, or INDEX_NONE if none is found.

Parameters

Parameter

Description

Pred

The predicate to match.