文档

Unity Engine

Unity Engine

Default

Indicates that Unity should perform the default checks and validation when you update a Mesh's data.
阅读时间1 分钟最后更新于 1 个月前

Definition

Default = 0

Remarks

You can use this flag with "advanced" Mesh API, which includes the following methods: Mesh.SetVertexBufferData, Mesh.SetIndexBufferData, Mesh.SetSubMesh.
For information about the difference between the simpler and more advanced methods of assigning data to a Mesh from script, see the notes on the Mesh page.