Version: 2023.2
LanguageEnglish
  • C#

BlendShapeBufferLayout

enumeration

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

Description

Determines the data that Unity returns when you call Mesh.GetBlendShapeBuffer.

When you call Mesh.GetBlendShapeBuffer, you can access one of two buffers containing blend shape vertices. Use this value to determine which buffer to access. The default is BlendShapeBufferLayout.PerShape.

Additional resources: Mesh data: blend shapes, Mesh.GetBlendShapeBuffer.

Properties

PerShapeOrder the data by blend shape.
PerVertexOrder the data by mesh vertex.