Import a model as an asset
With the asset import mode, you can import, into the Unity Editor, 3D files that are located on a disk or on a server. Pixyz stores the link to this file without cloning the file in the project. Pixyz processes the imported files as follows:
- Pixyz generates assets separately for meshes, materials, and textures.
- After import, these assets remain in the project. You can modify these assets individually.
Pixyz doesn't automatically refresh models from the linked 3D files. To refresh a model, reimport it. For projects that include models that have been imported with Pixyz Plugin for Unity, the model remains unchanged if you share it with stakeholders.
Note
The asset import mode is based on Unity's scriptableObject
class.
To import a model as an asset, follow these steps:
From the Pixyz menu, choose Create Pixyz3DModel. Alternatively, from the Create menu, choose Pixyz > Pixyz3DModel.
Select the file to import.
Optionally, select an import preset and a rule set.
If you don't select an import preset, Pixyz applies the default import parameters.
Pixyz stores the link to the source file and the import parameters in the
PixyzModel.asset
file. This file is located where you have created the asset.Select Import.
After import, the component shows this information:
- The name of the root prefab
- The list of linked assets
After import, you can reimport the model.
Warning
When you reimport 3D models, all modifications are lost. To keep modifications, reapply them with the Rule Engine. Examples are actions from the Toolbox.
To completely override the imported model, select Delete existing asset when re-importing before selecting Re-import.