importUVs
Determines which UV channels are imported from the source model.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public ModelImporterUVs importUVs { get; set; }
Remarks
Use this property to control which UV channels (corresponding to VertexAttribute.TexCoord0 through VertexAttribute.TexCoord7) are imported from the source model. By default, all UV channels present in the source model are imported. If a UV channel is enabled for import but is not present in the source model, the imported mesh will not contain that UV channel. If ModelImporter.generateSecondaryUV is set to true, the second UV channel will be generated whether ModelImporterUVs.UV1 is enabled for import or not.
Additional Resources: ModelImporterUVs, VertexAttribute.TexCoord0.