Model¶
Import Settings¶
The key that each setting has in the model .meta file is given in parentheses.
Scale (
sceneScale): The global scale of the scene.Find Same Meshes (
findInstances): Finds identical mesh instances and joins them into one.
Note
This post-process can take a while because it compares all meshes with each other by vertices.
- Join Meshes (
optimizeMeshes): Joins meshes with the same materials and vertex layout. If a mesh has skinning, this process will be skipped.
- Join Meshes (
Join Identical Vertices (
joinIdenticalVertices): Kept for old projects; it has no effect.Remove Redundant Materials (
removeRedundantMaterials): Searches for redundant or unreferenced materials and removes them.Pre Transform Vertices (
preTransformVertices): Applies node transformations to vertices. It can also merge meshes with the same materials into one mesh.Optimize Scene Tree (
optimizeSceneTree): Collapses and joins nodes without animations, bones, lights, or cameras assigned.Flip UVs (
flipUvs): Flips all UV coordinates along the y-axis and adjusts material settings and bitangents accordingly.Flip Winding Order (
flipWindingOrder): The importer reverses the face winding order of the source file by default. Turn this on to keep the winding order of the file, for a model whose faces come out inside out.- Generate Normals (
generateNormals): Imports normals from the model file or generates them. ImportNormals: Uses normals from the model. If normals are not present in the model, they will be generated.
HardNormals: Ignores normals present in the model and generates new ones. This procedure can increase the number of vertices.
SmoothNormals: Ignores normals present in the model and generates smooth normals. It can be more time consuming, but in most cases produces fewer additional vertices.
- Generate Normals (
Import Meshes (
importMeshes): Enables or disables importing meshes from the model file.Import Materials (
importMaterials): Enables or disables importing materials from the model file.Export Colliders (
exportSceneWithColliders): Adds Collider components to each node with meshes if a collider has been built for that mesh.Export Meshes As Static (
markMeshesAsStatic): Marks all meshes asisStatic = true. This can be useful for optimization of static scenes.- Simplify Mesh (
simplify): Reduces mesh complexity. Available levels: None: No simplification.
Soft: Keeps at least 50% of triangles, max 0.5% bounding box error.
Medium: Keeps at least 30% of triangles, max 1% bounding box error.
Aggressive: Keeps at least 10% of triangles, max 5% bounding box error.
- Simplify Mesh (
Reload: Forces a model asset reload.