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

ModelImporter.importVertexColors

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 bool importVertexColors;

Description

Imports the vertex color channel from the source model.

When enabled, the vertex color data (corresponding to Rendering.VertexAttribute.Color) is imported from the source model. If the source model does not contain vertex color data, the imported mesh will not have a color channel. Vertex color import is enabled by default.

Additional resources: Rendering.VertexAttribute.Color.