Astra Unity 2.6.6
Astra Unity Plugin
Astra.FileFormats.MRImporter Class Reference

Container class that handles importing MR files More...

Static Public Member Functions

static MRImportJob ImportFromPath (string fileName, int parentJobId=Job.kNoParentJobId)
 Imports an MR file from on disk, this will install the MR as assets and is immediately accessible to the Loader system via GUIDs. In order for the Catalog to see new assets you must trigger a Astra.Catalog.Refresh. This is only necessary if you are self managing MR files and not relying on the Astra server for distributing assets. More...
 

Detailed Description

Container class that handles importing MR files

Member Function Documentation

◆ ImportFromPath()

static MRImportJob Astra.FileFormats.MRImporter.ImportFromPath ( string  fileName,
int  parentJobId = Job.kNoParentJobId 
)
inlinestatic

Imports an MR file from on disk, this will install the MR as assets and is immediately accessible to the Loader system via GUIDs. In order for the Catalog to see new assets you must trigger a Astra.Catalog.Refresh. This is only necessary if you are self managing MR files and not relying on the Astra server for distributing assets.

Parameters
fileNameThe path to a pregenerated MR file
parentJobIdAn optional parent job id for job chaining
Returns
A job to wait upon for completion

The documentation for this class was generated from the following file: