UKismetMathLibrary::MaxOfFloatArray

Returns max of all array entries and the index at which it was found.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp

Syntax

static void MaxOfFloatArray
(
    const TArray< float > & FloatArray,
    int32 & IndexOfMaxValue,
    float & MaxValue
)

Remarks

Returns max of all array entries and the index at which it was found. Returns value of 0 and index of -1 if the supplied array is empty.

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