Creating and Managing Prefabs โ
Prefab Packages and their Prefabs are managed on the Prefabs page of the workspace.
On the Prefabs page:
- the left side shows available Prefab Packages
- the right side shows the Prefabs of the currently open package
For an overview of workspace pages, see Pages.
Creating a New Prefab Package โ
To create a new Prefab Package:
- Open the Prefabs page.
- Use the package controls on the left side.
- Click New Package.
New Prefab Packages are stored in Foxel's shared files folder, which makes them available across multiple projects.
Managing Prefab Packages โ
On the left side of the Prefabs page, you can manage available Prefab Packages.
This includes:
- creating a new package
- opening a package
- renaming a package
- deleting a package
Creating Prefabs โ
Prefabs are created from the current object selection in the scene.
You can create a Prefab in either of the following ways:
- open the Prefabs page and click the + button on the right side
- use Object > Create Prefab from Selection
Using Object > Create Prefab from Selection lets you stay on the Scene page and use the hierarchy to select objects.
Foxel generates voxel data from the selected objects and adds the new Prefab to the currently open Prefab Package.
For details, see Creating Prefabs from Selection.
Managing Prefabs โ
The right side of the Prefabs page shows the Prefabs of the currently open package.
There you can:
- select one or more Prefabs
- delete selected Prefabs by selecting them and clicking the Delete button
- rename Prefabs
- open Prefab properties by double-clicking a Prefab
Prefab previews are rendered using the colors stored in each Prefab.