|
ArticyXImporter
ArticyXImporter for Unreal Engine
|
#include <ArticyImportCommandlet.h>
Static Protected Member Functions | |
| static FString | ResolveArticyDirectory (const TArray< FString > &Tokens, const TArray< FString > &Switches) |
UArticyImportCommandlet is a custom commandlet class used for importing Articy data.
|
staticprotected |
Resolves the Articy content directory to use for import/regeneration.
First, checks for a command-line override in the form: -ArticyDir=/Game/Path/To/ArticyContent If present, returns everything after the '='. Otherwise, it scans the project's Content/ folder for the first .articyue file it finds, converts that file's parent directory into a virtual '/Game/...' path, and returns it. If neither approach yields a directory, returns empty.
| Tokens | The parsed command-line tokens (unused). |
| Switches | The parsed command-line switches to inspect for 'ArticyDir=' override. |
Resolves the Articy content directory to use for import/regeneration.
First, checks for a command-line override in the form: -ArticyDir=/Game/Path/To/ArticyContent If present, returns everything after the '='. Otherwise, it scans the project's Content/ folder for the first .articyue file it finds, converts that file's parent directory into a virtual "/Game/_" path, and returns it. If neither approach yields a directory, returns empty.
| Tokens | The parsed command-line tokens (not used here). |
| Switches | The parsed command-line switches to inspect for "ArticyDir=" override. |