PAPER2FPaperJSONHelpers::ReadBoolean

Returns the bool named Key or bDefaultIfMissing if it is missing or the wrong type (note: no way to determine errors!)

Windows
MacOS
Linux

References

Module

Paper2DEditor

Header

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

Include

#include "PaperJSONHelpers.h"

Syntax

static bool ReadBoolean
(
    const TSharedPtr< class FJsonObject > Item,
    const FString & Key,
    bool bDefaultIfMissing
)

Remarks

Returns the bool named Key or bDefaultIfMissing if it is missing or the wrong type (note: no way to determine errors!)

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