Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Default

Indicates that Unity should perform the default checks and validation when you update a Mesh's data.
Read time 1 minuteLast updated 6 days ago

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.