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
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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.