FAutomationEditorCommonUtils::TotalFromFloatArray

Returns the sum of the numbers available in an array of float.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tests/AutomationEditorCommon.h

Include

#include "Tests/AutomationEditorCommon.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Tests/AutomationEditorCommon.cpp

Syntax

static float TotalFromFloatArray
(
    const TArray< float > & InFloatArray,
    bool bisAveragedInstead
)

Remarks

Returns the sum of the numbers available in an array of float.

Returns the sum of the numbers available in an array of float.

Parameters

Parameter

Description

InFloatArray

is the name of the array intended to be used.

bisAveragedInstead

will return the average of the available numbers instead of the sum.

InFloatArray

is the name of the array intended to be used.

bisAveragedInstead

will return the average of the available numbers instead of the sum.

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