Import in the scene
Alternatively to importing a source model with the default import method, which generates a prefab from the source model, it's possible to import a model directly in the scene.
Note
This is the legacy import mode used in previous versions of Pixyz Plugin.
When to use
Use this method if the prefab generation step is too long with the default method (e.g. because you deal with large models), or simply because you prefer having your model stored in the scene.
It imports the hierarchy and assets (meshes, materials…) in an opened scene procedurally. It is faster, but does not comply with the Unity way for importing assets. Also, assets are not serialized properly, and not reusable across scenes.
How to
To import a model into the current scene, follow these steps:
From the Toolbox menu, click Import CAD or Import Point Cloud
Select the source file to import.
A new
CAD Importer Scriptable Object
script with the name of the source file is created in the 3DModels folder, and automatically focused in the Inspector. It stores the link to the source file and the import parameters.From the Inspector, toggle the Debug mode, clicking the More Items (⋮) button
From the list of parameters listed in the Inspector, enable the Import In Scene parameter
From the Inspector, toggle the Normal mode, clicking the More Items (⋮) button
For the next steps, follow the procedure for each situation: