Everytime a file get imported through the PiXYZ PLUGIN for Unity, a "stamp" is added in the form of ImportedModel component attached to the main object.


The purpose of that component is to keep a link between the imported file and its original source file. This component is used when using the Live Sync to store information required for the feature to work. Also, this component can be access through the Unity API to get information or simply removed if necessary.


Get the ImportedModel


The ImportedModel component inherits from MonoBehaviour. That said, it can be gathered with :

ImportedModel importedModel = gameObject.GetComponent<ImportedModel>();


Get importation information


Please check in the API Documentation details about the ImportedModel class.