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

#include <ArticyImportData.h>

Public Member Functions

FString GetCPPTypeString () const
FString GetCPPValueString () const
void ImportFromJson (const TSharedPtr< FJsonObject > JsonVar)

Public Attributes

FString Variable
EArticyType Type = EArticyType::ADT_String
FString Description
bool BoolValue = false
int IntValue = 0
FString StringValue

Detailed Description

A single global variable definition.

Member Function Documentation

◆ GetCPPTypeString()

FString FArticyGVar::GetCPPTypeString ( ) const

Returns the UArticyVariable type to be used for this variable.

Retrieves the C++ type string representation for the global variable.

Returns
The C++ type string.

◆ GetCPPValueString()

FString FArticyGVar::GetCPPValueString ( ) const

Retrieves the C++ value string representation for the global variable.

Returns
The C++ value string.

◆ ImportFromJson()

void FArticyGVar::ImportFromJson ( const TSharedPtr< FJsonObject > JsonVar)

Imports global variable data from a JSON object.

Parameters
JsonVarThe JSON object representing the variable.

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