|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <ObjectDefinitionsImport.h>
Public Member Functions | |
| void | ImportFromJson (const TSharedPtr< FJsonObject > JsonObject, const UArticyImportData *Data) |
| void | GenerateDefCode (CodeFileGenerator &header, const UArticyImportData *Data) const |
| void | GeneratePropertyCode (CodeFileGenerator &header, const UArticyImportData *Data) const |
| void | GatherScripts (const TSharedPtr< FJsonObject > &Json, UArticyImportData *Data) const |
| void | InitializeModel (UArticyPrimitive *Model, const FString &Path, const TSharedPtr< FJsonObject > &Json, const UArticyImportData *Data, const FString &PackageName) const |
| FString | GetCppType (const UArticyImportData *Data, bool bAsVariable) const |
| UClass * | GetUClass (const UArticyImportData *Data) const |
| FString | GetTechnicalName () const |
| FString | GetDisplayName () const |
Represents a template feature definition in Articy.
| void FArticyTemplateFeatureDef::GatherScripts | ( | const TSharedPtr< FJsonObject > & | Json, |
| UArticyImportData * | Data ) const |
Gather scripts from JSON and adds them to the UArticyImportData.
| Json | A shared pointer to the JSON object containing the scripts. |
| Data | A pointer to the UArticyImportData object. |
| void FArticyTemplateFeatureDef::GenerateDefCode | ( | CodeFileGenerator & | header, |
| const UArticyImportData * | Data ) const |
Generates definition code for the template feature using CodeFileGenerator.
| header | A reference to the CodeFileGenerator. |
| Data | A pointer to the UArticyImportData object. |
| void FArticyTemplateFeatureDef::GeneratePropertyCode | ( | CodeFileGenerator & | header, |
| const UArticyImportData * | Data ) const |
Generates property code for the template feature using CodeFileGenerator.
| header | A reference to the CodeFileGenerator. |
| Data | A pointer to the UArticyImportData object. |
| FString FArticyTemplateFeatureDef::GetCppType | ( | const UArticyImportData * | Data, |
| bool | bAsVariable ) const |
Returns the C++ type of the template feature.
| Data | A pointer to the UArticyImportData object. |
| bAsVariable | Whether the type is for a variable. |
|
inline |
Returns the display name of the template feature.
|
inline |
Returns the technical name of the template feature.
| UClass * FArticyTemplateFeatureDef::GetUClass | ( | const UArticyImportData * | Data | ) | const |
Returns the UClass of the template feature.
| Data | A pointer to the UArticyImportData object. |
| void FArticyTemplateFeatureDef::ImportFromJson | ( | const TSharedPtr< FJsonObject > | JsonObject, |
| const UArticyImportData * | Data ) |
Import template feature definition data from a JSON object.
| JsonObject | A shared pointer to the JSON object containing the feature definition. |
| Data | A pointer to the UArticyImportData object. |
| void FArticyTemplateFeatureDef::InitializeModel | ( | UArticyPrimitive * | Model, |
| const FString & | Path, | ||
| const TSharedPtr< FJsonObject > & | Json, | ||
| const UArticyImportData * | Data, | ||
| const FString & | PackageName ) const |
Initializes a model with data from JSON.
| Model | A pointer to the UArticyPrimitive object. |
| Path | The path of the model. |
| Json | A shared pointer to the JSON object containing the data. |
| Data | A pointer to the UArticyImportData object. |
| PackageName | The name of the package. |