Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

ModelImporter.importUVs

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public ModelImporterUVs importUVs;

Description

Determines which UV channels are imported from the source model.

Use this property to control which UV channels (corresponding to Rendering.VertexAttribute.TexCoord0 through Rendering.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 generateSecondaryUV is set to true, the second UV channel will be generated whether ModelImporterUVs.UV1 is enabled for import or not.

Additional resources: ModelImporterUVs, Rendering.VertexAttribute.TexCoord0.