PAPER2FPaperJSONHelpers::ReadRectangle

Returns true if the object named Key is a struct containing four integers (x,y,w,h), populating XY and WH with the values)

Windows
MacOS
Linux

References

Module

Paper2DEditor

Header

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

Include

#include "PaperJSONHelpers.h"

Syntax

static bool ReadRectangle
(
    const TSharedPtr< class FJsonObject > Item,
    const FString & Key,
    FIntPoint & Out_XY,
    FIntPoint & Out_WH
)

Remarks

Returns true if the object named Key is a struct containing four integers (x,y,w,h), populating XY and WH with the values)

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