PAPER2FPaperJSONHelpers::ReadFloatNoDefault

Returns true if the field named Key is a Number, populating Out_Value, or false if it is missing or the wrong type (Out_Value is set to 0.0f on failure)

Windows
MacOS
Linux

References

Module

Paper2DEditor

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Public/PaperJSONHelpers.h

Include

#include "PaperJSONHelpers.h"

Syntax

static bool ReadFloatNoDefault
(
    const TSharedPtr< class FJsonObject > Item,
    const FString & Key,
    float & Out_Value
)

Remarks

Returns true if the field named Key is a Number, populating Out_Value, or false if it is missing or the wrong type (Out_Value is set to 0.0f on failure)

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