ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
FArticySize Struct Reference

#include <ArticyBaseTypes.h>

Public Member Functions

 FArticySize (TSharedPtr< FJsonValue > Json)
FVector2D AsVector () const

Public Attributes

float w = 0.f
float h = 0.f

Detailed Description

A size given as width and height.

Constructor & Destructor Documentation

◆ FArticySize()

FArticySize::FArticySize ( TSharedPtr< FJsonValue > Json)

Constructs an FArticySize from a JSON value.

Constructs an FArticySize from a JSON value.

Parameters
JsonThe JSON value to construct the size from.

Member Function Documentation

◆ AsVector()

FVector2D FArticySize::AsVector ( ) const
inline

Converts the size to a FVector2D.

Member Data Documentation

◆ h

float FArticySize::h = 0.f

The height of the size.

◆ w

float FArticySize::w = 0.f

The width of the size.


The documentation for this struct was generated from the following files:
  • Source/ArticyRuntime/Public/ArticyBaseTypes.h
  • Source/ArticyRuntime/Private/ArticyBaseTypes.cpp