|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <PackagesImport.h>
Public Member Functions | |
| void | ImportFromJson (const TSharedPtr< FJsonObject > JsonModel) |
| void | GatherScripts (UArticyImportData *Data) const |
| UArticyObject * | GenerateSubAsset (const UArticyImportData *Data, UObject *Outer) const |
| FName | GetType () const |
| const FString & | GetTechnicalName () const |
| const FString & | GetNameAndId () const |
| const FArticyId & | GetId () const |
| const FArticyId & | GetParent () const |
| const FString & | GetAssetRef () const |
| const EArticyAssetCategory & | GetAssetCat () const |
| TSharedPtr< FJsonObject > | GetPropertiesJson () const |
| TSharedPtr< FJsonObject > | GetTemplatesJson () const |
Represents a model definition in Articy with properties for asset reference, category, and JSON strings for properties and templates.
| void FArticyModelDef::GatherScripts | ( | UArticyImportData * | Data | ) | const |
Gathers scripts from the model definition and adds them to the ArticyImportData.
| Data | A pointer to the UArticyImportData object. |
| UArticyObject * FArticyModelDef::GenerateSubAsset | ( | const UArticyImportData * | Data, |
| UObject * | Outer ) const |
Generates a sub-asset from the model definition.
| Data | A pointer to the UArticyImportData object. |
| Outer | The outer object for the sub-asset. |
|
inline |
Gets the asset category of the model.
|
inline |
Gets the asset reference of the model.
|
inline |
Gets the ID of the model.
|
inline |
Gets the combined name and ID of the model.
|
inline |
Gets the parent ID of the model.
| TSharedPtr< FJsonObject > FArticyModelDef::GetPropertiesJson | ( | ) | const |
Gets the properties JSON object from the cached properties JSON string.
|
inline |
Gets the technical name of the model.
| TSharedPtr< FJsonObject > FArticyModelDef::GetTemplatesJson | ( | ) | const |
Gets the templates JSON object from the cached templates JSON string.
|
inline |
Gets the type of the model.
| void FArticyModelDef::ImportFromJson | ( | const TSharedPtr< FJsonObject > | JsonModel | ) |
Imports model definition data from a JSON object.
| JsonModel | A shared pointer to the JSON object containing the model definition. |