|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <ObjectDefinitionsImport.h>
Public Member Functions | |
| void | ImportFromJson (const TSharedPtr< FJsonObject > JsonObject, const UArticyImportData *Data) |
| void | GenerateFeaturesDefs (CodeFileGenerator &header, const UArticyImportData *Data) const |
| void | GenerateProperties (CodeFileGenerator &header, const UArticyImportData *Data) const |
| void | GatherScripts (const TSharedPtr< FJsonObject > Values, UArticyImportData *Data) const |
| void | InitializeModel (UArticyPrimitive *Model, const FString &Path, const TSharedPtr< FJsonObject > Values, const UArticyImportData *Data, const FString &PackageName) const |
| FString | GetDisplayName () const |
| const TArray< FArticyTemplateFeatureDef > & | GetFeatures () const |
Public Attributes | |
| FArticyType | ArticyType |
Represents a template definition in Articy.
| void FArticyTemplateDef::GatherScripts | ( | const TSharedPtr< FJsonObject > | Values, |
| UArticyImportData * | Data ) const |
Gather scripts from JSON values and adds them to the ArticyImportData.
| Values | A shared pointer to the JSON object containing the values. |
| Data | A pointer to the UArticyImportData object. |
| void FArticyTemplateDef::GenerateFeaturesDefs | ( | CodeFileGenerator & | header, |
| const UArticyImportData * | Data ) const |
Generates feature definitions in the header file using CodeFileGenerator.
| header | A reference to the CodeFileGenerator. |
| Data | A pointer to the UArticyImportData object. |
| void FArticyTemplateDef::GenerateProperties | ( | CodeFileGenerator & | header, |
| const UArticyImportData * | Data ) const |
Generates property definitions in the header file using CodeFileGenerator.
| header | A reference to the CodeFileGenerator. |
| Data | A pointer to the UArticyImportData object. |
|
inline |
Returns the display name of the template.
|
inline |
Returns the features of the template.
| void FArticyTemplateDef::ImportFromJson | ( | const TSharedPtr< FJsonObject > | JsonObject, |
| const UArticyImportData * | Data ) |
Import template definition data from a JSON object.
| JsonObject | A shared pointer to the JSON object containing the template definition. |
| Data | A pointer to the UArticyImportData object. |
| void FArticyTemplateDef::InitializeModel | ( | UArticyPrimitive * | Model, |
| const FString & | Path, | ||
| const TSharedPtr< FJsonObject > | Values, | ||
| const UArticyImportData * | Data, | ||
| const FString & | PackageName ) const |
Initializes a model with data from JSON values.
| Model | A pointer to the UArticyPrimitive object. |
| Path | The path of the model. |
| Values | A shared pointer to the JSON object containing the values. |
| Data | A pointer to the UArticyImportData object. |
| PackageName | The name of the package. |