Default
Indicates that Unity should perform the default checks and validation when you update a Mesh's data.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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.